diff options
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ <groupId>org.onap.clamp</groupId> <artifactId>clds</artifactId> <version>1.1.0</version> - <name>ONAP CLAMP</name> + <name>clamp</name> <parent> <groupId>org.onap.oparent</groupId> diff --git a/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java b/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java index d31767150..5b9c5d36d 100644 --- a/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java +++ b/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java @@ -463,7 +463,7 @@ public class SdcCatalogServices { // To remove duplicate resources from serviceDetail and add valid
// vfs to service
- if (cldsSdcServiceDetail.getResources() != null) {
+ if (cldsSdcServiceDetail != null && cldsSdcServiceDetail.getResources() != null) {
List<CldsSdcResource> cldsSdcResourceList = removeDuplicateSdcResourceInstances(
cldsSdcServiceDetail.getResources());
if (cldsSdcResourceList != null && !cldsSdcResourceList.isEmpty()) {
|