diff options
author | 2017-12-06 13:09:45 +0530 | |
---|---|---|
committer | 2017-12-06 13:09:45 +0530 | |
commit | b69ed9bc0ad7cdedee57df63e94d3767ccd173b7 (patch) | |
tree | f6f8e4dd4f5b30aa138d44bc4664bedb02ac9d04 /plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type | |
parent | 271cc28e5ad26cdc72db5b3b837545e717c6f225 (diff) |
Rename product names to use amsterdam
Issue-ID: CLI-66
Change-Id: Ief9c03adec45f037baea82d344addb1c6b538bd9
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type')
6 files changed, 125 insertions, 0 deletions
diff --git a/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-schema-1.1-moco.json b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-schema-1.1-moco.json new file mode 100644 index 00000000..d41ec6e3 --- /dev/null +++ b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-schema-1.1-moco.json @@ -0,0 +1,21 @@ +[ { + "request" : { + "method" : "put", + "uri" : "/aai/v11/service-design-and-creation/services/service/de1fa33f-f676-42e5-b79a-a39825c19b1d", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "X-TransactionId" : "req-db81a881-11a9-4eca-9611-e0abdfa81597", + "Content-Type" : "application/json" + }, + "json" : { + "service-description" : "test", + "service-id" : "de1fa33f-f676-42e5-b79a-a39825c19b1d" + } + }, + "response" : { + "status" : 201, + "json" : null + } +} ]
\ No newline at end of file diff --git a/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-schema-1.1-sample.yaml b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-schema-1.1-sample.yaml new file mode 100644 index 00000000..33cb278a --- /dev/null +++ b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-create-schema-1.1-sample.yaml @@ -0,0 +1,9 @@ +open_cli_sample_version: 1.0 +name: service-type-create +version: onap-amsterdam +samples: + sample1: + name: service-type-create + input: --service-type test + moco: service-type-create-schema-1.1-moco.json + output: diff --git a/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-schema-1.1-moco.json b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-schema-1.1-moco.json new file mode 100644 index 00000000..682d32f1 --- /dev/null +++ b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-schema-1.1-moco.json @@ -0,0 +1,18 @@ +[ { + "request" : { + "method" : "delete", + "uri" : "/aai/v11/service-design-and-creation/services/service/de1fa33f-f676-42e5-b79a-a39825c19b1d", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "X-TransactionId" : "req-41247f9a-4124-4b09-b7e1-045a74e610fb", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 204, + "json" : null + } +} ]
\ No newline at end of file diff --git a/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml new file mode 100644 index 00000000..a95f289d --- /dev/null +++ b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml @@ -0,0 +1,9 @@ +open_cli_sample_version: 1.0 +name: service-type-delete +version: onap-amsterdam +samples: + sample1: + name: service-type-delete + input: --service-type-id de1fa33f-f676-42e5-b79a-a39825c19b1d --resource-version 1509029708094 + moco: service-type-delete-schema-1.1-moco.json + output: diff --git a/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-schema-1.1-moco.json b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-schema-1.1-moco.json new file mode 100644 index 00000000..337d445e --- /dev/null +++ b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-schema-1.1-moco.json @@ -0,0 +1,44 @@ +[ { + "request" : { + "method" : "get", + "uri" : "/aai/v11/service-design-and-creation/services", + "headers" : { + "Authorization" : "Basic QUFJOkFBSQ==", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "X-TransactionId" : "req-aded3320-855c-46f6-8c28-1a14413c0585", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 200, + "json" : { + "service" : [ { + "service-id" : "2733fe6f-8725-48fa-8609-092a34106dba", + "service-description" : "vIMS", + "resource-version" : "1508827920395" + }, { + "service-id" : "bc549d9d-2335-4b07-9f03-3a85439c0bbb", + "service-description" : "vFW-kanag", + "resource-version" : "1509029699189" + }, { + "service-id" : "de1fa33f-f676-42e5-b79a-a39825c19b1d", + "service-description" : "test", + "resource-version" : "1509029708094" + }, { + "service-id" : "1482d2f2-b9e6-4421-a2f6-31959278db6f", + "service-description" : "vCPE", + "resource-version" : "1508827919819" + }, { + "service-id" : "4426c557-e012-47eb-85cc-6128fa4f55c1", + "service-description" : "vLB", + "resource-version" : "1508827918467" + }, { + "service-id" : "dd04cc4b-6283-480d-8c5a-2c7bba8497ea", + "service-description" : "vFW", + "resource-version" : "1508827917148" + } ] + } + } +} ]
\ No newline at end of file diff --git a/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-schema-1.1-sample.yaml b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-schema-1.1-sample.yaml new file mode 100644 index 00000000..59affec0 --- /dev/null +++ b/plugins/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/service-type/service-type-list-schema-1.1-sample.yaml @@ -0,0 +1,24 @@ +open_cli_sample_version: 1.0 +name: service-type-list +version: onap-amsterdam +samples: + sample1: + name: service-type-list + input: + moco: service-type-list-schema-1.1-moco.json + output: | + +--------------------------------------+--------------+------------------+ + |service-type-id |service-type |resource-version | + +--------------------------------------+--------------+------------------+ + |2733fe6f-8725-48fa-8609-092a34106dba |vIMS |1508827920395 | + +--------------------------------------+--------------+------------------+ + |bc549d9d-2335-4b07-9f03-3a85439c0bbb |vFW-kanag |1509029699189 | + +--------------------------------------+--------------+------------------+ + |de1fa33f-f676-42e5-b79a-a39825c19b1d |test |1509029708094 | + +--------------------------------------+--------------+------------------+ + |1482d2f2-b9e6-4421-a2f6-31959278db6f |vCPE |1508827919819 | + +--------------------------------------+--------------+------------------+ + |4426c557-e012-47eb-85cc-6128fa4f55c1 |vLB |1508827918467 | + +--------------------------------------+--------------+------------------+ + |dd04cc4b-6283-480d-8c5a-2c7bba8497ea |vFW |1508827917148 | + +--------------------------------------+--------------+------------------+ |