complex-associate update 27/94527/1
authorKanagaraj Manickam <mkr1481@gmail.com>
Thu, 29 Aug 2019 11:13:03 +0000 (16:43 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Thu, 29 Aug 2019 11:13:03 +0000 (16:43 +0530)
Change-Id: Idebf54aa8fd7deee104cb957994f7cf1be69577a
Issue-ID: CLI-166
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-moco.json
products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-dublin-sample.yaml

index 33d6378..5f27706 100644 (file)
@@ -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"
       } ]
     }
   },
index d8f0240..7041668 100644 (file)
@@ -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: |
+      [{}]