diff options
author | 2019-08-29 16:43:05 +0530 | |
---|---|---|
committer | 2019-08-29 16:43:05 +0530 | |
commit | a866260dc004b2d27edcb0abe48de47db98dce1a (patch) | |
tree | b8e2c4b125229e9d86cc9b930aab1517afb4b3f4 /products/onap-dublin/features/aai/src/main/resources/open-cli-sample | |
parent | 5d673cd489a857c9dbe754de1b83d68a4735c4b0 (diff) |
complex-disassociate update
Change-Id: I84c3080d55970aef6ccc9a5e206e9d92b5691dc6
Issue-ID: CLI-166
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-dublin/features/aai/src/main/resources/open-cli-sample')
2 files changed, 35 insertions, 0 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-disassociate-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-disassociate-schema-dublin-moco.json new file mode 100644 index 00000000..5f102ff1 --- /dev/null +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-disassociate-schema-dublin-moco.json @@ -0,0 +1,25 @@ +[ { + "request" : { + "method" : "delete", + "uri" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/OCOMP/RegionOVP/relationship-list/relationship", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "X-TransactionId" : "req-26265a69-7c6c-4315-bddb-0e9548880b15", + "Content-Type" : "application/json" + }, + "json" : { + "related-to" : "complex", + "related-link" : "/aai/v11/cloud-infrastructure/complexes/complex/ocomp-region", + "relationship-data" : [ { + "relationship-key" : "complex.physical-location-id", + "relationship-value" : "ocomp-region" + } ] + } + }, + "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/infra/complex/complex-disassociate-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-disassociate-schema-dublin-sample.yaml new file mode 100644 index 00000000..3bb86584 --- /dev/null +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-disassociate-schema-dublin-sample.yaml @@ -0,0 +1,10 @@ +open_cli_sample_version: 1.0 +name: complex-disassociate +version: onap-dublin +samples: + sample1: + name: complex-disassociate + input: --format json --complex-name ocomp-region --cloud-owner OCOMP --cloud-region RegionOVP + moco: complex-disassociate-schema-dublin-moco.json + output: | + [{}] |