diff options
author | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-08-13 02:44:43 -0400 |
---|---|---|
committer | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-08-13 12:35:56 -0400 |
commit | 9220f729873a7be6455f832468f5090ccd2a25cb (patch) | |
tree | 26ea9dc633bad1bd9bb0f25465a998cd85e6ee5f /aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json | |
parent | cdeda67931317caa0582b6e806aaf2df42616170 (diff) |
Update traversal to use schema ingest library
Update the traversal microservice to use the ingest
library to make the application more model driven
Issue-ID: AAI-1465
Change-Id: Ifcf56b5d0e7f25ce2bc735b3186e09bc28234100
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json')
-rw-r--r-- | aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json b/aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json new file mode 100644 index 0000000..c77eeea --- /dev/null +++ b/aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json @@ -0,0 +1,46 @@ +{ + "global-customer-id": "${customer-id}", + "subscriber-name": "customer-subscriber-name", + "subscriber-type": "CUST", + "service-subscriptions": { + "service-subscription": [ + { + "service-type": "VVIG", + "service-instances": { + "service-instance": [ + { + "service-instance-id": "${service-instance-id}", + "service-instance-name": "${service-instance-name}", + "relationship-list": { + "relationship": [ + { + "related-to": "configuration", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v13/network/configurations/configuration/${configuration-id1}", + "relationship-data": [ + { + "relationship-key": "configuration.configuration-id", + "relationship-value": "${configuration-id1}" + } + ] + }, + { + "related-to": "configuration", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v13/network/configurations/configuration/${configuration-id2}", + "relationship-data": [ + { + "relationship-key": "configuration.configuration-id", + "relationship-value": "${configuration-id2}" + } + ] + } + ] + } + } + ] + } + } + ] + } +}
\ No newline at end of file |