summaryrefslogtreecommitdiffstats
path: root/aai-annotations
diff options
context:
space:
mode:
Diffstat (limited to 'aai-annotations')
-rw-r--r--aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java1
-rw-r--r--aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java12
-rw-r--r--aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java4
3 files changed, 13 insertions, 4 deletions
diff --git a/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java b/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java
index d9e9f0f..b915ee5 100644
--- a/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java
+++ b/aai-annotations/src/main/java/org/onap/aai/annotations/Metadata.java
@@ -52,5 +52,6 @@ public @interface Metadata {
String containsSuggestibleProps() default "";
String suggestionAliases() default "";
String sourceOfTruthType() default "";
+ String dslStartNodeProps() default "";
}
diff --git a/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java b/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java
index 39cfdec..6b68e1f 100644
--- a/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java
+++ b/aai-annotations/src/main/java/org/onap/aai/schema/enums/ObjectMetadata.java
@@ -117,9 +117,15 @@ public enum ObjectMetadata {
/**
* a value of true allows this object to be written directly
*/
- ALLOW_DIRECT_WRITE("allowDirectWrite");
-
- private final String name;
+ ALLOW_DIRECT_WRITE("allowDirectWrite"),
+ /**
+ * properties that are allowed to be in start node in a DSL
+ * <br><b>comma separated list</b>
+ */
+ DSL_START_NODE_PROPS("dslStartNodeProps");
+
+
+ private final String name;
private ObjectMetadata(String name) {
this.name = name;
diff --git a/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java b/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java
index a518e0c..c6bd03c 100644
--- a/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java
+++ b/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java
@@ -42,7 +42,9 @@ public class AnnotationsTest {
isAbstract = "",
alternateKeys1 = "",
maximumDepth = "",
- crossEntityReference = "")
+ crossEntityReference = "",
+ dslStartNodeProps = "")
+
public void testAnnotation() {
}
}