Commit Graph

1103 Commits

Author SHA1 Message Date
Zuul
c160574dce Merge "fix: add vm state check for modify instance tags" 2022-09-29 11:19:50 +00:00
Zuul
22df7b15e6 Merge "Fix the name of Bare Metal Nodes" 2022-09-29 10:30:09 +00:00
Zuul
a67c8357cd Merge "fix: security groups style is error on instance detail english page" 2022-09-29 09:18:20 +00:00
Jingwei.Zhang
79d41791bd fix: add vm state check for modify instance tags
Modify instance tags is allowed when the vm_state value is one of active, paused, suspended, stopped

Closes-Bug: #1991202
Change-Id: I1275053dd0aa57d777ba23046861d4c1b551ee03
2022-09-29 15:51:29 +08:00
xusongfu
069d45af87 Fix the name of Bare Metal Nodes
When create or edit, fill in name of node, then clear it, creating and editing nodes throws an error

Closes-Bug: #1991208
Change-Id: Ia2ad3fb1f9f4a5fa38e59df68386caf5c0c74d3d
2022-09-29 15:22:44 +08:00
zhangke
cdd6863732 fix: security groups style is error on instance detail english page
security groups style is error on instance detail english page

Closes-Bug: #1991194
Change-Id: If979c900c0b8495c18751c47be025036f2f33180
2022-09-29 14:06:11 +08:00
Jingwei.Zhang
be289f56cb fix: fix the pagination in the vpns pages
Fix the pagination in the vpns pages: vpn gateways tab, vpn endpoint groups tab, ike policies tab, ipsec policies tab, ipsec site connections tab

Closes-Bug: #1991168
Change-Id: Ic52565c68282aa1914c59d8eb69940773034aef8
2022-09-29 10:58:44 +08:00
Jingwei.Zhang
ed8c6e69b0 fix: set the type required when create vpn endpoint group
Set the type required when create the vpn endpoint group

Closes-Bug: #1991164
Change-Id: I610eca40bef80c6fbfb38bc359312dc3b826dfb7
2022-09-29 10:31:37 +08:00
Zuul
4412b40e1d Merge "fix: fix select static router" 2022-09-28 12:22:31 +00:00
Jingwei.Zhang
a6a730f7e5 fix: fix select static router
Fix select static router in the static routers tab in the router detail page, add a mock id.

Closes-Bug: #1991086
Change-Id: I2598091580d67afb3bc16f6fd726ab1325025114
2022-09-28 17:51:55 +08:00
xusongfu
a92c6aa9ce fix associate floating IP in the port list if allowed
Show Associate Floating IP in port list if allowed

Closes-Bug: #1991078
Change-Id: I100b2bc184bb8e3e861cfd6437745ab799ca02da
2022-09-28 16:59:12 +08:00
Zuul
cd72ae0ae1 Merge "Fix Edit Qos Policy" 2022-09-28 06:03:04 +00:00
xusongfu
c1fb03c4c9 Fix Edit Qos Policy
It is required for name when edit the qos policy

Closes-Bug: #1991037
Change-Id: I68c71755ba1ce6033f89405b33de059769acdc06
2022-09-28 11:23:14 +08:00
xusongfu
b0c629ef29 fix the QoS policy list
1. rules is invalid attribute for sort_keys

2. show '-' if the rules is empty

3. show project info only in administrator platform

Closes-Bug: #1991034
Change-Id: Ibf8188f2300651d0eda7fa8c84dc804686998f99
2022-09-28 11:07:35 +08:00
Jingwei.Zhang
fcb2856c31 fix: edit image's min disk
Fix the image min disk update when edit the image

Closes-Bug: #1990917
Change-Id: Icc1d8f1c2fd64ed06c3912d5ac733e0208f0ef38
2022-09-27 15:08:00 +08:00
Jingwei.Zhang
1cdecff679 fix: remove tags filter in the instance list page
Remove tags filter in the instance list page, because the api has not
supported it, this affects:
1. the instance list page
2. the instance list tab in the server group detail page
3. the instance list tab in the host detail page
4. the instance list tab in the flavor detail page

Closes-Bug: #1990826
Change-Id: I400d53d0c051ffab12478796ba0cdc165347ddd4
2022-09-27 09:52:39 +08:00
Zuul
3713c044f1 Merge "fix: Fix the disable property of check-box-group" 2022-09-23 12:29:30 +00:00
Zuul
43d01232a9 Merge "fix: Change the unit to 'TiB,GiB....'" 2022-09-23 11:43:02 +00:00
xusongfu
6482bb0bdc fix: Fix the disable property of check-box-group
Fix the disable property of check-box-group

Closes-Bug: #1990643
Change-Id: I9c178f8c9eeace68ebdae5991e44ddd73574d4af
2022-09-23 17:03:44 +08:00
xusongfu
966a6546cb fix: Change the unit to 'TiB,GiB....'
Change the unit to a unified format

Closes-Bug: #1990635
Change-Id: I1ffa8578cb79cc12e351613ed27a9308b143e86d
2022-09-23 16:01:49 +08:00
Zuul
212f1df83c Merge "fix: fix octavia request headers" 2022-09-22 07:55:50 +00:00
Zuul
86538f4cb8 Merge "fix: The loading cannot be canceled" 2022-09-22 03:10:11 +00:00
Zuul
bf663778d0 Merge "fix: validate error when clear input-name" 2022-09-22 03:00:48 +00:00
xusongfu
c7c7b8b8b5 fix: validate error when clear input-name
1.The input is not required, when clear the input, the validator error
2.Fix some value to '-' if the value is empty string

Closes-Bug: #1990367
Change-Id: I2edd71e484518c423de2156ec41b06b7ecf00c68
2022-09-21 17:16:01 +08:00
Jingwei.Zhang
19d0cf2003 fix: fix octavia request headers
Add accept:application/json to all the octavia requests, to get the return data in json format, otherwise it may get the return data in xml format

Closes-Bug: #1990250
Change-Id: Ibb3c2540225631ba9d3c972d5ac123d8b007d4e8
2022-09-21 16:32:47 +08:00
xusongfu
f20b28c64e fix: The loading cannot be canceled
The loading state cannot be canceled when create a flavor with a existing name

Closes-Bug: #1990362
Change-Id: I409024fe9a47103e9e6401d408b739d0365bd621
2022-09-21 16:24:19 +08:00
Jingwei.Zhang
fdcf5c14b2 fix: create instance by given image/instance snapshot
1. fix the image value check when create instance by a given image
2. fix the instance snapshot value check when create instance by a given instance snapshot
3. remove the useless instance snapshot request when create instance by a given bootable volume or a given image

Closes-Bug: #1990349
Change-Id: I4cee48bd9bb38ce6db1d59acc362d24d4af49b08
2022-09-21 14:23:26 +08:00
Jingwei.Zhang
06af9d6fd3 fix: fix fetch subnets
In adminstrator, remove the request parameter all_projects when fetch the subnets, because the subnet list api in the Y/Z not support this parameter

Closes-Bug: #1990241
Change-Id: Ie0e6e6171d69bfa63f49727ffdc0626b6266eb80
2022-09-20 17:35:53 +08:00
Jingwei.Zhang
849db0f740 fix: set AZ required when create aggregate
1. Set AZ input required when create aggregate with new AZ
2. Set AZ select(which contains a no-select AZ) required when create aggregate without new AZ

Closes-Bug: #1990213
Change-Id: Ie84ef2aac98da92c5707db9e0355e23f3e96f6f9
2022-09-20 15:26:53 +08:00
Zuul
f6caeb6184 Merge "fix: Fix the unit when upload file" 2022-09-19 10:55:54 +00:00
xusongfu
c7556cfda7 fix: Fix the unit when upload file
Fix the unit to `GiB` when upload file in storage container

Closes-Bug: #1990125
Change-Id: I0f1bf1ec5979c1481033af3e72efcf586a5105dc
2022-09-19 16:55:32 +08:00
Jingwei.Zhang
92b91ba067 fix: fix edit image
1. Set the min_disk/min_ram to be required when edit image, and fix the zero
min_ram value in the request body.
2. Set the hw_cpu_policy/hw_cpu_thread_policy to be required when create/edit image, to avoid loss the value.

Closes-Bug: #1990092
Change-Id: I58b42824d041a4b615e6db31ddcef23da8a8494c
2022-09-19 13:53:31 +08:00
Zuul
6ccdbccbf7 Merge "fix:update volume snapshot columns in the volume detail page" 2022-09-14 12:30:08 +00:00
Zuul
06c53e1731 Merge "fix: fix the error messages for required fields in forms" 2022-09-14 12:30:06 +00:00
zhangjingwei
fe59c04bd4 fix:update volume snapshot columns in the volume detail page
Hide volume column for the volume snapshots tab in the volume detail page

Change-Id: Ica9c58e104fb2144cbef2e8091eed971df1228af
2022-09-14 17:48:42 +08:00
zhangjingwei
6f11bb4d11 fix: fix the error messages for required fields in forms
1. Fix the error messages for the required fields in forms
2. Update i18n

Closes-Bug: #1989553
Change-Id: Iad8f61ec00cd4511f44de8acfcd230342e4560c1
2022-09-14 16:42:53 +08:00
zhangjingwei
3859872301 fix: support port filter Octavia ports
Add Octavia device owner to the other device owner in the port list page

Closes-Bug: #1989551
Change-Id: Ice798bc6e52723b677542cbc924c0ec6b3359eed
2022-09-14 16:13:34 +08:00
zhangjingwei
9913eff4f3 fix: fix fetch fip data
Fix fetch fip data without qos policy service

Closes-Bug: #1989517
Change-Id: I13a86f5d1c1dc01f5949c4cd0ba86a98dfa72725
2022-09-14 10:15:15 +08:00
Jingwei.Zhang
70ee4f5844 fix: fix the pagination in the certificate list page
Set the hasTab prop of the List to adapt the height of the Table

Closes-Bug: #1989070
Change-Id: I41bf3d27a3d14747c7f82083b455a53bc8c7287b
2022-09-08 08:52:15 +00:00
Jingwei.Zhang
b5eb669efa fix: fix the project id info for volume backups
Use the os-backup-project-attr:project_id as the project id for volume backup data

Closes-Bug: #1988964
Change-Id: Ic6d43c5b6fe6a68fcc8963740c97179ed74e2c5f
2022-09-07 17:48:34 +08:00
Jingwei.Zhang
1a3f4deed6 fix: fix the id value in the download data
Only the project_id column need to deal with the project id info, the other columns(such as: id) use the origin value

Closes-Bug: #1988967
Change-Id: I550c74c52efacc5219f2ff23d7d4b1f4d3fb04a7
2022-09-07 17:35:40 +08:00
Jingwei.Zhang
a2dbe5ab8f fix: fix time in the download csv
1. Update the since time to the local time in the download csv
2. Remove the useless stringify for the created_at column in the volume list page

Closes-Bug: #1988962
Change-Id: I7d4419ee67e19d9b10794342b0a983f4ff90804e
2022-09-07 17:20:36 +08:00
Jingwei.Zhang
d3d75a43cb fix: fix ports filter by device onwer fip
Remove the unbound filter from the fip filters

Closes-Bug: #1988907
Change-Id: I437a7d38b9b1e89f60dd7f536513ec9127f97ade
2022-09-07 11:10:45 +08:00
Jingwei.Zhang
ab4b22cd4f fix: fix project id download data
Fix the project id in the download file: the data represents the project using attributes other than project_id

Change-Id: I5a0296d9431cc16a58ebd1ac5250b8d60506f9a1
2022-09-06 17:56:56 +08:00
Jingwei.Zhang
f73f128bac fix: fix the modal action disappear
1. Fix the modal disappeared when changing the window size
2. Optimized obtaining the table height

Change-Id: I629858f7c0174183345526bb46909df33ac9b4a2
2022-09-06 09:56:20 +08:00
xusongfu
76488b082c fix: Fix search filters
Fix search filters of storage

Change-Id: Ice928e33dc09389a7ab243b6b3be7589f12c1032
2022-09-05 16:09:39 +08:00
Zuul
d46ce75b9a Merge "fix: Adjust form items status as required" 2022-09-05 07:26:01 +00:00
xusongfu
37d9ac4a84 fix: Adjust form items status as required
Form item status is required when resetting manila share instance status

Change-Id: I706995565b92f205b1820d13ae2f4134782f4dbb
2022-09-05 11:34:09 +08:00
xusongfu
ce667489a3 fix: Adjust form items as required
Form item status is required when resetting manila share status

Change-Id: Id43cddb9b5682a3cfbab7cd88a8e182cfc3180b5
2022-09-05 09:53:02 +08:00
zhangjingwei
450f62a0bb fix: remove the heat page in the administrator
Remove the heat page and menu in the administrator, because the heat api has a problem with the permission determination of the scope.system.all=true level.

Change-Id: I4438c205056004e95176852697e7d92f0bd316e9
2022-09-02 11:17:50 +08:00
xusongfu
321bea9dce fix: Fix attachments in volume list and tag in instance list
1.Hide attachments only in instance detail page
2.Remove tag sort in instance list

Change-Id: I415bdacf54ba266b3e8da261a688160bb1b0784b
2022-09-01 16:41:19 +08:00
xusongfu
dc57ad8f27 fix: Fix download data if use unit
Fix download data if use unit in table columns

Change-Id: I830e176317e0472a6a89525a9a78bbdf569ef79e
2022-08-31 09:29:53 +08:00
Zuul
43a001f5d8 Merge "fix: Fix download data if use valueMap" 2022-08-30 14:55:15 +00:00
Jingwei.Zhang
85acfb9471 fix: fix download data for port forwardings
1. Fix the external port/port range data in the download file
2. Fix the internal port/port range data in the download file

Change-Id: I54f7c443392d353f5f673200bc7d9bed5204f06a
2022-08-30 17:00:41 +08:00
xusongfu
5d43b3a420 fix: Fix download data if use valueMap
Fix download data if use valueMap in table columns

Change-Id: If4739d2b882c2f748460f5a71305717131e752b4
2022-08-30 16:24:20 +08:00
Zuul
e30ac3a06f Merge "refactor: optimize the rendering of data with unit" 2022-08-30 07:21:02 +00:00
Jingwei.Zhang
ffe6e3a982 fix: update port forwarding filters by front-end
1. Support port forwarding filters with protocol, external port/port range, internal port/port range, internal ip address and description by front-end fuzzy query
2. Update SimpleTable/List component to support filterFunc with origin data

Change-Id: Ib14cabdbe7295296caf770849c1fc6a1adc118c6
2022-08-30 09:54:31 +08:00
Jingwei.Zhang
d3eea42e48 refactor: optimize the rendering of data with unit
Update Table/SimpleTable/DetailCard/TabDetail component to optimize the rendering of data with unit, such as size value

Change-Id: I0e4971eeee1353bce03e6ae1f583c8b6ace87489
2022-08-30 09:29:52 +08:00
Zuul
49def0c4e5 Merge "refactor: remove useless code about backup point" 2022-08-29 09:51:36 +00:00
Zuul
f16c1e4922 Merge "feat: show back-end storage pools of manila" 2022-08-29 09:51:34 +00:00
Jingwei.Zhang
000b912dca refactor: remove useless code about backup point
Remove useless code about backup point

Change-Id: I4ba018cedcf2a8bca9e21807ac6784e7def605c4
2022-08-29 14:56:21 +08:00
xusongfu
2ed8bc545c feat: show back-end storage pools of manila
Show back-end storage pools of manila

Change-Id: Iaf72784473ab4809b61b920e8b6cd7a3ad78ff47
2022-08-29 14:41:04 +08:00
Jingwei.Zhang
371810bc94 fix: adjust the paging and sorting modes of the port forwarding page
1. Adjust the port forwarding page from the back-end page to the front-end page
2. Adjust the port forwarding page sort from the back-end to the front-end

Change-Id: I69864057ed903dbf58135ca6067df7b6eb7cf474
2022-08-29 11:17:58 +08:00
Jingwei.Zhang
62fcb1d585 fix: remove page size change in the port forwarding popover
1. Remove the page size change in the port forwarding popover when the port forwarding is more then 50.
2. Update the port forwarding popover title to the plural form

Change-Id: I3ca04d2d48d27db5d9329fdc601a5a991335810e
2022-08-29 10:20:06 +08:00
Zuul
569aaa2b05 Merge "fix: support capacity expansion of volume when instance is locked" 2022-08-26 11:07:23 +00:00
Zuul
70ada3b460 Merge "feat: show volume list in volume snapshot detail" 2022-08-26 09:44:42 +00:00
zhangke
97e64d3030 fix: support capacity expansion of volume when instance is locked
1. update confirm context when locking instance
2. remove check attached server's locked status when expanding the capacity of volume

Change-Id: I478dfadc131f43bd9d7c0d294ccc96e6f799eca4
2022-08-26 16:07:55 +08:00
xusongfu
35c2a2a2fb feat: show volume list in volume snapshot detail
Show the volumes which are created by the snapshot

Change-Id: I4d6fd2ba6b0e56bc22a55971ee482ca4f372ef11
2022-08-26 15:20:42 +08:00
Zuul
250e427ab2 Merge "fix: floating IP list page removes sorting based on qos policy" 2022-08-26 07:16:08 +00:00
Zuul
9a8124742f Merge "fix: fix remove subnet dns and host routes" 2022-08-26 07:13:18 +00:00
Zuul
fdcb61d5a9 Merge "fix: optimize the display of subnet information" 2022-08-26 07:13:16 +00:00
Zuul
b159d3fb67 Merge "feat: support delete in capsules detail" 2022-08-26 06:10:30 +00:00
Zuul
7fe6d5c46c Merge "fix: fix cinder services data" 2022-08-26 06:10:28 +00:00
Jingwei.Zhang
c2f781624a fix: fix remove subnet dns and host routes
Fix remove the dns nameservers and host routes when edit subnet

Change-Id: I97e298f8c66d2df0f7804b7126799186a59731e6
2022-08-26 05:02:57 +00:00
Zuul
506055cbba Merge "refactor: optimize the rendering of data with map values" 2022-08-26 05:00:35 +00:00
Zuul
06d1f3cd19 Merge "fix: fix heat menu in administrator" 2022-08-26 03:51:08 +00:00
Jingwei.Zhang
d4d6b60db2 fix: optimize the display of subnet information
1. Add subnet id in the subnet list page and subnet download data
2. Add tip of the used ip in the subnet list page in console

Change-Id: Ib38b94f71e02c9ed890e4e3d79773f1982a27c0f
2022-08-26 11:20:57 +08:00
xusongfu
8d56118a41 feat: support delete in capsules detail
Support delete operation in capsules detail

Change-Id: I1454835dc69a1aff6c08d1b80213e9d9d22a208d
2022-08-26 10:58:52 +08:00
xusongfu
aa80ffa9cf fix: fix cinder services data
Use index as id to filter correctly

Change-Id: I4c7302690c2dc70029024a49d2f9b41155e594b3
2022-08-26 10:42:41 +08:00
Jingwei.Zhang
9c1386c90a fix: floating IP list page removes sorting based on qos policy
Floating IP list page removes sorting based on qos policy, because the api does not support it.

Change-Id: Ifd4b987f31ec81a6a7391ad52809ba38cd630a4a
2022-08-26 10:31:19 +08:00
Zuul
a4590711c8 Merge "fix: allowClear property is set to false when select is required" 2022-08-25 15:46:22 +00:00
Zuul
2aa6a81ec3 Merge "fix: fix volume download data" 2022-08-25 10:08:08 +00:00
Zuul
8e4c482765 Merge "fix: fix port/port_range required check when create/edit port forwarding" 2022-08-25 10:08:06 +00:00
Zuul
6d1db7d8e2 Merge "fix: first data fetch when the page has initial filter conditions" 2022-08-25 10:05:32 +00:00
Jingwei.Zhang
9a107cd0da fix: fix heat menu in administrator
Fix the endpoint for the heat menu in the administrator

Change-Id: I543c165017e1d89f146184ec986e05e32254666e
2022-08-25 17:28:52 +08:00
Jingwei.Zhang
74f2f03e88 refactor: optimize the rendering of data with map values
Update Table/SimpleTable/DetailCard/TabDetail component to optimize the rendering of data with map values, such as status value, which has a value map to deal with the i18n display

Change-Id: I9696c194e15db14197334f31d09a49de8170fe20
2022-08-25 17:11:39 +08:00
Zuul
a59125fc5b Merge "fix: fix the worker-json error in browser console" 2022-08-25 04:54:55 +00:00
Jingwei.Zhang
3ae52c2adf fix: fix port/port_range required check when create/edit port forwarding
1. Fix port/port_range required check when create/edit port forwarding
2. Update FormItem component required check: when the required property of formItem is true, it will check whether the value exists by default, also can cancel this check

Change-Id: Idbc6d84361e1fd4670327eb96c60dbd4f5a32c13
2022-08-25 11:52:27 +08:00
Jingwei.Zhang
af26542a26 fix: fix volume download data
Update the attachments info in the volume download data is consistent with the list display

Change-Id: Ieb43181f12a328d1a34035cb51cddea0416beb47
2022-08-25 10:29:47 +08:00
Jingwei.Zhang
04f8f4d5a1 fix: first data fetch when the page has initial filter conditions
Fix the first data fetch when the page has sepcial initial filter, which is related with the search filters in the page, such as the initial filter has the quick search conditions.

Change-Id: I6c285c28c67c097b9b1a4853958c4d1d669afd62
2022-08-25 10:09:09 +08:00
Zuul
3b84b0ad9d Merge "fix: fix the delete permission of volume snapshot" 2022-08-24 09:08:08 +00:00
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
Zuul
53c0aa9656 Merge "fix: fix trove instance create" 2022-07-25 11:35:16 +00:00
xusongfu
a740667856 fix: fix trove instance create
1. Remove some useless codes
2. Update context if size change
3. Remove max value of size

Change-Id: I8c6c15749e2f1f2487c89124cf8906386d557725
2022-07-25 16:43:19 +08:00
xusongfu
7fb3e6eb2c fix: fix the trove instance store
fix the trove instance store to get better extension

Change-Id: I20950d667bbdac621644e4f8def5384eff48e67c
2022-07-25 15:48:56 +08:00
Zuul
af67087953 Merge "fix: fix the heat tab in the system info" 2022-07-25 07:45:01 +00:00
Zuul
6d50017ea2 Merge "feat: add protocal in the port forwarding display in the floating ip list" 2022-07-25 07:45:00 +00:00
Zuul
1be5f3509b Merge "refactor: optimize the way to fetch the list of volumes mounted on the instance" 2022-07-25 07:44:58 +00:00
Zuul
eacac0536b Merge "feat: support stop action in trove instance" 2022-07-25 07:44:56 +00:00
Jingwei.Zhang
c9a1999f5f fix: fix the heat tab in the system info
When the heat service is diabled, hide the heat tab in the system info

Change-Id: I87cd2dbdc7c3213accd6f6944a3cd84683fcbba7
2022-07-25 10:39:06 +08:00
Jingwei.Zhang
bb133015a3 feat: add protocal in the port forwarding display in the floating ip list
1. Add protocal when show the port forwarding info in the floating ip list
2. Add protocal to the port forwarding info when download the floating ip list

Change-Id: I7f9cea6cbfc276205c75e2ab8708124c49106ffc
2022-07-25 10:08:54 +08:00
Jingwei.Zhang
afefcf6fdb refactor: optimize the way to fetch the list of volumes mounted on the instance
Use the skyline extension volumes api with uuid param to fetch the list of the volumes mounted on the instance, instead of fetch all the volumes and filtered by the instance id

Change-Id: Ie792a661d3fbf54a0f96c377e4d402e6bd0db323
2022-07-25 09:53:16 +08:00
xusongfu
4d27908ce5 feat: support stop action in trove instance
Support stop database service in trove instance

Change-Id: I3dfa3e8242f45c689ffba171d7ecff629e2c1573
2022-07-22 17:38:22 +08:00
Jingwei.Zhang
2caa340ba6 fix: fix the initially volume type when create volume
Fix the initially volume type by the selected snapshot when create volume:
the snapshot detail api may not has the volume_type_id prop

Change-Id: Ia780d3abc3b75f381609bd80e1116d7e09bc772b
2022-07-22 15:14:38 +08:00
xusongfu
9597ed1516 fix: fix the policy of database which belong a instance
fix the policy of database which belong a instance

Change-Id: I74b8dceabd2bfa0e84030243ca620ae99d482426
2022-07-21 16:49:45 +08:00
Zuul
8bda065853 Merge "fix: support the same port if different protocol" 2022-07-21 08:20:57 +00:00
Zuul
ac0139473b Merge "feat: support server group quota check when create instance" 2022-07-21 04:34:34 +00:00
xusongfu
99c44ece47 fix: support the same port if different protocol
support the same port if different protocol when create DNAT

Change-Id: I8ab9c06116aceb18b5780d57c567fc3e595cc3d9
2022-07-21 11:21:47 +08:00
xusongfu
bcda6b2cd9 feat: support restart for trove instance
support restart for trove instance

Change-Id: I016b87cdb31cf6c45a1befd0d4191b24fb9344de
2022-07-20 22:00:38 +08:00
Jingwei.Zhang
36f49a3a51 feat: support server group quota check when create instance
1. Support server group quota info when create instance
2. Disable click next button when the selected server group's remaining quota is insufficient

Change-Id: Iee8127292ad50564eff04e21f11b1c82355d3a7d
2022-07-20 14:51:54 +08:00
xusongfu
b3d0c9b1e6 feat: support edit for trove instance
1. Support edit for trove instance
2. Fix the menu items name of trove instance
3. Fix the title of create trove instance

Change-Id: If9448e8e20f547079e0ab6071d3828cf549e2173
2022-07-20 11:11:35 +08:00
Zuul
6c746303c6 Merge "feat: support instance snapshot create instance" 2022-07-19 15:00:41 +00:00
Zuul
87230c3297 Merge "fix: fix the detail info of zun container" 2022-07-19 15:00:39 +00:00
Zuul
62e12288bc Merge "feat: support quota info when instance snapshot create volume" 2022-07-19 12:08:02 +00:00
xusongfu
a83ee32952 fix: fix the detail info of zun container
1. Fix the status detail with i18n
2. Fix command and labels
3. Simplify the definition of some data

Change-Id: Id5679e159d3038504433b11b577f82f3ddbe9ba0
2022-07-19 15:39:42 +08:00
Jingwei.Zhang
2151e59acf feat: support instance snapshot create instance
1. Add instance snapshot source when create instance
2. Support quota info && quota check when select instance snapshot
3. Support create instance in instance snapshot list page

Change-Id: I1e2db9370932f03134492cf5b010f32eca551f55
2022-07-19 15:29:48 +08:00
Zuul
9129af50f8 Merge "fix: update user's scope system role check" 2022-07-19 07:18:05 +00:00
xusongfu
5cf020aaca fix: fix the policy of image
Use alias policy to distinguish upload_image of glance and cinder

Change-Id: I72cf15c3c4a2d31b50d96a643a9a134f8d2db2ab
2022-07-19 10:07:07 +08:00
Jingwei.Zhang
c6eaddabe6 feat: support quota info when instance snapshot create volume
1. Support quota info when instance snapshot create volume
2. Disable click submit button when the given type's left quota is insufficient

Change-Id: I2665b5285b7e93324fec7b02bbf095cf9fad3b9f
2022-07-18 16:55:25 +08:00
Zuul
d3ffb6264d Merge "feat: support quota info when instance create snapshot" 2022-07-18 08:37:36 +00:00
Zuul
3a8cc3c80c Merge "fix: hide network qos menu when the service is disabled" 2022-07-18 08:19:49 +00:00
Zuul
b12700a63f Merge "fix: disable associate action when fip has port forwardings" 2022-07-18 08:19:47 +00:00
Jingwei.Zhang
f172cb2164 fix: update user's scope system role check
For all user, check system role by keystone system role api, remove the special username admin check

Change-Id: I46b58b1061bd2914933f5eb2950f3e34ee34c437
2022-07-18 14:13:00 +08:00
xusongfu
97048d0a9e feat: support quota in zun container creating
Support quota in zun container creating

Change-Id: Ife903ae866aa2c6305eb62461491bf9551d1ced9
2022-07-18 11:22:53 +08:00
Jingwei.Zhang
46a7742aa2 feat: support quota info when instance create snapshot
1. Support quota info when bfv instance create snapshot
2. Disable click submit button when snapshot quota or each type quota is insufficient

Change-Id: I8647aa9e9e8a7669eda6549ef9ab4dcdba2e3dec
2022-07-18 11:04:23 +08:00
Jingwei.Zhang
f7fd48445f fix: hide network qos menu when the service is disabled
Hide network qos menu when endpoints not include neutron_qos by profile api

Change-Id: I27f03936609f3fd4067fe80b74830fb0315f0e1f
2022-07-18 09:03:11 +08:00
Jingwei.Zhang
2c0eb3858e fix: disable associate action when fip has port forwardings
Disable fip associate action  when the fip has port forwardings

Change-Id: Ie310d2935d23817ad32c6b2088361b9747722936
2022-07-15 17:54:07 +08:00
Zuul
a0d2ed54a7 Merge "fix: show qos_policy name in floating ip list" 2022-07-14 09:58:22 +00:00
Zuul
18bc981052 Merge "fix: fix the table height in qos policy list" 2022-07-14 08:13:52 +00:00
Zuul
f48ac9480a Merge "feat: support zun quota in manage project quota and overview" 2022-07-14 05:21:37 +00:00
xusongfu
ebaa2d9b15 fix: fix the table height in qos policy list
Fix the table height in qos policy list

Change-Id: If0e54aa236c550e02bdde84530b8cd811401f18c
2022-07-14 11:46:28 +08:00
xusongfu
47b40b1737 fix: show qos_policy name in floating ip list
Show qos_policy name in floating ip list

Change-Id: I4e6c574b4f192d47557a1f5b44490ec6110abf09
2022-07-14 11:35:30 +08:00
Zuul
1e0e60ea32 Merge "fix: fix associate fip with port forwarding" 2022-07-14 02:11:01 +00:00
Zuul
70c3b5afbe Merge "fix: add ip tip for NFS/CIFS share create access rule" 2022-07-13 11:37:07 +00:00
Jingwei.Zhang
8ba4b104e8 fix: fix associate fip with port forwarding
1. Disable select fip which has port forwarding when instance/virtual adapter/lb instance associate fip
2. Refactor instance/virtual adapter/lb instance assoicate fip

Change-Id: I2dfe14087466d71a0c0ee724e99817594ce92dd0
2022-07-13 17:50:52 +08:00
xusongfu
3666358c95 feat: support zun quota in manage project quota and overview
1. Support manage zun quota
2. Show zun quota in overview

Change-Id: I18fa243ca4133be1a4592189ef287db44f4cc66d
2022-07-13 16:54:46 +08:00
Jingwei.Zhang
09fb7742a1 fix: add ip tip for NFS/CIFS share create access rule
1. Add ip tip for NFS/CIFS share create access rule
2. Fix default value when create access rule

Change-Id: I4728aa414d19cf0afdae1fa6e887b876beb76255
2022-07-13 14:58:42 +08:00
Jingwei.Zhang
58026cf9bd feat: update Popover component
1. Update Popover component: support custom icon, title; support another data fetch func for only one request; suport pagination setting in table
2. Update PopoverSubnets components to support title
3. Update network-select-table component subnet display: update subnet's
count to title, when hover it, the popover will show

Change-Id: I5ca81146a7392b797f9f27d95c5d9cbf715d5e3d
2022-07-13 14:09:19 +08:00
Jingwei.Zhang
15d5998e11 fix: fix port forwarding display in fip list page
1. Fix resourceName check
2. Update port fowarding render && stringify

Change-Id: If32652b7b13c3591a4824912b5752ccf324d7c7b
2022-07-12 17:17:41 +08:00
Jingwei.Zhang
d55f42c12c feat: support fixed ip filter in port-form-item
Support fixed ip filter in port-form-item, the related actions below:
1. Support fixed ip filter when instance associate fip
2. Suppport fixed ip filter when fip create dnat
3. Support fixed ip filter when edit dnat

Change-Id: I2bfbca000d2a6699010c40e225eab2ce8514c9e0
2022-07-12 15:42:21 +08:00
Zuul
e91b5f129f Merge "fix: fix getNameRender in table list" 2022-07-11 03:11:42 +00:00
Zuul
e564616aa9 Merge "fix: fix create zun container" 2022-07-08 08:14:07 +00:00
xusongfu
da823ae523 fix: fix getNameRender in table list
1. fix the getNameRender to get rigth rowkey
2. fix the name column showing in user center credentials

Change-Id: I59d79937c388c77142b09494f0b3f351440ddddd
2022-07-08 15:43:08 +08:00
Zuul
d60737ee76 Merge "refactor: refactor skyline:xxx policies" 2022-07-08 07:13:41 +00:00
Zuul
926d33d824 Merge "fix: remove license check" 2022-07-08 07:13:40 +00:00
Jingwei.Zhang
281b176981 feat: support create instance in server group list page
1. Support create instance in server group row actions
2. Set server-group-select required when create instance by server group

Change-Id: I2a5f5de985a32a0394fe9501275519c568a4c9ab
2022-07-08 11:08:35 +08:00
Jingwei.Zhang
408b7bf692 refactor: refactor skyline:xxx policies
1. Update skyline:project_admin, skyline:project_member, syline:project_reader, skyline:system_admin, skyline:system_reader to admin, member, reader
2. Update actions/list page used by skyline policy to normal policy

Change-Id: I4d06dbd871d7a1f982d574abbcfee9246fedf870
2022-07-08 10:45:20 +08:00
Jingwei.Zhang
7f65bf6bfc fix: remove license check
Remove useless license check

Change-Id: I96b4ebcf00ce621a30d17895034f68701243b6ac
2022-07-08 10:05:46 +08:00
xusongfu
df67bd758f fix: fix create zun container
1. Optimization parameters
2. Use select-table for image
3. Fix ZunVolume component

Change-Id: Ic8ce3fb91fd70848766003fe24d782b3347e055b
2022-07-07 22:45:43 +08:00
Jingwei.Zhang
5eaa2d8ff4 feat: detach instance snapshot list page
1. Update instance create image params: add image_type && instance_id
2. Support instance snapshot list page
3. Support instance snapshot detail page
4. Support instance snapshot tab in instance detail page
5. Support edit instance snapshot
6. Support delete instance snapshot
7. Support instance snapshot create volume
8. Update image list page: remove snapshot from origin data
9. Update BaseDetail commponent support path
10. Update TabDetail component support path

Change-Id: I577c046e8d80ebf26be04db881aa0f6f3d9bc01e
2022-07-07 17:15:05 +08:00
Jingwei.Zhang
a8ff91c219 fix: fix bootable volume action notice
1. Fix bootable volume action name
2. Remove useless code for online resize instance action

Change-Id: Ibd5e2dc958c0bdbc0b5d53a3e628f334cb93a530
2022-07-07 12:34:32 +08:00
Zuul
1170f73dd5 Merge "fix: fix some resource items to select-table" 2022-07-06 14:06:01 +00:00
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