aboutsummaryrefslogtreecommitdiffstats
path: root/aai-annotations
diff options
context:
space:
mode:
authorLaMont, William(wl2432) <wl2432@att.com>2020-04-14 14:00:00 -0400
committerLaMont, William(wl2432) <wl2432@att.com>2020-04-15 15:36:42 -0400
commit86e7411b128bd7db440eceff7265533844e577bb (patch)
tree82d33b012b11c44e6edcfce8df0b45724ff6ec3e /aai-annotations
parent8e131584d755d07bb12a99fa0d5981d84ed5592a (diff)
schema-service processing for v19
Issue-ID: AAI-2864 Change-Id: I41a430ec9c9fd69be75bd9d01693249895e0928b Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
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() {
}
}