Commit Graph

487 Commits

Author SHA1 Message Date
qinyening a659820b07
refactor judge (#405)
* refactor judge
* rdb user add organization typ status
2020-11-17 18:27:22 +08:00
UlricQin d32f9ef763 del no use code for transfer 2020-11-16 16:45:04 +08:00
yubo 920dd9a947
Add http_middleware to transfer (#402)
* validate ui query, add aggrFun support for resample

* add http_middleware to transfer
2020-11-16 16:33:02 +08:00
dujiashu 3f352a393b
code refactory (#403)
* support tt automation by job

* format

* import order

* use map to avoid repetition

* add api for sync from ccp by force

* fix bug

* code refactory

* delete unused code

* delete func

* code refactory

* rename labels key

Co-authored-by: dujiashu <dujiashu@didiglobal.com>
2020-11-16 16:29:42 +08:00
yubo 86df27587e
bugfix: query index by clude only get last record (#401)
* support time limit for m3db query

* bugfix: query index by clude only get last record
2020-11-16 13:25:35 +08:00
UlricQin 7b1ccd956b Merge branch 'master' of https://github.com/didi/nightingale 2020-11-16 11:03:54 +08:00
UlricQin e928faf4f9 refactor /api/rdb/nodes?cate=xx 2020-11-16 11:01:36 +08:00
Ulric Qin 70e2cefd98 go mod vendor 2020-11-16 08:56:04 +08:00
Ulric Qin 49e8dbe5f6 准备发版3.3.0 2020-11-14 17:23:30 +08:00
Ulric Qin 250dd0c92d no cache for *.json 2020-11-13 21:32:10 +08:00
dujiashu d4adafbcb7
support sync container by force (#399)
* support tt automation by job

* format

* import order

* use map to avoid repetition

* add api for sync from ccp by force

* fix bug

* code refactory

* delete unused code

* delete func

Co-authored-by: dujiashu <dujiashu@didiglobal.com>
2020-11-13 21:22:23 +08:00
alick-liming ffc98f31c9
rdb新增用户添加时间代码调整 (#398)
* rdb资源增加volume

* rdb用户增加创建时间

* rdb用户添加时间

* rdb新增添加用户时间代码调整

* test

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-13 14:18:49 +08:00
alick-liming 1a71de851a
rdb新增用户添加时间 (#397)
* rdb资源增加volume

* rdb用户增加创建时间

* rdb用户添加时间

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-13 13:39:28 +08:00
yubo dd67efe0f6
support time limit for m3db query (#396) 2020-11-12 15:50:31 +08:00
yubo 033383eea4
validate ui query, add aggrFun support for resample (#392) 2020-11-12 11:50:40 +08:00
UlricQin ee873a4ae2 code refactor 2020-11-12 11:24:54 +08:00
alick-liming 5667a6ee09
rdb资源增加volume (#394)
Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-11 20:49:48 +08:00
UlricQin d26a4a35ab code refactor 2020-11-11 16:44:57 +08:00
gcxfd d7acc88c05
sed ip to host for docker (#391) 2020-11-11 13:50:09 +08:00
710leo 1ab6dfceb1 fix docker-compose redis connection 2020-11-10 23:55:25 +08:00
yubo a90c746626
bugfix: variable scope problem (#389)
* support openID2.0

* generate UUID if it's not set

* add m3db support

* add test shell

* update transfer.yml

* remove klog

* use remote m3 repo

* remove some file

* add description for tansfer.m3db config

* add query data for ui

* bugfix: Variable scope problem
2020-11-10 16:21:09 +08:00
gcxfd fb1b5802ab
fix redis connection (#386) 2020-11-10 16:06:18 +08:00
yubo 69ceeff9b8
M3db (#388)
* support openID2.0

* generate UUID if it's not set

* add m3db support

* add test shell

* update transfer.yml

* remove klog

* use remote m3 repo

* remove some file

* add description for tansfer.m3db config

* add query data for ui
2020-11-10 14:58:27 +08:00
yubo b2baef0643
Auth with SSO (#387)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state

* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file

* add username to sms-code api

* disable captcha by default in rdb.yml
2020-11-10 13:23:37 +08:00
yubo 2d1a2fd187
M3db (#385)
* support openID2.0

* generate UUID if it's not set

* add m3db support

* add test shell

* update transfer.yml

* remove klog

* use remote m3 repo

* remove some file
2020-11-09 19:52:44 +08:00
Ulric Qin 6d02d8876a Merge branch 'master' of github.com:didi/nightingale 2020-11-07 08:18:52 +08:00
Ulric Qin 712d0051d9 code refactor 2020-11-07 08:18:33 +08:00
UlricQin e64a892275 add cleaner config 2020-11-06 17:25:14 +08:00
alick-liming 2e8a8966d7
rdb资源数量统计接口增加容器和交换机 (#383)
* rdb 资源cate分类统计接口

* 代码调节

* rdb:rabbitmq资源操作名称统一

* rdb控制台资源统计增加交换机,弹性云服务器

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-06 10:16:05 +08:00
alick-liming f9b3db4058
rdb:rabbitmq资源操作名称统一 (#382)
* rdb 资源cate分类统计接口

* 代码调节

* rdb:rabbitmq资源操作名称统一

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-05 19:25:31 +08:00
alick-liming 633f224be6
rdb资源cate分类统计接口 (#380)
* rdb 资源cate分类统计接口

* 代码调节

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-05 14:06:57 +08:00
DemoLiang 79501b46fe
[FIX] 修复告警策略配置不发送告警恢复的逻辑判断跟注释不相符的问题,当前告警策略定义的是0 发送告警恢复,1不发送告警恢复,而实际代码逻辑上现在判断的是0不发送告警恢复,修改为1 不发送告警恢复的判断 (#373) 2020-11-05 12:32:17 +08:00
yubo df55398100
add checkPassword to reset password by sms code (#378)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state

* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file

* add username to sms-code api
2020-11-05 12:20:02 +08:00
alick-liming 2bcb20d710
rdb:资源解除注册,统一成单个uuid来处理 (#376)
* im wechat

* im wechat

* im add wechat_robot dingtalk_robot

* metaq 资源解除注册改为单个解除方式

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-11-04 22:29:37 +08:00
UlricQin 79ae96f15d add some api 2020-11-04 21:47:55 +08:00
UlricQin ac6d269d90 code refactor 2020-11-03 12:18:17 +08:00
UlricQin a4026e8c25 code refactor 2020-11-03 12:17:17 +08:00
UlricQin b448dad860 Merge branch 'master' of https://github.com/didi/nightingale 2020-11-03 12:11:32 +08:00
yubo 17762d9daa
merge login & v1Login (#375)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state

* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file
2020-11-02 15:54:15 +08:00
UlricQin 205201668c check password more strict 2020-11-02 13:44:14 +08:00
UlricQin 522cfca0af login fail, check your username and password 2020-11-02 13:27:23 +08:00
yubo 9bef8ddee3
login with sso,captcha,sms-code (#374)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code

* remove deprecated api/code

* feature: support image captcha

* use db instead of memory cache for sso.auth.state
2020-11-02 12:47:41 +08:00
UlricQin 7999c1fbe5 render user json do not return uuid 2020-11-02 12:38:22 +08:00
dujiashu bec893d662
validate hosts unique (#371)
* support tt automation by job

* format

* import order

* use map to avoid repetition

Co-authored-by: dujiashu <dujiashu@didiglobal.com>
2020-11-01 11:07:17 +08:00
dujiashu 6f999f6a87
support tt automation by job (#370)
* support tt automation by job

* format

* import order

Co-authored-by: dujiashu <dujiashu@didiglobal.com>
2020-10-31 23:13:28 +08:00
710leo 10fef82225 modify node specification 2020-10-30 13:27:44 +08:00
710leo ebbcfa3157 upgrade 3.2.0 2020-10-29 18:15:08 +08:00
qinyening 313144bebf
agent支持metrics指标采集能力 (#368) 2020-10-29 16:54:48 +08:00
yubo c6b5a5b400
feature: support reset password by sms code (#365)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code
2020-10-29 07:03:57 +08:00
yubo 1fdcbd848c
Dev (#361)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code
2020-10-27 17:51:39 +08:00