diff options
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r-- | usecaseui-portal/src/app/core/models/dataInterface.ts | 1 | ||||
-rw-r--r-- | usecaseui-portal/src/app/core/services/homes.service.ts | 16 |
2 files changed, 3 insertions, 14 deletions
diff --git a/usecaseui-portal/src/app/core/models/dataInterface.ts b/usecaseui-portal/src/app/core/models/dataInterface.ts index e092bd03..012b23e6 100644 --- a/usecaseui-portal/src/app/core/models/dataInterface.ts +++ b/usecaseui-portal/src/app/core/models/dataInterface.ts @@ -1,6 +1,5 @@ enum baseUrl{ baseUrl = '/api/usecaseui-server/v1' //online - // baseUrl = 'http://172.19.44.223/api/usecaseui-server/v1' //local one // baseUrl = 'http://10.73.191.100:8082' //local two } interface homeData { diff --git a/usecaseui-portal/src/app/core/services/homes.service.ts b/usecaseui-portal/src/app/core/services/homes.service.ts index 218756d4..321642db 100644 --- a/usecaseui-portal/src/app/core/services/homes.service.ts +++ b/usecaseui-portal/src/app/core/services/homes.service.ts @@ -23,16 +23,13 @@ export class HomesService { constructor(private http: HttpClient) { } baseUrl = baseUrl.baseUrl; - baseUrlbar = baseUrl.baseUrl + "/uui-lcm/"; url = { home_serviceData: this.baseUrl + "/uui-lcm/serviceNumByCustomer", - home_performanceData: this.baseUrl + "/performance/queryAllSourceNames", home_alarmData: this.baseUrl + "/alarm/statusCount", home_alarmChartData: this.baseUrl + "/alarm/diagram", - home_servicebarData: this.baseUrl + "", - home_servicebarnsData: this.baseUrlbar + "ns-packages", - home_servicebarvnfData: this.baseUrlbar + "vnf-packages", - home_servicebarpnfData: this.baseUrlbar + "pnf-packages", + home_servicebarnsData: this.baseUrl + "/uui-lcm/ns-packages", + home_servicebarvnfData: this.baseUrl + "/uui-lcm/vnf-packages", + home_servicebarpnfData: this.baseUrl + "/uui-lcm/pnf-packages", sourceNames: this.baseUrl + "/alarm/getSourceNames", listSortMasters: this.baseUrl + "/listSortMasters", currentLanguage: "/api/portal-auxapi/languageSetting/user/", @@ -42,9 +39,6 @@ export class HomesService { getHomeServiceData() { return this.http.get<any>(this.url.home_serviceData); } - getHomePerformanceData() { - return this.http.get<String[]>(this.url.home_performanceData); - } getHomeAlarmData() { return this.http.get<any>(this.url.home_alarmData); } @@ -52,10 +46,6 @@ export class HomesService { let params = new HttpParams({ fromObject: paramsObj }); return this.http.get<any>(this.url.home_alarmChartData, { params }); } - - getHomeServiceBarData() { - return this.http.get<any>(this.url.home_servicebarData); - } getHomeServiceBarNsData() { return this.http.get<any>(this.url.home_servicebarnsData); } |