From 6376c359b137d9e5490b3fd1fa59cba7610c0e7f Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Thu, 29 Aug 2019 16:32:32 +0530 Subject: subscription delete Change-Id: I4ebba47cf60e16568b08f4236b7dba93f2d571a5 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 --- .../subscription-delete-schema-dublin-moco.json | 4 +-- .../subscription-delete-schema-dublin-sample.yaml | 32 +++++++--------------- 2 files changed, 12 insertions(+), 24 deletions(-) (limited to 'products/onap-dublin/features/aai/src') diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json index 3339c580..19a68782 100644 --- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json @@ -1,12 +1,12 @@ [ { "request" : { "method" : "delete", - "uri" : "/aai/v13/business/customers/customer/hpa_cust/service-subscriptions/service-subscription/test-service", + "uri" : "/aai/v13/business/customers/customer/ovp/service-subscriptions/service-subscription/tosca_vnf_validation", "headers" : { "Authorization" : "Basic QUFJOkFBSQ==", "X-FromAppId" : "ONAP CLI", "Accept" : "application/json", - "X-TransactionId" : "req-3a02dc1d-19b5-45d9-a34e-6d08a8b20a10", + "X-TransactionId" : "req-72799430-1922-4872-90cf-43233725a595", "Content-Type" : "application/json" }, "json" : null diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml index f68f46bd..90dd645b 100644 --- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml +++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-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: subscription-delete - version: onap-dublin - samples: - sample1: - name: subscription-delete - input: -x hpa_cust -y test-service -g 1552436359631 - moco: subscription-delete-schema-dublin-moco.json - output: \ No newline at end of file +open_cli_sample_version: 1.0 +name: subscription-delete +version: onap-dublin +samples: + sample1: + name: subscription-delete + input: --format json --customer-name ovp --service-type tosca_vnf_validation --resource-version 1567068689784 + moco: subscription-delete-schema-dublin-moco.json + output: | + [{}] -- cgit 1.2.3-korg