Commit Graph
16 Commits
Author SHA1 Message Date
Yousong Zhou 603e1be98c treewide: 重新组织cloudcommon options
将cloudcommon.Options从cloudcommon.DBOptions中拿出来,并改名为CommonOptions
2018-12-23 15:31:11 +00: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
Qiu Jian 965e84ea36 update 2018-12-07 02:57:58 +08:00
TangBin a543901e2f yunionconfig build error fix 2018-12-01 14:52:01 +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
唐斌 62a7711002 Automatic merge from release/2.2.0 -> release/2.3.0
* commit 'b2320988c3916da37ebd491dc5d267f0ba0f5e9a':
  yunionconf: make qunar happy
2018-11-05 16:34:06 +08:00
Yousong Zhou 5299fd63c3 yunionconf: make qunar happy 2018-11-05 08:30:41 +00:00
TangBin 66865ef36b bugfix db option 2018-11-01 11:26:16 +08:00
Qiu Jian 125f70fe45 upgrade to go1.11 2018-10-18 21:00:39 +08:00
邱剑 219015d50c Merge pull request #287 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-keypair-improvment to release/2.3.0
* commit 'cfa4f5db945dcef09137c712370edcb3d8e33593':
  server show expired_at column
  修正:1. 阿里云自动设置Import/Export image ram授权,不再需要手动授权 2. 修正公有云注入userdata的问题
  Update vendor
  Update format
  Force format before build
  minor updates
  Update vendor
  改进:1. 部署VM时注入全局和项目公钥 2. 完善keypair的创建和导入功能 3. 其他
2018-10-15 18:20:30 +08:00
Qiu Jian b17b24b232 Update format 2018-10-12 12:13:35 +08:00
TangBin 1ae56de927 bugfix 2018-10-09 21:04:48 +08:00
TangBin 56a6c16aa8 return json value 2018-09-20 17:45:25 +08:00
TangBin 96713696b8 add auth complete callback 2018-09-13 14:59:10 +08:00
TangBin b7ca29581f add yunionconf service 2018-09-13 14:24:20 +08:00