Skip to content

Commit

Permalink
Merge pull request #394 from alex-smile/support_ssm_access_token
Browse files Browse the repository at this point in the history
ESB 更新 BK_LOG 配置类组件
  • Loading branch information
MrLYC authored Jun 22, 2021
2 parents 88c4d6f + d634824 commit 19bee8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions paas2/esb/components/confapis/bk_log/bk_log.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,17 @@
dest_http_method: POST
is_hidden: True

- path: /v2/bk_log/databus_collectors/list_collectors_by_host/
name: list_collectors_by_host
label: 日志平台-根据IP获取采集项列表
label_en: bk_log list collector by host
method: GET
api_type: query
comp_codename: generic.v2.bk_log.bk_log_component
dest_path: /api/v1/databus/collectors/list_collectors_by_host/
dest_http_method: GET
is_hidden: True

- path: /v2/bk_log/databus_storage/
name: list_databus_storage
label: 日志平台-存储列表
Expand Down
2 changes: 1 addition & 1 deletion paas2/esb/esb/component/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def current_user(self):
def current_user(self, value):
self._current_user = value

def invoke(self, kwargs={}, use_test_env=False, request_id=None, is_dummy=False, app_code="", timeout=None):
def invoke(self, kwargs={}, use_test_env=False, request_id="", is_dummy=False, app_code="", timeout=None):
"""
调用一个组件,需要注意的是,当这个组件实例被一个wsgi_request初始化过以后,
是不需要传入后面这些额外的参数的。
Expand Down

0 comments on commit 19bee8c

Please sign in to comment.