nightingale/pkg
Deke Wang e52a76921f
feat: sync user and user_group to flashduty (#1842)
* fix build event

* fix:  append labels

* Add the function of batch subscription alert rules (#1825)

* add: docker-compose files for logs processing

* update: set restart:always

* fix: compose-host-network-metric-log

* update: regularize

* add: batch subscription

* add: sql columns for rule_ids and rule_names

* add: add migrate of AlertSubscribe

* update: Remove redundant codes

* fix: The question of 1821

* fix: Optimized for getting rule_ids and rule_names

* fix: error handle

* fix: add rule_ids for update api

* fix: Clear the rule_id to zero when updating

* refactor: Compatible with old rule_id

* refactor: rename

* fix: set rule_id=0 when updating subscription rules

---------

Co-authored-by: wdk <wdk_cc@163.com>

* feat: sync user and team to flashduty

* fix: sync to flashduty

* fix: failed to update team change to flashduty

* fix: sync default user when create team

* chore: delete the generated binary file

* refactor: user_group refact

* fix: func AddUsers(fdConf *cconf.FlashDuty, appKey string, users []User) error {

* fix: remove sync for user in router

* fix: user_grroup no change in n9e when put user_group

* chore: set default api_url=https://api.flashcat.cloud

* chore: refactor user_group

* chore: refact codes

* chore: set api=https://jira.flashcat.cloud/api for test

* chore: set api=https://api.flashcat.cloud

* chore: adjust the import order

* chore: remove excess code

* chore: refact codes

* chore: remove excess codes

* chore: adjust import order

* chore: adjust import order

* chore: adjust import order

* chore: refact code

* chore: optimized codes

* code refactor

* chore: remove excess code

---------

Co-authored-by: ning <710leo@gmail.com>
Co-authored-by: wdk <wdk_cc@163.com>
2024-01-19 18:20:00 +08:00
..
aop refactor: aop log 2023-12-05 20:32:50 +08:00
cas feat: sso support skip tls verify (#1685) 2023-08-17 18:03:26 +08:00
cfg v6 release 2023-03-09 17:43:51 +08:00
choice v6 release 2023-03-09 17:43:51 +08:00
ctx refactor: n9e-alert and n9e-pushgw sync config by http api (#1545) 2023-05-23 20:53:04 +08:00
flashduty feat: sync user and user_group to flashduty (#1842) 2024-01-19 18:20:00 +08:00
hash feat: add tdengine datasource (#1722) 2023-09-25 11:40:20 +08:00
httpx feat: http support print body log (#1757) 2023-10-24 11:37:34 +08:00
i18nx docs: change i18n 2023-11-30 12:06:41 +08:00
ibex v6 release 2023-03-09 17:43:51 +08:00
ldapx v6 release 2023-03-09 17:43:51 +08:00
logx v6 release 2023-03-09 17:43:51 +08:00
oauth2x fix: oauth2 add debug log (#1706) 2023-09-22 17:48:14 +08:00
oidcx refactor: optimize oidc get user info (#1811) 2023-12-27 16:28:27 +08:00
ormx feat: add gorm logger (#1768) 2023-11-30 12:02:23 +08:00
osx v6 release 2023-03-09 17:43:51 +08:00
parser feat: add tdengine datasource (#1722) 2023-09-25 11:40:20 +08:00
poster fix: sync event ID for edge model (#1710) 2023-10-09 10:29:04 +08:00
prom refactor: add more self metrics (#1788) 2023-12-08 00:32:18 +08:00
secu feat: macro variable in Configs (#1725) 2023-10-19 15:02:59 +08:00
tlsx v6 release 2023-03-09 17:43:51 +08:00
tplx feat: optimize tplx (#1789) 2023-12-08 14:40:48 +08:00
version refactor version api 2023-08-03 18:06:09 +08:00