summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java
index 9328f94..aaad2fc 100644
--- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java
+++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/NsAaiDaoImpl.java
@@ -50,9 +50,7 @@ public class NsAaiDaoImpl implements NsDao {
+ UrlConstant.SERVICE_INSTANCE_URL + id, restfulParametes, "get");
JSONObject jsonObject = JSONObject.fromObject(response.getResponseContent());
- NsEntity nsEntity = NsEntity.toEntityFromAai(jsonObject);
-
- return nsEntity;
+ return NsEntity.toEntityFromAai(jsonObject);
}
@Override