diff options
Diffstat (limited to 'plugins/aai')
3 files changed, 27 insertions, 9 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-sample-1.1.yaml deleted file mode 100644 index 46626a29..00000000 --- a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-sample-1.1.yaml +++ /dev/null @@ -1,9 +0,0 @@ -onap_cli_sample_version: 1.0 - -name: service-type-delete -version: onap-1.1 -samples: - sample1: - name: Delete the service type - input: -h https://locahost:8443 -u AAI -p AAI -x 26ab7af6-96cc-4c4e-814a-e533af4ef9f6 -y 1504086172338 - diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-moco.json b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-moco.json new file mode 100644 index 00000000..961e3a90 --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-moco.json @@ -0,0 +1,18 @@ +[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v11/service-design-and-creation/services/service/de1fa33f-f676-42e5-b79a-a39825c19b1d",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-41247f9a-4124-4b09-b7e1-045a74e610fb",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 204,
+ "json" : null
+ }
+} ]
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml new file mode 100644 index 00000000..1d4bb8fc --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/service-type/service-type-delete-schema-1.1-sample.yaml @@ -0,0 +1,9 @@ +onap_cli_sample_version: 1.0 +name: service-type-delete +version: onap-1.1 +samples: + sample1: + name: service-type-delete + input: --service-type-id de1fa33f-f676-42e5-b79a-a39825c19b1d --resource-version 1509029708094 + moco: service-type-delete-schema-1.1-moco.json + ouput: |