Commit Graph

102 Commits

Author SHA1 Message Date
zhangjingwei
9962be6795 feat: update code format
update code format by yarn run lint

Change-Id: Ic413e3f4dc181549d5a751933a22f590bd38d2ad
2024-04-03 16:05:02 +08:00
zhangjingwei
b3b81d7082 feat: update detach volume
Change the multi-select vm to single selection to prevent simultaneous detaching and error reporting

Change-Id: I7e7471797465e3c56179b2337e0c6a59e4fe0e5e
2024-04-02 14:15:43 +08:00
Zuul
cb5a5fe1d2 Merge "feat: disable attach volume to the same vm" 2024-04-01 09:42:05 +00:00
zhangjingwei
9d6d3d6d2b feat: disable attach volume to the same vm
Disable select the vm which is already attached to the volume when attaching the volume to a vm in the volume list page

Change-Id: I93d88888aad16422a3a747fcf76d0514a3096077
2024-04-01 16:10:01 +08:00
zhangjingwei
ae3cfafb5c feat: update qos spec column for volume type
1. update qos spec column for the volume typs list page, then the download file can contain the qos spec id.
2. update the label for the qos spec id search.

Change-Id: I4e167cfbb3e29773ef6bdd56b84e5c883bf53920
2024-04-01 14:47:32 +08:00
zhangjingwei
8613ef39f3 fix: fix create/delete encryption for volume type
Fix encryption check for volume type

Change-Id: Id8d0b12e55e8b482d8667a8498f3fe1f82fd75f0
2024-03-27 10:17:26 +08:00
zhangjingwei
ffc75102ad fix: disable delete mounted volume
Disable delete volume when the volume is error and is mounted to some instance

Change-Id: Ib2955fbb5b9d9cfb00eacd9a6ad9c45a83a0c7c5
2024-03-07 11:01:50 +08:00
zhangjingwei
48444e9ee7 feat: update i18n
1. fix tr language file in the gulp task
2. update i18n file for each languages
3. fix some i18n

Change-Id: I31f6324d79bb57c0721d6d771a199daa26856811
2024-03-06 18:07:43 +08:00
xusongfu
1919a36870 Fix: fix error message of batch deleting
Fix volume name for volume snapshot batch deleting

Change-Id: I4858d9315397fa2833f34e0ec56d634780946755
2024-01-18 16:04:04 +08:00
Zuul
6451966842 Merge "Edit the Object Storage > Public Access directory listing link" 2023-11-27 03:36:06 +00:00
zhangjingwei
21ac632a43 fix: update the search label in the extra spec
1. update the search label in the extra spec tab in the volume type detail page
2. update the search label in the extra spec tab in the Qos spec detail page

Change-Id: I50e7d1882c83563dd303a43951f08e288f991c17
2023-11-17 17:40:22 +08:00
zhangjingwei
781ea82a3f feat: update extra specs of volume type and QoS spec
1. update key column title for the extra spec list page in volume type detail page and QoS spec detail page
2. update key label when creating/editing volume type's extra spec and QoS spec's extra spec
3. set only number value for creating/editing QoS spec's extra spec

Change-Id: Ifaa24ce7607cd70425916ccf5e1ab174157b2881
2023-11-16 16:34:19 +08:00
xusongfu
ec21bd17ab fix: show project id and filter data by it
Show project id and filter data by it when create nework,subnet,fip,qos in management platform

Closes-Bug: #2037275
Change-Id: I4e12b423be7662ba83f8efbf55e1b6aa0e31105d
2023-09-26 17:59:58 +08:00
Numan MENEKŞE
312c27c038 Edit the Object Storage > Public Access directory listing link
On the Storage > Object Storage page, the directory listing page was not working because the "Public Access" link in the Detail Info popup was redirecting.
Added "/" to the end of the link address.

Change-Id: I27904475edc48404271bea1c42634f23be8ffbd1
2023-09-13 13:03:18 +00:00
Jingwei.Zhang
482e4ba321 fix: update the time display
1. FIx the created time column title in the backup tab in the database instance detail page
2. Fix created time/updated time label and value in detail pages

Change-Id: I656b1b195d08374949ad319d3b71d2dd97d946d2
2023-05-06 17:24:45 +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
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
xusongfu
76488b082c fix: Fix search filters
Fix search filters of storage

Change-Id: Ice928e33dc09389a7ab243b6b3be7589f12c1032
2022-09-05 16:09:39 +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
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
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
Zuul
569aaa2b05 Merge "fix: support capacity expansion of volume when instance is locked" 2022-08-26 11:07:23 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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