Commit Graph

1080 Commits

Author SHA1 Message Date
Boxiang Zhu
efc5fd88ee fix: eliminate whitespace in passenv values
eliminate whitespace in passenv values

Change-Id: Ib0af083155a85d079aad254ca2acdc6434675673
2023-01-03 17:01:04 +08:00
xusongfu
583386d2ce fix: seprate clusters and templates by different project
1.use detail api to fetch list in console but no detail in administrator
2.fix the used quota with clusters detail api

Change-Id: I104495a2b7c9937a9e6e922c4fac00d3f4178235
2022-12-21 13:55:17 +08:00
xusongfu
331c2ddd3b fix: fix the project column
add project column to cluster template but not simple flavor column

Change-Id: Ib5de517a3c894168c9680a1b37237437a497906f
2022-12-21 09:24:42 +08:00
xusongfu
e03182b072 fix: fix the magnum quotai and other infos
1. support volume quota when create cluster instance
2. fix subnet reseting when fixed network changed
3. show project id of cluster template if switch to administrator platform

Closes-Bug: #2000141
Change-Id: I6cb59e9f74c76cb3d0901e89c9bf01d48a85d747
2022-12-20 16:25:07 +08:00
xusongfu
d48aca89a4 fix: reset the subnet list when create cluster instance
the subnet list was not changed when the fixed network changed, fix the update context to solve this problem

Change-Id: I2882a63e58c5b2843b9c8e6070b6708d16c40b94
2022-12-19 19:10:45 +08:00
xusongfu
7b6e8253a6 fix: fix the delete operation of cluster instance
Disable the delete operation if the stack is not ready or the status is `DELETE_IN_PROGRESS`

Change-Id: I18457d3593761e36a7173488b646ebdedf656ec2
2022-12-19 16:07:26 +08:00
Jingwei.Zhang
f4a24d04ad fix: fix the getValue of yaml
1. Fix the yaml value dump in the utils
2. Update the unit test

Change-Id: I3c2120593ff533d38fdc7cb026d0d2d3bf1e7132
2022-12-19 11:46:02 +08:00
Jingwei.Zhang
2d437e5b4e feat: support custom render in the TabDetail component
support custom render in the TabDetail, not only the class or string

Change-Id: I152e611d1478e149baf9104143ca18171e799730
2022-12-19 11:35:18 +08:00
xusongfu
a307f457e4 fix: fix the magnum service
1. check cluster quota immediately when create page mounted
2. fix template coverage to instance information
3. fix detail fetch to show image name,flavor name...

Closes-Bug: #1999756
Change-Id: I586689d508cb838562ba4a0bef574a4e696e57c0
2022-12-15 18:59:28 +08:00
xusongfu
f384bd4b73 feature: Add listener input event for instance-volume component
1.If the min attribute is set, the onchange event will not be triggered when the value is lower than min size

2.This is not conducive to our validation of input values, which leads to some unknown bugs

Change-Id: Id1ad89fce61681a6e4e96b02ff1a3c804a60ab35
2022-12-14 10:09:59 +08:00
zhangke
124fdc3c2a fix: add disabledRemoveFunc prop in AddSelect component
Add disabledRemoveFunc prop in AddSelect component to handle if disable the remove button and edit item

Change-Id: I10dc6ebc3d55305ac4829677c0edd20a549a8662
2022-12-13 18:43:55 +08:00
xusongfu
3ada93aae8 fix the validator of cluster name and labels
1. fix the validator of cluster name
2. replace the labels in cluster which from cluster template

Closes-Bug: #1999398
Change-Id: I244282686cab18ec69930b8221701a9363f70b74
2022-12-12 22:16:01 +08:00
zhangke
594db17643 fix: add disableEditKeys prop in AddSelect component
1. add disableEditKeys prop in AddSelect component to handle if disable the remove button and edit item

Change-Id: Icedad9b2e4ff29f38f00235a88b1dbe8e44df888
2022-12-12 15:08:06 +08:00
xusongfu
c7e19491fe fix: support name validator and fix placeholder of magnum service
1. support validator of cluster name

2. fix placeholder of cluster and template

Change-Id: I5901ab64a9f45df8f0ca91ba883e2b225ddda000
2022-12-09 14:53:31 +08:00
xusongfu
77df05477e fix: Support search filter for cluster and template.
Support search filter for cluster instance and cluster template

Closes-Bug: #1999128
Change-Id: Ic1ec950f483f6eca845aa13ba3ae533b29d844e0
2022-12-08 09:17:11 +00:00
xusongfu
228ccff07b fix: Improve quota in magnum service
1.Show quota info by template when create cluster if did not select flavor or master flavor

2.Remove link of keypair if the keypair is not belong to the current user

Change-Id: Ic6faebfa21b92479b982770a00046a54882f21d8
2022-12-07 15:57:15 +08:00
Zuul
a2d170e285 Merge "feat: support component in the table header" 2022-12-07 03:21:45 +00:00
Jingwei.Zhang
ef353362fb feat: support component in the table header
Support custom component in the table header of the list page, the custom component is placed in front of the magicSearch component

Change-Id: I980552818bcb6375d3b412b63732c02597ff2a94
2022-12-06 17:37:57 +08:00
xusongfu
7a4d17ee19 feature: Support quota in magnum service
1.Show quota info when create cluster
2.Support quota setting of magnum cluster when manage project quota

Change-Id: I90d1bc3c2bcb2aa95d728c245dd1b742d3fe6ae1
2022-12-06 16:07:48 +08:00
zhangke
719e26ebaa fix: add middleComponent prop in KeyValueInput component
1. add middleComponent prop in KeyValueInput component to support show default equal sign or others

Change-Id: I29bdfb3df6c859b2522b2a10a21173defce7765e
2022-12-05 16:48:49 +08:00
xusongfu
b4f23fd78c fix: fix health_status in magnum cluster
It should not use valueMap for health_status

Change-Id: Ib1418d2f4ba79ff7fb619365b8f71734d112e69d
2022-11-29 15:44:00 +08:00
xusongfu
0c3a946d21 fix: Move the keypair to node spec when create cluster instance
In order to be consistent with the cluster template creating, move the keypair to node spec step when create cluster instance

Change-Id: Id9b70108f4ac2dac289bb50fa83eeab18f08199e
2022-11-29 03:33:58 +00:00
xusongfu
ac1edd6e97 Fix keypair in magnum
1.The form items value will be resetted, when create a new keypair
2.Same issue when create instance

Closes-Bug: #1998077
Change-Id: Ie0021cbddc4c8730d604e4892a8cfa878a5bcb95
2022-11-28 09:12:59 +00:00
xusongfu
8401c5b546 fix: fix the instance-volume in form items
fix the delete checkbox to get better extensions

Change-Id: Iab9a7c5c2e609d8794369ea52c7c07e0b0d941e8
2022-11-25 15:36:27 +08:00
xusongfu
72b81c645e Fix: fix the image store in magnum node spec
fix the image store to get better extensions

Change-Id: Ia0256668b0dbcd4dad31048b36929a99205707ed
2022-11-24 17:12:45 +08:00
xusongfu
463ced2667 fix: Fix the store path in magnum and required name in zun container
1. Change the store path from 'src/stores' to 'stores' to avoid some strange bugs

2. Make the container name be required

Change-Id: If299e6791ce5c30be936fbd5fbc2b5427a59ff39
2022-11-23 18:20:46 +08:00
Zuul
d6b68d3f12 Merge "fix: Fix quick creating keypair in creating instance" 2022-11-23 08:40:46 +00:00
Zuul
b41b121a33 Merge "fix: fix the router path and logs in zun container" 2022-11-23 07:57:12 +00:00
xusongfu
f7ae6ff9d7 fix: Fix quick creating keypair in creating instance
Use public code for quick creating keypair when create cloud instance.

Change-Id: Ib0af8339fa8436ebeee958fd3f653ce0caa88a9d
2022-11-23 05:33:28 +00:00
Zuul
a0ec4f5f7c Merge "feat: add success and error status in Status component" 2022-11-23 05:15:27 +00:00
Zuul
744463b861 Merge "fix: add confirm resize/migrate button in the administrator" 2022-11-23 04:07:25 +00:00
xusongfu
801bf664c2 fix: fix the router path and logs in zun container
1. fix the router path from 'container' to 'container-service' to get the same format as magnum

2. Follow the api doc to hide the log tab in the container detail if the status is not acceptable

Closes-Bug: #1997326
Change-Id: I3c1e4299ec2e10bfcd02bcf6cd07f0ed42b3b783
2022-11-22 16:23:34 +08:00
xusongfu
c49872654b feature: Support quick creating keypair in Magnum service
1. Support quick creating keypair when create cluster template

2. Support quick creating keypair when create cluster instance

Change-Id: If019d411b47752f738c0d43097fc00a3bf36892b
2022-11-22 07:51:45 +00:00
Jingwei.Zhang
c1eb34a589 fix: add confirm resize/migrate button in the administrator
Add confirm resize/migrate button in the instance list in the administrator

Closes-Bug: #1960388
Change-Id: I46b6e7f4dd5ecfeffe2845d5fb74a63092d875e7
2022-11-21 16:51:48 +08:00
zhangke
bd30f8c308 feat: add success and error status in Status component
1. add 'pass' key in successKeys
2. add 'refuse' key in errorKeys

Change-Id: I4e340785ef37c06b45342ac38ccdce560414623a
2022-11-18 17:50:49 +08:00
xusongfu
47b3cead09 feature: Support magnum in administrator platform
1. Show list and detail of cluster instance
2. Show list and detail of cluster template
3. Hide the keypair if in administrator platform

Change-Id: I61532a12312383cdedf2fdfca10633b16064f77b
2022-11-18 14:24:13 +08:00
Jingwei.Zhang
9df7b6ca0f fix: fix the i18n of the status of vpn ipsec connection
Fix the status i18n in the vpn ipsec connection detail page

Closes-Bug: #1996700
Change-Id: I50215ece5cb28721ce9c9e8b6998636a8f6799ba
2022-11-16 16:02:58 +08:00
Zuul
747c0852d6 Merge "feature: Add translation for monitor center" 2022-11-11 13:16:49 +00:00
xusongfu
638ac6f2eb feature: Add translation for monitor center
Added Chinese translation for monitor center

Change-Id: I47cfc090099f3d5413012f5abee0558f78b5d94e
2022-11-11 18:15:16 +08:00
Jingwei.Zhang
7e30ad6922 feat: update the click area of links in the global navigation
1. Update the click area of the links in the global navigation
2. Update the proptype of the globalNav component

Change-Id: Ie9f12f2d6747429966e62bbc0bbd72d9686864cd
2022-11-11 15:34:38 +08:00
xusongfu
f89ffe6149 Fix the state and default value when create cluster instance
The clusterTemplate of state was not updated when clusterTemplate changed

Closes-Bug: #1996143
Change-Id: I4f781454b918662a8e46f4d4af06454df5993936
2022-11-10 16:27:10 +08:00
Zuul
60bf011927 Merge "Fix the cluster and template of magnum" 2022-11-09 11:57:05 +00:00
xusongfu
5eab747fb3 Fix the cluster and template of magnum
1. When creating a cluster instance, the parameters are the same as the template, change them to optional
2. Fix some tips of form item to get a better understanding
3. Change the filter for image list by zed spec of openstack magnum user guide document

Closes-Bug: #1996046
Change-Id: I5a698ccde7454f8d34e6d0d3ed726582708855b0
2022-11-09 17:56:59 +08:00
Jingwei.Zhang
6ed2fb1a2d feat: support search in the global navigation
Support search menu in the global navagition

Change-Id: I4c12e5d57650f6ef2641ed8680e98d6919432124
2022-11-09 15:11:24 +08:00
Jingwei.Zhang
e3543ed1b5 feat: update menu in the layout
1. Update the menu style to adjust the global nav display
2. Update the menu open keys when the url change: the menu will auto open the current url's father menu

Change-Id: I567db87e369264d9b1d1372332868267b478cf46
2022-11-09 12:30:28 +08:00
Jingwei.Zhang
985c03af95 feat: add global navigation
1. Add global navigation at the left top position of the whole page
2. Update the right menu layout to adjust the global navigation
3. The global navigation show the extended menu in the console/user center/administrator

Change-Id: Iee64af2821bd034e3818166308512d946e44cbe7
2022-11-09 09:57:38 +08:00
xusongfu
5ba32d6dde feature: Optimization of Magnum
1. Update some form item labels for better semantics
2. Make the template name be required when create the template
3. Support create cluster instance from template list

Change-Id: I588af877fe776dbf7d44b11ad350566bf231121f
2022-11-07 17:43:50 +08:00
Zuul
f73d5a37bf Merge "feat: add props in BaseForm" 2022-11-03 12:45:48 +00:00
zhangke
5a476a09a4 feat: add props in BaseForm
1. add hasFooter props to judge show the form footer in BaseForm
2. add formStyle and footerStyle props to set form and footer style
3. support add placeholder props in the KeyValueInput component

Change-Id: I6627a1fdbb92f95985c022ad15a19efabe4842c1
2022-11-03 17:45:53 +08:00
lcyuzzz
72eb092e86 Remove unicode literal from code
All strings are considered as unicode literal string from Python 3.

Closes bug: #1995548

Change-Id: I14a37c888b0ddb74581c0db257830c34290eb96c
2022-11-03 15:40:19 +08:00