Commit Graph

762 Commits

Author SHA1 Message Date
xusongfu
745506a2cc fix: fix the worker-json error in browser console
Fix the json_worker module url of ace editor to fix above error

Change-Id: I2770b527ea533099323bcd91d4b11f974df3e1dd
2022-08-24 16:21:35 +08:00
xusongfu
45178c2e1f fix: fix the delete permission of volume snapshot
No delete operation in detail page if the snapshot has created some volumes

Change-Id: Iabe91d109c134b256360b377328f2055733ad987
2022-08-24 12:17:03 +08:00
Zuul
b211ebca9c Merge "fix: fix the linkage between search items and quick search" 2022-08-24 04:06:42 +00:00
7772d343d3 fix: allowClear property is set to false when select is required
optimizes the logic for allowClear property values, setting it to false when select is required

Change-Id: I773831872b490ef49536039f2cef773939c0a361
2022-08-24 11:34:58 +08:00
Zuul
329f810c4d Merge "feat: support subnet detail page" 2022-08-23 08:56:19 +00:00
Jingwei.Zhang
6ab6af82ad fix: fix the linkage between search items and quick search
Quick search becomes selected when the search criteria are consistent with quick search

Change-Id: I517c7f9b74a53a9aaf4facb9b1fd013e115b36b6
2022-08-23 15:56:03 +08:00
Jingwei.Zhang
dfde82e667 feat: support subnet detail page
1. Support subnet detail page: base info tab && ports tab
2. Refactor subnet codes: adjust a more reasonable directory structure
3. Update port related code to support ports list in the subnet detail page
4. Update port detail back to the list page: entering from the instance/network/subnet detail page will return to the instance/network/subnet detail page
5. In the instance detail interface tab, remove the device owner filter

Change-Id: I02edd0cb54a76f6b590411be5f93b57bb89c6cd6
2022-08-23 10:50:03 +08:00
xusongfu
964209ca85 fix: fix the formRef error in browser console
Fix the `formRef` to `formref` as prop of a DOM element

Change-Id: If55a74e6962e1ca44653d3501bdc39d4734257b3
2022-08-22 18:48:28 +08:00
Zuul
0775c02b67 Merge "fix: fix the abort of upload" 2022-08-22 10:41:25 +00:00
Zuul
62ed058ebf Merge "refactor: update the List component prop" 2022-08-22 08:48:32 +00:00
xusongfu
159aa00875 fix: fix the abort of upload
1. Fix the `canToken` to `cancelToken`
2. Show abort button if it's not modal form

Change-Id: I24f5b1632e68baaa04d9f0ed7e11ebc74f48e1bb
2022-08-22 15:17:01 +08:00
Jingwei.Zhang
4cd42202d8 feat: support snapshot info in the volume detail page
1. Support the snapshot info in the detail page,  which is the source of the volume creation.
2. Fix the instance links for the volume attachments.

Change-Id: If89e93088c3d23ecb06945420a3a3e04dab596a5
2022-08-22 11:26:32 +08:00
Jingwei.Zhang
01ff5c9306 refactor: update the List component prop
Change the name of the List component's property isCourier to ableSkipPageByBackend, which is used when backend paging supports page jumping.

Change-Id: I1222cc3cafd49f329a47b1a23bbdf3716ceab537
2022-08-22 09:40:11 +08:00
Jingwei.Zhang
c6f4c9117e feat: support edit port forwarding with port range
1. Refactor edit port forwarding
2. Support edit port forwarding with port range
3. Update the instance name of the port forwarding
4. Update the display of the port forwarding porotols
5. Fix the display of the port forwarding popup in the fip list page

Change-Id: Iab97a60275f94d79cfb95db42154351665d0025e
2022-08-19 14:46:15 +08:00
Zuul
f560965348 Merge "feat: support web SSO login" 2022-08-18 12:54:19 +00:00
Zuul
b5c8add500 Merge "fix: displayed when no data in the volume size field on the instance detail page" 2022-08-18 11:42:11 +00:00
Zuul
76e4b6c035 Merge "refactor: render project info by func" 2022-08-18 11:10:53 +00:00
Zuul
0941bf498e Merge "fix: fix ephemeral when create flavor" 2022-08-18 10:15:21 +00:00
Jingwei.Zhang
84f06c8288 feat: support web SSO login
After the Web SSO login is successfully configured on the back-end, you can select a login mode on the login page based on the configuration. The default login mode is Keystone authentication. If you select the Web SSO login mode, click OK to switch to the Web SSO configuration page.

Implements: blueprint skyline-sso-oid
Change-Id: I438adb31c758287525ba896b4d2b21d00842c3e7
2022-08-18 17:36:03 +08:00
Jingwei.Zhang
d0abd857a4 refactor: render project info by func
Refactor the render project code: render it by the existed function, and remove the useless style code, which is used by the removed button in patch[1]

[1] Ib0e1ed51010c68dac64159a6154e65399f46a14d

Change-Id: I7255770608f7883ce317a5d2e9d8895323f5dc2e
2022-08-18 16:28:41 +08:00
Zuul
157612d7d4 Merge "fix: fix the public policy check when create/edit share" 2022-08-18 07:28:37 +00:00
Zuul
fc2abad4a5 Merge "refactor: remove the basic role display from the overview page" 2022-08-18 07:28:35 +00:00
xusongfu
5495f1f16f fix: fix ephemeral when create flavor
Make ephemeral mandatory when category has ephemeral

Change-Id: Iedb909872d28c97df288c8129d0477a4a972c82b
2022-08-18 14:57:01 +08:00
zhangke
e7383cc2b9 fix: displayed when no data in the volume size field on the instance detail page
1. fix displayed when no data in the volume size field on the instance detail page

Change-Id: Iec5f76c46b0c5891c46a6523ec8dbaeac531d521
2022-08-18 14:44:52 +08:00
zhangke
e05154667f fix: add the unit GiB to the capacity on the volume detail page
1. add the unit GiB to the capacity on the volume detail page

Change-Id: Ia3ffdaf1607c266787db23dbf1203bac4e734444
2022-08-18 11:37:19 +08:00
Jingwei.Zhang
48d6b157df fix: fix the public policy check when create/edit share
1. Fix the public policy name in the create share form
2. Fix the public policy name in the edit share form

Change-Id: If737a207dcba1914f33bae07061a4e7b87a9970f
2022-08-18 10:03:43 +08:00
Jingwei.Zhang
832cce176c refactor: remove the basic role display from the overview page
1. remove the basic role display from the overview page: because the api removed the base role information[1]
2. fix the title i18n

[1] I461ae3f8979377ae22ec851bf3315e509b22cfbd

Change-Id: Ib0e1ed51010c68dac64159a6154e65399f46a14d
2022-08-18 09:50:15 +08:00
Jingwei.Zhang
5d457caf83 feat: support fuzzy query port when create port forwarding
1. Support fuzzy query port by name/fixed ip/server name when create/edit port forwarding and floating ip associate port: the API filtering method is used to filter data precisely. It is changed to: After the front-end obtains all data, it filters data based on the input content.
2. Add port status filter when create/edit port forwarding
3. Fix the port forwarding display in the floating ip list page: when
the number of port forwardings is less than the page size(10), the list will not show the pagination.

Change-Id: Iea0d19db42de2557167c444ad9454d6b8300795e
2022-08-17 09:19:54 +08:00
Zuul
07d6a51bf2 Merge "fix: fix code editor and edit image" 2022-08-16 10:55:19 +00:00
xusongfu
63eba716b8 fix: fix code editor and edit image
1. Show full error message in code editor
2. Fix params when update image if os_distro is empty

Change-Id: Ifac477ce28758e737291789b85e5e4c481e8729d
2022-08-16 15:46:01 +08:00
Jingwei.Zhang
6354d67d9d feat: use the port list page to instead of the virutal adapter
1. Add port list page, the old virtual adapter list page only show the
compute:nova bouned ports and unbouned ports
2. Update actions's allowed check: detach fip
3. Update port store: from virtualAdatperStore to portStore
4. Adjust file/folder path: from virtualAdapter to port

Change-Id: Iceec96731a9fd17de429b4e6061490a26e562162
2022-08-16 13:48:08 +08:00
Zuul
5edda3c4da Merge "feat: Support create port forwarding with internal/external port range" 2022-08-16 04:26:05 +00:00
xusongfu
bef7387e1c fix: update some data in zun detail
1. Hide containers card if value is empty
2. Fix addrss showing
3. Fix networks,ports and security groups showing
4. Remove links and labels in detail

Change-Id: I4a04893a370b387d7a3e9ebcc5073f02d508aeaa
2022-08-15 17:26:36 +08:00
Jingwei.Zhang
ddde1b9e8e feat: Support create port forwarding with internal/external port range
1. Update create port forwarding: support internal/external port range,
provides error hints for more explicit port usage
2. Update the port forwarding display in the floating ip list page: add pages to show large amounts of data
3. Update the port forwarding display in the port forwarding tab in the floating ip detail page: add id/description, support external port range filter,
support sort by api
4. Change `DNAT`, 'port forwarding rule' to 'port forwarding'

Change-Id: I40f6ccfb56949430b7c5f0256cc952d7ea5305aa
2022-08-15 16:27:29 +08:00
Zuul
686bbe3ba9 Merge "feat: support zun services" 2022-08-12 09:30:59 +00:00
xusongfu
cf9349537b feat: support zun services
Enables administrative users to view details for all Zun services.

Change-Id: I9bcd7178b80882588bc1d777b68e82b81bd02062
2022-08-12 13:42:44 +08:00
Jingwei.Zhang
c6c8c87226 fix: update the style of tips in the form
1. Fixed the style of the tips to better display multi-line tips.
2. Remove the style of the tips in the Resize instance form

Change-Id: I69d78780ad07ecfb5d9a205ff9ffba82936cddeb
2022-08-12 11:26:19 +08:00
Zuul
24b7c3a52b Merge "fix: fix the data showing if not matched" 2022-08-12 03:24:03 +00:00
Jingwei.Zhang
c29864fb46 feat: support cascade delete volume
When deleting a volume, you can choose whether to delete the associated snapshots of the cloud disk in cascade. If you select cascade deletion, when the cloud disk has snapshots, the associated snapshots will be automatically deleted first, and then the cloud disk will be deleted.

Change-Id: Ib5e38a299921ea121fc6d41dbc48c220c51d4968
2022-08-11 17:35:51 +08:00
xusongfu
e1567f72d4 fix: fix the data showing if not matched
show the origin data if not matched with defined collections

Change-Id: Ibb99080bbf6fa0504dfc386e1ee0be38dbc77bbe
2022-08-11 17:28:01 +08:00
Zuul
5800a2a4be Merge "refactor: Optimize the method of obtaining port based on device owners" 2022-08-11 04:23:02 +00:00
Zuul
1f99dcfd07 Merge "refactor: Update Label component to support floating ip's icon" 2022-08-11 04:18:26 +00:00
xusongfu
3b3629d527 feat: support trove resize volume
1. support trove resize volume
2. show quota when resize volume

Change-Id: Ia2b21d390047a8754a01ccfc5b44a071060cdf46
2022-08-10 17:58:21 +08:00
Jingwei.Zhang
8a1537349a refactor: Optimize the method of obtaining port based on device owners
Optimize the method of obtaining port based on device owners: call from multiple APIs, adjust to one API call, because the device_owner parameter supports array format

Change-Id: Ia14c187f793e5c3528cdd1a603f2e52510d90f03
2022-08-10 17:45:18 +08:00
Jingwei.Zhang
57a17b83d2 refactor: Update Label component to support floating ip's icon
1. Update Label component to support floating ip's icon
2. Update the floating ip display in the associate fip form
3. Update the floating ip display in the create port forwarding form
4. Update the floating ip display in the edit port forwarding form

Change-Id: I38ee2354c387d213cdd574f966be96afb8fcd433
2022-08-10 17:44:10 +08:00
Zuul
fee350fd22 Merge "fix: remove Chinese in the svgs/comments" 2022-08-10 04:12:05 +00:00
Zuul
0db91b1e55 Merge "feat: support quota when create trove instance" 2022-08-10 03:10:22 +00:00
Zuul
62379a9a36 Merge "fix: fix the add value of zun quota" 2022-08-10 02:28:57 +00:00
Zuul
8518a55b8d Merge "fix: fix the quota chart" 2022-08-09 11:59:34 +00:00
xusongfu
0167257135 feat: support quota when create trove instance
support quota when create trove instance

Change-Id: I2124271308d1544b56f19584921dc0430bde0720
2022-08-09 17:10:57 +08:00
Zuul
649dd37ae1 Merge "fix: status field is required when edit volume status" 2022-08-09 08:03:24 +00:00
Jingwei.Zhang
49bc50dbea fix: remove Chinese in the svgs/comments
1. remove Chinese in the svgs/comments
2. convert Chinese to English for some svgs/comments

Change-Id: I2927a87ef4db060ae385e0d3f1a54d658f1fd200
2022-08-09 15:31:59 +08:00
xusongfu
b088d2dcc5 fix: fix the quota chart
Fix the reserved tip of quota chart

Change-Id: I9b48741fc4bffe5d4bec782306e3f75a81bca73c
2022-08-09 15:10:18 +08:00
xusongfu
9909c1cb76 fix: fix the add value of zun quota
Disable the submit button when any resource's left value is 0

Change-Id: I623d2cdfade4337f274c999c483501354ad84e45
2022-08-09 14:01:31 +08:00
Zuul
07330b1fb4 Merge "feat: support trove quota" 2022-08-09 03:35:10 +00:00
Zuul
3d2e5af1b1 Merge "fix: Fix the display of the row actions when the volume status is being created" 2022-08-09 03:05:45 +00:00
Zuul
406a16c844 Merge "fix: fix the networks,ports and security groups" 2022-08-08 09:59:50 +00:00
xusongfu
e16951bde0 feat: support trove quota
1. support trove quota in manage project quota
2. support trove quota in overview page

Change-Id: Iac2ea282744239fc043df2bdc456b7daba05de9b
2022-08-08 17:57:26 +08:00
Jingwei.Zhang
2543838a5e fix: Fix the display of the row actions when the volume status is being created
Fix: when the volume's status is being created, the sub menu actions in the row actions are hidden.
Trigger reason: When the More Actions drop-down menu contains disabled actions and the only submenu that can be used normally, the submenu items are not displayed successfully

Change-Id: Ide3f06716d1df71593fd654f24feedabe4f68da7
2022-08-08 17:24:25 +08:00
af6531170f fix: status field is required when edit volume status
set form item property to required

Change-Id: I16ef584839b9161dd0097b8af576366d132696c2
2022-08-08 16:50:52 +08:00
xusongfu
5ad07c694f fix: fix the networks,ports and security groups
1. fix the ports and security groups to link
2. show the networks of the zun container

Change-Id: Idc89319379b68822c67c9c036bc3b7cb8cbef15a
2022-08-08 11:25:15 +08:00
Jingwei.Zhang
612152cdbb fix: update 'gigabytes' to 'capacity' in the titile
1. Update 'gigabytes' to 'capacity' in the title
2. Add the blank before '(GiB)' and '(MiB)'
3. Update related i18n

Change-Id: I46de9793f9fb32a8f33915775bdfd5d486a84253
2022-08-08 10:55:23 +08:00
Zuul
b2939b0021 Merge "fix: fix the stats api request for zun container" 2022-08-05 16:07:47 +00:00
Zuul
92112b3ab9 Merge "fix: fix async tip for some operations" 2022-08-05 09:48:34 +00:00
xusongfu
4b06dffa77 fix: fix the stats api request for zun container
Allow to request the stats only the status is Running

Change-Id: If5b6ba09abf066826a775456d12770c51c25ea98
2022-08-05 16:03:04 +08:00
Zuul
67a8db0e95 Merge "feat: show logs of a zun container" 2022-08-05 07:16:34 +00:00
xusongfu
c3297956a8 fix: fix async tip for some operations
Add async tip for some operation of a zun container

Change-Id: I0197f8d8e291fddcf9902f93c19e7e5a4a6ec137
2022-08-05 14:25:00 +08:00
xusongfu
6ecd7ce300 feat: show logs of a zun container
Show logs of a zun container

Change-Id: I6ab28850e3f802a76372e5cee62e6306029c29e2
2022-08-05 09:30:15 +08:00
Jingwei.Zhang
dda85bbf26 feat: update volume action menu
1. Update the volume action menu: classified as 'data protection', 'instance related', 'capacity & type'
2. Update the volume action menu in the volume tab in the  instance detail page
3. Update the volume/snapshot e2e cases according the new action menu

Change-Id: Ib479efcdcd0f72789b1278716c7b9f06f9d87d3b
2022-08-05 08:40:43 +08:00
Jingwei.Zhang
a6820a4ca8 fix: fix the server group member label in quota
1. Fix the server group member label in the quota overview
2. Fix the server group member label in the quota manange form
3. Update the label style in the quota manage form to better display the
resource label
4. Fix the 'of' word in some titles

Change-Id: I000c783f05ddadf5a6649d56c19263ee4af81e82
2022-08-05 08:40:19 +08:00
xusongfu
f801b77f83 fix: fix the action collection of zun container
1. Put the status operations in one collection
2. Add danger style to force delete

Change-Id: Ic0d18fe0e5b2148b78e1c7d24e1948160d1c43c5
2022-08-04 15:19:26 +08:00
xusongfu
88d877cde2 feat: show action logs of a zun container
Show action logs of a zun container

Change-Id: Icd660776a220941b05511c4f2eef3547b7f952dc
2022-08-04 10:21:28 +08:00
Jingwei.Zhang
4ccb380ff4 fix: fix the backup size quota check when create backup
Disable to click submit button when the remaining backup size is zero

Change-Id: I9c5b6995100262edd9be4f941dd6d905fccb4e30
2022-08-03 12:10:26 +08:00
Jingwei.Zhang
28846810e2 fix: fix the size quota check when create volume
1. Disable to click submit button when the remaining size/type size quota is 0.
2. Add image check to the volume e2e after the volume created image successfully

Change-Id: I6d8c0491647abc8329fa089665194da278decf46
2022-08-03 12:10:18 +08:00
Zuul
da98091f53 Merge "fix: fix lang local storage after logout" 2022-08-02 11:32:21 +00:00
Zuul
5ff60bbec5 Merge "feat: show stats of a zun container" 2022-08-02 11:32:19 +00:00
Jingwei.Zhang
4643795bcb fix: fix lang local storage after logout
1. Retain the lang value in LocalStorage when logging out
2. Add clearLocalStorage func && add unit test

Change-Id: I84cf361bfcaa40d2a6d80f687d02f43665cef3d3
2022-08-02 16:16:43 +08:00
Jingwei.Zhang
1ded7c2312 feat: update administrator overview page
Update title in the platform info card and resources use card

Change-Id: I703874c120189432dd3bb395923e346193cb298d
2022-08-02 15:44:01 +08:00
xusongfu
251a353e98 feat: show stats of a zun container
Show stats of a zun container

Change-Id: I508a97d1a86217a590ccb624a0009cc44daef95f
2022-08-02 14:34:10 +08:00
Jingwei.Zhang
e5a54c31e7 fix: fix the limit value when fetch api in the list page
Fix the limit value by the page size options, when the limit in the store is not in the page size options, use the default limit value.

Change-Id: I3868ebf9b33304ace884b0fa77eae28d89e80c20
2022-08-02 12:52:19 +08:00
Zuul
37885d343d Merge "fix: fix the plural form of the menu words && tab title words" 2022-08-02 04:45:33 +00:00
Zuul
7389707392 Merge "fix: fix instance quota check when create instance" 2022-08-02 04:35:23 +00:00
xusongfu
6110deace4 fix: fix the add value of quota in zun containers
Set the add value to 0 if the input value is greater than the left value

Change-Id: If15b10290bc7c34c7e51ec6d7ef2c47fcfdee6c5
2022-08-01 17:14:10 +08:00
Jingwei.Zhang
3f9ca389b8 fix: fix the plural form of the menu words && tab title words
1. Fix the plural form of the menu words
2. Fix the plural form of the tab title
3. Fix the related e2e case

Change-Id: Id37115d9efac341413b401d12049cf0d621e0385
2022-08-01 13:01:15 +08:00
Jingwei.Zhang
c121385eda fix: fix instance quota check when create instance
1. fix the quota check when the remaining instance quota is 0
2. If the quota check fails, all the add resource is 0

Change-Id: I41bb353c7154ca5752dc327719de530b01e24e78
2022-08-01 10:04:34 +08:00
Zuul
c3835d24c0 Merge "fix: fix the filtered data is inconsistent with the refreshed data" 2022-07-29 14:53:39 +00:00
Zuul
9ca70a765f Merge "fix: fix ports quota check when create virtual adapter" 2022-07-29 14:29:39 +00:00
Zuul
af6b92b3bc Merge "fix: fix the quota info" 2022-07-29 11:33:55 +00:00
Zuul
e37e869981 Merge "fix: fix getColumns and searchFilters in trove instance" 2022-07-29 11:12:25 +00:00
Jingwei.Zhang
88e4ca036c fix: fix the filtered data is inconsistent with the refreshed data
When using the front end to filter the data, when the data is refreshed, the filter param is also passed to the API, remove the filter params to fix the situation

Change-Id: I60fc2a6ea3d6c345f0fdb2254c2018c2a07f56c5
2022-07-29 17:33:35 +08:00
Zuul
6d35162f37 Merge "feat: support reboot action in trove instance" 2022-07-29 09:20:26 +00:00
xusongfu
e0d2a5e624 fix: fix the quota info
1.When the quota limit of zun containers is 0, it needs to disable the submit button
2.Change the add default value from 1 to 0

Change-Id: I7196b5075fda7c919784f10b0f2b5d0b3c35ec59
2022-07-29 16:45:51 +08:00
xusongfu
8145865d8f fix: fix getColumns and searchFilters in trove instance
fix it to get better extensions

Change-Id: I3fbe27ca79af3fae93f85782e2edf3dffa64d612
2022-07-29 16:02:21 +08:00
Jingwei.Zhang
b2cad765bf fix: fix ports quota check when create virtual adapter
If the remaining quota of a port is zero, you can still successfully call the API to create a subnet and automatically add a port. As a result, the used port is greater than the upper limit of the quota. Fix the quota check method to accommodate this situation

Change-Id: Icf955b3e4ad40d618305b23bffcd397fdbd0b288
2022-07-29 14:25:53 +08:00
xusongfu
b40571de7d feat: support reboot action in trove instance
Support reboot database service in trove instance

Change-Id: I6a831256fc1f7e20bf7cf237915f0f0534386aac
2022-07-29 11:10:09 +08:00
xusongfu
dc71a4a56a fix: update some database names
1. Update 'backup' to 'database backup'
2. Update 'instance name' to 'database instance name'
3. Update 'flavor' to 'database flavor'

Change-Id: I0f9b672fdf403c09827d70d9dfd4670436eb5a66
2022-07-28 21:32:58 +08:00
Zuul
2bc6be5087 Merge "fix: update volume snaphost/backup display" 2022-07-28 11:12:58 +00:00
Jingwei.Zhang
fb83a57550 fix: update volume snaphost/backup display
1. Update 'snaphost' to 'volume snaphost', 'backup' to 'volume backup'
2. Update e2e case

Change-Id: I74dee2e2da7cbaac4ba7607c83848b28cfb81cde
2022-07-28 15:48:16 +08:00
Jingwei.Zhang
2c8990c591 fix: update Ring component for long text display
1. When the text is long, change the font size smaller
2. Fix lineHeight value for the Annatation.Text component

Change-Id: I71b96864de15bb0b4b331c7e70ea23a80b759b82
2022-07-28 14:49:02 +08:00
xusongfu
01a3073ec8 feat: support trove instance in administrator platform
1. support trove instance in administrator platform
2. support actions in trove instance detail page

Change-Id: Ic329c39d4c37793bbec193202d5d4e41dd410d74
2022-07-27 14:32:45 +08:00