From 26591497cdc323ca3b92b97d3be4cc32ca974d08 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Thu, 14 Sep 2017 15:11:24 +0800 Subject: Change the address of the Holmes API Change-Id: If9c87173acb2fb41eece39d3d0b7e1c4c307be2c Issue-ID: HOLMES-50 Signed-off-by: Guangrong Fu --- .../main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usecaseui-holmes/src') diff --git a/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts b/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts index 7055837a..076c9517 100644 --- a/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts +++ b/usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts @@ -24,7 +24,7 @@ import { ModalService } from '../correlation-modal/modal.service'; @Injectable() export class AlarmRuleService { - private ruleUrl = "/api/correlation-mgt/v1/rule"; + private ruleUrl = "/api/holmes-rule-mgmt/v1/rule"; private headers = new Headers({ 'Content-Type': 'application/json' }); constructor(private http: Http, private modalService: ModalService, private router: Router) { } @@ -74,7 +74,7 @@ export class AlarmRuleService { } checkContent(ruleContent: string): Promise { - const url = "/api/correlation-engine/v1/rule"; + const url = "/api/holmes-engine-mgmt/v1/rule"; let data = { content: ruleContent }; return this.http .post(url, JSON.stringify(data), { headers: this.headers }) -- cgit 1.2.3-korg