summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources
diff options
context:
space:
mode:
authorRodrigo Lima <rodrigo.lima@yoppworks.com>2020-09-09 14:54:15 -0400
committerRodrigo Lima <rodrigo.lima@yoppworks.com>2020-09-10 15:08:25 -0400
commitc35c896ba3cf8ea670c9a3a87e77be0b3dedb2b3 (patch)
treeed7c20c179fe6b82ddb3f0064bef68624192292b /aai-core/src/test/resources
parent87925eec3e39fc79540e034622705ff9ee663343 (diff)
Add side effect to check pnf owning entity
- Create side effect to check : user's groups contains pnf's owning entity name - Create unit tests for side effect - Add new process method in HttpEntry to pass set of groups - Pass set of groups to db serializer Issue-ID: AAI-3176 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I4bc7ab6e22bce8cbe60bd7ef6bb5db73dac3a1c4
Diffstat (limited to 'aai-core/src/test/resources')
-rw-r--r--aai-core/src/test/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json12
-rw-r--r--aai-core/src/test/resources/onap/oxm/v14/aai_oxm_v14.xml1
2 files changed, 13 insertions, 0 deletions
diff --git a/aai-core/src/test/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json b/aai-core/src/test/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json
index 7b5c26a7..0480bb8e 100644
--- a/aai-core/src/test/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json
+++ b/aai-core/src/test/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json
@@ -1570,6 +1570,18 @@
"default": "true",
"description":""
},
+ {
+ "from": "pnf",
+ "to": "owning-entity",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ },
{
"from": "cvlan-tag",
"to": "port-group",
diff --git a/aai-core/src/test/resources/onap/oxm/v14/aai_oxm_v14.xml b/aai-core/src/test/resources/onap/oxm/v14/aai_oxm_v14.xml
index 8436fac2..b08e4fb1 100644
--- a/aai-core/src/test/resources/onap/oxm/v14/aai_oxm_v14.xml
+++ b/aai-core/src/test/resources/onap/oxm/v14/aai_oxm_v14.xml
@@ -5128,6 +5128,7 @@
<xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
<xml-property name="description" value="unique name of Physical Network Function."/>
+ <xml-property name="ownerCheck" value="N/A"/>
</xml-properties>
</xml-element>
<xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">