summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-09-10 15:07:14 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-09-10 15:07:24 +0800
commit022b23ba1e560a25aeaf3e7ce2a5ec9142170858 (patch)
tree8c7ab21977698677d338972d8e6aecb4e74d43ec
parent007a38bbfc6d2d933e58a25ff4b11c39f9847e68 (diff)
edit getServiceList do not get data
Change-Id: Ib46a9a1fa76d61128cc28be60b6603e67e72c8ec Issue-ID: USECASEUI-142 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java6
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/sotn/impl/SOTNServiceImpl.java1
2 files changed, 4 insertions, 3 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java
index 157da3b7..734cc614 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java
@@ -126,7 +126,7 @@ public interface AAIService {
"Authorization: Basic QUFJOkFBSQ==",
"Accept: application/json"
})
- @GET("/api/aai-network/logical-links/logical-link/{link-name}")
+ @GET("/api/aai-network/V13/logical-links/logical-link/{link-name}")
Call<ResponseBody> getSpecificLogicalLink(@Path("link-name") String linkName);
@Headers({
@@ -199,7 +199,7 @@ public interface AAIService {
"Accept: application/json"
})
@GET("/api/aai-business/v13/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances")
- Call<ResponseBody> getServiceInstances(@Path("global-customer-id}") String customerId,@Path("service-type}") String serviceType);
+ Call<ResponseBody> getServiceInstances(@Path("global-customer-id") String customerId,@Path("service-type") String serviceType);
@Headers({
"X-TransactionId: 7777",
@@ -208,5 +208,5 @@ public interface AAIService {
"Accept: application/json"
})
@GET("/api/aai-business/v13/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances")
- Call<ResponseBody> serviceInstaneInfo(@Path("global-customer-id}") String globalCustomerId,@Path("service-type") String serviceType,@Query("service-instance-id") String serviceInstanceId);
+ Call<ResponseBody> serviceInstaneInfo(@Path("global-customer-id") String globalCustomerId,@Path("service-type") String serviceType,@Query("service-instance-id") String serviceInstanceId);
}
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/sotn/impl/SOTNServiceImpl.java b/server/src/main/java/org/onap/usecaseui/server/service/sotn/impl/SOTNServiceImpl.java
index 890d2556..9fad5719 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/sotn/impl/SOTNServiceImpl.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/sotn/impl/SOTNServiceImpl.java
@@ -82,6 +82,7 @@ public class SOTNServiceImpl implements SOTNService{
try {
logger.info("aai getPinterfaceByPnfName is starting!");
Response<PinterfaceRsp> response = this.aaiService.getPinterfaceByPnfName(pnfName).execute();
+ logger.info(String.format("excute aai interface:/api/aai-network/v13/pnfs/pnf/%s/p-interfaces",pnfName));
logger.info("aai getPinterfaceByPnfName has finished!");
if (response.isSuccessful()) {
return response.body().getPinterfaces();