summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test/resources/__files
diff options
context:
space:
mode:
authormharazin <mateusz.harazin@nokia.com>2020-05-20 12:55:36 +0200
committerLukasz Muszkieta <lukasz.muszkieta@nokia.com>2020-05-21 08:14:11 +0000
commitd230e3bf3495156651b39f03a2bc7e17324ce269 (patch)
tree2db6ec7770952d9341ebca47d504bab4c84e12aa /bpmn/so-bpmn-tasks/src/test/resources/__files
parent64c6d53bea60fdeabd01aa9b114567c4cb12f3fe (diff)
Check if existing Pnf is related to service instance
Issue-ID: SO-2937 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: I3e1e8b7534c1ffa36b0383b52ca9ea547f5bac7e
Diffstat (limited to 'bpmn/so-bpmn-tasks/src/test/resources/__files')
-rw-r--r--bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/aaiPnf.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/aaiPnf.json b/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/aaiPnf.json
new file mode 100644
index 0000000000..c4600d94a0
--- /dev/null
+++ b/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/aaiPnf.json
@@ -0,0 +1,31 @@
+{
+ "pnfName": "pnfTest",
+ "pnfId": "pnfId",
+ "orchestrationStatus": "Active",
+ "resourceVersion": "resourceVersion",
+ "relationshipList": {
+ "relationship": [
+ {
+ "relatedTo": "service-instance",
+ "relationshipLabel": "org.onap.relationships.inventory.ComposedOf",
+ "relatedLink": "relatedLink",
+ "relationshipData": [
+ {
+ "relationshipKey": "relationshipKey",
+ "relationshipValue": "relationshipValue"
+ },
+ {
+ "relationshipKey": "service-instance.service-instance-id",
+ "relationshipValue": "service-instance-id"
+ }
+ ],
+ "relatedToProperty": [
+ {
+ "propertyKey": "service-instance.service-instance-name",
+ "propertyValue": "service-instance"
+ }
+ ]
+ }
+ ]
+ }
+}