summaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'prh-app-server/src/test/resources')
-rw-r--r--prh-app-server/src/test/resources/BbsActionsTaskTestFiles/oldLogicalLink.json21
-rw-r--r--prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithLogicalLink.json25
-rw-r--r--prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithoutLinks.json10
3 files changed, 56 insertions, 0 deletions
diff --git a/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/oldLogicalLink.json b/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/oldLogicalLink.json
new file mode 100644
index 00000000..7d3f02df
--- /dev/null
+++ b/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/oldLogicalLink.json
@@ -0,0 +1,21 @@
+{
+ "link-name": "some-link",
+ "in-maint": false,
+ "link-type": "attachment-point",
+ "resource-version": "1560171816043",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "pnf",
+ "relationship-label": "org.onap.relationships.inventory.BridgedTo",
+ "related-link": "/aai/v14/network/pnfs/pnf/Nokia123",
+ "relationship-data": [
+ {
+ "relationship-key": "pnf.pnf-name",
+ "relationship-value": "Nokia123"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithLogicalLink.json b/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithLogicalLink.json
new file mode 100644
index 00000000..6f4690d6
--- /dev/null
+++ b/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithLogicalLink.json
@@ -0,0 +1,25 @@
+{
+ "pnf-name": "Nokia123",
+ "pnf-name2-source": "",
+ "pnf-id": "Nokia123",
+ "equip-type": "",
+ "equip-vendor": "",
+ "management-option": "",
+ "in-maint": false,
+ "resource-version": "1560153116694",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "logical-link",
+ "relationship-label": "org.onap.relationships.inventory.BridgedTo",
+ "related-link": "/aai/v14/network/logical-links/logical-link/some-link",
+ "relationship-data": [
+ {
+ "relationship-key": "logical-link.link-name",
+ "relationship-value": "some-link"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithoutLinks.json b/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithoutLinks.json
new file mode 100644
index 00000000..1f614d40
--- /dev/null
+++ b/prh-app-server/src/test/resources/BbsActionsTaskTestFiles/pnfWithoutLinks.json
@@ -0,0 +1,10 @@
+{
+ "pnf-name": "Nokia123",
+ "pnf-name2-source": "",
+ "pnf-id": "Nokia123",
+ "equip-type": "",
+ "equip-vendor": "",
+ "management-option": "",
+ "in-maint": false,
+ "resource-version": "1560153116694"
+}