Commit Graph

652 Commits

Author SHA1 Message Date
xusongfu
7ca6d2f8a3 fix: fix some resource items to select-table
Fix some resource items to select-table in magnum template

Change-Id: Ie134d76cbb845aaa763cc444fda72f5511af1870
2022-07-06 17:32:01 +08:00
Jingwei.Zhang
28cded2a29 feat: support create key pair when create instance
1. Support create key pair in the third step of instance creating
2. Auto select the new key pair after creating

Change-Id: Ib9f0745a7b04b764e1ab7582716d1c82a5bcc1f9
2022-07-06 15:40:51 +08:00
Jingwei.Zhang
494409a93b fix: fix imageRef for boot-from-volume instance
According to the api documentation, when the instance of bfv is created, imageRef does not need to be set, and it can be easily determined whether the instance is bfv based on this.

Change-Id: Ibacd417dd07a6cf8ee7d4d6dbd6b03cd5d0a5f99
2022-07-06 11:36:11 +08:00
Zuul
9e2919d667 Merge "fix: remove resize online action" 2022-07-05 13:09:51 +00:00
Zuul
03d34ba9a4 Merge "feat: support quota info && check when resize instance" 2022-07-05 13:05:24 +00:00
Zuul
09714ca08d Merge "fix: fix some parmas when create magnum template" 2022-07-05 11:23:55 +00:00
Jingwei.Zhang
ce0c9760e6 fix: remove resize online action
1. Remove resize online action: api not support
2. Remove intance check for flavor which can be resized online
3. Update flavor create: remove hw:live_resize spec which is used for online resize flavor

Change-Id: Ie12dd38bbc60b38f96f33d081dd7518fa5e33fec
2022-07-05 17:23:29 +08:00
Jingwei.Zhang
cf5a24645c feat: support quota info && check when resize instance
1. Support cores/ram quota info when resize instance
2. Disable select flavor which vcpus or ram is bigger then left quota
3. Update FlavorSelectTable to support disable select
4. Update resize action check: only check status, not status and vm_state
5. Update current flavor display: show vcpus && ram info

Change-Id: Ie96ca42de999eba80772314b967aaa0e8b1215ff
2022-07-05 16:15:45 +08:00
xusongfu
5b47b2ca47 fix: fix some parmas when create magnum template
Fix some parmas when create magnum template

Change-Id: Id6bb34d5ee89fd1652fcce464d8b349a6ab1ed68
2022-07-05 15:27:45 +08:00
Jingwei.Zhang
56e3224e01 feat: update instance lock icon && info
1. Update lock svg: add red color to make it more conspicuous
2. Add tip for lock icon
3. Update share group title

Change-Id: I5024dbb47929fa9aa59c483fc13e1f8ad883baaf
2022-07-05 11:35:52 +08:00
Jingwei.Zhang
b6d2eb512f feat: support cpu && mem quota info when create instance
1. Support cpu && mem quota info when create instance
2. Disable click next button when cpu && mem left quota is insufficient
3. Update StepForm to support disable click next/submit button

Change-Id: Iae26d397debe67c44d8f80b6c5d85611a1cf67d5
2022-07-04 14:49:27 +08:00
Jingwei.Zhang
10a951e088 fix: fix FormAction footer style
1. Fix FormAction footer style when the action has tips, fix the bottom value
2. Fix button style in footer

Change-Id: Ia3f4cdd55f1e66386105e84fc044aefd34788e24
2022-07-04 09:42:38 +08:00
xusongfu
0a7e61521e fix: fix policy map and others
Change the functions about check policy to get better extension

Change-Id: Ia42ac8669fadc8b6037e4adf5470d53084c6528f
2022-07-01 10:48:01 +08:00
Zuul
979d41ffba Merge "fix: fix ip showing and users database access" 2022-06-30 14:38:36 +00:00
Zuul
573b6b90ca Merge "feat: support quota info when create share" 2022-06-30 14:38:34 +00:00
Zuul
ec8df085e7 Merge "fix: fix timer in InfoButton component" 2022-06-30 14:38:32 +00:00
xusongfu
24dbf8e0f9 fix: fix ip showing and users database access
1. Fix the ip showing in databse instance
2. Support grant database access in databse users

Change-Id: I96f2c9685f9a2c9890005779ff0e8585ad4dfbfb
2022-06-30 18:48:30 +08:00
Zuul
3fd0ec9eaa Merge "feat: support quota info when clone volume" 2022-06-30 10:47:13 +00:00
Zuul
dc8a730c89 Merge "fix: fix policy for all modules" 2022-06-30 10:47:09 +00:00
Jingwei.Zhang
a82cd5883d feat: support quota info when create share
1. Support quota info when create share
2. Disable click submit button when left quota is not enough to create

Change-Id: I6af7cb3c29cad89dbceffb3c33d93eb46d0f963d
2022-06-30 18:12:12 +08:00
Jingwei.Zhang
e7d5cceedc fix: fix timer in InfoButton component
1. Fix timer by useRef instead of useState
2. Clear timer when component was destroyed

Change-Id: I60c23a71ffb50aed866aff947908e72dae3d5585
2022-06-30 17:50:21 +08:00
Jingwei.Zhang
26df0cefe1 feat: support quota info when clone volume
1. Update clone volume form: add volume info, size input, type select
2. Support quota info when clone volume
3. Disable click submit button when left quota is not enough to clone
4. Update clone volume e2e

Change-Id: I3cc1d85fad75b18b88bc49a20e8feaae14d4111a
2022-06-30 16:16:19 +08:00
xusongfu
3ed9d74791 fix: fix policy for all modules
Add prefix to policy

Change-Id: I492f2215af5d02284ce6e24137e190eab5bb355a
2022-06-30 15:20:35 +08:00
Jingwei.Zhang
41eaf509b6 feat: support quota info when extend volume
1. Fix attached instance display in volume list page
2. Support quota info when extend volume
3. Disable click submit button when left quota is not enough to extend
4. Refactor instance detail fetch by instance store, not the client
5. Refactor instance locked hint by using validator, not notice after submit
6. Update instanceName default value in modal action

Change-Id: Ie5e492d1d550b8283b634fcd9fa645394d8ce504
2022-06-30 11:29:12 +08:00
Zuul
c27c84cafe Merge "refactor: refactor create volume" 2022-06-29 13:57:07 +00:00
Zuul
0803ead58b Merge "feat: support quota info when image create volume" 2022-06-29 13:57:05 +00:00
Zuul
cb35054f23 Merge "feat: support quota info when backup create volume" 2022-06-29 11:22:35 +00:00
Zuul
d46091e357 Merge "feat: support quota info when snapshot create volume" 2022-06-29 10:58:44 +00:00
Zuul
e92ea719e4 Merge "feat: support backup quota info when volume create backup" 2022-06-29 08:55:32 +00:00
Jingwei.Zhang
15503b110a refactor: refactor create volume
1. Refactor create volume
2. Disable click submit button when quota is insufficient

Change-Id: I16c28f5b6041d575c2b27cf7fa815ab248971187
2022-06-29 15:41:13 +08:00
Jingwei.Zhang
ef8024f50b feat: support quota info when image create volume
1. Support quota info when image create volume
2. Disable click submit button when quota is insufficient

Change-Id: I0557a1b64a702c5d41fe7b167265c78f7a5b1723
2022-06-29 15:40:11 +08:00
Jingwei.Zhang
132c1d13be feat: support quota info when backup create volume
1. Support quota info when backup create volume
2. Disable click submit button when quota is insufficient

Change-Id: I154a2fd85560c9b27770e4c828321da167d68133
2022-06-29 15:39:31 +08:00
Jingwei.Zhang
b605ac01c4 feat: support quota info when snapshot create volume
1. Support quota info when snapshot create volume
2. Disable click submit button when quota is insufficient

Change-Id: I81a3bde0f4bd7bdc403bea8176754c5dc5a32373
2022-06-29 15:38:34 +08:00
Zuul
b74b026ace Merge "fix: fix multi role select in transfer component" 2022-06-29 02:31:34 +00:00
Jingwei.Zhang
78cb485068 feat: support backup quota info when volume create backup
1. Add backups and backup gigabytes quota when volume create backup
2. Disable click submit button when left backups quota is zero or left backup gigabytes quota is not enough
3. Refactor create backup, extract common function
4. Update Form right extra info span size, support small span for large
modal, also support custom span size

Change-Id: Ib76e6de287f8f84eecc36471dee3b8cce456b17b
2022-06-29 10:12:09 +08:00
Jingwei.Zhang
2431e5a5d5 fix: fix multi role select in transfer component
1. Update Transfer component to support custom table onRow func
2. Fix the trigger to select the row when click select in project manage user form
3. Fix the trigger to select the row when click select in project manage user group form
4. Fix the trigger to select the project when click select in create user page
5. Fix multi select filter the inputed role name in project manage user form
6. Fix multi select filter the inputed role name in project manage user group form
7. Fix multi select filter the inputed role name in create user page

Change-Id: I0ee4a3db3e923384cf62c44e1801cabfca887217
2022-06-28 16:27:53 +08:00
Jingwei.Zhang
e7a225635c feat: support backup quota info when create backup
1. Update backup mode in list page: Incremental Backup / Full Backup
2. Add size column in backup list page
3. Add backups and backup gigabytes quota when create backup
4. Disable click submit button when left backups quota is zero or left backup gigabytes quota is not enough
5. Disable to select volume when the volume size is bigger then the left backup gigabytes quota
6. Disable to select volume when left backups quota is zero

Change-Id: Ib8b0689674e3e96616a97fe55480f789569e6ef1
2022-06-28 14:42:07 +08:00
Jingwei.Zhang
444daccac7 fix: fix cinder snapshot quota in overview page
Fix cinder snapshot quota info in overview page && project detail page: it was replaced by the quota of the same name of share

Change-Id: I2cb72c229f110396a40c1ce8b52e5c588c3f4999
2022-06-28 14:42:06 +08:00
Jingwei.Zhang
e760b2ebee feat: support quota info when volume create snapshot
1. Add snapshot && type quota info when create snapshot
2. Disable click submit button when snapshot && type snapshot left quota is zero

Change-Id: Iebc222fc995df6fdb5bd67bf3b48594451ffd535
2022-06-28 14:42:06 +08:00
Zuul
07b4b2e0c3 Merge "perf: optimize cold start speed, fix hot module reload" 2022-06-28 05:58:07 +00:00
kanyifei
d43d568ef4 perf: optimize cold start speed, fix hot module reload
Change-Id: I9780c873026e54a8e1ff677236760dd6ec68dd97
2022-06-28 10:15:37 +08:00
xusongfu
7d890f64a6 fix: fix cluster
1. Fix the params when create cluster
2. Fix kepair and template to select-table
3. Add status i18n
4. Ignore some params when edit cluster template

Change-Id: I32cd968336c4e6119d08f32429cc15738431f170
2022-06-25 07:40:19 +08:00
Jingwei.Zhang
b22a959e49 feat: support quota info when create key pair
1. Support quota info when create key pair
2. Disable click submit button when user's key pairs exceed project key pair quota
3. Update Ring component to add tooltip when quota is unlimit, better impression quantity information
4. Update Ring component to support left quota < 0 situation
5. Add quota tip in create key pair form for better understander the
quota of key pair

Change-Id: I31282db5a9a3c35c4e3f904df96689b52149b2ec
2022-06-24 17:25:56 +08:00
Jingwei.Zhang
55e0abab85 fix: fix key pair used count in console overview page
1. Fix key pair used count in console overview page: use the key pair count of current user
2. Add tip to key pair quota title
3. Optimize tooltip when hover progress bar instead of title

Change-Id: I66aed4a6a10685be41fb3d7ef282ca02b4b2f831
2022-06-24 15:37:53 +08:00
Jingwei.Zhang
b693d4360d feat: support quota info when create fip
1. Add fip quota info when create fip
2. Disable click submit button when fip left quota is zero
3. Optimize batch allcate input min and max value
4. Support fetch project fip quota when project change
5. Support update batch count value when project change
6. Update batch count input to input int type, avoid decimal

Change-Id: I6df00fc606472f5cf5b7dbe31181cd864a278ab7
2022-06-24 14:04:26 +08:00
Jingwei.Zhang
81f77b555d feat: support quota info when create virtual adapter
1. Add virtual adapter tip in create form
2. Support port quota info in create form
3. Disable click submit button when port left quota is zero
4. Remove useless projects fetch

Change-Id: I6e135930ac2fd1429621dcc3528cea172da2b828
2022-06-24 11:20:27 +08:00
Jingwei.Zhang
31876de016 feat: support quota info when create subnet
1. Support subnet quota info when create subnet
2. Disable create subnet when left quota is zero
3. Optimize the action disabled check by hasAdminRole in rootStore, not policy
4. Support fetch project subnet quota when project change
5. Optimize project select tip
6. Optimize the project id of current network

Change-Id: Ic7b7b528dcc2e2e3ec23cd8be039a10afa3f197a
2022-06-24 11:02:23 +08:00
Zuul
0ce38d730a Merge "fix: fix cluster template" 2022-06-24 02:50:12 +00:00
xusongfu
ec4bcb3c93 fix: fix cluster template
1. Fix the params when create or update cluster template
2. Show search for all select items
3. Fix the route path for update cluster template

Change-Id: Ic3435abb340f6e129815fde368b5b12bcabcdcb5
2022-06-23 18:27:54 +08:00
Jingwei.Zhang
d6b9098645 feat: support show quota info when create network
1. Support show network and subnet quota info when create network
2. Support network left quota and subnet left quota check when create network
3. When change project, fetch project quota and update quota check
4. Update project select disable clear to better quota check

Change-Id: Id5c3919e91b49ecac072bafd1c2ca4c39853c681
2022-06-23 16:35:44 +08:00
Jingwei.Zhang
0a7c3a3f36 feat: support quota info when create security group rule
1. Show quota info when create security group rule
2. Add left quota check when create security group rule

Change-Id: Iab21d57e4e2fd5c3973281256d0aa79d438a2e8c
2022-06-23 15:30:05 +08:00
Jingwei.Zhang
919840a1e0 feat: support quota info when create security group
1. Add security group quota and security group rule quota when create security group
2. Check security group left quota and security group rule left quota to determine if a security group can be created: one security need 2 new rules
3. Add rule tip
4. Update form tip position

Change-Id: I8d7565763c8c325cf89630039e479ed00a70e7c3
2022-06-23 15:29:50 +08:00
Jingwei.Zhang
bf6c765fb1 feat: support show quota info when create router
1. Support show quota info when create router
2. Disable click submit button when lef quota is zero
3. Update size of large modal with quota info

Change-Id: I8f651d58af0b3d7a5915116ea488bc70a3ed902d
2022-06-23 13:00:44 +08:00
Zuul
b8caadf202 Merge "feat: Show quota info when create server group" 2022-06-22 15:35:29 +00:00
Zuul
3f7475e9be Merge "feat: update role detail page" 2022-06-22 14:47:59 +00:00
Jingwei.Zhang
514b213ca7 feat: Show quota info when create server group
1. Update Form/ModalAction/ActionButton to support right extra info display in modal
2. Add quota info when create server group
3. Support disable click submit button in modalAction / formAction

Change-Id: I511c383f0ffa256b76c1a8fd123c6326e7a43ed3
2022-06-22 17:49:33 +08:00
Jingwei.Zhang
e86bff5f0f feat: update role detail page
1. Update TabDetail to support fetch api when router change
2. Update role detail page: show implied roles in detail page

Change-Id: I99cf7510c30d3924a7f7281f3d5fb3f6db67bd4d
2022-06-22 16:56:52 +08:00
xusongfu
a20c01660c fix: fix less-loader options and styles
1. Fix the options of less-loader to match customized themes
2. Fix some color to variable style in tab detail to get better extension

Change-Id: I9cfaf09a72ede2e3db36176c256bbe307f4e5d0b
2022-06-22 14:55:07 +08:00
Jingwei.Zhang
b1591a9a56 feat: update quota display
1. Update quota display: from one row two resources to onw row only one resource
2. Update quota card style

Change-Id: If978a54c53eaad442bc165832cf3fd6e90719080
2022-06-22 09:36:51 +08:00
Jingwei.Zhang
32cb739fd6 fix: fix overview page style when no-cinder
1. Fix cards styles in no-cinder overview page
2. Fix resource card style in no-cinder administra overview page
3. Fix overview cards border-radius, shadow, margin

Change-Id: Ifc44a923300074c07c6ff2eff449b1cfe0d003b1
2022-06-21 11:15:14 +08:00
xusongfu
2e0d504594 fix: Fix the root disk in flavor
Allow set root disk size in flavor creating when no-cinder

Change-Id: Ia68f1c804c2aa359893ffba8344fa5990d368210
2022-06-20 17:34:56 +08:00
Jingwei.Zhang
549e75d011 fix: fix application credential api fetch
1. Fix application credential api fetch
2. Update role display to role name, not i18n name

Change-Id: Iead1af8b8f867c3a8ecd8b3ab8d249b220e8b930
2022-06-17 11:40:39 +08:00
xusongfu
3be608547c feat: Support compute hosts for zun
Support compute hosts for zun

Change-Id: Ie6b3964b46382d167482f01c491de923a85843f7
2022-06-16 16:09:11 +08:00
Zuul
7741b99e1f Merge "fix: Fix certificate and magnum" 2022-06-16 07:15:22 +00:00
Zuul
1cebcc97bc Merge "fix: fix project manage user group" 2022-06-16 06:15:30 +00:00
Zuul
2058063cc4 Merge "fix: Fix user group list in project detail page" 2022-06-16 06:15:29 +00:00
xusongfu
82c138494d fix: Fix certificate and magnum
1. Fix listener value when download
2. Fix type to input-int in magnum
3. Fix route path of create template in magnum
4. Fix network-select-table

Change-Id: Idca75afa46531626b2a0ce1df7af0003e201e89b
2022-06-16 11:32:04 +08:00
Jingwei.Zhang
dadb2f8170 fix: Fix user group list in project detail page
Fix user group list in project detail page: fix request params

Change-Id: I97b097437bb5997a0d1985e4eb99e33293bdd18f
2022-06-16 11:27:40 +08:00
Jingwei.Zhang
5ca7528ef2 fix: fix project manage user group
Fix project remove user group

Change-Id: I4f80998c859d1ee10978fc19c6dd42fcf25a69a6
2022-06-16 11:21:03 +08:00
Jingwei.Zhang
3dc776b68c fix: fix user api fetch in user center overview page
1. Fix user api fetch in user center overview page
2. Remove pureFetchDetail to baseStore to support the method for all store

Change-Id: I59b6f0a8f5b2f844a718f121708f724787d047f0
2022-06-16 10:51:39 +08:00
Zuul
0896ebc917 Merge "feat: add user group info for domain page" 2022-06-15 07:37:27 +00:00
Jingwei.Zhang
ec2e85a551 feat: add user group info for domain page
1. Add user group column in domain list page
2. Add user group tab in domain detail page
3. Update detail path check in list page
4. Remove domain column for user/group list in domain detail page

Change-Id: Ib81db9cac0d213c47c5f45fb8457728d0b96aa76
2022-06-15 12:06:21 +08:00
xusongfu
3c24d74ba2 feat: Support more functions for zun containers
1. Add some operations of zun containers
2. Support zun containers in administrator paltform

Change-Id: Ia8a7a483e72176d595f6e527979485bf322ed279
2022-06-15 11:15:24 +08:00
Zuul
e15dc5f0d6 Merge "fix: fix listener info in certificate" 2022-06-10 10:52:25 +00:00
xusongfu
243f459ecd fix: fix listener info in certificate
Support multiple listeners for one certificate

Change-Id: I2f1f476236fe90293f92cf980c7e1f799b271fb1
2022-06-10 15:46:13 +08:00
Jingwei.Zhang
5c3ea06aba fix: Update user create form style
1. Update style in user create form
2. Refactor pathname check in list page
3. Fix project role when remove project in user create form && project manage user form
4. Add loading style to Transfer component

Change-Id: I6eddf27a096aa35236430595d8329782ae5b6ed1
2022-06-10 15:11:46 +08:00
Zuul
8ed4795ece Merge "fix: certificate expired change" 2022-06-09 14:14:22 +00:00
Jingwei.Zhang
f942c48352 feat: Add quota info when create volume
1. Add quota info display when create volume
2. Add volume type quota check when create volume
3. Update quota ring/line chart to support infinity value

Change-Id: I0f300beb16bcf50008126afab9dac529c1749d09
2022-06-09 17:12:37 +08:00
xusongfu
efaeac8453 fix: certificate expired change
1. Use metadata to instead of actual expired time
2. Delete disabled if the certificate was used for a listener

Change-Id: I8a16c4c1cc6f104c85835906405aba7ae9a3bf02
2022-06-09 16:18:34 +08:00
Zuul
d133705f6f Merge "refactor: Refactor user" 2022-06-09 04:00:57 +00:00
Zuul
902491651e Merge "fix: i18n and validator for zun" 2022-06-09 03:42:02 +00:00
Jingwei.Zhang
992233ab7d feat: Support auto close/expend quota info when create instance
1. Update InfoButton component to support auto close/expend
2. Support auto close/expend quota info when count/size value change in the create instance form

Change-Id: Ida13abe3463af7dc949c51ade267c64029770c93
2022-06-08 17:20:28 +08:00
Jingwei.Zhang
8c979780a0 feat: Add error message when create instance quota exceeded
Show error message when create instance with quota exceeded:
1. change the instance number
2. change the volume type
3. change the volume size
the above situations may trigger a prompt

Update error message style in the footer

Change-Id: I038bb1919d05d78fc8a78b3ab1a6e72cf327f2ce
2022-06-08 17:20:27 +08:00
Jingwei.Zhang
c88cc53580 feat: Add volume quota when create instance
1. Add volume quota when create instance
2. Quota info support line/ring/table display
3. Remove agent add router e2e check, because sometimes the interface removes the router from one agent successfully, but in fact the route is still in the agent

Change-Id: I161fec1bcd7b8704666c66e3a11168d806c57744
2022-06-08 17:20:27 +08:00
Jingwei.Zhang
e47fa9e742 refactor: Refactor user
1. Refactor user store
2. Refactor user list
3. Refactor edit user system role
4. Update system-admin role check in rootStore
5. Refactor user detail page
6. Update forbidden user action to danger style
7. Refactor create user: add domain select && support multi role select for projects
8. Update project manager user e2e
9. Update create user e2e
10. Update user edit system role e2e
11. Remove create user in domain detail page

Closes-Bug: #1942285
Change-Id: Ieba70b002420e20ad7c3f04f5e4f6fb4b6fb1e76
2022-06-08 15:30:21 +08:00
xusongfu
dde1218242 fix: i18n and validator for zun
1. Add Chinese translation in zun
2. Add validator for template file in zun capsule

Change-Id: Icb4bb98978e1a74a22f347e7f6b471ed0266fec8
2022-06-08 15:20:23 +08:00
Jingwei.Zhang
6f9bb5808e refactor: Refactor project
1. Refactor project store
2. Fix projects in domain detail page
3. Update user group role info in user detail page: add auth by group info
4. Refactor create project
5. Refactor edit project: remove project enabled display
6. Refactor manage user: transfer support filter data by domain name
7. Refactor manage user group: transfer support filter data by domain name
8. Update formItem prop wrapperCol to support more flexible styles

Change-Id: I4720277053242c66c49dcde067444e60c14598da
2022-06-08 10:40:59 +08:00
Zuul
71809065d8 Merge "fix: Fix virtual resource about compute" 2022-06-07 10:34:01 +00:00
xusongfu
99d839a24f fix: Fix virtual resource about compute
Use Nova service api to get the correct count of compute

Change-Id: I6a2bd8797e219d31f899f86e338acb5c56fd2707
2022-06-07 14:59:38 +08:00
Jingwei.Zhang
b6999ea0a1 refactor: Refactor user group
1. Refactor group store
2. Refactor create group: add domain prop when create
3. Refactor edit group
4. Refactor user group manage user
5. Refactor group detail
6. Suppport actions in role detail
7. Refactor group list: add project/role column && domain dolumn; remove
user number column

Change-Id: If8f250da3ac27e5050c9fd4d31ad9954177ed0fe
2022-06-07 13:14:50 +08:00
Zuul
633fcdec63 Merge "feat: Support domain actions" 2022-06-07 03:18:33 +00:00
Zuul
50f465eb13 Merge "fix: Fix row hide in base table" 2022-06-07 01:19:20 +00:00
Zuul
b559702f4f Merge "feat: Support role actions" 2022-06-06 14:20:00 +00:00
Zuul
26d706287b Merge "fix: Zun container operate adjust" 2022-06-06 11:38:16 +00:00
Zuul
61097bff8a Merge "[Animbus]fix: Fix danger button style in batch actions" 2022-06-06 11:12:43 +00:00
Jingwei.Zhang
5a8ec658d5 feat: Support domain actions
1. Support create/edit/delete/enable/disable domain actions
2. Set enableColumn to deal with enable column for domain/user/project
3. Update domain detail e2e
4. Update domain store for better fetch user/project data

Change-Id: I37bf708bca9c819f0d5a63d59dafef1959ec8503
2022-06-06 17:47:47 +08:00
xusongfu
0a4508d016 fix: Fix row hide in base table
Get the latest hideable columns using the getter method

Change-Id: I1d41e9671ea6943a2299d3608338a999789c7235
2022-06-06 17:29:10 +08:00
Jingwei.Zhang
083e44a401 feat: Support role actions
Support create/edit/delete role

Change-Id: Ib8c71b2bb193b061ad6db397727fef0129f3bc44
2022-06-06 16:47:44 +08:00
yangao
95fc8be2a1 fix: Zun container operate adjust
Zun container operate adjust

Change-Id: Ic78aab76e4a921a3e512d87975b1a82431bd8824
2022-06-06 16:17:14 +08:00
Jingwei.Zhang
39259b4fbd [Animbus]fix: Fix danger button style in batch actions
1. Fix danger button style in table batch actions
2. Update reboot vm button to danger
3. Update resize vm button to danger

Change-Id: Ibabc1259e4914042214842acecde4c16f7e6d19e
2022-06-06 10:33:07 +08:00
xusongfu
55841fa520 fix: Fix database in user & e2e
1. Fix the associated database of user in trove instance detail
2. Add waitting time to delete router of l3 agent

Change-Id: Ibdea651d968eaf128d273acca7a347e6a9d09453
2022-06-06 09:54:48 +08:00
Zuul
6b34ad1b05 Merge "refactor: Refactor danger from buttonType to isDanger" 2022-06-02 10:27:36 +00:00
Zuul
66fa2cc51a Merge "fix: Fix copyable and delete lb" 2022-06-02 10:02:23 +00:00
Zuul
458b9838a0 Merge "feat: Add quota info in create instance page" 2022-06-02 09:08:16 +00:00
xusongfu
16d14b5cf1 fix: Fix copyable and delete lb
1. Fix copyable in Paragraph
2. Rollback permission of delete loadbalancers

Change-Id: I2621974d64e9c149c7138c0f2d3da301bdf0d73e
2022-06-02 14:58:07 +08:00
Zuul
339468d054 Merge "fix: Hide menu when endpoint not exist" 2022-06-02 06:30:01 +00:00
Jingwei.Zhang
3fd5c14d5f refactor: Refactor danger from buttonType to isDanger
1. Add isDanger prop to support danger style button, remove danger value from buttonType
2. Update docs according to isDanger
3. Add waiting time when close e2e success notice

Change-Id: I87a72ce05f519ce6717f072dc7397f646dfb4ab1
2022-06-02 14:06:44 +08:00
Jingwei.Zhang
3c54d8afab feat: Add quota info in create instance page
1. Add quota info in create instance page
2. Fix volume quota check when create instance

Change-Id: I01fd430996c49083ffb2168e5672d6c080931e6c
2022-06-02 12:53:44 +08:00
Jingwei.Zhang
59424e1c02 fix: Fix last week's monitor data
Fix the last week's monitoring data in the Monitor overview page

Closes-Bug: #1975376
Change-Id: Ia478872afc45049faadf3837a4840b08f58c4316
2022-06-02 10:22:29 +08:00
Jingwei.Zhang
b50da47db0 fix: Hide menu when endpoint not exist
If the service is not deployed, hide the menu: swift, octavia, zun,
magnum, heat, manila, ironic, vpn

Change-Id: Ie87ef9eaa4a1d5da2134907024ed465dcfaa5bd4
2022-06-02 09:49:19 +08:00
yangao
e740c89b9c fix: Zun code adjustment
1. code formatting problem
2. delete capsule problem
3. create container problem

Change-Id: If458dd8c3b0114573512984792f51b6b883a3c8a
2022-06-01 15:40:27 +00:00
Jingwei.Zhang
2fd46f588c fix: Fix create/delete certificate && menu
1. Fix delete server/ca certificate
2. Update cert display in detail page
3. Add default type when create cert
4. Display the cert list page based on the barbican endpoint
5. Temporarily remove network topology e2e because of cypress crashes

Change-Id: Ie0f01bd7c818b4c553351cc1cd8549e79a301c29
2022-06-01 17:48:51 +08:00
xusongfu
93043a2218 feat: Update certificate
1. Remove certificate in administrator platform
2. Add prefix barbican to the policy
3. Allowed delete lb if provisioning_status is PENDING_UPDATE
4. Allowed change certificate when edit listener

Change-Id: I9c754b78fbd19645e11659d06ec6b9ee85ec9714
2022-05-31 09:34:31 +08:00
Jingwei.Zhang
eec23aebf0 fix: Add unit to memory quota
1. Add GiB unit to memory quota
2. Fix database && container volume size unit to GiB

Change-Id: I553a20e9fa620f2cda3509b52d801894d230040c
2022-05-27 16:18:58 +08:00
Zuul
4d3c172e0d Merge "fix: Fix update ironic node traits" 2022-05-27 07:18:55 +00:00
Jingwei.Zhang
993f18dcfb fix: fix GB unit in database
Fix GB to GiB for volume in database

Change-Id: Id34b49b55e221453f5ca1b594821b97ecd6ee381
2022-05-27 11:32:20 +08:00
Jingwei.Zhang
0f1bdfd682 fix: Fix update ironic node traits
1. Fix update iroinc node traits api
2. Add export client for better reusage

Change-Id: I47ef81265bb4f3a198067280f39206bb17b5fdc0
2022-05-26 16:41:31 +08:00
Jingwei.Zhang
e9cd1482c2 fix: fix image required when create ironic
1. Set image is required when create ironic
2. Add image info in confirm step when create ironic

Change-Id: I57de4e5317aab2ee96e012327bb9a5a79f5e7656
2022-05-26 16:02:56 +08:00
xusongfu
3544b35a5b fix: Fix certificate
1. Fix certificate id in listener
2. Fix TERMINATED_HTTPS change to HTTPS in list and detail info

Change-Id: I9d8c52635061f5529f6c86b3bcb0df68e4e2153b
2022-05-26 12:38:29 +08:00
xusongfu
1d5c1acb1f feat: Update certificate
1. Add certificate id in listener
2. SNI certificate change to multiple select
3. TERMINATED_HTTPS change to HTTPS
4. Change validator of certificate content and keypair
5. Hide domain name if in CA certificate

Change-Id: Id613f5c2c7795a477257ec5f71443378ac686007
2022-05-25 22:21:18 +08:00
Jingwei.Zhang
eae1e27256 fix: Fix GB/MB unit to GiB/MiB
1. Fix size unit to GiB/MiB for
volume/snapshot/backup/image/flavor/monitor
2. Update i18n for Zun

Change-Id: I97bc881b438c9922a2123c36b7e8ea40e5307fd2
2022-05-25 14:48:02 +08:00
Zuul
1bb2c20d26 Merge "feat: Update trove database" 2022-05-25 03:26:52 +00:00
Zuul
4dc1baba0d Merge "Add Zun UI to Skyline-Console" 2022-05-25 03:13:45 +00:00
Reşit Demir
d4ae10a03c Add Zun UI to Skyline-Console
Change-Id: I6e52db8547e8bfb1379320c8ff4d16952f3faac3
2022-05-24 16:20:59 +00:00
xusongfu
be1283358b feat: Update trove database
1. Add validator for database and user
2. Add user create in trove instance user list
3. Add database create in trove instance database list
4. Fix database column in trove instance user list

Change-Id: Ifa6143e15049b5a7fd09aa385064e757d834fadc
2022-05-25 00:01:49 +08:00
Zuul
b873107bc8 Merge "fix: Fix capacity unit in create share form" 2022-05-24 06:57:46 +00:00
Jingwei.Zhang
d71494b2ed fix: Fix capacity unit in create share form
Fix capacity unit to GiB when create share

Change-Id: I7317653043ecd78b50147f697503c2437c08efb5
2022-05-24 11:16:03 +08:00
xusongfu
b8b385ef90 fix: Fix monitor data
Fix the state to get the right data of up and down

Closes-Bug: #1975374
Change-Id: I073471e8c0e9d35c6fb802fc1ec9fea67f9b22d4
2022-05-23 16:07:23 +08:00
Zuul
54ce0336b9 Merge "Add Magnum UI to Skyline-Console" 2022-05-23 05:32:22 +00:00
Eunyoung Kim
409b0223c0 fix: Fix Typo - Append closing parenthesis
Fix append closing parenthesis in Memory usage Num Card
in the overview page in the administrator

Change-Id: I524259791064b7dd7c067c1ad7fa4192548440a9
2022-05-23 02:14:43 +00:00
xusongfu
2d130b5e37 feat: Function optimization in certificate
1. Add client_authentication:'MANDATORY' to the params if use CA certificate
2. Add validator for domain name
3. Add pem validator for certificate content and private key

Change-Id: If6197357ee995678e25bb73e44787c016e66e83e
2022-05-20 17:36:47 +08:00
Numan MENEKŞE
2b53286eb0 Add Magnum UI to Skyline-Console
Change-Id: I6ed9def8d7a9fa25b9c43d26cf6d3a1f573f5d19
2022-05-20 05:41:34 +00:00
xusongfu
888d73bf83 fix: fix delete of secrets and trove
1. Fix the delete button text of trove
2. Fix the params when delete secrets in containers store

Change-Id: I7bace5f312aa19caeb4044e02f4a3a3dc04c50ba
2022-05-19 16:34:33 +08:00
Jingwei.Zhang
92da89d34e fix: Fix download share group type
1. Fix download share group type
2. Fix fetch share group params

Change-Id: I74cff4d7538e0e90edf655817d5d6f021b9bd8c0
2022-05-19 10:17:49 +08:00
Jingwei.Zhang
92b3ba546c fix: Fix share api && create share network
1. Fix delete share when share has share group
2. Fix subnet select when create share network: only subnets that are already connected to the router can be selected
3. Remove keywords param when fetch share-access-rules/share-groups/share-group-types/share-instances/share-networks/share-servers/cinder-pools

Change-Id: Icd53239d7cadbfe37369a27d4b53d4edfcbd2c12
2022-05-18 11:21:01 +08:00
xusongfu
b8675c197c feat: Support more protocals for loadbalance
1. Support https、udp、http for listener creating in loadbalance
2. Fix protocals for pool creating and editing in loadbalance
3. Fix protocals for helth monitor editing in loadbalance
4. Change the component definition to get better extension functionality
5. Add certificate for https listener in loadbalance

Change-Id: I51c953c647b23d516461eb3a0c401d4216c1676b
2022-05-17 20:55:01 +08:00
Zuul
ae89da4922 Merge "fix: Decorator style for refactored components" 2022-05-17 09:49:03 +00:00
yangao
3defbe8330 fix: Decorator style for refactored components
Decorator style for refactored components

Change-Id: Ib85517474ace19967b4901e388800c1258f246be
2022-05-17 14:48:38 +08:00
Jingwei.Zhang
3643ca912c feat: Update share actions && fetch
1. Add public policy check when create public share
2. Add public policy check when edit share
3. Disable actions for public share that do not belong to you
4. Remove update-time info from share detail page
5. Remove update-time info from share group detail page
6. Fix share api fetch: add is_public=true to fetch all data
7. Support share api fetch sorter
8. Support share group api fetch sorter

Change-Id: I737747086900626872df3e566f6e4f21c48893f2
2022-05-17 14:02:47 +08:00
Zuul
020defa50b Merge "feat: Support force-delete && reset-status share istance" 2022-05-16 09:09:02 +00:00
Zuul
9c00b99d6b Merge "fix: Optimize the directory structure of the resources folder" 2022-05-16 02:54:38 +00:00
Jingwei.Zhang
bc39f976a3 feat: Support force-delete && reset-status share istance
1. Support force delete share instance
2. Support reset share instance status

Change-Id: I4ddc2c8b023c92e02b3f40406c4342cbd7e4f2c5
2022-05-16 10:36:49 +08:00
yangao
395084d022 fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: If33e899550823a66b4784dc6fd23f06d9f5cff11
2022-05-13 17:39:01 +08:00
Zuul
c0d9e39d12 Merge "fix: Optimize the directory structure of the resources folder" 2022-05-13 07:38:01 +00:00
yangao
1da0258d7e fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: I34893e2c622254df8d4b94ef11352ef7e97f9418
2022-05-13 11:54:12 +08:00
Jingwei.Zhang
3d8014c2d9 feat: Support manila share server
1. Add share server in administrator
2. Add share server detail in administrator
3. Add share tab in share server detail
4. Add delete && batch delete share server
5. Remove access info from share detail base info tab
6. Add link to network/share/server in share instance page

Change-Id: Ifa1efb75aebb32a2928f7d7db07e228d41d0894b
2022-05-12 14:56:30 +08:00
yangao
bdd5a98ece fix: display port_range in security group rule in instacne detail
display port_range in security group rule in instacne detail

Change-Id: Ie0f8da751c513640b209c8f84ec6a925b643ebea
2022-05-12 10:57:59 +08:00
Jingwei.Zhang
38403a2280 feat: Support update share quota && reset status
1. Support update share quota in project page
2. Support reset share status in administrator
3. Update share network required when choose special share type
4. Update check share group status when choose share group

Change-Id: I15443d418ec5dd841ca33d05dc2540999ecbcf5f
2022-05-10 11:55:44 +08:00
Jingwei.Zhang
8a7959e49c feat: Support extend share
1. Support extend share
2. Add share tab in share group detail page
3. Add share tab in share network detail page
4. Add share tab in share type detail page

Change-Id: I0beecee4b3e145a20da6eaed3db9917ad175367c
2022-05-09 10:25:38 +08:00
Zuul
9ad847728e Merge "feat: Support manila share" 2022-05-07 11:56:52 +00:00