Commit Graph

1104 Commits

Author SHA1 Message Date
zhangke
021bde48ef fix: fix the error of compute service state
Fix the error of compute service state on Platform Overview page

Closes-Bug: #2004462
Change-Id: I6ae88611f4431da4e63ed1c65c37b5fd04568373
2023-02-01 16:32:36 +08:00
Zuul
fbc8fde808 Merge "feat: add attributes to the ModalAction" 2023-01-29 11:58:15 +00:00
Jingwei.Zhang
2ebb26942a feat: add attributes to the ModalAction
Add the onFinishAction and onCancelAction which are from the ListPage component to the ModalAction, add the modalProps to the ModalAction, these attritubes will make custom operations in the ModalAction to easily control the ListPage

Change-Id: Ibd81bc6331fa09a3c70fcfc6f1f72ccc3e6f9c37
2023-01-29 16:46:15 +08:00
Jingwei.Zhang
417e729e0d feat: support textarea in the KeyValueInput component
Provide textrea in the KeyValueInput component, to input more content, and provide the textareaRows property to set the default rows of the textarea to display.

Change-Id: I6849fab3933cef82e1293f7bbe0f3006e19b6b38
2023-01-28 16:05:52 +08:00
xusongfu
d80c23b202 fix: fix the title of zun container
1. fix the title of auto remove to enable auto remove, same to auto heal and interactive
2. fix filter name from status to container status

Change-Id: I890d27546e7425c053134751c0af24baf185839e
2023-01-16 13:57:25 +08:00
xusongfu
6c34ed67f0 fix: fix the magnum template detail info
1. If the template's flavor, network and other attributes are deleted, set it to null
2. Fix default network if network are delete when create cluster

Change-Id: I2de6f5eab11077e249d96bd5a6cbb88dae6e6101
2023-01-14 00:22:07 +08:00
xusongfu
a347c373a4 feature: support ip address, ports and networks in list and detail
1. show ip address, ports and networks in zun containers list
2. show ip address and subnets into zun containers detail

Change-Id: Ic53c2eb28ad392736d0f78b23eafd13e4c5d88dd
2023-01-11 16:31:40 +08:00
xusongfu
317a81acc4 feature: support search filters and fix image in zun ui
1. support search filters to capsules
2. support search filters to containers
3. support search filters to hosts
4. support search filters to services
5. because the glance image's name can be repeated, change params from name to id if use glance image

Change-Id: If3ceed8d0027f230afd72784c48161048fe61faf
2023-01-10 19:10:26 +08:00
xusongfu
5f5b8c3cd5 feature: support some new params and fix some issues of zun ui
1. add health check
2. add exposed ports
3. add auto remove
4. add entrypoint
5. add validator to some key-inputs
6. fix the image resource by glance or docker
7. fix step name from miscellaneous to others

Change-Id: I40180a44657ace3419c009f73ab527c99fb483d3
2023-01-10 09:50:16 +08:00
Zuul
e678f9c92b Merge "fix: fix the getValue of yaml" 2023-01-06 12:54:00 +00:00
xusongfu
a11a0258c4 fix: fix the download data.
fix the download data by filter params if use backend request

Closes-Bug: #2001607
Change-Id: Ibb0f49eaa8c8721e54f67ae48e0d7c6ea8ccd260
2023-01-05 03:48:30 +00:00
xusongfu
0568a3ea7c fix deleting and detail info showing of cluster
1. fix the delete condition of cluster instance
2. use card to show the health status reason
3. allowed jump to stack detail from cluster detail page
4. simplify the template card in cluster detail page

Change-Id: Ic932f3c9d0bd0d96af2ba01c1f3dfc3bf7b2fb52
2023-01-03 12:45:10 +00: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
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
Zuul
b971ad860f Merge "feature: Support custom button for the upload" 2022-10-28 10:07:49 +00:00
xusongfu
442d055756 feature: Support custom button for the upload
Support custom button in the upload form item

Change-Id: Ib246c437e91814352d75fa2fc2bde9e7c1be8888
2022-10-28 14:28:10 +08:00
Zuul
f4aaf22573 Merge "Fix : Update labels , filters , keypairs at Magnum Service" 2022-10-25 05:44:35 +00:00
Zuul
51d1f5322a Merge "fix: When the storage backends usage is 0 displayed error as '-'" 2022-10-25 05:44:34 +00:00
Reşit Demir
0849ecea44 Fix : Update labels , filters , keypairs at Magnum Service
Update admissionlabels
Update autoheal and autoscaling labels
Update retrieving keypairs
Update project_id filter when retrieving external networks

Change-Id: Ibe5fc650a7c0cda2516aad09d67ac4f9d40e126f
2022-10-25 03:09:58 +00:00
zhangke
87fa14b09d fix: When the storage backends usage is 0 displayed error as '-'
If the storage backends usage is 0, show the progress component

Change-Id: If5263eb27d3534c37002a97c498f72166d597af8
2022-10-25 03:09:46 +00:00
xusongfu
4639f2a85d fix: The scale of the x-axis is not updated in time
fix the scale of x-axis in the monitor chart

Closes-Bug: #1993997
Change-Id: Ie512a6eed4bec7794a5423bf0a9126ba16c05533
2022-10-25 02:46:11 +00:00
Zuul
2127390852 Merge "feat: Support download file progress and abort download" 2022-10-19 15:29:42 +00:00
zhangke
3b1ddc54a0 fix: Calculate quota based on the data disk of the selected instance snapshot
When the Start source is the instance snapshot, the quota
should be calculated according to the data disk of the selected
instance snapshot and the newly added data disk

Closes-Bug: #1992739
Change-Id: I035b1edb5e0441e63d7919ea5933731bd687c1d2
2022-10-19 17:05:05 +08:00
zhangke
33f90ae331 fix: No data disk is displayed on the ConfirmStep
1. get instance snapshot data disks when rendering data disk
2. support contentStyle property for Descriptions component
3. add contentStyle for the data disk item to present multiple data disk values

Closes-Bug: #1992739
Change-Id: I62d92620574a5ee4ffff8f8d20958ad42cc4221a
2022-10-19 16:41:25 +08:00
zhangke
fdd6dbb5e3 fix: Not show the data disk when creating vm by Instance snapshot
Not show the data disk when creating vm by Instance snapshot with system disk and data disk
1. fetch instanceSnapshotDataVolumes data when change instance snapshot
2. add Required Data Disk form item of BaseStep when create instance by snapshot
3. show instance snapshot data disk's info if instance snapshot has system disk and data disk
4. hide render default system disk when selecting Bootable Volume of Start Source's option

Closes-Bug: #1992739
Change-Id: I3a1daa8845cc9f73b8ea8d0216d49ad858b7168b
2022-10-19 16:40:05 +08:00
xusongfu
b7a8b6f335 feat: Support download file progress and abort download
1.Support showing download progress when download file
2.Support abort download file

Closes-Bug: #1990355
Change-Id: I7d29ddfee7ddb79c8b2ddd4359846adee23d0b76
2022-10-19 14:38:22 +08:00
zhangjingwei
27fb2b2db0 fix: fix the row auto selected when click the copy button edge
When click the copy button edge, the event target's node name maybe 'path', not 'svg', so add 'path' to the copy button click check

Change-Id: I48b12a4a002d097afa8703fe66157ba31bf6b126
2022-10-19 10:52:59 +08:00
zhangjingwei
47c34e1100 fix: update the qos policy column in the floating ip list page
1. Update the qos policy name in the floating ip list page, if the user has the admin role, the user can fetch all the qos polices
2. Update the qos policy column title, and support qos policy id and name in the download data

Change-Id: I96a18f24ef2f2e6c09d56eb5ae980202c31b98dd
2022-10-18 17:24:37 +08:00
Zuul
824267546f Merge "fix: fix the download data in the all networks tab" 2022-10-18 09:22:09 +00:00
zhangjingwei
73e6153e24 fix: update the project name display in the rebuild instance action
Show the project name of the images in the rebuild instance action, when the current user has admin role

Change-Id: I1073c398941e43311ab6a6a03e7f36458d8ba70c
2022-10-18 14:35:33 +08:00
zhangjingwei
4edd0784e3 fix: fix the download data in the all networks tab
Fix the project id value in the download data file in the all networks tab in the console.

Closes-Bug: #1993233
Change-Id: I864481ffb8608776ebf000c6a196a215b428ff95
2022-10-18 14:16:31 +08:00
zhangjingwei
2e22275d60 fix: update the id/name column of listener members
Update the id/name column in the member list tab in the load balance listener detail page to keep the unified style

Change-Id: I9c648b56316a48786ae5c67b3dc248ebbd1d481c
2022-10-18 10:41:27 +08:00
zhangjingwei
a29d9dacd3 fix: update the click area of the id link
Reduce the click area of the id link, change the style from block to inline-block to update the click area

Change-Id: I4bfa45c28d6a5e910c802a807ffe3f9b71732c04
2022-10-17 17:39:20 +08:00
zhangjingwei
a17edb45fd fix: fix the row auto selected when copy id
Fix theselected state of the row changed when the id in the row is copied,  check the click event target, if the target is the copy button, then stop propagation.

Change-Id: I3bc2cd0802d2f7dd08a34c9628d282c9c1a09dd4
2022-10-17 17:29:11 +08:00
Zuul
b24698f3e2 Merge "feat: Support for custom prometheus requests" 2022-10-13 07:05:56 +00:00
Zuul
86937127c9 Merge "fix: set the default language is Engilsh" 2022-10-13 04:45:26 +00:00
xusongfu
7c8f9f7e26 feat: Support for custom prometheus requests
1. Support custom prometheus request function
2. Support convert request url in prometheus request

Change-Id: I451282990346c187283dae1cf64e3cb4b9782cb6
2022-10-13 10:29:00 +08:00
Jingwei.Zhang
7b87e7e7ba fix: set the default language is Engilsh
Change the default language from Chinese to English.

Closes-Bug: #1992694
Change-Id: I7d0b7fc96e7118f3db1e1853cce728845a537bcc
2022-10-13 09:26:19 +08:00
xusongfu
3078eacecb fix: Fix the unit transform in prometheus monitor
1. Fix getValueByUnit to get correct value
2. Fix the unit text, it doesn't need i18n

Closes-Bug: #1992407
Change-Id: I6add661f739447666f80308e36991e07f0e8b4aa
2022-10-12 16:49:14 +08:00
Jingwei.Zhang
265e3c7916 feat: remove id link in the name column in the role list page
1. remove id link in the name column in the role list page
2. update the bold name style check: if the name column has the withoutId attribute with the true value, the name defaults unbold

Change-Id: Ia03397d064ae67193382aca483943b92805cfd7c
2022-10-12 11:09:24 +08:00
Jingwei.Zhang
fb3078f740 feat: update id render to support number format
Update the getIdRender func to support resource id of numeric type

Change-Id: I0bec014d1b8e1726ae6092f8d2dd0710151283fb
2022-10-12 11:01:42 +08:00
Jingwei.Zhang
27f127f86d fix: fix the category options in the flavor list page
Fix the category options in the flavor list page, each architecture has its own options.

Closes-Bug: #1992407
Change-Id: I42b571421cd85a48541c82e1e9135c4d729a07d1
2022-10-11 17:52:47 +08:00
Jingwei.Zhang
115015821f feat: update name column in the keypair list page
1. Update nameRender to support without id
2. Update name column in the keypair list page: only show the name with link to the detail page
3. Fix the id value in the keypair detail page

Change-Id: I8c983875425b1c9b31f8b3ea8eb80667b5cfabf6
2022-10-11 14:54:06 +08:00
Jingwei.Zhang
d158a05bfb feat: display the id/name column in the table in a unified style
1. update the port id/name column in the MemberAllocator component which is used in create load balancer action
2. update the database backup id/name column in the database backup list page
3. update the configuration id/name column in the database configuration list page
4. update the id/name columns in the vpn endpoint/ike policy/ipsec policy/gateway list page
5. update the volume id/name column in the volumeSelectTable component which is used in instance attach volumes action
6. update the port id/name column in the network step in create instance action

Change-Id: Idc3bc161a56b06cb83f9e4c9543edaf0762a4669
2022-10-11 11:46:09 +08:00
Jingwei.Zhang
6371effd7c feat: support id/name in non-bold form
Update the nameRender in the column, to support id/name in non-bold form, usually only the name of the first id/name column is shown in bold, and the id/name of the other associated resource columns does not need to be shown in bold, such as the volume backup list page: the backup name is bold, but the releated volume name is non-bold

Change-Id: I2cff14d64d4a4aa2521b2147f478518fd5203617
2022-10-11 10:09:14 +08:00
Jingwei.Zhang
c3abea1572 feat: update the generic projectRender
1. only show the first 8 character of the project id
2. support id copy
3. the projectRender can be used in the select-table in the actions or
table in the list page

Change-Id: I92a0df708e8d406c8b0e09eadacc8295334f87dc
2022-10-10 18:00:06 +08:00
Jingwei.Zhang
26d6935bed feat: update project id/name column display
Update project column in the list page and selectTable component:

1. update project id to the first 8 characters
2. support copy the project id

Change-Id: Ic7563db2b3d3e99a5bc2b100e7c7d6fc5d54ca68
2022-10-10 17:08:00 +08:00
Jingwei.Zhang
88eb2ad8b6 feat: update the generic idNameColumn
1. only show the first 8 character of the id
2. support id copy
3. bold the name to make it stand out
4. the idNameColumn can be used in the action codes

Change-Id: I5b0cdb0b1d76b795ae5dc83ebb3f6e8d3f4c3eec
2022-10-10 16:35:29 +08:00
Jingwei.Zhang
3026f4fca4 feat: update id/name column display
1. only show the first 8 characters of the id in table
2. can copy the id
3. bold the name to make it stand out
4. update cypress command clickLinkInColumn, click link with the left
position, to avoid clicking the copy button on the right

Change-Id: I91046cac9631bd8d2da5dfd236a8e1f14196e6f9
2022-10-10 16:35:19 +08:00
Zuul
cd7f9bfdf6 Merge "Hide the certificate info in administrator platform" 2022-10-09 11:17:06 +00:00
xusongfu
b927f6c5f5 Hide the certificate info in administrator platform
Certificate information should only be displayed on the console platform

Closes-Bug: #1992274
Change-Id: Iebd5d16fb78ba1704492ae52cab025b3cfb04b24
2022-10-09 16:59:16 +08:00
zhangke
574580a7fa fix: modify padding of security groups on instance detail english page
modify padding of security groups on instance detail english page

Change-Id: Id597c693127d5578b0671ab0173bf55c31d25e91
2022-10-09 11:58:11 +08:00
Zuul
965844d557 Merge "feat: support flavor to add cpu/memory search filters" 2022-10-08 12:03:28 +00:00
zhangke
2f286ce361 fix: add Specify Physical Node label of manually specify when create instance
When creating an instance, switch to manually specify the physical node. The physical node label is missing in compute page.

Change-Id: Ia1c709dc06b8c767c1004a794b22541535f2a2e5
2022-10-08 15:56:36 +08:00
zhangjingwei
5fc0635853 feat: support flavor to add cpu/memory search filters
1. Support cpu/memory fuzzy search in the flavor list page
2. Support flavor cpu/memory fuzzy search in the FlavorSelectTable component, which is used in:
(1) create instance page
(2) create ironic page
(3) instance resize form
(4) create database instance page
(5) create cluster template page
(6) edit cluster template page

Change-Id: Iba1303a7641621a50b92e21e9173ba65fd7ac669
2022-10-08 09:31:40 +08:00
xusongfu
f9cc92a032 Fix edit member of lb listener
It is forbidden to have the same ip and port when editing a member

Closes-Bug: #1991356
Change-Id: I6e867a9ae70a678574914b639fd5db6d9b32a82b
2022-09-30 14:11:38 +08:00
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