summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core/services/intentBase.service.ts
diff options
context:
space:
mode:
authorliuwh7 <liuwh7@asiainfo.com>2022-03-23 09:39:00 +0800
committerliuwh7 <liuwh7@asiainfo.com>2022-03-23 09:39:14 +0800
commit1dac51bfc12c0eb84894c5aff4c970554a42e72c (patch)
treeb112f68c0f79daff0d4d8a4ffdc96f4fff9fb92f /usecaseui-portal/src/app/core/services/intentBase.service.ts
parent37431e9fd0fbcc7a7a8e97d1c825a3d235f6f2f8 (diff)
feat: modify intent instance4.0.6
Signed-off-by: liuwh7 <liuwh7@asiainfo.com> Change-Id: I212e71ad60c81f8135d46eae784c558cafed6d88 Issue-ID: REQ-1075
Diffstat (limited to 'usecaseui-portal/src/app/core/services/intentBase.service.ts')
-rw-r--r--usecaseui-portal/src/app/core/services/intentBase.service.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/core/services/intentBase.service.ts b/usecaseui-portal/src/app/core/services/intentBase.service.ts
index 5ee8424a..a9c4187b 100644
--- a/usecaseui-portal/src/app/core/services/intentBase.service.ts
+++ b/usecaseui-portal/src/app/core/services/intentBase.service.ts
@@ -32,6 +32,7 @@ export class intentBaseService {
deleteIntentInstance: this.baseUrl + "/intent/deleteIntentInstance",
activeIntentInstance: this.baseUrl + "/intent/activeIntentInstance",
invalidIntentInstance: this.baseUrl + "/intent/invalidIntentInstance",
+ updateIntentInstance: this.baseUrl + "/intent/updateCCVPNInstance",
queryAccessNodeInfo: this.baseUrl + "/intent/queryAccessNodeInfo",
intentInstancePredict: this.baseUrl + "/intent/predict",
intentBasedUnifyPredict: this.baseUrl + "/intent/unifyPredict",
@@ -80,6 +81,10 @@ export class intentBaseService {
return this.http.post<any>(this.url["invalidIntentInstance"], requestBody);
}
+ updateIntentInstance(requestBody) {
+ return this.http.post<any>(this.url["updateIntentInstance"], requestBody);
+ }
+
queryAccessNodeInfo() {
return this.http.get<any>(this.url["queryAccessNodeInfo"]);
}