Commit Graph
712 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
屈轩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
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
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 fea4a6b07b fix: oauth2 not support default_project_id and default_role_id (#7622)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 09:57:31 +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
Jian QiuandQiu Jian 7c3fa87ed6 fix: hide locked cloud policy by default (#7614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 20:20:30 +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
Qiu Jian 92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
Qiu Jian 016b65a4b1 fix: dns record create ignore is_public field 2020-08-18 01:06:08 +08:00
屈轩andQu Xuan d5524d1ea1 fix: 支持自定义权限 (#7565)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-17 10:59:53 +08:00
Yousong Zhou 6dc007425c Bugfix/yousong vpc ext (#7585)
* apis: vpcs_ovn: alloc for interconnects

* vpcagent: names: add vpc ext names

* vpcagent: use var hasXxxgw

* vpcagent: add switch and router for ext access

Link: https://github.com/yunionio/onecloud/issues/7583
2020-08-16 23:40:53 +08:00
Zexi Li 6a57435f1c fix: json TAG_PREFIX invalid syntax (#7564) 2020-08-14 17:29:49 +08:00
lvyangyangandlvyangyang eb56fcf7bc add: openstack loadbalancer (#7497)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-14 10:29:50 +08:00
Jian QiuandQiu Jian 320d7cabcd fix: user with sso idp fail to login with password (#7552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-13 11:24:46 +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 b0505ba5fd Hotfix/qj password login wrong idp (#7511)
* fix: role assignment code to include group info for group users

* fix: password authentication may choose wrong idp backend

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-07 14:19:34 +08:00
Zexi Li d988b41a39 Merge pull request #7491 from swordqiu/hotfix/qj-oidc-support-azure-ad-china
fix: support AzureAD oidc in china area
2020-08-06 11:53:04 +08:00
Jian QiuandQiu Jian 19b69de1dd fix: idp validate config not complete (#7488)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 11:49:16 +08:00
Qiu Jian 12bbbc541a fix: support AzureAD oidc in china area 2020-08-05 15:35:20 +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
Qiu Jian eae229b35a fix: typo running_geusts => running_guests 2020-08-03 16:14:33 +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
Qiu Jian 9bdf2c75e1 fix: avoid generated codes having duplicate PerformSetScope methods 2020-08-01 17:34:54 +08:00
Yousong Zhou d95584b116 Feature/yousong lblis names (#7395)
* apis: compute: move struct defs

* lblisteners: list: show certificate name

* lblisteners: list: show acl name

* lblisteners: remove unused acl_name field
2020-07-31 18:03:05 +08:00
wanyaoqi ae0bd556ca fix host register info (#7401) 2020-07-31 18:01:01 +08:00
Qu Xuan 859ab97175 fix: openstack多项目问题 2020-07-30 14:23:56 +08:00
Jian QiuandQiu Jian f0f406c243 fix: adjust API input field names according to spec (#7382)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:51:00 +08:00
屈轩andQu Xuan 3df146ff6f fix: 添加阿里云rds备份恢复限制条件 (#7378)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-29 21:40:03 +08:00
Zexi Li 48d982b39f region: schedtag list support resource_types 2020-07-28 20:35:47 +08:00
屈轩andQu Xuan 78a68bffd1 fix: 避免创建rds备份时对rds进行一些操作 (#7354)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 18:46:57 +08:00
Zexi Li 2fb32d1faf Merge pull request #7348 from wanyaoqi/bugfix/wyq/fix-list-schedtag-output
bugfix :fix schedtag list output
2020-07-27 20:26:26 +08:00
wanyaoqi 0512050667 fix schedtag list output 2020-07-27 20:21:07 +08:00
Zexi Li 8da8c62efe Merge pull request #7343 from rainzm/gt/details
Modify detail for guesttemplate and scalinggroup
2020-07-27 19:48:11 +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
rainzm 49e4e31dac Add metadata for GuestTempalte details 2020-07-27 15:16:32 +08:00
rainzm 45a3e08055 Add network info when list scalingGroup details 2020-07-27 15:16:25 +08:00
Zexi Li 7d49c4cb00 Merge pull request #7332 from swordqiu/hotfix/qj-cloud-account-delete-may-failed
fix: cloud account delete may fail due to inconsistent status
2020-07-27 15:12:49 +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 9f8f2b6c4c fix: cloud account delete may fail due to inconsistent status 2020-07-25 14:54:53 +08:00
rainzm 34e66ab2e3 fix: modify list details for guesttemplate 2020-07-24 17:02:08 +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
Qiu Jian 208b69573c fix: update auto generate model api 2020-07-23 14:56:01 +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 3b624d8ba6 Merge pull request #7276 from ioito/hotfix/qx-rule-export
fix: 避免未能导出共享安全组规则
2020-07-22 13:55:34 +08:00