38 Commits
Author SHA1 Message Date
Qiu Jian b84f237961 fix: keystone init empty catalogy cause panic 2020-11-13 14:50:13 +08:00
Yousong Zhou 1c1dcbde45 i18n: move out from httperrors pkg 2020-09-21 10:12:57 +08:00
Yousong Zhou b314b66b71 Bugfix/yousong i18n (#7712)
* httperrors: support setting lang with X-Yunion-Lang

* mcclient: session: set lang
2020-09-01 19:11:41 +08:00
Jian QiuandQiu Jian 34ee80f011 feature: use informer to update endpoint, policy and service configs (#7596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 17:45:33 +08:00
Jian QiuandQiu Jian ba292dfedc fix: use json to store task error message (#7351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:34:32 +08:00
Qiu Jian 889a35bc7a feature: 1. idp as domain resource 2. keystone support SAML IDP 2020-06-24 17:41:33 +08:00
Qu Xuan d296a18011 fix: 优化标签列表version问题 2020-06-15 11:54:44 +08:00
Zexi Li 95a58cc606 implement generic service informer 2020-05-29 19:59:34 +08:00
wanyaoqi 26780e2c8b support custom service url 2020-05-06 22:13:58 +08:00
Qiu Jian ecb483b9be fix: prevent policy violation 2020-04-28 23:28:29 +08:00
Zexi 847f177bfb pprof: integrate pprof into appsrv framework 2019-07-17 14:02:29 +08:00
Qiu Jian f7568f9aad fix: service catalog nil pointer 2019-07-02 18:13:15 +08:00
Zexi 5e108ae181 scheduler: misc bugfix
- wait region db sync
- disk schedule filter by domain
- normal user forecast 403 forbidden
2019-06-11 20:30:45 +08:00
Zexi bef1848357 scheduler: host filter by cloudprovider domain id 2019-06-10 12:17:56 +08:00
Qiu Jian 2efc5e641e fix: add keystone initialization procedures 2019-05-17 13:54:29 +08:00
Qiu Jian 5a660987e6 feature: keystone support phase 1 2019-05-17 13:53:45 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08: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
Yousong Zhou 07f98779ad treewide: s/HasSystemAdminPrivelege/HasSystemAdminPrivilege/g 2019-03-12 03:39:20 +00:00
wanyaoqi a60be05e34 add host register 2019-01-07 17:09:57 +08:00
Qiu Jian 21558d3dd2 final commit
Conflicts:
	pkg/cloudcommon/policy/policy.go
	pkg/util/azure/storagecache.go
2018-12-26 23:02:19 +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
wanyaoqi 742a67b0f8 client session add context 2018-12-25 13:33:33 +08:00
Zexi Li c13c7da0a2 climc: set default manager api version 2018-12-07 22:11:24 +08:00
李泽玺 3f3f1701c2 Merge pull request #1 in ~LIZEXI/onecloud from ~WANYAOQI/onecloud:bugfix/wyq/fix-BaremetalSyncAllGuestsStatusTask to bugfix/lzx-baremetal-api
* commit 'ea81fa26dbcb56eefe131387b2fab8c3b731029d':
  fix BaremetalSyncAllGuestsStatusTask
  region: baremetal api compatible
2018-12-04 18:09:07 +08:00
wanyaoqi ecc750107b fix conflict 2018-12-01 16:18:11 +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
Qiu Jian 3b2b4d59e0 修正:1. host request double token 2. cloud provider lost access url 2018-11-26 01:42:16 +08:00
Zexi Li 917e1ee954 region: container driver 2018-11-06 21:08:59 +08:00
Qiu Jian 5a8bd48485 改进:rpc支持 2018-10-29 22:10:00 +08:00
Zexi Li 84ee48335b fix: region task notify not work 2018-10-11 19:04:11 +08:00
邱剑 ab18249465 Merge pull request #177 in YUNIONIO/onecloud from ~TANGBIN/onecloud:feature/tb-paramter-climc to release/2.2.0
* commit '96713696b82ebe866f7d91c867d051325d04deea':
  add auth complete callback
  bugfix import path error
  add yunionconf service
  fix help desc string
  bugfix
  add parameter climc
  delete&update parameter in context
  temp!!withbugs
  add climc
2018-09-18 10:03:37 +08:00
wanyaoqi f910f6ada7 server attach detach network, change bandwidth, some bug fix 2018-09-14 11:50:22 +08:00
TangBin aed6a23cfe delete&update parameter in context 2018-09-10 11:30:09 +08:00
Qiu Jian 80571f480f 修正:simpletoken没有servicecatalog,导致基于simpletoken的session无法获得service
URL
2018-08-22 12:36:28 +08:00
wanyaoqi 9474752c05 fix server create 2018-08-11 18:34:21 +08:00
Zexi Li 22411ffb53 path move: github.com/yunionio -> yunion.io/x 2018-08-11 14:28:18 +08:00
Zexi Li b5275a0c29 - mv mcclient to pkg/mcclient
- vendor update
2018-08-01 14:13:23 +08:00