aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzoulingli128 <zll_1208@126.com>2022-10-26 17:40:19 +0800
committerzoulingli128 <zll_1208@126.com>2022-10-26 17:41:34 +0800
commit4d01d5c789cf2261b2c0b2b7984a372c4291c971 (patch)
treec863216c25d9edd076218b0f2f5655cd1e1cd904
parent31d35a25cfad803de8b4272d47b01f8b5ed2af03 (diff)
modify the url5.1.1
Issue-ID: USECASEUI-730 Signed-off-by: zoulingli128 <zll_1208@126.com> Change-Id: I2db44cba690202bfbcf63f8eee707c39838d6b94
-rw-r--r--usecaseui-portal/proxy.conf.json6
-rw-r--r--usecaseui-portal/src/app/core/services/intentManagement.service.ts10
-rw-r--r--usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts7
3 files changed, 14 insertions, 9 deletions
diff --git a/usecaseui-portal/proxy.conf.json b/usecaseui-portal/proxy.conf.json
index 78ebbfca..1ca1ad8a 100644
--- a/usecaseui-portal/proxy.conf.json
+++ b/usecaseui-portal/proxy.conf.json
@@ -4,5 +4,11 @@
"secure": false,
"logLevel": "debug",
"changeOrigin": true
+ },
+ "/api/usecaseui-intent-analysis/v1": {
+ "target": "https://192.168.235.25:30283",
+ "secure": false,
+ "logLevel": "debug",
+ "changeOrigin": true
}
} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/core/services/intentManagement.service.ts b/usecaseui-portal/src/app/core/services/intentManagement.service.ts
index 12fce9d4..21b6f37e 100644
--- a/usecaseui-portal/src/app/core/services/intentManagement.service.ts
+++ b/usecaseui-portal/src/app/core/services/intentManagement.service.ts
@@ -16,18 +16,16 @@
import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
-import { baseUrl } from '../models/dataInterface';
@Injectable()
export class IntentManagementService {
constructor(private http: HttpClient) { }
- baseUrl = baseUrl.baseUrl;
url = {
- createIntentManagement: this.baseUrl + "/api/usecaseui-intent-analysis/v1/intents",
- getIntentManagement: this.baseUrl + "/api/usecaseui-intent-analysis/v1/intents",
- deleteIntentManagement: this.baseUrl + "/api/usecaseui-intent-analysis/v1/intents/",
- updateIntentManagementData: this.baseUrl + "/api/usecaseui-intent-analysis/v1/intents/"
+ createIntentManagement: "/api/usecaseui-intent-analysis/v1/intents",
+ getIntentManagement: "/api/usecaseui-intent-analysis/v1/intents",
+ deleteIntentManagement: "/api/usecaseui-intent-analysis/v1/intents/",
+ updateIntentManagementData: "/api/usecaseui-intent-analysis/v1/intents/"
};
// intentManagement
diff --git a/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts b/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
index 3848ffbb..a76c73b6 100644
--- a/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
+++ b/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
@@ -21,7 +21,7 @@ export class InputIntentExpectationComponent implements OnInit {
expectationName:'',
expectationType:'DELIVERY',
expectationObject:{
- objectType:'CLL_VPN',
+ objectType:'CCVPN',
objectInstance:'',
},
expectationTargets:[]
@@ -42,7 +42,8 @@ export class InputIntentExpectationComponent implements OnInit {
{ label:'ASSURANCE', value:'ASSURANCE' }
]
this.expectationObjectTypeList = [
- { label:'CLL_VPN', value:'CLL_VPN' }
+ { label:'CCVPN', value:'CCVPN' },
+ { label:'SLICING', value:'SLICING' }
]
}
@@ -81,7 +82,7 @@ export class InputIntentExpectationComponent implements OnInit {
expectationName:'',
expectationType:'DELIVERY',
expectationObject:{
- objectType:'CLL_VPN',
+ objectType:'CCVPN',
objectInstance:'',
},
expectationTargets:[]