aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2020-04-06 14:00:13 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-06-01 07:02:49 +0000
commit6c16c0b33dcfeaf781e7ebfcd1bc2ee2fd38f5f0 (patch)
treefa7be74b6e1afd1f5510befe203cabb46e291477
parent4a01181974575ada4348359788d47313616c33a3 (diff)
Remove boolean entries in TOSCA Metadata
Change-Id: I0101bbe35656b4c7d7405429d95939b892e85402 Issue-ID: SDC-2876 Signed-off-by: MichaelMorris <michael.morris@est.tech>
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaMetadata.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaMetadata.java b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaMetadata.java
index f68f2550cf..f496994ac3 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaMetadata.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/model/ToscaMetadata.java
@@ -36,8 +36,8 @@ public class ToscaMetadata implements IToscaMetadata {
private String serviceType;
private String serviceRole;
private String instantiationType;
- private Boolean serviceEcompNaming;
- private Boolean ecompGeneratedNaming;
+ private String serviceEcompNaming;
+ private String ecompGeneratedNaming;
private String namingPolicy;
private String sourceModelInvariant;
private String environmentContext;
@@ -162,11 +162,11 @@ public class ToscaMetadata implements IToscaMetadata {
}
public Boolean isEcompGeneratedNaming() {
- return ecompGeneratedNaming;
+ return new Boolean(ecompGeneratedNaming);
}
public void setEcompGeneratedNaming(Boolean ecompGeneratedNaming) {
- this.ecompGeneratedNaming = ecompGeneratedNaming;
+ this.ecompGeneratedNaming = ecompGeneratedNaming == null ? null : ecompGeneratedNaming.toString();
}
public String isNamingPolicy() {
@@ -178,11 +178,11 @@ public class ToscaMetadata implements IToscaMetadata {
}
public Boolean getServiceEcompNaming() {
- return serviceEcompNaming;
+ return new Boolean(serviceEcompNaming);
}
public void setServiceEcompNaming(Boolean serviceEcompNaming) {
- this.serviceEcompNaming = serviceEcompNaming;
+ this.serviceEcompNaming = serviceEcompNaming == null ? null : serviceEcompNaming.toString();
}
public String getVersion() {