diff options
Diffstat (limited to 'plugins/aai')
3 files changed, 51 insertions, 8 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-sample-1.1.yaml deleted file mode 100644 index 2856ba62..00000000 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-sample-1.1.yaml +++ /dev/null @@ -1,8 +0,0 @@ -onap_cli_sample_version: 1.0 - -name: ems-register -version: onap-1.1 -samples: - sample1: - name: Create a ems - input: -z f962fa1e-d439-4b02-a122-cc38fd0da07c -b ems-1 -c OpenStack -e HW -q 1.0 -g http://locahost -i user -j password -x remote-path -d diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-moco.json b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-moco.json new file mode 100644 index 00000000..d14653f6 --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-moco.json @@ -0,0 +1,42 @@ +[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v11/external-system/esr-ems-list/esr-ems/51a480ed-649c-4c47-a84b-f966dc4f9554",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-8552f11b-5e79-4d98-9e05-ccc4e66c42c0",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "ems-id" : "51a480ed-649c-4c47-a84b-f966dc4f9554",
+ "passive" : true,
+ "remote-path" : "sample",
+ "esr-system-info-list" : {
+ "esr-system-info" : [ {
+ "esr-system-info-id" : "51a480ed-649c-4c47-a84b-f966dc4f9554",
+ "system-name" : "ems1",
+ "type" : "ems",
+ "vendor" : "boco",
+ "version" : "1.0",
+ "service-url" : "http://10.0.0.1",
+ "user-name" : "admin",
+ "password" : "password",
+ "system-type" : "ems",
+ "protocal" : "",
+ "ssl-cacert" : "",
+ "ssl-insecure" : "",
+ "ip-address" : "",
+ "port" : "",
+ "cloud-domain" : "",
+ "default-tenant" : ""
+ } ]
+ }
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ]
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-sample.yaml new file mode 100644 index 00000000..f0306caf --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-create-schema-1.1-sample.yaml @@ -0,0 +1,9 @@ +onap_cli_sample_version: 1.0 +name: ems-register +version: onap-1.1 +samples: + sample1: + name: ems-register + input: --name ems1 --type ems --vendor boco --ems-version 1.0 --url http://10.0.0.1 --username admin --password password --remote-path sample + moco: ems-create-schema-1.1-moco.json + ouput:
\ No newline at end of file |