Commit Graph
1252 Commits
Author SHA1 Message Date
zhaoxiangchun dd8a07f364 metric describe 接口 (#7381)
* metric describe 接口

1.初始化influxdb measurement和field到本地
2.更新measurement和field的display_name,以及unit等信息

description api modify:

3.增加初始化json文件
4.统一查询的list接口信息增加description信息,并为description子集
5.增加measurement的权限的过滤

* 统一监控功能:

1.模版调整:
 1)修改email template
 2)格式化消息结构中的报警value,增加单位,同时可以转换为合适的单位
 3)简化消息体中的tag信息:name,ip,brand,value

2.增加报警历史记录
 1)记录每条报警规则的,报警信息
2020-08-26 13:44:34 +08:00
Rain Zheng 707051ec0b fix: make old notify send SDK compatible (#7628) 2020-08-25 18:48:32 +08:00
屈轩andQu Xuan 4593c1fb99 fix: avoid network-list --zone not work (#7619)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 18:31:32 +08:00
Rain Zheng 853153c739 Refactor for Notify (#7611)
* refactor(notify): ALL

* feat(climc): Notify v2

* feat: support notify for codegen.py

* delete deprecated code and Maintain SDK compatibility

* Adjust the template for mail validation to support captcha

* fix: The issue of notify refactoring

* add copyright for notifyv2 cli

* Adjust according to the advice of make check

* Remove utils package in notify

* fix import format

* remove redundant Template module

* fix validateCreate and validateUpdate of notifytemplate

* fix update issues of receivers

* fix: Add SetStageComplete in tasks
2020-08-25 17:19:02 +08:00
Jian QiuandQiu Jian 852a3bb13e fix: idp deletel logic cleanup (#7616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-24 22:19:31 +08:00
wanyaoqi a4b27a3cf3 feature:host image fetcher fs (#7606)
* temp

* fix host image, add fetcherfs

* make mod

* add make rpm for fetcherfs

remove temp code
2020-08-24 22:09:33 +08:00
屈轩andQu Xuan 5b898bbf6b fix: optimized for cloudid (#7604)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-21 20:50:29 +08:00
Jian QiuandQiu Jian 777059648b fix: opslog filter by owner_project_ids and owner_domain_ids (#7600)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:57:23 +08:00
Zexi Li 8942d19717 Merge pull request #7594 from zexi/feature/climc-helper
climc: add cmd helper to reduce duplicate code
2020-08-20 10:51:02 +08:00
Zexi Li 32e6452add Merge pull request #7579 from swordqiu/feature/qj-cloudid-saml-support-phase1
feature: cloudid saml support phase1 -- framework and api
2020-08-20 10:25:27 +08:00
Zexi Li aa8177f531 climc: add cmd helper to reduce duplicate code 2020-08-19 18:49:02 +08:00
Zexi Li 86253534d7 only notify watched resource (#7592) 2020-08-19 12:52:26 +08:00
Qiu Jian 92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
屈轩andQu Xuan d5524d1ea1 fix: 支持自定义权限 (#7565)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-17 10:59:53 +08:00
wanyaoqi df9e47cbfc support diable usb kbd 2020-08-11 15:30:10 +08:00
屈轩andQu Xuan f343b071fa fix: 修复安全组合并导致重复计算虚拟机绑定安全组数量&优化安全组操作 (#7496)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 11:18:44 +08:00
Jian QiuandQiu Jian 0e775e68ec feature: OpenID Connect provider support (#7446)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:09:05 +08:00
Jian QiuandQiu Jian 1ba9715ec2 feature: add is_auto_alloc flag to networks (#7473)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 11:58:02 +08:00
Jian QiuandQiu Jian 984bfeb6e8 fix: change owner should check required domain list (#7375)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-29 17:32:01 +08:00
Zexi Li 3019ccd410 Merge pull request #7321 from swordqiu/hotfix/qj-s3-acl-candidate-list
fix: choose candidate list from the list returned from backend
2020-07-27 15:53:38 +08:00
Zexi Li cb104fa8c5 Merge pull request #7316 from zhaoxiangchun/bugfix/zxc-commonalert
修复统一报警bug
2020-07-27 15:51:45 +08:00
Zexi Li b976ab4ddb Merge pull request #7342 from zexi/feature/k8s-climc-update
climc: update k8s resource list options
2020-07-27 15:49:06 +08:00
Zexi Li cd25b4ac64 climc: update k8s resource list options 2020-07-27 15:03:32 +08:00
yunion-ci-robot 59b85d1634 Merge pull request #7310 from ioito/hotfix/qx-rule-filter-by-projects
fix: 支持多项目安全组规则过滤
2020-07-25 23:55:42 +08:00
Qiu Jian 35da086ccf fix: choose candidate list from the list returned from backend 2020-07-24 16:48:13 +08:00
zhaoxiangchun 9214724557 修复统一报警bug
1.对系统内置的规则的处理,可以进行正确判断推送消息
2.一些初始化,validate的判断逻辑的修改
2020-07-24 11:06:52 +08:00
Zexi Li d5f8855cc2 Merge pull request #7143 from wanyaoqi/feature/wyq/kvm-misc
auto switch to backup server
2020-07-24 10:48:02 +08:00
Qu Xuan b20cd13645 fix: 支持多项目安全组规则过滤 2020-07-23 20:18:26 +08:00
wanyaoqi a677f24351 - add precheck for perform action
- auto switch to backup

- add sync cleand schedule cache

- add reconcile with backup

- add manual reconcile backup
2020-07-22 20:38:36 +08:00
Zexi Li ef835112ed Merge pull request #7273 from swordqiu/hotfix/qj-image-upload-not-clean-pending-usage
fix: image upload not clean pending usage
2020-07-22 13:54:30 +08:00
Qiu Jian 0967843896 feature: unified sso login framework 2020-07-21 16:13:18 +08:00
Qiu Jian 587f533daa fix: image upload not clean pending usage 2020-07-21 01:38:00 +08:00
Qu Xuan 3ddcaad3c7 fix: sec rule export missing fields 2020-07-16 17:13:42 +08:00
Qu Xuan 6b591b455f fix: 添加secgroup rule过滤参数 2020-07-15 14:23:59 +08:00
Zexi Li 0ff9a5059a Merge pull request #7152 from zexi/feature/k8s-resource-refactor
climc: refactor k8s resource
2020-07-14 12:19:08 +08:00
Zexi Li e5bd6f26d5 climc: refactor k8s resource 2020-07-14 11:33:46 +08:00
rainzm 014540e4df fix guest template health check 2020-07-13 21:27:51 +08:00
Zexi Li 3cb0ec6406 Merge pull request #7132 from bistuzx/feature/climc-cost-alert
add cost alert modules
2020-07-10 20:18:50 +08:00
bistuzx@163.com f24fd4aa1b fix format 2020-07-10 19:26:31 +08:00
bistuzx@163.com f5a2215a9b add cost alert modules 2020-07-10 17:01:57 +08:00
Qu Xuan 16f93d6658 fix: 支持azure创建订阅 2020-07-10 11:41:28 +08:00
Zexi Li c46b379aa0 Merge pull request #7034 from zhaoxiangchun/feature/zxc-jira-mcclient
itsm climc
2020-07-04 12:09:19 +08:00
zhaoxiangchun 36408ab4a0 itsm climc 2020-07-04 10:26:34 +08:00
yunion-ci-robot cb8fcac618 Merge pull request #7035 from bistuzx/feature/bucket-huawei-gcp
add mcclient cloudaccount gcp&huawei bucket
2020-07-04 00:22:45 +08:00
bistuzx@163.com 6e9718d4ec add mcclient cloudaccount gcp&huawei bucket 2020-07-03 23:16:47 +08:00
Zexi Li 7cb2963557 Merge pull request #7025 from ioito/bugfix/qx-cloud-id-fix
Bugfix/qx cloud id fix
2020-07-03 18:43:28 +08:00
Qu Xuan 91a5e4ab77 fix: clouduser can_delete always be false 2020-07-03 16:54:14 +08:00
Zexi Li 6af2ff52b6 Merge pull request #6959 from swordqiu/feature/qj-keystone-oidc-client
Feature/qj keystone oidc client
2020-07-03 16:37:09 +08:00
yunion-ci-robot 45dabba465 Merge pull request #7023 from bistuzx/feature/amount-estimations
add meter modules amount_estimation&daily_bill
2020-07-03 16:29:27 +08:00
Qiu Jian 2183490a53 feature: keystone add support for OpenID Connection idp 2020-07-03 16:15:23 +08:00