Qiu Jian
e11ceb4c4b
feature: allow list/export/sort/distict metadata
2020-03-13 13:12:45 +08:00
Qiu Jian
3c9b368c43
feature: fix region list filters round 3
2020-03-12 20:55:22 +08:00
Qiu Jian
1169dfe24c
fix region list filters round 2
2020-03-10 18:23:45 +08:00
Qiu Jian
cf5498ac24
feature: recode structuralized GetExtraDetails and ListItemFilter
2020-03-04 14:01:25 +08:00
Qu Xuan
366cbd4e36
统一 details -> isList
2020-02-07 17:54:48 +08:00
Qu Xuan
76d974f6d8
feature: api -> response struct
2020-02-03 10:22:44 +08:00
Qiu Jian
45849355e6
fix: list documentation improvements
2020-01-14 04:17:15 +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
3dba5360d7
quota recode
2019-12-12 11:31:41 +08:00
wanyaoqi
2eb4492de3
gpu add export keys
2019-11-14 16:21:21 +08:00
wanyaoqi
bf13fa2410
fix isolated device attach
2019-11-05 14:35:18 +08:00
wanyaoqi
a7f2f3f801
gpu mutil attach by model type, fix network hint name
2019-10-15 20:52:01 +08:00
Qiu Jian
aa44664448
fix: usage query support brands
2019-07-01 09:30:51 +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
Qiu Jian
b7027934db
feature: 3-level policies, system/domain/project
2019-05-31 13:56:02 +08:00
Zexi
4cb35dd7be
fix: host undo convert not delete isolated_devices
2019-05-20 20:54:46 +08:00
Zexi
e3797b709f
fix: isolated_device dev_type field not set
2019-04-30 13:48:53 +08:00
Qiu Jian
cf7b0f724a
fix: use db.FetchModelObjects to batch Query objects
2019-04-26 15:39:46 +08:00
Qiu Jian
a95c0bac62
update query.Count to query.CountWithError
2019-04-23 12:02:35 +08:00
Qiu Jian
29c1fd3855
fix: clearn up codes that impacted by query.Count return value changes
2019-04-23 11:32:16 +08:00
Qiu Jian
da57161fd0
fix: move all consts in compute/models to apis/compute
2019-04-17 09:23:19 +08:00
Zexi
db0e303798
make 'go test ./...' pass
2019-04-15 19:54:46 +08:00
Zexi Li
6e67c0a745
region: enhance server clone releated apis ( #270 )
2019-04-08 22:05:33 +08:00
Qiu Jian
004d9b6f95
update copyright headers of all source
2019-03-29 14:47:48 +08:00
Zexi Li
1ed92bd176
fix: gpu server not work
2019-03-20 20:07:43 +08:00
Zexi Li
6df6880501
define scheduler apis output and input structs
2019-03-20 12:03:29 +08:00
Zexi Li
a81ee45f4a
region: support cloudregion capabilities
2019-03-19 21:03:06 +08:00
Yousong Zhou
4c82dae39b
Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-goimports-270
2019-03-13 13:33:51 +00:00
Yousong Zhou
8fe4f2ec98
treewide: group imports with goimports
...
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
邱剑
0edeb53d28
update models with db.Update interface
2019-02-22 12:06:13 +08:00
李泽玺
0c640fd179
Automatic merge from release/2.4.0 -> release/2.5.0
...
* commit '40eb0119ceef64af5671c771bdb9b90cd66f4dfa':
region: isolated_devices purge action
2019-01-10 15:59:59 +08:00
Zexi Li
9eca0250ae
region: isolated_devices purge action
2019-01-10 12:21:42 +08:00
Zexi Li
5c0b04973a
region: support server import
2019-01-08 21:32:57 +08:00
李泽玺
9a507b9857
Automatic merge from release/2.4.0 -> release/2.5.0
...
* commit '327e59efcdc088be764d05f90346af3d2aecd1bb':
fix isolated device update
2018-12-29 17:13:53 +08:00
wanyaoqi
fb41fcb817
fix isolated device update
2018-12-29 16:39:41 +08:00
Qiu Jian
2e587bd6ab
glance重构 update 1
...
Conflicts:
Gopkg.lock
pkg/appsrv/appsrv.go
pkg/cloudcommon/options.go
pkg/compute/models/hosts.go
pkg/compute/models/quotas.go
pkg/compute/service/service.go
pkg/mcclient/mcclient.go
2018-12-26 22:52:13 +08:00
邱剑
00cc2a138b
Merge pull request #759 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-get-short-desc-ctx to release/2.4.0
...
* commit '739ef05c86bdf37c64079c899f22b97e4610bc6f':
minor fixes
1. GetShortDesc()改为GetShortDesc(ctx context.Context) 2. VirtualResource的GetShortDesc()中增加owner_tenant_id和owner_tenant两个字段
2018-12-14 15:18:19 +08:00
Qiu Jian
e18302866b
1. GetShortDesc()改为GetShortDesc(ctx context.Context)
...
2.
VirtualResource的GetShortDesc()中增加owner_tenant_id和owner_tenant两个字段
2018-12-13 23:55:51 +08:00
wanyaoqi
8d5897419a
fix manger query not filter deleted items
2018-12-13 21:15:53 +08:00
邱剑
17aa485093
Automatic merge from release/2.3.0 -> release/2.4.0
...
* commit '4ec6a728f9132ed87a3d386afe5bd839c6f6e8b8':
fix: gpu server not work
2018-12-13 11:54:52 +08:00
Zexi Li
55a8c869f7
fix: gpu server not work
2018-12-13 11:53:54 +08:00
Qiu Jian
00a17b360e
update usage statics for prepaid-pool servers
2018-12-10 00:50:26 +08:00
Qiu Jian
e42f1a7744
recode
2018-12-01 12:05:41 +08:00
Qiu Jian
bc02b3b433
1.
...
取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred
2. 在应用启动时候,必须设置 SetServiceType,否则退出
2018-11-30 23:00:11 +08:00
wanyaoqi
6d21c7e0d2
baremetal ops
...
some bugfix
make dep
2018-10-23 21:01:00 +08:00
Qiu Jian
0b17fe3547
增加keystone policy资源,格式化代码
2018-10-20 21:29:52 +08:00
Qiu Jian
17175bc0a4
改进:1. 部署VM时注入全局和项目公钥 2. 完善keypair的创建和导入功能 3.
...
其他
2018-10-11 23:04:42 +08:00
李泽玺
91ca98de30
Merge pull request #216 in YUNIONIO/onecloud from ~LIZEXI/onecloud:feature/lzx-spec to release/2.1.0
...
* commit '27f7e0d55f3104f0e9bab68fa77b254b45c6e3c2':
region: capabilities add specs
region: query model by spec keys, filter by zone
region: spec handler
2018-09-15 10:16:30 +08:00