From e74acff82b49a14a7b88b7837d6e681557bd4ed3 Mon Sep 17 00:00:00 2001 From: alex-smile <443677891@qq.com> Date: Thu, 25 Aug 2022 19:56:56 +0800 Subject: [PATCH 1/2] update data, monitor_v3 --- .../components/confapis/data/v3_aiops.yaml | 820 ++++++++++++++++++ .../esb/components/confapis/data/v3_auth.yaml | 38 +- .../confapis/monitor_v3/monitor_v3.yaml | 32 + paas2/esb/components/esb_conf.py | 14 + 4 files changed, 893 insertions(+), 11 deletions(-) diff --git a/paas2/esb/components/confapis/data/v3_aiops.yaml b/paas2/esb/components/confapis/data/v3_aiops.yaml index 41e7cd66d..f4168a3c7 100644 --- a/paas2/esb/components/confapis/data/v3_aiops.yaml +++ b/paas2/esb/components/confapis/data/v3_aiops.yaml @@ -1401,3 +1401,823 @@ dest_path: /v3/aiops/serving/processing/{result_table_name}/execute/ dest_http_method: POST is_hidden: true + +- path: /data/v3/aiops/scene_service/lease/take/ + name: v3_aiops_scene_service_lease_take + label: 获取租约锁 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/lease/take/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/lease/status/ + name: v3_aiops_scene_service_lease_status + label: 获取租约锁状态 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/lease/status/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/lease/terminate/ + name: v3_aiops_scene_service_lease_take + label: 接触租约锁 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/lease/terminate/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/constraint/rule/ + name: v3_aiops_scene_service_constraint_rule + label: 值约束规则列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/constraint/rule/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/dataset_distribution/{dataset_id}/ + name: v3_aiops_scene_service_dataset_distribution + label: 数据集分布情况 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/dataset_distribution/{dataset_id}/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/add_on_input/match_result_tables/ + name: v3_aiops_scene_service_add_on_input_match + label: 参考数据匹配rt列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/add_on_input/match_result_tables/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/ + name: v3_aiops_scene_service_scenes + label: 查询场景列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/ + name: v3_aiops_scene_service_scene_create + label: 创建场景 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/{scene_id}/ + name: v3_aiops_scene_service_scene_delete + label: 删除场景 + method: DELETE + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/{scene_id}/ + dest_http_method: DELETE + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/{scene_id}/ + name: v3_aiops_scene_service_scene_update + label: 编辑场景 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/{scene_id}/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/{scene_id}/auth/ + name: v3_aiops_scene_service_scene_auth + label: 查询场景权限信息 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/{scene_id}/auth/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/{scene_id}/auth/ + name: v3_aiops_scene_service_scene_auth + label: 编辑场景权限信息 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/{scene_id}/auth/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/{scene_id}/plans/ + name: v3_aiops_scene_service_scene__scene_id__plans + label: 查询场景方案列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/{scene_id}/plans/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/{scene_id}/ + name: v3_aiops_scene_service_scene_info + label: 查询场景基本信息 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/{scene_id}/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/callback/ + name: v3_aiops_scene_service_scenes_callback + label: 场景审批回调 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/callback/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/scenes/type/ + name: v3_aiops_scene_service_scenes_type + label: 查询场景分类 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/scenes/type/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/ + name: v3_aiops_scene_service_plans_create + label: 创建方案 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/ + name: v3_aiops_scene_service_plans_delete + label: 删除方案 + method: DELETE + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/ + dest_http_method: DELETE + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/ + name: v3_aiops_scene_service_plans_delete + label: 更新方案 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/versions/ + name: v3_aiops_scene_service_plan_version_list + label: 查询方案版本列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/versions/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/info/ + name: v3_aiops_scene_service_plan_version_info + label: 查询方案基本信息 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/info/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/ + name: v3_aiops_scene_service_plan_list + label: 查询方案最新版本内容 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/version_detail/ + name: v3_aiops_scene_service_plan_version_detail + label: 查询方案指定版本内容 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/version_detail/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/preview/ + name: v3_aiops_scene_service_plan_preview + label: 发布预览 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/preview/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/publish/ + name: v3_aiops_scene_service_plan_publish + label: 发布方案 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/publish/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/reset/ + name: v3_aiops_scene_service_plan_reset + label: 重置方案 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/reset/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/republish/ + name: v3_aiops_scene_service_plan_republish + label: 重新发布方案 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/republish/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/copy/ + name: v3_aiops_scene_service_plan_copy + label: 复制方案 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/copy/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/{plan_id}/apply/ + name: v3_aiops_scene_service_plan_apply + label: 申请方案权限, 可申请方案共建者或方案观察者 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/{plan_id}/apply/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/plans/callback/ + name: v3_aiops_scene_service_plan_apply_callback + label: 方案审批回调 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/plans/callback/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/ + name: v3_aiops_scene_service_plan_draft_plans_manage + label: 查询方案所有编辑态信息 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/dag/ + name: v3_aiops_scene_service_plan_draft_plans_manage_dag + label: 拉取方案编辑态DAG + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/dag/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/task_status/ + name: v3_aiops_scene_service_plan_draft_plans_manage_task_status + label: 编辑态任务状态轮询接口 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/task_status/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/event/ + name: v3_aiops_scene_service_plan_draft_plans_manage_event + label: 编辑态状态机事件接收处理 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/event/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/release_validation/ + name: v3_aiops_scene_service_plan_draft_plans_manage_release_validation + label: 检查编辑态是否满足发布要求 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/release_validation/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/io_config/ + name: v3_aiops_scene_service_plan_draft_plans_manage_io_config + label: 拉取方案输入输出配置 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/io_config/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/datasets/ + name: v3_aiops_scene_service_plan_draft_plans_manage_datasets + label: 拉取方案数据集合 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/datasets/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/pruning/ + name: v3_aiops_scene_service_plan_draft_plans_manage_pruning + label: 剪枝接口 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/pruning/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/start_task/ + name: v3_aiops_scene_service_plan_draft_plans_manage_start_task + label: 启动任务 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/start_task/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/stop_task/ + name: v3_aiops_scene_service_plan_draft_plans_manage_stop_task + label: 停止任务 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/stop_task/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/manage/model_input_validation/ + name: v3_aiops_scene_service_plan_draft_plans_manage_model_input_validation + label: 校验模型发布实例应用的输入信息 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/manage/model_input_validation/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/nodes/ + name: v3_aiops_scene_service_plan_draft_plans_nodes + label: 拉取方案编辑态节点 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/nodes/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/nodes/{node_id}/ + name: v3_aiops_scene_service_plan_draft_plans_node_info + label: 拉取单个节点信息 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/nodes/{node_id}/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/nodes/ + name: v3_aiops_scene_service_plan_draft_plans_node_create + label: 创建节点 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/nodes/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/nodes/{node_id}/ + name: v3_aiops_scene_service_plan_draft_plans_node_update + label: 更新节点 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/nodes/{node_id}/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/nodes/{node_id}/ + name: v3_aiops_scene_service_plan_draft_plans_node_destroy + label: 删除节点 + method: DELETE + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/nodes/{node_id}/ + dest_http_method: DELETE + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/nodes/topology/ + name: v3_aiops_scene_service_plan_draft_plans_nodes_topology_update + label: 更新节点间拓扑 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/nodes/topology/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/variables/ + name: v3_aiops_scene_service_plan_draft_plans_variables + label: 拉取方案变量 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/variables/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/variables/{variable_id}/ + name: v3_aiops_scene_service_plan_draft_plans_variable_info + label: 拉取方案单个变量 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/variables/{variable_id}/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/variables/ + name: v3_aiops_scene_service_plan_draft_plans_variable_create + label: 创建变量 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/variables/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/variables/{variable_id}/ + name: v3_aiops_scene_service_plan_draft_plans_variable_update + label: 更新单个变量 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/variables/{variable_id}/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/variables/multi_update/ + name: v3_aiops_scene_service_plan_draft_plans_variables_multi_update + label: 更新多个变量 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/variables/multi_update/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/variables/{variable_id}/ + name: v3_aiops_scene_service_plan_draft_plans_variable_destroy + label: 删除单个变量 + method: DELETE + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/variables/{variable_id}/ + dest_http_method: DELETE + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/variables/uniqueness/ + name: v3_aiops_scene_service_plan_draft_plans_variables_uniqueness + label: 变量名唯一性校验 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/variables/uniqueness/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/outputs/ + name: v3_aiops_scene_service_plan_draft_plan_outputs + label: 拉取输出配置列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/outputs/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/plans/{plan_id}/outputs/update_config/ + name: v3_aiops_scene_service_plan_draft_plan_outputs_update + label: 更新方案输出配置列表 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/plans/{plan_id}/outputs/update_config/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/result_tables/ + name: v3_aiops_scene_service_plan_draft_result_tables + label: 获取方案输入备选的结果表列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/result_tables/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/result_tables/{result_table_id}/fields/ + name: v3_aiops_scene_service_plan_draft_result_table_fields + label: 获取方案输入备选的结果表字段列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/result_tables/{result_table_id}/fields/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/models/ + name: v3_aiops_scene_service_plan_draft_models + label: 获取方案能力项备选模型列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/models/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/draft/node_link_rules/ + name: v3_aiops_scene_service_plan_draft_node_link_rules + label: 获取连线规则 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/draft/node_link_rules/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/debuggers/ + name: v3_aiops_scene_service_debuggers + label: 创建方案调试计划,自动执行 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/debuggers/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/debuggers/node_data_groups/ + name: v3_aiops_scene_service_debuggers_node_data_groups + label: 读取节点数据分组信息 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/debuggers/node_data_groups/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/debuggers/node_data/ + name: v3_aiops_scene_service_debuggers_node_data + label: 读取节点最新的调试数据 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/debuggers/node_data/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/debuggers/node_logs/ + name: v3_aiops_scene_service_debuggers_node_logs + label: 读取节点最新的执行日志 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/debuggers/node_logs/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/capabilities/ + name: v3_aiops_scene_service_capabilities + label: 获取能力项列表信息 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/capabilities/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/logs/query/ + name: v3_aiops_scene_service_log_query + label: 查询操作记录 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/logs/query/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/metrics/ + name: v3_aiops_scene_service_evaluation_metrics + label: 查看所有评估指标或评估指标配置 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/metrics/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/metrics/type/ + name: v3_aiops_scene_service_evaluation_metrics_type + label: 查看评估指标类型 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/metrics/type/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/{plan_id}/info/ + name: v3_aiops_scene_service_evaluation_plan_info + label: 查看编辑态评估基本信息 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/{plan_id}/info/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/{plan_id}/group/ + name: v3_aiops_scene_service_evaluation_plan_gropu + label: 获取方案编辑态评估指标分组信息 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/{plan_id}/group/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/{plan_id}/metrics/ + name: v3_aiops_scene_service_evaluation_plan_metrics + label: 查询评估指标列表或指标详情 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/{plan_id}/metrics/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/{plan_id}/add/ + name: v3_aiops_scene_service_evaluation_plan_add + label: 新增方案编辑态评估指标 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/{plan_id}/add/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/{plan_id}/edit/ + name: v3_aiops_scene_service_evaluation_plan_edit + label: 编辑评估指标详情 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/{plan_id}/edit/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/{plan_id}/delete/ + name: v3_aiops_scene_service_evaluation_plan_delete + label: 删除评估指标 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/{plan_id}/delete/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/evaluation/{plan_id}/sort/ + name: v3_aiops_scene_service_evaluation_plan_sort + label: 评估指标排序 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/evaluation/{plan_id}/sort/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/ + name: v3_aiops_scene_service_application_processing + label: 获取场景应用实例全量列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/{processing_id}/ + name: v3_aiops_scene_service_application_processing_info + label: 根据processing查询场景应用实例 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/{processing_id}/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/ + name: v3_aiops_scene_service_application_processing_create + label: 创建场景应用实例 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/{processing_id}/ + name: v3_aiops_scene_service_application_processing_update + label: 根据processing更新场景节点应用实体 + method: PUT + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/{processing_id}/ + dest_http_method: PUT + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/{processing_id}/ + name: v3_aiops_scene_service_application_processing_delete + label: 根据processing删除场景节点应用实体 + method: DELETE + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/{processing_id}/ + dest_http_method: DELETE + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/{processing_id}/start/ + name: v3_aiops_scene_service_application_processing_start + label: 启动场景应用节点实体 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/{processing_id}/start/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/{processing_id}/stop/ + name: v3_aiops_scene_service_application_processing_stop + label: 停止场景应用节点实体 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/{processing_id}/stop/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/{processing_id}/status/ + name: v3_aiops_scene_service_application_processing_status + label: 查询场景节点应用状态 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/{processing_id}/status/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/all_status/ + name: v3_aiops_scene_service_application_processing_all_status + label: 查询场景所有节点应用状态 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/all_status/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/processing/{processing_id}/feedback/ + name: v3_aiops_scene_service_application_processing__processing_id__feedback + label: 场景服务应用层样本反馈 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/processing/{processing_id}/feedback/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/scenes/ + name: v3_aiops_scene_service_scenes + label: 查询应用场景列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/scenes/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/scenes/{scene_id}/published_plans/ + name: v3_aiops_scene_service_application_scenes__scene_id__published_plans + label: 查询场景下已发布的方案列表 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/scenes/{scene_id}/published_plans/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/plans/{plan_id}/formal_config/ + name: v3_aiops_scene_service_application_plans__plan_id__formal_config + label: 场景应用节点实例的初始配置拉取 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/plans/{plan_id}/formal_config/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/plans/input_validation/ + name: v3_aiops_scene_service_application_plans_input_validation + label: 校验模型发布实例应用的输入信息 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/plans/input_validation/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/node_situation/{node_id}/ + name: v3_aiops_scene_service_application_node_situation + label: 获取应用节点详情 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/node_situation/{node_id}/ + dest_http_method: GET + is_hidden: true + +- path: /data/v3/aiops/scene_service/application/node_situation/{node_id}/result_preview/ + name: v3_aiops_scene_service_application_node_situation_result_preview + label: 获取应用节点输出预览 + method: GET + comp_codename: generic.data.datav3_component + dest_path: /v3/aiops/scene_service/application/node_situation/{node_id}/result_preview/ + dest_http_method: GET + is_hidden: true + diff --git a/paas2/esb/components/confapis/data/v3_auth.yaml b/paas2/esb/components/confapis/data/v3_auth.yaml index 4733fe7d4..cbd3f5de8 100644 --- a/paas2/esb/components/confapis/data/v3_auth.yaml +++ b/paas2/esb/components/confapis/data/v3_auth.yaml @@ -16,6 +16,24 @@ dest_http_method: GET is_hidden: true +- path: /data/v3/auth/projects/{project_id}/data/check/ + name: v3_auth_projects__project_id__data_check_post + label: 检查项目是否有结果表权限 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/auth/projects/{project_id}/data/check/ + dest_http_method: POST + is_hidden: true + +- path: /data/v3/auth/projects/{project_id}/data/add/ + name: v3_auth_add_project_data + label: 添加项目数据 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/auth/projects/{project_id}/data/add/ + dest_http_method: POST + is_hidden: true + - path: /data/v3/auth/projects/{project_id}/role_users/ name: v3_auth_projects__project_id__role_users_get label: 列举项目相关用户 @@ -88,6 +106,15 @@ dest_http_method: POST is_hidden: true +- path: /data/v3/auth/tickets_v2/ + name: v3_auth_tickets_v2_post + label: 新版创建单据 + method: POST + comp_codename: generic.data.datav3_component + dest_path: /v3/auth/tickets_v2/ + dest_http_method: POST + is_hidden: true + - path: /data/v3/auth/tickets/ name: v3_auth_tickets_get label: 获取单据列表 @@ -331,7 +358,6 @@ dest_http_method: GET is_hidden: true - - path: /data/v3/auth/tdw/user/get_clusters_by_user/ name: v3_auth_tdw_user_get_clusters_by_user_get label: 用户有权限的集群 @@ -341,7 +367,6 @@ dest_http_method: GET is_hidden: true - - path: /data/v3/auth/tdw/user/get_db_with_create_priv/ name: v3_auth_tdw_user_get_db_with_create_priv_get label: 用户有写权限的TDW库 @@ -351,7 +376,6 @@ dest_http_method: GET is_hidden: true - - path: /data/v3/auth/users/operation_configs/ name: v3_auth_users_operation_configs_get label: 返回用户有权限的功能开关 @@ -361,7 +385,6 @@ dest_http_method: GET is_hidden: true - - path: /data/v3/auth/roles/{role_id}/users/ name: v3_auth_roles__role_id__users_get label: 列举角色用户 @@ -371,7 +394,6 @@ dest_http_method: GET is_hidden: true - - path: /data/v3/auth/users/batch_check/ name: v3_auth_users_batch_check_post label: 批量校验用户与对象权限 @@ -381,7 +403,6 @@ dest_http_method: POST is_hidden: true - - path: /data/v3/auth/tdw/user/check_table_perm/ name: v3_auth_tdw_user_check_table_perm_post label: 查询用户是否有TDW表权限 @@ -391,7 +412,6 @@ dest_http_method: POST is_hidden: true - - path: /data/v3/auth/tokens/{id}/renewal/ name: v3_auth_tokens__id__renewal_post label: Token 续期 @@ -401,7 +421,6 @@ dest_http_method: POST is_hidden: true - - path: /data/v3/auth/users/handover/ name: v3_auth_users_handover_post label: 权限交接 @@ -411,7 +430,6 @@ dest_http_method: POST is_hidden: true - - path: /data/v3/auth/sensitivity/ name: v3_auth_sensitivity_get label: 敏感度配置 @@ -420,7 +438,6 @@ dest_path: /v3/auth/sensitivity/ dest_http_method: GET is_hidden: true - - path: /data/v3/auth/sensitivity/update_dataset/ name: v3_auth_sensitivity_update_dataset_post @@ -431,7 +448,6 @@ dest_http_method: POST is_hidden: true - - path: /data/v3/auth/sensitivity/retrieve_dataset/ name: v3_auth_sensitivity_retrieve_dataset_get label: 获取数据集的敏感度信息 diff --git a/paas2/esb/components/confapis/monitor_v3/monitor_v3.yaml b/paas2/esb/components/confapis/monitor_v3/monitor_v3.yaml index 9d73d34a2..b6e686f12 100644 --- a/paas2/esb/components/confapis/monitor_v3/monitor_v3.yaml +++ b/paas2/esb/components/confapis/monitor_v3/monitor_v3.yaml @@ -1579,6 +1579,16 @@ name: query_apm_topo_instance path: /v2/monitor_v3/query_apm_topo_instance/ method: POST +- api_type: query + comp_codename: generic.v2.monitor_v3.monitor_v3_component + dest_http_method: POST + dest_path: /apm_api/v1/topo/query_remote_service_relation/ + is_hidden: true + label: 查询远程服务接口调用关系 + label_en: query apm remote service relation + name: query_apm_remote_service_relation + path: /v2/monitor_v3/query_remote_service_relation/ + method: POST - api_type: query comp_codename: generic.v2.monitor_v3.monitor_v3_component dest_http_method: GET @@ -1715,6 +1725,17 @@ path: /v2/monitor_v3/query_apm_es/ method: POST +- api_type: query + comp_codename: generic.v2.monitor_v3.monitor_v3_component + dest_http_method: POST + dest_path: /apm_api/v1/application/query_host_instance/ + is_hidden: true + label: 查询apm主机实例 + label_en: query apm host instance + name: query_apm_host_instance + path: /v2/monitor_v3/query_host_instance/ + method: POST + - api_type: query comp_codename: generic.v2.monitor_v3.monitor_v3_component dest_http_method: POST @@ -1814,6 +1835,17 @@ path: /v2/monitor_v3/query_app_by_host_instance/ method: POST +- api_type: operate + comp_codename: generic.v2.monitor_v3.monitor_v3_component + dest_http_method: POST + dest_path: /apm_api/v1/application/query_log_relation_by_index_set_id/ + is_hidden: true + label: 根据索引集id获取服务关联 + label_en: query log relation by index set id + name: query_log_relation_by_index_set_id + path: /v2/monitor_v3/query_log_relation/ + method: POST + - api_type: operate comp_codename: generic.v2.monitor_v3.monitor_v3_component dest_http_method: POST diff --git a/paas2/esb/components/esb_conf.py b/paas2/esb/components/esb_conf.py index abd3c0eca..4f7b85fef 100644 --- a/paas2/esb/components/esb_conf.py +++ b/paas2/esb/components/esb_conf.py @@ -644,6 +644,20 @@ def _rel_path(x): }, }, ), + ( + "/data/v3/aiops/serving/processing/{result_table_name}/execute/", + { + "comp_codename": "generic.data.datav3_component", + "method": "POST", + "request_validators": [AppAuthValidator()], + "is_hidden": True, + "comp_conf": { + "name": "v3_aiops_api_serving_execute", + "dest_path": "/v3/aiops/serving/processing/{result_table_name}/execute/", + "dest_http_method": "POST", + }, + }, + ), ], }, From 7ac7b2719acbb2a758eb099a5fd56fb2abea905a Mon Sep 17 00:00:00 2001 From: alex-smile <443677891@qq.com> Date: Thu, 25 Aug 2022 19:57:45 +0800 Subject: [PATCH 2/2] update release doc --- paas2/VERSION | 2 +- paas2/release.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/paas2/VERSION b/paas2/VERSION index bcf72d7e8..e51df8628 100644 --- a/paas2/VERSION +++ b/paas2/VERSION @@ -1 +1 @@ -2.14.23 +2.14.24 diff --git a/paas2/release.md b/paas2/release.md index 1d2c2cd5e..e32f86053 100644 --- a/paas2/release.md +++ b/paas2/release.md @@ -1,5 +1,8 @@ Release Log =============================== +# 2.14.24 + - update: esb update monitor_v3, data confapis + # 2.14.23 - bugfix: bk_cmdb/bk_job默认new tab打开导致migration失败