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>
|
2 years ago |