diff options
Diffstat (limited to 'plugins/aai/src/test/resources/onap-cli-sample')
2 files changed, 34 insertions, 0 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-moco.json b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-moco.json new file mode 100644 index 00000000..223ebd26 --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-moco.json @@ -0,0 +1,24 @@ +[ { + "request" : { + "method" : "put", + "uri" : "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/huawei-cloud/bangalore", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "X-TransactionId" : "req-63eebfa7-ebdb-4707-9208-a159d2f53c6e", + "Content-Type" : "application/json" + }, + "json" : { + "sriov-automation" : false, + "cloud-region-id" : "bangalore", + "cloud-owner" : "huawei-cloud", + "new-attribute-for-demo" : "blah", + "number-attribute-for-demo" : 1 + } + }, + "response" : { + "status" : 201, + "json" : null + } +} ]
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml new file mode 100644 index 00000000..ad3a521e --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml @@ -0,0 +1,10 @@ +onap_cli_sample_version: 1.0 +name: cloud-create +version: onap-1.1 +samples: + sample1: + name: cloud-create + input: --cloud-name huawei-cloud --region-name bangalore + moco: cloud-create-schema-1.1-moco.json + ouput: | + |