diff options
Diffstat (limited to 'holmes-actions/src/test/resources/aai-mdons.json')
-rw-r--r-- | holmes-actions/src/test/resources/aai-mdons.json | 191 |
1 files changed, 191 insertions, 0 deletions
diff --git a/holmes-actions/src/test/resources/aai-mdons.json b/holmes-actions/src/test/resources/aai-mdons.json new file mode 100644 index 0000000..517751c --- /dev/null +++ b/holmes-actions/src/test/resources/aai-mdons.json @@ -0,0 +1,191 @@ +{ + "get-pnf-by-id":{ + "pnf":[ + { + "pnf-name":"test1", + "in-maint":false, + "resource-version":"1593337809133", + "operational-status":"down" + } + ] + }, + "get-domain-service":{ + "service-instance-id":"789", + "service-instance-name":"domain-service", + "service-type":"Domain-Service", + "service-rate":"ODU2", + "service-layer":"ODU", + "orchestration-status":"CREATED", + "resource-version":"1592808052617", + "relationship-list":{ + "relationship":[ + { + "related-to":"p-interface", + "relationship-label":"org.onap.relationships.inventory.ComposedOf", + "related-link":"/aai/v19/network/pnfs/pnf/test1/p-interfaces/p-interface/int1", + "relationship-data":[ + { + "relationship-key":"pnf.pnf-name", + "relationship-value":"test1" + }, + { + "relationship-key":"p-interface.interface-name", + "relationship-value":"int1" + } + ] + }, + { + "related-to":"p-interface", + "relationship-label":"org.onap.relationships.inventory.ComposedOf", + "related-link":"/aai/v19/network/pnfs/pnf/test2/p-interfaces/p-interface/int4", + "relationship-data":[ + { + "relationship-key":"pnf.pnf-name", + "relationship-value":"test2" + }, + { + "relationship-key":"p-interface.interface-name", + "relationship-value":"int4" + } + ], + "related-to-property":[ + { + "property-key":"service-instance.service-instance-name", + "property-value":"domain-service" + } + ] + }, + { + "related-to":"service-instance", + "relationship-label":"org.onap.relationships.inventory.ComposedOf", + "related-link":"/aai/v19/business/customers/customer/Orange/service-subscriptions/service-subscription/MDONS_OTN/service-instances/service-instance/123", + "relationship-data":[ + { + "relationship-key":"customer.global-customer-id", + "relationship-value":"Orange" + }, + { + "relationship-key":"service-subscription.service-type", + "relationship-value":"MDONS_OTN" + }, + { + "relationship-key":"service-instance.service-instance-id", + "relationship-value":"123" + } + ], + "related-to-property":[ + { + "property-key":"service-instance.service-instance-name", + "property-value":"access-service" + } + ] + } + ] + } + }, + "get-access-service":{ + "service-instance-id":"123", + "service-instance-name":"access-service", + "service-type":"Access-Service", + "service-rate":"ODU2", + "service-layer":"ODU", + "resource-version":"1593324022557", + "orchestration-status":"CREATED", + "relationship-list":{ + "relationship":[ + { + "related-to":"service-instance", + "relationship-label":"org.onap.relationships.inventory.ComposedOf", + "related-link":"/aai/v19/business/customers/customer/Orange/service-subscriptions/service-subscription/MDONS_OTN/service-instances/service-instance/789", + "relationship-data":[ + { + "relationship-key":"customer.global-customer-id", + "relationship-value":"Orange" + }, + { + "relationship-key":"service-subscription.service-type", + "relationship-value":"MDONS_OTN" + }, + { + "relationship-key":"service-instance.service-instance-id", + "relationship-value":"789" + } + ], + "related-to-property":[ + { + "property-key":"service-instance.service-instance-name", + "property-value":"domain-service" + } + ] + }, + { + "related-to":"logical-link", + "relationship-label":"org.onap.relationships.inventory.ComposedOf", + "related-link":"/aai/v19/network/logical-links/logical-link/link1", + "relationship-data":[ + { + "relationship-key":"logical-link.link-name", + "relationship-value":"link1" + } + ] + } + ] + } + }, + "pnf-depth-all":{ + "pnf-name":"test1", + "resource-version":"1593337809133", + "operational-status":"down", + "p-interfaces":{ + "p-interface":[ + { + "interface-name":"int1", + "in-maint":false, + "resource-version":"159333780998", + "relationship-list":{ + "relationship":[ + { + "related-to":"service-instance", + "relationship-label":"org.onap.relationships.inventory.ComposedOf", + "related-link":"/aai/v19/business/customers/customer/Orange/service-subscriptions/service-subscription/MDONS_OTN/service-instances/service-instance/789", + "relationship-data":[ + { + "relationship-key":"customer.global-customer-id", + "relationship-value":"Orange" + }, + { + "relationship-key":"service-subscription.service-type", + "relationship-value":"MDONS_OTN" + }, + { + "relationship-key":"service-instance.service-instance-id", + "relationship-value":"789" + } + ], + "related-to-property":[ + { + "property-key":"service-instance.service-instance-name", + "property-value":"domain-service" + } + ] + } + ] + } + }, + { + "interface-name":"int2", + "in-maint":false, + "resource-version":"1593337809136" + } + ] + } + }, + "get-inter-link":{ + "link-name":"link1", + "in-maint":false, + "link-type":"inter-domain", + "available-capacity":"ODU2", + "resource-version":"1584338211407", + "operational-status":"up" + } +} |