Commit Graph

73 Commits

Author SHA1 Message Date
屈轩
4b5e211ab9 fix(region): storage extra info (#17832) 2023-08-24 03:10:46 +08:00
马鸿飞
096f09d85a fix(region): listitemfilter ignore empty slice 2023-06-20 10:29:52 +08:00
马鸿飞
042fa61058 fix(region): support slice for list 2023-06-15 15:51:36 +08:00
Jian Qiu
21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
Zexi Li
0e2c520ecd feat(misc): use cloudmux package (#15254) 2022-10-28 19:53:03 +08:00
ioito
018d21c09b fix(region): avoid panic 2022-04-21 17:09:05 +08:00
ioito
4bcf2cf99b fix(region): ctx lock panic 2022-04-07 14:54:29 +08:00
Qu Xuan
fa5d5a6eb9 fix(region): update swagger api 2021-07-27 11:46:31 +08:00
Qiu Jian
03d17e6fba fix: missing column error when order by extra fields 2020-11-05 23:51:03 +08:00
rainzm
eef90b58e7 fix(region): roll back the optimization of cachedimage list 2020-10-26 17:34:54 +08:00
rainzm
bd4851c9f9 refactor(region): faster list for cachedimage
修改之前:
诸如provider, zone, host_schedtag_id, valid
等过滤条件,是通过过滤出符合条件的 storagecachedimage 然后使用 cachedimage_id 来过滤 cachedimge,
问题是,每一个过滤条件都会独立的去执行上面的过程,这样同样的查询可能要经过很多次,并且如果遇到
弱的过滤条件,比如 valid ,过滤出来的 storagecachedimage
非常之多,然后在使用 cachedimage_id 去过滤 cachedimage,会非常慢。

修改之后:
过滤条件的相似的逻辑合并起来,只需要向 subQuery 中添加 filter,使用 subQuery 一次把 storagecachedimage
过滤出来,然后使用 cachedimage_id 过滤 cachedimage。
2020-10-22 20:05:49 +08:00
Zexi Li
f0cc1d3d1a stringutils2: add RemoveUtf8Strings func 2020-10-15 19:33:18 +08:00
Jian Qiu
f0f406c243 fix: adjust API input field names according to spec (#7382)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:51:00 +08:00
Qu Xuan
bf65a88163 fix: not work for network-list --zones 2020-07-16 19:04:30 +08:00
Qu Xuan
4794b1606a fix: 支持同步project标签到本地资源 2020-06-23 17:46:21 +08:00
wanyaoqi
561d7b0cca support filter by cloudaccounts 2020-06-19 19:01:24 +08:00
Qiu Jian
d1fd245384 fix: update fields permission tags 2020-05-18 20:58:33 +08:00
Qu Xuan
bd21b346a5 fix: 避免provider错乱返回 2020-05-12 17:02:08 +08:00
Qiu Jian
b7b496676e fix: is_managed filter is not accurate 2020-04-22 18:35:07 +08:00
Qiu Jian
880b0ecf4d fix: list item export recode 2020-04-21 11:45:36 +08:00
Qiu Jian
b9a239bd65 fix: sync sharing state 2020-04-11 06:50:48 +08:00
Qiu Jian
7bfdc0dce4 fix: cascading sharing problems 2020-04-11 06:49:55 +08:00
Qiu Jian
d99c4776e9 feature: add API to retrieve resource's change owner candidate domains 2020-04-07 16:22:51 +08:00
Qiu Jian
258db2cb48 fix updates 2020-03-27 01:20:29 +08:00
Qiu Jian
732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
Qu Xuan
aad83ec565 fix: 修复删除账号失败问题 2020-03-17 11:58:05 +08:00
Qiu Jian
3c9b368c43 feature: fix region list filters round 3 2020-03-12 20:55:22 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Qu Xuan
76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
Qiu Jian
b9be567ebf use deprecated-by tag to describe deprecated fields 2020-01-13 13:19:47 +08:00
Qiu Jian
29c9d05b5f refine auto-gen swagger documentation 2020-01-13 13:19:47 +08:00
Qiu Jian
14c1ddaccb feature: cloudprovider capability filter and listinput recode 2020-01-13 13:19:47 +08:00
Qiu Jian
bc7f62a2ad scheduler schedule according to quota limit 2020-01-03 13:58:04 +08:00
wanyaoqi
540799fb6a region MakeCloudProviderInfo instance snapshots
- MakeCloudProviderInfo: fix panic on account is nil
- GetSnapshotsNotInInstanceSnapshot: add filter disk_id
2019-12-30 21:17:33 +08:00
屈轩
633302f836 fix: 兼容以前的参数 (#4065) 2019-12-10 21:25:55 +08:00
Qu Xuan
06bc27527e fix: 结构化network create list 参数 2019-12-03 11:54:55 +08:00
Qiu Jian
947f5632b3 fix: cloud-region filter by domain not support share_mode 2019-11-22 17:26:56 +08:00
Qiu Jian
cad0f2c1c5 feature: cloud account share_mode support 2019-11-15 15:09:12 +08:00
Qu Xuan
c5e1b75caa fix: 避免创建vmware磁盘快照 2019-11-04 21:54:01 +08:00
TangBin
cc91e38075 huawei & qcloud elb bugfix 2019-10-09 16:02:33 +08:00
TangBin
b033882267 loadbalancer bugfix 2019-10-09 15:38:42 +08:00
Qiu Jian
77c4a53059 feature: 1. ak/sk auth support 2. a full feature s3gateway works with
Cyberduck

注意:以下两个文件的修改还未被官方合并,所以下次make
mod的时候会被覆盖,需要注意checkout恢复:

vendor/github.com/Azure/azure-sdk-for-go/storage/blockblob.go
vendor/github.com/tencentyun/cos-go-sdk-v5/object_part.go
2019-08-30 00:12:39 +08:00
Qiu Jian
67f9790e77 feature: filter results by multiple providers or brands 2019-07-25 20:56:02 +08:00
Zexi
0309bf0c5a region: fix baremetal specs not found when domain_id specify 2019-07-16 11:10:06 +08:00
Qiu Jian
b799682ac2 fix: notify message use brand insteand of hypervisor 2019-07-11 18:24:26 +08:00
Qiu Jian
f34c8255f2 fix: 1. token add projects when no project specified 2.
IVirtualResourceManager add GetResourceCount() method 3. domainId not
initialized occasionally
2019-07-03 22:38:33 +08:00
Jian Qiu
1d7fd20df4 misc bugfix (#1296) 2019-06-19 02:45:52 +08:00
Qiu Jian
59cd60db6c feature: recode quota, cache quota usage, allow list all project/domain
quotas
2019-06-17 18:40:13 +08:00
Qiu Jian
785348c098 fix: role-list missing shared roles 2019-06-13 19:37:58 +08:00
Qiu Jian
9670446a21 fix: 1. zone/region capability containts by domain 2. yunionconf query
scope fixes
2019-06-11 01:31:59 +08:00