summaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex')
-rw-r--r--products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-moco.json25
-rw-r--r--products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-sample.yaml9
-rw-r--r--products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-moco.json35
-rw-r--r--products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-sample.yaml9
4 files changed, 78 insertions, 0 deletions
diff --git a/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-moco.json b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-moco.json
new file mode 100644
index 00000000..c125b1d4
--- /dev/null
+++ b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-moco.json
@@ -0,0 +1,25 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-04/relationship-list/relationship",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-7286b4b1-5a57-4934-9776-d436d9f6f5aa",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "related-to" : "complex",
+ "related-link" : "/aai/v16/cloud-infrastructure/complexes/complex/clli1",
+ "relationship-data" : [ {
+ "relationship-key" : "complex.physical-location-id",
+ "relationship-value" : "clli1"
+ } ]
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : null
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-sample.yaml b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-sample.yaml
new file mode 100644
index 00000000..614540ed
--- /dev/null
+++ b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-associate-schema-elalto-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: complex-associate
+version: onap-elalto
+samples:
+ sample1:
+ name: complex-associate
+ input: -x clli1 -y ONAP-POD-01-Rail-04 -z CloudOwner -m https://10.12.5.110:30233 -u AAI -p AAI
+ moco: complex-associate-schema-elalto-moco.json
+ output: \ No newline at end of file
diff --git a/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-moco.json b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-moco.json
new file mode 100644
index 00000000..eb884e77
--- /dev/null
+++ b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-moco.json
@@ -0,0 +1,35 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v16/cloud-infrastructure/complexes/complex/clli1",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-21cb3e86-0e0b-4d31-b027-aa43935109e6",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "physical-location-id" : "clli1",
+ "data-center-code" : "code1",
+ "complex-name" : "clli1",
+ "identity-url" : "example-identity-url-val-56898",
+ "physical-location-type" : "phy_type",
+ "street1" : "street1",
+ "street2" : "street2",
+ "city" : "hillsboro",
+ "state" : "oregon",
+ "postal-code" : "00000",
+ "country" : "USA",
+ "region" : "northwest",
+ "latitude" : "32.89948",
+ "longitude" : "97.045443",
+ "elevation" : "example-elevation-val-28399",
+ "lata" : "example-lata-val-28399"
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-sample.yaml b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-sample.yaml
new file mode 100644
index 00000000..c7dd428a
--- /dev/null
+++ b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-create-schema-elalto-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: complex-create
+version: onap-elalto
+samples:
+ sample1:
+ name: complex-create
+ input: -j street2 -r phy_type -x clli1 -y code1 -lt 32.89948 -l northwest -i street1 -lo 97.045443 -S oregon -la example-lata-val-28399 -g hillsboro -w 00000 -z clli1 -k USA -o example-elevation-val-28399 -q example-identity-url-val-56898 -m https://10.12.5.110:30233 -u AAI -p AAI
+ moco: complex-create-schema-elalto-moco.json
+ output: \ No newline at end of file