summaryrefslogtreecommitdiffstats
path: root/aai-annotations
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2020-04-17 13:42:03 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-17 13:42:03 +0000
commit057bbe97cb127d05878372d97892f27bef462587 (patch)
tree1022207b200dac77ebb2692655a5a09b720d63aa /aai-annotations
parent1ea833f95a24c40e7613fb64b61c7560a14cf3db (diff)
parent86e7411b128bd7db440eceff7265533844e577bb (diff)
Merge "schema-service processing for v19"
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() {
}
}