郑雨
40d98c08f9
fix: Fix the unexpected json field coverage after GetCustomizeColumns
...
一般来说一个资源的detail版本的输出会放在 <ResoureName>Details
这样的结构体中,并且这个结构体包含资源本身。不过一般在 details
的处理函数中(比如GetCustomizeColumns)资源本身的结构体都是默认值,
而jsonutils的unmarshal函数会把默认值(零值)的int类型(也可能会有其他类型)
unmarshal到jsonutils.JSONDict中(string类型就不会有这种情况)。
这会导致返回的extraDict会覆盖掉原来的Dict中的一些字段,这种覆盖并不是所期望的。
所以现在暂时改为用后者来覆盖前者,前者是最终输出的全集。
2019-12-10 15:58:22 +08:00
郑雨
15edc45030
feat(region): Support for resuming vm suspended in vmware
2019-12-06 16:35:37 +08:00
yunion-ci-robot
f5d19c5e1d
Merge pull request #3988 from ioito/hotfix/qx-network-create-list
...
fix: 结构化network create list 参数
2019-12-06 11:40:35 +08:00
Qu Xuan
061b3872be
fix: 标签添加排序,不统计回收站的资源标签
2019-12-05 10:51:47 +08:00
Qu Xuan
06bc27527e
fix: 结构化network create list 参数
2019-12-03 11:54:55 +08:00
yunion-ci-robot
ef9f4e341a
Merge pull request #3966 from zexi/feature/list-base-input
...
add list input and rewrite codegen use python
2019-11-29 10:27:29 +08:00
Zexi Li
018e1ac217
add list input and rewrite codegen use python
2019-11-29 10:18:27 +08:00
Qu Xuan
18245ced73
hotfix: 添加标签资源列表接口
2019-11-28 15:12:56 +08:00
yunion-ci-robot
e9b09e92ee
Merge pull request #3851 from zhasm/feature/rex-add-ansible-devtools
...
Feature/rex add ansible devtools
2019-11-28 10:10:28 +08:00
yunion-ci-robot
ff61f9ca47
Merge pull request #3933 from ioito/hotfix/qx-cloudaccount-purge
...
fix: 抽离disable delete,避免删除账号失败
2019-11-27 21:04:28 +08:00
Qu Xuan
4e10a80dd2
fix: 抽离disable delete,避免删除账号失败
2019-11-27 20:30:51 +08:00
Zhang Dongliang
6429e7b1f8
新增 devtool cron manager,用来管理Ansibleserver 的定时任务
2019-11-27 16:48:59 +08:00
Zexi Li
80e88ca6aa
fix caller input nil panic
2019-11-27 15:06:33 +08:00
Zexi Li
84c43c6086
fix caller parameters missing
2019-11-27 14:07:27 +08:00
Qu Xuan
42b6351dc6
fix: stack overflow
2019-11-27 13:43:57 +08:00
Zexi Li
d149d84ccc
support generate
2019-11-27 10:20:28 +08:00
Qu Xuan
8c83db6fd9
fix: rds创建账号所属项目跟随rds实例
2019-11-26 20:13:30 +08:00
Qiu Jian
6d1c2ae9f2
fix: keystone project resource count not set set to zero
2019-11-25 22:26:00 +08:00
Qiu Jian
debf079e2e
feature: add network-status methods to change status of on-premise
...
network
2019-11-20 18:38:19 +08:00
Yousong Zhou
212462cbea
treewide: 避免使用fmt.Print记录日志
2019-11-19 07:12:45 +00:00
Qiu Jian
cad0f2c1c5
feature: cloud account share_mode support
2019-11-15 15:09:12 +08:00
Qiu Jian
8b4c9affe8
fix: send full reason body for *_fail_reason
2019-11-14 10:54:42 +08:00
Yousong Zhou
6bdd0824e1
lockman: test multiple lockman
2019-11-12 13:18:09 +00:00
Yousong Zhou
012e790424
lockman: distributed lockman with etcd
2019-11-12 13:18:09 +00:00
Yousong Zhou
0f7aae6337
lockman: log bug with Errorf
2019-11-12 13:18:09 +00:00
tangbin
1896651d69
redis sync fix
2019-11-11 14:17:29 +08:00
郑雨
809cd1b595
fix(image): Change the update process of guest image
...
At the very beginning, updating subimage of guest image is a
asynchronous process so that a intermediate state was need for web
client. But guest image's status has a little particularity. Now, the
update process is synchronous and use errgroup.Group to update subimage
in a concurrent manner.
Add 'size' and 'status' for subimages belong to a guest image.
2019-11-11 11:41:11 +08:00
Qiu Jian
d27f718e3e
fix: simplify object delete-fail-reason message
2019-11-08 22:45:19 +08:00
TangBin
732dcdd3be
redis support 2
2019-10-31 19:51:02 +08:00
Rain
d65e0a51f7
feature: Add update interface for guest image; add 'disk_format','min_disk_size','min_ram_size' for guest image
...
fix: input.Disks's length maybe zero when creating vm that will trigger panic
2019-10-30 16:38:00 +08:00
yunion-ci-robot
79ead29305
Merge pull request #3374 from yousong/bugfix/yousong-lb-error
...
Bugfix/yousong lb error
2019-10-28 19:18:09 +08:00
Yousong Zhou
8ba5986d83
goimports: first run
2019-10-28 06:22:17 +00:00
Yousong Zhou
9a7e602903
cloudcommon: db: 允许普通用户获得pending_deleted字段
...
Convenient for testing
2019-10-28 02:29:02 +00:00
ioito
21be27e36c
add rds operation
2019-10-24 11:40:22 +08:00
Rain
a8fddb66cc
feature: guest image create from vm, delete, update, list; create vm
...
from guest image.
2019-10-22 17:35:32 +08:00
ioito
0c97fd44f0
fix: 避免返回nil, nil
2019-10-16 18:11:32 +08:00
Qiu Jian
7e02839d67
add doc and copyright
2019-10-16 14:08:57 +08:00
wanyaoqi
8fc4b2920a
- instance snapshot
...
- instance clone
- create form snapshot don't reset passwd
2019-10-14 21:36:58 +08:00
Qiu Jian
44cd46c11c
fix: recover can_update field and add update_fail_reason field
2019-10-14 16:23:03 +08:00
Rain
31146aa5ec
fix
...
log for snapshotpolicy
docs
auto sync
add performCache for snapshotpolicy
detach snapshotpolicy after detach disk and guest
fix sync snapshot of disk in qcloud
2019-10-14 11:07:46 +08:00
wanyaoqi
ad0e1004c2
fix qemu args
2019-10-12 17:40:55 +08:00
wanyaoqi
0d16282d2f
add user cache
2019-10-12 16:08:33 +08:00
yunion-ci-robot
cd27020aeb
Merge pull request #3147 from wanyaoqi/feature/wyq/postpaid-extra-field
...
region features:
2019-10-12 11:25:39 +08:00
Qiu Jian
d224736a3a
fix: show delele fail reason if cannot delete a resource
2019-10-10 21:51:59 +08:00
wanyaoqi
a59e171bf5
feature:
...
- postpaid server support expire
- extend distinct tenant filed
- gpu batch perform action
2019-10-10 12:04:22 +08:00
ioito
1a78a8b229
feature: 支持名称重复数据
2019-09-27 15:43:31 +08:00
Rain
dc68d23ff6
support Secondary authority management for contact and notification
...
rpc=>grpc, go=>workerMan
pull dingtalk auto
grpc
2019-09-24 15:33:53 +08:00
Qiu Jian
0ef16b8d2e
fix: tenant filter fail to work
2019-09-21 20:37:28 +08:00
yunion-ci-robot
cca12fe221
Merge pull request #2994 from swordqiu/hotfix/qj-opslog-obj-name-search-error
...
fix: fail to search opslog by obj_name
2019-09-19 22:00:28 +08:00
Qiu Jian
74e938de60
fix: fail to search opslog by obj_name
2019-09-19 21:00:46 +08:00