summaryrefslogtreecommitdiffstats
path: root/usecaseui-holmes/src
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-14 15:11:24 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-14 16:36:26 +0800
commit26591497cdc323ca3b92b97d3be4cc32ca974d08 (patch)
tree646284e1cd9250820d822130bae5d5af35565cc0 /usecaseui-holmes/src
parent94f0257da4ada7adcbbf362381a07f52e9463894 (diff)
Change the address of the Holmes API
Change-Id: If9c87173acb2fb41eece39d3d0b7e1c4c307be2c Issue-ID: HOLMES-50 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'usecaseui-holmes/src')
-rw-r--r--usecaseui-holmes/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.service.ts4
1 files changed, 2 insertions, 2 deletions
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<any> {
- 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 })