summaryrefslogtreecommitdiffstats
path: root/common/onap-tosca-datatype
diff options
context:
space:
mode:
authorfranciscovila <javier.paradela.vila@est.tech>2022-06-13 12:19:02 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-06-29 16:25:23 +0000
commit7943a0cdad6d1e8074ef31cc0fce19a6a8558eb9 (patch)
tree37d486f4e36e689ab02b10fcdefb3c4048207fab /common/onap-tosca-datatype
parent6f9721e195d8416efdde92c8de73d45f5c213bf3 (diff)
VFC properties of type timestamp not visible in property assignment
Fixing issues with timestamp type Issue-ID: SDC-4048 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Iaf5c14cbfcd00fd964974388e42e2e26e9101d3b
Diffstat (limited to 'common/onap-tosca-datatype')
-rw-r--r--common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PropertyType.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PropertyType.java b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PropertyType.java
index e49a6ef11c..359845cc70 100644
--- a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PropertyType.java
+++ b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/PropertyType.java
@@ -74,6 +74,7 @@ public enum PropertyType {
final Set<String> simplePropertyTypes = new HashSet<>();
simplePropertyTypes.add(STRING.getDisplayName().toLowerCase());
simplePropertyTypes.add(INTEGER.getDisplayName().toLowerCase());
+ simplePropertyTypes.add(TIMESTAMP.getDisplayName().toLowerCase());
simplePropertyTypes.add(FLOAT.getDisplayName().toLowerCase());
simplePropertyTypes.add(BOOLEAN.getDisplayName().toLowerCase());
simplePropertyTypes.add(SCALAR_UNIT_SIZE.getDisplayName().toLowerCase());