diff options
Diffstat (limited to 'products/onap-dublin/features/aai/src/main/resources/open-cli-sample')
2 files changed, 45 insertions, 0 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-cloud-delete-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-cloud-delete-schema-dublin-moco.json new file mode 100644 index 00000000..1d19da79 --- /dev/null +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-cloud-delete-schema-dublin-moco.json @@ -0,0 +1,36 @@ +[ { + "request" : { + "method" : "delete", + "uri" : "/aai/v14/business/customers/customer/hpa_cust/service-subscriptions/service-subscription/vfwhpa_test/relationship-list/relationship", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "X-TransactionId" : "req-0bd900db-a552-476d-87d7-634e1ea6b34b", + "Content-Type" : "application/json" + }, + "json" : { + "related-to" : "tenant", + "relationship-label" : "org.onap.relationships.inventory.Uses", + "related-link" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0", + "relationship-data" : [ { + "relationship-key" : "cloud-region.cloud-owner", + "relationship-value" : "CloudOwner" + }, { + "relationship-key" : "cloud-region.cloud-region-id", + "relationship-value" : "ONAP-POD-01-Rail-06" + }, { + "relationship-key" : "tenant.tenant-id", + "relationship-value" : "709ba629fe194f8699b12f9d6ffd86a0" + } ], + "related-to-property" : [ { + "property-key" : "tenant.tenant-name", + "property-value" : "Integration-HPA" + } ] + } + }, + "response" : { + "status" : 204, + "json" : null + } +} ]
\ No newline at end of file diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-cloud-delete-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-cloud-delete-schema-dublin-sample.yaml new file mode 100644 index 00000000..f8d4327c --- /dev/null +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-cloud-delete-schema-dublin-sample.yaml @@ -0,0 +1,9 @@ +open_cli_sample_version: 1.0 +name: -x +version: onap-dublin +samples: + sample1: + name: -x + input: hpa_cust -c 709ba629fe194f8699b12f9d6ffd86a0 -z CloudOwner -e vfwhpa_test -y Integration-HPA -r ONAP-POD-01-Rail-06 -u AAI -p AAI -m https://10.12.6.67:30233 --debug + moco: subscription-cloud-delete-schema-dublin-moco.json + output:
\ No newline at end of file |