aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:43:03 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:43:03 +0530
commit5d673cd489a857c9dbe754de1b83d68a4735c4b0 (patch)
tree2155062e233e6baa3f14febaa3567dcb967bb741 /products/onap-dublin
parentc818bfc48eee1b236bd1f79e2ecd882ec4f0702c (diff)
complex-associate update
Change-Id: Idebf54aa8fd7deee104cb957994f7cf1be69577a Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-dublin')
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-moco.json8
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-sample.yaml32
2 files changed, 14 insertions, 26 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-moco.json
index 33d6378d..5f27706e 100644
--- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-moco.json
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-moco.json
@@ -1,20 +1,20 @@
[ {
"request" : {
"method" : "put",
- "uri" : "/aai/v14//aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-07/relationship-list/relationship",
+ "uri" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/OCOMP/RegionOVP/relationship-list/relationship",
"headers" : {
"Authorization" : "Basic QUFJOkFBSQ==",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
- "X-TransactionId" : "req-743a8d74-cb83-458b-ace3-05b10a169c0f",
+ "X-TransactionId" : "req-49188d12-6a2d-4e85-90db-c004e4d542b5",
"Content-Type" : "application/json"
},
"json" : {
"related-to" : "complex",
- "related-link" : "/aai/v11/cloud-infrastructure/complexes/complex/clli3",
+ "related-link" : "/aai/v11/cloud-infrastructure/complexes/complex/ocomp-region",
"relationship-data" : [ {
"relationship-key" : "complex.physical-location-id",
- "relationship-value" : "clli3"
+ "relationship-value" : "ocomp-region"
} ]
}
},
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-sample.yaml
index d8f02401..7041668a 100644
--- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-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-associate
- version: onap-dublin
- samples:
- sample1:
- name: complex-associate
- input: -x clli3 -y ONAP-POD-01-Rail-07 -z CloudOwner
- moco: complex-associate-schema-dublin-moco.json
- output: \ No newline at end of file
+open_cli_sample_version: 1.0
+name: complex-associate
+version: onap-dublin
+samples:
+ sample1:
+ name: complex-associate
+ input: --format json --cloud-region RegionOVP --cloud-owner OCOMP --complex-name ocomp-region
+ moco: complex-associate-schema-dublin-moco.json
+ output: |
+ [{}]