summaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authorIsrael Lavi <il0695@intl.att.com>2017-04-05 16:23:14 +0300
committerIsrael Lavi <il0695@intl.att.com>2017-04-05 16:23:14 +0300
commit3c90e954d3a36e49a4aa8704031eaf93a8c7c450 (patch)
tree4374d4fa9456f6581ceb77182630b0f5b6893202 /catalog-be
parent4d95bb8461adec361abad7f605e2ceed770cebfc (diff)
Fix typo error in code
Change-Id: Iacd930f4222d0888597e010e33aac45adec88945 Signed-off-by: Israel Lavi <il0695@intl.att.com>
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/ServiceDistributionArtifactsBuilder.java4
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/AssetMetadataConverter.java2
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadata.java10
3 files changed, 8 insertions, 8 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/ServiceDistributionArtifactsBuilder.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/ServiceDistributionArtifactsBuilder.java
index da148ee80a..6e67e38c15 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/ServiceDistributionArtifactsBuilder.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/ServiceDistributionArtifactsBuilder.java
@@ -147,7 +147,7 @@ public class ServiceDistributionArtifactsBuilder {
List<JsonContainerResourceInstance> ret = new ArrayList<JsonContainerResourceInstance>();
if (service.getComponentInstances() != null) {
for (ComponentInstance resourceInstance : service.getComponentInstances()) {
- String resoucreType = "VF";
+ String resourceType = "VF";
List<ArtifactDefinition> artifactsDefList = getArtifactsWithPayload(resourceInstance);
List<ArtifactInfoImpl> artifacts = ArtifactInfoImpl.convertToArtifactInfoImpl(service, resourceInstance, artifactsDefList);
Either<String, StorageOperationStatus> responseResult = resourceOperation.getInvariantUUID(NodeTypeEnum.Resource, resourceInstance.getComponentUid(), false);
@@ -157,7 +157,7 @@ public class ServiceDistributionArtifactsBuilder {
} else {
resourceInvariantUUID = responseResult.left().value();
}
- JsonContainerResourceInstance jsonContainer = new JsonContainerResourceInstance(resourceInstance, resourceInvariantUUID, resoucreType, artifacts);
+ JsonContainerResourceInstance jsonContainer = new JsonContainerResourceInstance(resourceInstance, resourceInvariantUUID, resourceType, artifacts);
ret.add(jsonContainer);
}
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/AssetMetadataConverter.java b/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/AssetMetadataConverter.java
index 20eac081c9..662399142e 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/AssetMetadataConverter.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/AssetMetadataConverter.java
@@ -345,7 +345,7 @@ public class AssetMetadataConverter {
metadata.setResourceInstanceName(componentInstance.getName());
metadata.setResourceName(componentInstance.getComponentName());
metadata.setResourceVersion(componentInstance.getComponentVersion());
- metadata.setResoucreType(componentInstance.getOriginType().getValue());
+ metadata.setResourceType(componentInstance.getOriginType().getValue());
metadata.setResourceUUID(componentInstance.getComponentUid());
Collection<ArtifactDefinition> values = componentInstance.getDeploymentArtifacts().values();
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadata.java b/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadata.java
index a53422f311..547bb301f8 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadata.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadata.java
@@ -27,7 +27,7 @@ public class ResourceInstanceMetadata {
private String resourceName;
private String resourceInvariantUUID;
private String resourceVersion;
- private String resoucreType;
+ private String resourceType;
private String resourceUUID;
private List<ArtifactMetadata> artifacts;
@@ -63,12 +63,12 @@ public class ResourceInstanceMetadata {
this.resourceVersion = resourceVersion;
}
- public String getResoucreType() {
- return resoucreType;
+ public String getResourceType() {
+ return resourceType;
}
- public void setResoucreType(String resoucreType) {
- this.resoucreType = resoucreType;
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
}
public String getResourceUUID() {