diff options
Diffstat (limited to 'products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample')
4 files changed, 74 insertions, 0 deletions
diff --git a/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-cloud-delete-schema-moco.json b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-cloud-delete-schema-moco.json new file mode 100644 index 00000000..1f0c3103 --- /dev/null +++ b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-cloud-delete-schema-moco.json @@ -0,0 +1,15 @@ +[ { + "request" : { + "method" : "delete", + "uri" : "/api/multicloud-titaniumcloud/v0/CloudOwner_ONAP-POD-01-Rail-07", + "headers" : { + "Accept" : "application/json", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 204, + "json" : null + } +} ]
\ No newline at end of file diff --git a/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-cloud-delete-schema-sample.yaml b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-cloud-delete-schema-sample.yaml new file mode 100644 index 00000000..53d11ef5 --- /dev/null +++ b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-cloud-delete-schema-sample.yaml @@ -0,0 +1,22 @@ +# 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: multicloud-cloud-delete +version: onap-dublin +samples: + sample1: + name: multicloud-cloud-delete + input: -y CloudOwner -x ONAP-POD-01-Rail-07 + moco: multicloud-cloud-delete-schema-moco.json + output:
\ No newline at end of file diff --git a/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-register-cloud-schema-moco.json b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-register-cloud-schema-moco.json new file mode 100644 index 00000000..028a5fcd --- /dev/null +++ b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-register-cloud-schema-moco.json @@ -0,0 +1,15 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/api/multicloud/v0/CloudOwner_ONAP-POD-01-Rail-07/registry", + "headers" : { + "Accept" : "application/json", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 202, + "json" : null + } +} ]
\ No newline at end of file diff --git a/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-register-cloud-schema-sample.yaml b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-register-cloud-schema-sample.yaml new file mode 100644 index 00000000..3193567d --- /dev/null +++ b/products/onap-dublin/features/multicloud/src/main/resources/open-cli-sample/multicloud-register-cloud-schema-sample.yaml @@ -0,0 +1,22 @@ +# 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: multicloud-register-cloud +version: onap-dublin +samples: + sample1: + name: multicloud-register-cloud + input: -y CloudOwner -x ONAP-POD-01-Rail-07 + moco: multicloud-register-cloud-schema-moco.json + output:
\ No newline at end of file |