location create samples 74/94574/1
authorKanagaraj Manickam <mkr1481@gmail.com>
Thu, 29 Aug 2019 11:30:19 +0000 (17:00 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Thu, 29 Aug 2019 11:30:19 +0000 (17:00 +0530)
Change-Id: I72949705e5dd04f98550842278d24be673a7da9d
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-create-schema-dublin-moco.json
products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-dublin-sample.yaml

index 350a02e..3b4a94f 100644 (file)
@@ -1,31 +1,31 @@
 [ {
   "request" : {
     "method" : "put",
-    "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-f84bd111-614f-4f6e-9bea-f076a8b63810",
+      "X-TransactionId" : "req-230ff595-12b3-480a-86c4-f5e3b1f8d5b0",
       "Content-Type" : "application/json"
     },
     "json" : {
-      "physical-location-id" : "clli3",
-      "data-center-code" : "code6",
-      "complex-name" : "clli3",
-      "identity-url" : "url",
+      "physical-location-id" : "ocomp-region",
+      "data-center-code" : "ocomp",
+      "complex-name" : "ocomp-region",
+      "identity-url" : "http://10.12.11.1:5000/v3",
       "physical-location-type" : "phy_type",
-      "street1" : "street1",
-      "street2" : "street2",
-      "city" : "HIlls",
-      "state" : "CA",
-      "postal-code" : "88888",
-      "country" : "usa",
-      "region" : "region_val",
-      "latitude" : "10.2",
-      "longitude" : "30.8",
-      "elevation" : "elev",
-      "lata" : "lata"
+      "street1" : "ocomp-street1",
+      "street2" : "ocomp-street2",
+      "city" : "ocomp-city",
+      "state" : "ocomp-state",
+      "postal-code" : "001481",
+      "country" : "abc",
+      "region" : "onap",
+      "latitude" : "1.0",
+      "longitude" : "1.0",
+      "elevation" : "ocomp-elelation",
+      "lata" : "ocomp-lata"
     }
   },
   "response" : {
index 044d5f6..c748579 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-create
-        version: onap-dublin
-        samples:
-          sample1:
-            name: complex-create
-            input: -j street2 -r phy_type -x clli3 -y code6 -lt 10.2 -l region_val -i street1 -lo 30.8 -S CA -la lata -g HIlls -w 88888 -z clli3 -k usa -o elev -q url
-            moco: complex-create-schema-dublin-moco.json
-            output:
\ No newline at end of file
+open_cli_sample_version: 1.0
+name: complex-create
+version: onap-dublin
+samples:
+  sample1:
+    name: complex-create
+    input: --format json --city ocomp-city --data-center-code ocomp --street1 ocomp-street1 --street2 ocomp-street2 --physical-location-id ocomp-region --identity-url http://10.12.11.1:5000/v3 --lata ocomp-lata --elevation ocomp-elelation --state ocomp-state --physical-location-type phy_type --longitude 1.0 --country abc --latitude 1.0 --complex-name ocomp-region --postal-code 001481 --region onap
+    moco: complex-create-schema-dublin-moco.json
+    output: |
+      [{}]