diff options
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra')
2 files changed, 39 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-list-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-list-schema-casablanca-moco.json new file mode 100644 index 00000000..c539ac40 --- /dev/null +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-list-schema-casablanca-moco.json @@ -0,0 +1,25 @@ +[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/aai/v13/cloud-infrastructure/cloud-regions",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-8465f051-c389-40ff-9a5c-8c7e1ac01b7c",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "cloud-region" : [ {
+ "cloud-owner" : "huawei-cloud",
+ "cloud-region-id" : "bangalore",
+ "sriov-automation" : "false",
+ "resource-version" : "1538643783460"
+ } ]
+ }
+ }
+} ]
\ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-list-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-list-schema-casablanca-sample.yaml new file mode 100644 index 00000000..6896428d --- /dev/null +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-list-schema-casablanca-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 +name: cloud-list +version: onap-casablanca +samples: + sample1: + name: cloud-list + input: + moco: cloud-list-schema-casablanca-moco.json + output: | + +--------------+------------+------------------+ + |cloud |region |resource-version | + +--------------+------------+------------------+ + |huawei-cloud |bangalore |1538643783460 | + +--------------+------------+------------------+ |