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 |
|
Qiu Jian
|
c70201b177
|
temp commit
Conflicts:
Gopkg.lock
Gopkg.toml
vendor/yunion.io/x/pkg/util/sysutils/storagetypes.go
vendor/yunion.io/x/structarg/structarg.go
|
2018-12-26 22:44:03 +08:00 |
|
邱剑
|
7bc741d973
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '32095aa1e7385930598c9dfbc0aeb54c39839b40':
修正:rbac每次获取policy失败后,会time.After两次回调
|
2018-12-26 21:14:10 +08:00 |
|
Qiu Jian
|
f489e67af6
|
修正:rbac每次获取policy失败后,会time.After两次回调
|
2018-12-26 18:50:31 +08:00 |
|
邱剑
|
da088e5999
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit 'fed631c9d6e296941a54fa4113fda2b8428718e9':
在2.4把owner_allow的权限表示从allow改回owner
|
2018-12-26 11:41:55 +08:00 |
|
Qiu Jian
|
c7ac542061
|
在2.4把owner_allow的权限表示从allow改回owner
|
2018-12-26 11:39:58 +08:00 |
|
邱剑
|
d591107841
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '0160435badff246450843911e38d971136b2e7fd':
修正:可以通过SyncOnce方法强制刷新policy缓存
|
2018-12-25 20:16:55 +08:00 |
|
Qiu Jian
|
957bc822ac
|
修正:可以通过SyncOnce方法强制刷新policy缓存
|
2018-12-25 20:13:31 +08:00 |
|
邱剑
|
83a529f234
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit 'f10b31c0bdee8e6d1f2d4cfa5457d83cc0256f82':
client session add context
|
2018-12-25 15:25:52 +08:00 |
|
邱剑
|
f10b31c0bd
|
Merge pull request #834 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/client-session-add-ctx to release/2.4.0
* commit '742a67b0f847813c5fa7245514330f44bbef0486':
client session add context
|
2018-12-25 15:25:52 +08:00 |
|
wanyaoqi
|
742a67b0f8
|
client session add context
|
2018-12-25 13:33:33 +08:00 |
|
邱剑
|
fd9861c4a4
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '53a03de0e9df3cbc762b6d4d26861f37ca9ce4b4':
修正:policy默认采用json解码,只有climc才采用yaml
minor updates
fix admin resource list
修正:由后端来确定一个资源是否是管理资源(无owner的资源)
|
2018-12-24 23:34:31 +08:00 |
|
邱剑
|
53a03de0e9
|
Merge pull request #823 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-add-admin-resource-info to release/2.4.0
* commit 'de2ecb6be7f9a1aff867c2cec09cf10a89f17572':
修正:policy默认采用json解码,只有climc才采用yaml
minor updates
fix admin resource list
修正:由后端来确定一个资源是否是管理资源(无owner的资源)
|
2018-12-24 23:34:31 +08:00 |
|
Qiu Jian
|
de2ecb6be7
|
修正:policy默认采用json解码,只有climc才采用yaml
|
2018-12-24 23:31:24 +08:00 |
|
邱剑
|
9b6ec1285b
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '5b562dcb0a07116a5f2d32d0ebddf3f0d02a779e':
treewide: 重新组织cloudcommon options
cloudcommon: 在InitDB()中初始化DEBUG_SQLCHEMY
appsrv: FetchStruct(): 使用jsonutils
|
2018-12-24 12:54:24 +08:00 |
|
Qiu Jian
|
396fda7cf8
|
minor updates
|
2018-12-24 12:33:58 +08:00 |
|
Qiu Jian
|
d83171906c
|
fix admin resource list
|
2018-12-24 12:30:40 +08:00 |
|
Qiu Jian
|
7e423bc882
|
修正:由后端来确定一个资源是否是管理资源(无owner的资源)
|
2018-12-24 12:16:13 +08:00 |
|
Yousong Zhou
|
603e1be98c
|
treewide: 重新组织cloudcommon options
将cloudcommon.Options从cloudcommon.DBOptions中拿出来,并改名为CommonOptions
|
2018-12-23 15:31:11 +00:00 |
|
Yousong Zhou
|
cf639cf6dd
|
cloudcommon: 在InitDB()中初始化DEBUG_SQLCHEMY
|
2018-12-23 15:26:50 +00:00 |
|
邱剑
|
d1cb0e88ed
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '55e6c0c1f4a6c32c5c1b52d4e505b61c5f0746f8':
minor fixes
改进: 1. policy explain增加name参数,允许针对一个policy进行策略测试。2. 将owner,admin统一为allow
|
2018-12-22 16:45:59 +08:00 |
|
Qiu Jian
|
71a789f70e
|
Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-rbac-policy-test-single
|
2018-12-22 09:57:57 +08:00 |
|
Qiu Jian
|
3f758e193a
|
minor fixes
|
2018-12-22 00:17:29 +08:00 |
|
邱剑
|
ec77b6928b
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '09c830d67dc466a2ff86947e58af74ab6ca793e3':
在rowsToArray中进行defer rows.Close()
修正:1. sql.Rows使用后未关闭,导致占用db链接 2. 服务启动后,调用AppDBInit方法设置db连接池上限,避免耗尽mysql连接 3. app和workmanager增加db属性,用来标示该worker和app是否使用数据库,从而估计需要设置的数据库连接的上限
|
2018-12-21 22:14:46 +08:00 |
|
Qiu Jian
|
cdec7fa2b7
|
改进: 1. policy explain增加name参数,允许针对一个policy进行策略测试。2.
将owner,admin统一为allow
|
2018-12-21 22:02:04 +08:00 |
|
Qiu Jian
|
a6b865e7a2
|
修正:1. sql.Rows使用后未关闭,导致占用db链接 2.
服务启动后,调用AppDBInit方法设置db连接池上限,避免耗尽mysql连接
3.
app和workmanager增加db属性,用来标示该worker和app是否使用数据库,从而估计需要设置的数据库连接的上限
|
2018-12-21 17:10:34 +08:00 |
|
周有松
|
65430a7d49
|
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '4d727c434842aaee2efdde7d6370dfc53ea70c72':
appsrv: remove debug code
appsrv: use copy() for copying slice
appsrv: rewrite TestRadixMatchParams()
appsrv: fix TestWorkerManagerError()
appsrv: fix fmt verb
appsrv: use RWMutex for rootLock
cronman: 改正app context key appname拼写
|
2018-12-20 10:28:30 +08:00 |
|
Yousong Zhou
|
537a590d69
|
cronman: 改正app context key appname拼写
|
2018-12-19 13:15:59 +00:00 |
|
屈轩
|
fcdf62a4d6
|
支持同步公有云负载均衡信息同步
|
2018-12-15 13:58:18 +08:00 |
|
Qiu Jian
|
739ef05c86
|
minor fixes
|
2018-12-14 00:00:56 +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 |
|
邱剑
|
f26634c6ee
|
Automatic merge from release/2.3.0 -> release/2.4.0
* commit '516c39a6144b5558505fa6669d70a8cf4ad3b496':
loadbalancers: 使用ApplyModelFilters()
validators: 添加ApplyModelFilters()
loadbalancerlisteners: 改正update enable_http2
lbagent: 仅处理manager_id为空的API对象
gofmt
|
2018-12-12 21:14:07 +08:00 |
|
Yousong Zhou
|
35384160ce
|
validators: 添加ApplyModelFilters()
|
2018-12-12 08:50:57 +00:00 |
|
Qiu Jian
|
c33fb7e283
|
updates
|
2018-12-10 20:05:20 +08:00 |
|
Qiu Jian
|
dd15c8fdbe
|
minor fixes
|
2018-12-10 20:03:06 +08:00 |
|
Qiu Jian
|
fc925e38ce
|
Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-policy-cache
|
2018-12-10 15:36:18 +08:00 |
|
Qiu Jian
|
da1efdaabf
|
增加policy缓存,降低日志量和计算量
|
2018-12-10 15:35:15 +08:00 |
|
Qiu Jian
|
cc7da24faa
|
Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-vm-resource-pooling
|
2018-12-10 01:08:09 +08:00 |
|
Qiu Jian
|
75701657d0
|
fix bugs
|
2018-12-07 21:18:52 +08:00 |
|
Qiu Jian
|
1f5ab8750f
|
add task locks
|
2018-12-07 09:24:12 +08:00 |
|
Qiu Jian
|
965e84ea36
|
update
|
2018-12-07 02:57:58 +08:00 |
|
邱剑
|
7c4dc384cc
|
Automatic merge from release/2.2.0 -> release/2.3.0
* commit '72bad82f1706c85787b24e3750a776c70b68d8d0':
避免未能及时释放usage quota
|
2018-12-06 22:35:31 +08:00 |
|
邱剑
|
90f7684910
|
Automatic merge from release/2.3.0 -> release/2.4.0
* commit '7c4dc384ccf856fe1583e8677a2df8496b2057de':
避免未能及时释放usage quota
|
2018-12-06 22:35:31 +08:00 |
|
邱剑
|
72bad82f17
|
Automatic merge from release/2.1.0 -> release/2.2.0
* commit '9e7e48550688c61f414f8e62e8d3dc19d267fa61':
避免未能及时释放usage quota
|
2018-12-06 22:35:30 +08:00 |
|
屈轩
|
fbb12d1216
|
避免未能及时释放usage quota
|
2018-12-06 22:30:10 +08:00 |
|
Yousong Zhou
|
9fc85e4df6
|
standalone: 将ExternalId设置为list:"user"
ExternalId已经可以通过接口从别处获取,不必再限制为admin only
|
2018-12-06 07:51:12 +00:00 |
|
Qiu Jian
|
dfb2e0e00c
|
Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-vm-resource-pooling
|
2018-12-05 18:09:11 +08:00 |
|
Qiu Jian
|
669081f7f3
|
Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-vm-resource-pooling
|
2018-12-05 01:14:45 +08:00 |
|
Qiu Jian
|
3e87c17e72
|
support prepaid server create and renew
|
2018-12-05 00:40:15 +08:00 |
|
Qiu Jian
|
7c84cd51e3
|
改进:cronJob增加 startRun 的开关,如果true,则程序一启动就运行一次job。
|
2018-12-04 23:33:03 +08:00 |
|