From 82ff35f629b05d57b9ec9f24f7189af4a10fceca Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 12 Sep 2019 09:14:45 +0800 Subject: feat:optimize mock api & routes.js for customer page Change-Id: I89990f82c176471b918c297e82eaec628a1c3fa7 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- usecaseui-portal/src/app/core/services/managemencs.service.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'usecaseui-portal/src/app/core/services') diff --git a/usecaseui-portal/src/app/core/services/managemencs.service.ts b/usecaseui-portal/src/app/core/services/managemencs.service.ts index cd293d40..d7780e73 100644 --- a/usecaseui-portal/src/app/core/services/managemencs.service.ts +++ b/usecaseui-portal/src/app/core/services/managemencs.service.ts @@ -20,11 +20,10 @@ export class ManagemencsService { //mock Currently unadjustable api interface deleteCustomer: this.baseUrl + "/uui-lcm/customers", /* delete */ createCustomer: this.baseUrl + "/uui-lcm/customers/", /* put */ - getCustomerresourceVersion: this.baseUrl + "/uui-lcm/customers/*_*", /* get */ - createServiceType: this.baseUrl + "/uui-lcm/customers/*_*/service-subscriptions/*+*", /* put */ - getServiceTypeResourceVersion: this.baseUrl + "/uui-lcm/customers/*_*/service-subscriptions/*+*", /* get */ - deleteServiceType: this.baseUrl + "/uui-lcm/customers/*_*/service-subscriptions/*+*", /* delete */ + getCustomerresourceVersion: this.baseUrl + "/uui-lcm/customers/*_*", /* get */ + getServiceTypeResourceVersion: this.baseUrl + "/uui-lcm/customers/*_*/service-subscriptions/*+*", + deleteServiceType: this.baseUrl + "/uui-lcm/customers/*_*/service-subscriptions/*+*", }; //The following APIs are optimizable ---------------------------------- -- cgit 1.2.3-korg