diff options
author | Kanagaraj Manickam <mkr1481@gmail.com> | 2019-08-29 16:43:07 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-08-29 16:43:07 +0530 |
commit | f07b3c64578ed7c9a7d74ef5fce72c6d7b79ff8c (patch) | |
tree | 0873059e3fc51424e04b3d8e2791c3496bc454ba | |
parent | a866260dc004b2d27edcb0abe48de47db98dce1a (diff) |
complex-delete update
Change-Id: I8975e4f85e385b1bdb51fcb4ee4f7ee17b84a4e2
Issue-ID: CLI-166
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2 files changed, 12 insertions, 24 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-moco.json index f8b238b3..ccf4446e 100644 --- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-moco.json +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-moco.json @@ -1,12 +1,12 @@ [ { "request" : { "method" : "delete", - "uri" : "/aai/v14//aai/v14/cloud-infrastructure/complexes/complex/clli3", + "uri" : "/aai/v14/cloud-infrastructure/complexes/complex/ocomp-region", "headers" : { "Authorization" : "Basic QUFJOkFBSQ==", "X-FromAppId" : "ONAP CLI", "Accept" : "application/json", - "X-TransactionId" : "req-26090fb4-0d07-4272-bced-b14574420451", + "X-TransactionId" : "req-b1e0cf51-157c-40f5-a966-157ba2c88655", "Content-Type" : "application/json" }, "json" : null diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-sample.yaml index 7ba3c306..516d27c3 100644 --- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-sample.yaml +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-delete-schema-dublin-sample.yaml @@ -1,22 +1,10 @@ -# Copyright © Intel Corporation 2019 -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - open_cli_sample_version: 1.0 - name: complex-delete - version: onap-dublin - samples: - sample1: - name: complex-delete - input: -x clli3 -y 1550771530582 - moco: complex-delete-schema-dublin-moco.json - output:
\ No newline at end of file +open_cli_sample_version: 1.0 +name: complex-delete +version: onap-dublin +samples: + sample1: + name: complex-delete + input: --format json --complex-name ocomp-region --resource-version 1567068618154 + moco: complex-delete-schema-dublin-moco.json + output: | + [{}] |