From 757ca27473fd4d713db46fd281ce3f14cb7949d6 Mon Sep 17 00:00:00 2001 From: ml636r Date: Tue, 17 Apr 2018 12:48:56 +0300 Subject: fix miss match in the notification align the object sent from sdc for distribution with the one in distribution client revert resourceType to resoucreType exclude DMAPP DE and DCAE from failing the health check align the ready probe to check for 200 insted of 500 in FE and BE Change-Id: I1e03660b1e6aded4b6c0cb19fcffe9a821679316 Issue-ID: SDC-1238 Signed-off-by: ml636r --- .../distribution/engine/JsonContainerResourceInstance.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'catalog-be/src') diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/JsonContainerResourceInstance.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/JsonContainerResourceInstance.java index db0e1e938d..9c478e7d9b 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/JsonContainerResourceInstance.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/JsonContainerResourceInstance.java @@ -28,7 +28,7 @@ public class JsonContainerResourceInstance { private String resourceInstanceName; private String resourceName; private String resourceVersion; - private String resourceType; + private String resoucreType; private String resourceUUID; private String resourceInvariantUUID; private String resourceCustomizationUUID; @@ -41,7 +41,7 @@ public class JsonContainerResourceInstance { this.resourceInstanceName = resourceInstance.getName(); this.resourceName = resourceInstance.getComponentName(); this.resourceVersion = resourceInstance.getComponentVersion(); - this.resourceType = resourceType; + this.resoucreType = resourceType; this.resourceUUID = resourceInstance.getComponentUid(); this.artifacts = artifacts; this.resourceCustomizationUUID = resourceInstance.getCustomizationUUID(); @@ -53,7 +53,7 @@ public class JsonContainerResourceInstance { this.resourceName = resourceInstance.getComponentName(); this.resourceVersion = resourceInstance.getComponentVersion(); if(resourceInstance.getOriginType() != null) - this.resourceType = resourceInstance.getOriginType().getValue(); + this.resoucreType = resourceInstance.getOriginType().getValue(); this.resourceUUID = resourceInstance.getComponentUid(); this.artifacts = artifacts; this.resourceCustomizationUUID = resourceInstance.getCustomizationUUID(); @@ -84,11 +84,11 @@ public class JsonContainerResourceInstance { } public String getResoucreType() { - return resourceType; + return resoucreType; } public void setResoucreType(String resoucreType) { - this.resourceType = resoucreType; + this.resoucreType = resoucreType; } public String getResourceUUID() { @@ -141,7 +141,7 @@ public class JsonContainerResourceInstance { @Override public String toString() { - return "JsonContainerResourceInstance [resourceInstanceName=" + resourceInstanceName + ", resourceName=" + resourceName + ", resourceVersion=" + resourceVersion + ", resoucreType=" + resourceType + ", resourceUUID=" + resourceUUID + return "JsonContainerResourceInstance [resourceInstanceName=" + resourceInstanceName + ", resourceName=" + resourceName + ", resourceVersion=" + resourceVersion + ", resoucreType=" + resoucreType + ", resourceUUID=" + resourceUUID + ", resourceInvariantUUID=" + resourceInvariantUUID + ", resourceCustomizationUUID=" + resourceCustomizationUUID + ", category=" + category + ", subcategory=" + subcategory + ", artifacts=" + artifacts + "]"; } -- cgit 1.2.3-korg