diff options
author | mharazin <mateusz.harazin@nokia.com> | 2020-05-20 12:55:36 +0200 |
---|---|---|
committer | Lukasz Muszkieta <lukasz.muszkieta@nokia.com> | 2020-05-21 08:14:11 +0000 |
commit | d230e3bf3495156651b39f03a2bc7e17324ce269 (patch) | |
tree | 2db6ec7770952d9341ebca47d504bab4c84e12aa /bpmn/so-bpmn-tasks/src/test/resources | |
parent | 64c6d53bea60fdeabd01aa9b114567c4cb12f3fe (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')
-rw-r--r-- | bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/aaiPnf.json | 31 |
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" + } + ] + } + ] + } +} |