From f07b3c64578ed7c9a7d74ef5fce72c6d7b79ff8c Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Thu, 29 Aug 2019 16:43:07 +0530 Subject: complex-delete update Change-Id: I8975e4f85e385b1bdb51fcb4ee4f7ee17b84a4e2 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 --- .../complex/complex-delete-schema-dublin-moco.json | 4 +-- .../complex-delete-schema-dublin-sample.yaml | 32 +++++++--------------- 2 files changed, 12 insertions(+), 24 deletions(-) (limited to 'products/onap-dublin') 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: | + [{}] -- cgit 1.2.3-korg