Commit Graph

733 Commits

Author SHA1 Message Date
4a143fc497 chore: import lodash on demand
add babel-plugin-lodash package to import lodash on demand and reduce bundle size

Change-Id: I9b64997bb3f232c9d7bd96cb0d5586b7e2733414
2022-08-04 18:05:06 +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
Zuul
a12c3e039b Merge "fix: fix the add value of quota in zun containers" 2022-08-02 03:32:13 +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
Boxiang Zhu
b08786b5c6 feat: Add doc base frame
Add doc base frame

Change-Id: Ie641923b3da8b07f6f430c00bee2736690df6f64
2022-08-01 14:28:07 +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
Zuul
27a2f095ea Merge "docs: Change little doc bugs" 2022-07-28 04:45:46 +00: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
ljhuang
bac1197d7b docs: Change little doc bugs
1. Remove statement about missing English doc
2. Change file name in doc brief

Change-Id: Id29602fdeb7400345622d955ab851af0a8139632
2022-07-27 10:13:50 +08:00
Jingwei.Zhang
14381f0e59 test: add share type e2e case
1. Add share type e2e case
2. Update e2e test config for manila codes: only run the other e2e zuul task when the manila related codes change

Change-Id: Ia6d0e232ade38e7f4123a11e7cb4c677a53c961f
2022-07-26 10:35:38 +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
f3f7387746 Merge "fix: Fix error word spelling" 2022-07-21 04:55:46 +00:00