This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 6f74241  [Fix][UI Next] Fix alert plugin api. (#8211)
6f74241 is described below

commit 6f74241100d34da4ac0f5923ac11dd87189ed817
Author: songjianet <[email protected]>
AuthorDate: Thu Jan 27 10:29:53 2022 +0800

    [Fix][UI Next] Fix alert plugin api. (#8211)
---
 dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts 
b/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts
index c6f5f30..7081438 100644
--- a/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts
+++ b/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts
@@ -48,6 +48,13 @@ export function verifyAlertInstanceName(params: 
InstanceNameReq): any {
   })
 }
 
+export function queryAlertPluginInstanceList(): any {
+  return axios({
+    url: '/alert-plugin-instances/list',
+    method: 'get'
+  })
+}
+
 export function getAlertPluginInstance(id: IdReq): any {
   return axios({
     url: `/alert-plugin-instances/${id}`,

Reply via email to