From b5090c9d0808ffc44281ca250ef528d79030dce8 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 30 Aug 2017 17:20:36 +0530 Subject: Consider missing attributes as blank sometime the response does not have the required filed to process and consider it as blank instead of failing it CLI-37 Change-Id: I953fcd5ee92aac5ca926029462f15f45ba765dfc Signed-off-by: Kanagaraj Manickam k00365106 --- .../cloud-region/cloud-list-sample-1.1.yaml | 16 ++++++++++++++++ .../onap-cli-sample/cloud-region/cloud-list-sample.yaml | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample-1.1.yaml delete mode 100644 plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample.yaml (limited to 'plugins/aai/src/test/resources/onap-cli-sample') diff --git a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample-1.1.yaml new file mode 100644 index 00000000..95ea4112 --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample-1.1.yaml @@ -0,0 +1,16 @@ +onap_cli_sample_version: 1.0 + +name: cloud-list +version: onap-1.0 +samples: + sample1: + name: List the configured clouds in onap + input: -h https://locahost:8443 -u AAI -p AAI --long + output: | + =============================================================================================== + |cloud | region | tenant | tenant-id | customer| service| + =============================================================================================== + |OpenStack | RegionOne | ONAP | 3385e44e-b3bf-4fb8-a83e-4a4097cf8978 | mrkanag | vFW | + ----------------------------------------------------------------------------------------------- + |OpenStack | RegionTwo | ONAP-2 | 89386e6e-a16b-4091-add7-3119064f8058 | mrkanag | vLB | + =============================================================================================== \ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample.yaml deleted file mode 100644 index 95ea4112..00000000 --- a/plugins/aai/src/test/resources/onap-cli-sample/cloud-region/cloud-list-sample.yaml +++ /dev/null @@ -1,16 +0,0 @@ -onap_cli_sample_version: 1.0 - -name: cloud-list -version: onap-1.0 -samples: - sample1: - name: List the configured clouds in onap - input: -h https://locahost:8443 -u AAI -p AAI --long - output: | - =============================================================================================== - |cloud | region | tenant | tenant-id | customer| service| - =============================================================================================== - |OpenStack | RegionOne | ONAP | 3385e44e-b3bf-4fb8-a83e-4a4097cf8978 | mrkanag | vFW | - ----------------------------------------------------------------------------------------------- - |OpenStack | RegionTwo | ONAP-2 | 89386e6e-a16b-4091-add7-3119064f8058 | mrkanag | vLB | - =============================================================================================== \ No newline at end of file -- cgit 1.2.3-korg