edit getServiceList do not get data 47/65447/1
authorguochuyicmri <guochuyi@chinamobile.com>
Mon, 10 Sep 2018 07:07:14 +0000 (15:07 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Mon, 10 Sep 2018 07:07:24 +0000 (15:07 +0800)
Change-Id: Ib46a9a1fa76d61128cc28be60b6603e67e72c8ec
Issue-ID: USECASEUI-142
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java
server/src/main/java/org/onap/usecaseui/server/service/sotn/impl/SOTNServiceImpl.java

index 157da3b..734cc61 100644 (file)
@@ -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);
 }
index 890d255..9fad571 100644 (file)
@@ -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();