summaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/sdc
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-elalto/features/sdc')
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-create-schema-elalto.yaml70
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-show-schema-elalto.yaml66
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml50
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml72
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml81
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-approve-schema-elalto.yaml50
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-archive-schema-elalto.yaml45
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkin-schema-elalto.yaml67
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkout-schema-elalto.yaml58
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-elalto.yaml125
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-distribute-schema-elalto.yaml44
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-elalto.yaml80
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-set-property.yaml73
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-elalto.yaml68
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-elalto.yaml50
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-elalto.yaml50
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-start-schema-elalto.yaml44
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-elalto.yaml44
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-elalto.yaml73
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml72
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-archive-schema-elalto.yaml44
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml69
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml68
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml59
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml89
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml84
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-elalto.yaml70
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-archive-schema-elalto.yaml45
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-elalto.yaml63
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-delete-schema-elalto.yaml51
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-entitlement-pool-create-schema-elalto.yaml83
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-feature-group-create-schema-elalto.yaml83
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-key-group-create-schema-elalto.yaml72
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-list-schema-elalto.yaml46
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-elalto.yaml50
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-elalto.yaml54
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-archive-schema-elalto.yaml45
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-commit-schema-elalto.yaml56
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-elalto.yaml117
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema-elalto.yaml73
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-elalto.yaml51
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-elalto.yaml49
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-validate-schema-elalto.yaml65
43 files changed, 2768 insertions, 0 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-create-schema-elalto.yaml
new file mode 100644
index 00000000..7300f18b
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-create-schema-elalto.yaml
@@ -0,0 +1,70 @@
+# Copyright 2019 Huawei Technologies Co., Ltd.
+#
+# 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_schema_version: 1.0
+name: sdc-consumer-create
+description: Create SDC consumer
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: consumer-name
+ description: Consumer Name
+ type: string
+ short_option: x
+ long_option: consumer-name
+ is_optional: false
+ - name: consumer-password
+ description: Consumer password
+ type: string
+ short_option: y
+ long_option: consumer-password
+ is_optional: true
+ default_value: 7fa005e6e478ee677053a2c4a5c2f11190e2aa8be227a037291ea4cbc074ecb6
+ - name: salt
+ description: Salt
+ type: string
+ long_option: salt
+ short_option: c
+ is_optional: true
+ default_value: ab2987754f0c6293174865e86c47035d
+ - name: user-id
+ description: Designer user id
+ type: string
+ long_option: user-id
+ short_option: e
+ default_value: jh0003
+ is_optional: true
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: none
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/consumers
+ method: POST
+ headers:
+ USER_ID: ${user-id}
+ body: '{
+ "consumerName": "${consumer-name}",
+ "consumerSalt": "${salt}",
+ "consumerPassword": "${consumer-password}"
+ }'
+ success_codes:
+ - 200
+ - 201
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-show-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-show-schema-elalto.yaml
new file mode 100644
index 00000000..59c0a700
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/consumer/sdc-consumer-show-schema-elalto.yaml
@@ -0,0 +1,66 @@
+# Copyright 2019 Huawei Technologies Co., Ltd.
+#
+# 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_schema_version: 1.0
+name: sdc-consumer-show
+description: Retrieve SDC consumer
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: consumer-name
+ description: Consumer Name
+ type: string
+ short_option: x
+ long_option: consumer-name
+ is_optional: false
+ - name: user-id
+ description: Designer user id
+ type: string
+ long_option: user-id
+ short_option: e
+ default_value: jh0003
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: consumer-password
+ description: Consumer password
+ type: string
+ scope: short
+ - name: salt
+ description: Salt
+ type: string
+ scope: short
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: none
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/consumers/${consumer-name}
+ method: GET
+ headers:
+ USER_ID: ${user-id}
+ success_codes:
+ - 200
+ - 201
+ result_map:
+ consumer-password: $b{$.consumerPassword}
+ salt: $b{$.consumerSalt} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml
new file mode 100644
index 00000000..74e75c7a
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml
@@ -0,0 +1,50 @@
+# 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_schema_version: 1.0
+name: get-resource-module-name
+description: Get resource module name
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+results:
+ direction: landscape
+ attributes:
+ - name: vf-model-name
+ description: name of vf model in service model
+ type: string
+ scope: short
+ - name: resource-module-name
+ description: system name of vf-model
+ type: string
+ scope: short
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/followed
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ vf-model-name: $b{resources.[*].name}
+ resource-module-name: $b{resources.[*].systemName}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml
new file mode 100644
index 00000000..5bd2fad6
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml
@@ -0,0 +1,72 @@
+# Copyright 2019 Huawei Technologies Co., Ltd.
+#
+# 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_schema_version: 1.0
+name: service-model-add-artifact
+description: Add a artifact to a Service model
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service Unique Id
+ type: string
+ long_option: service-id
+ short_option: x
+ is_optional: false
+ - name: remarks
+ description: certification remarks
+ type: string
+ long_option: remarks
+ short_option: y
+ default_value: Uploaded from ONAP CLI
+ is_optional: true
+ - name: artifact
+ description: NS CSAR file
+ type: byte
+ long_option: artifact
+ short_option: z
+ is_optional: false
+ - name: artifact-name
+ description: NS CSAR name
+ type: string
+ long_option: artifact-name
+ short_option: b
+ is_optional: false
+ - name: user-id
+ description: Designer user id
+ type: string
+ long_option: user-id
+ short_option: e
+ default_value: cs0008
+ is_optional: true
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/artifacts
+ method: POST
+ headers:
+ Content-MD5: $s{md5:__body__}
+ USER_ID: ${user-id}
+ body: '{"payloadData":"${artifact}","artifactDisplayName":"${artifact-name}","artifactType":"OTHER","description":"${remarks}","artifactName":"${artifact-name}", "artifactLabel":"${artifact-name}","artifactGroupType":"INFORMATIONAL", artifactChecksum="$s{md5:artifact}"}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml
new file mode 100644
index 00000000..f7634e53
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml
@@ -0,0 +1,81 @@
+# 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_schema_version: 1.0
+name: service-model-add-vf
+description: Helps to add VF into service models in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Onap Service Name
+ type: string
+ short_option: x
+ long_option: service-id
+ is_optional: false
+ - name: vf-id
+ description: VF Unique ID
+ type: string
+ short_option: y
+ long_option: vf-id
+ is_optional: true
+ - name: vf-name
+ description: VF Name
+ type: string
+ short_option: z
+ long_option: vf-name
+ is_optional: true
+ - name: vf-version
+ description: VF version
+ type: string
+ long_option: vf-version
+ short_option: b
+ is_optional: true
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: Service ID
+ scope: short
+ type: string
+ - name: uuid
+ description: Service UUID
+ scope: short
+ type: string
+ - name: inputs
+ description: VNF Input ids
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/resourceInstance
+ method: POST
+ body: '{"name": "${vf-name}", "componentVersion": "${vf-version}", "posY": 248, "posX": 406, "uniqueId": "${service-id}-${vf-id}", "originType": "VF", "componentUid": "${vf-id}", "icon": "defaulticon"}'
+ success_codes:
+ - 201
+ result_map:
+ id: $b{$.uniqueId}
+ uuid: $b{$.componentUid}
+ inputs: $b{$.inputs.[*].uniqueId} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-approve-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-approve-schema-elalto.yaml
new file mode 100644
index 00000000..ce679293
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-approve-schema-elalto.yaml
@@ -0,0 +1,50 @@
+# 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_schema_version: 1.0
+name: service-model-approve
+description: Approves the Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model UniqueId
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: false
+ - name: remarks
+ description: approval remarks
+ type: string
+ long_option: remarks
+ short_option: r
+ is_optional: false
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/distribution-state/approve
+ method: POST
+ body: '{"userRemarks": "${remarks}"}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-archive-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-archive-schema-elalto.yaml
new file mode 100644
index 00000000..a90a649f
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-archive-schema-elalto.yaml
@@ -0,0 +1,45 @@
+# 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_schema_version: 1.0
+name: service-model-archive
+description: Archive the Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model UniqueId
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: false
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/archive
+ method: POST
+ body: '{}'
+ success_codes:
+ - 200
+ - 417 \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkin-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkin-schema-elalto.yaml
new file mode 100644
index 00000000..cdb80d9d
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkin-schema-elalto.yaml
@@ -0,0 +1,67 @@
+# 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_schema_version: 1.0
+name: service-model-checkin
+description: Checkin Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: service-id
+ description: Service model ID
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: false
+ - name: remarks
+ description: checkin remarks
+ type: string
+ long_option: remarks
+ short_option: r
+ is_optional: false
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: NS checked out version unique ID
+ scope: short
+ type: string
+ - name: uuid
+ description: NS checked out version unique ID
+ scope: short
+ type: string
+ - name: version
+ description: VF version
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/CHECKIN
+ method: POST
+ body: '{"userRemarks": "${remarks}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.uniqueId}
+ version: $b{$.version}
+ uuid: $b{$.unid} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkout-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkout-schema-elalto.yaml
new file mode 100644
index 00000000..a2148ec2
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkout-schema-elalto.yaml
@@ -0,0 +1,58 @@
+# 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_schema_version: 1.0
+name: service-model-checkout
+description: Checkout Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model ID
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: true
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: NS checked out version unique ID
+ scope: short
+ type: string
+ - name: version
+ description: VF version
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/CHECKOUT
+ method: POST
+ body: '{}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.uniqueId}
+ version: $b{$.version} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-elalto.yaml
new file mode 100644
index 00000000..9e59252a
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-elalto.yaml
@@ -0,0 +1,125 @@
+# 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_schema_version: 1.0
+name: service-model-create
+description: Create Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-name
+ description: Onap Service Name
+ type: string
+ short_option: x
+ long_option: service-name
+ is_optional: false
+ - name: description
+ description: Description for Service
+ type: string
+ short_option: y
+ long_option: description
+ is_optional: true
+ - name: project-code
+ description: Project code
+ type: string
+ long_option: project-code
+ short_option: z
+ is_optional: true
+ - name: category
+ description: Service category (options are "network l4+","network l1-3","e2e service","mobility","network service","voip call control")
+ type: string
+ short_option: b
+ long_option: category
+ is_optional: true
+ default_value: network l1-3
+ - name: category-display-name
+ description: Service category display name (Options are "Network L4+","Network L1-3","E2E Service","Network Service","Mobility","VoIP Call Control")
+ type: string
+ short_option: c
+ long_option: category-display-name
+ is_optional: true
+ default_value: Network L1-3
+ - name: icon-id
+ description: Service Icon id (options are "network_l_4","network_l_1-3"[use this icon for "Network L1-3","E2E Service","Network Service"],"mobility","call_controll")
+ type: string
+ short_option: e
+ long_option: icon-id
+ default_value: defaulticon
+ is_optional: true
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: Service ID
+ scope: short
+ type: string
+ - name: uuid
+ description: Service UUID
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services
+ method: POST
+ body: '{
+ "artifacts":{},
+ "toscaArtifacts":{},
+ "contactId":"${host-username}",
+ "categories":[{
+ "name":"${category-display-name}",
+ "normalizedName":"${category}",
+ "uniqueId":"serviceNewCategory.${category}",
+ "icons":["${icon-id}"],
+ "subcategories":null,
+ "version":null,
+ "ownerId":null,
+ "empty":false,
+ "type":null }],
+ "description":"${description}",
+ "icon":"defaulticon",
+ "componentInstancesProperties":{},
+ "componentInstancesAttributes":{},
+ "name":"${service-name}",
+ "tags":["${service-name}"],
+ "capabilities":{},
+ "requirements":{},
+ "deploymentArtifacts":{},
+ "componentType":"SERVICE",
+ "projectCode":"${project-code}",
+ "componentInstances":[],
+ "properties":[],
+ "attributes":[],
+ "forwardingPaths":{},
+ "ecompGeneratedNaming":true,
+ "serviceApiArtifacts":{},
+ "instantiationType":"A-la-carte",
+ "environmentContext":"General_Revenue-Bearing"
+ }'
+ success_codes:
+ - 200
+ - 201
+ result_map:
+ id: $b{$.uniqueId}
+ uuid: $b{$.uuid}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-distribute-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-distribute-schema-elalto.yaml
new file mode 100644
index 00000000..74431223
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-distribute-schema-elalto.yaml
@@ -0,0 +1,44 @@
+# 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_schema_version: 1.0
+name: service-model-distribute
+description: Distributes the Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model UUID (can be found from service-model-list)
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: true
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/distribution/PROD/activate
+ method: POST
+ body: '{}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-elalto.yaml
new file mode 100644
index 00000000..55fae0f5
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-elalto.yaml
@@ -0,0 +1,80 @@
+# 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_schema_version: 1.0
+name: service-model-list
+description: List the service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+results:
+ direction: landscape
+ attributes:
+ - name: uuid
+ description: UUID
+ type: string
+ scope: short
+ - name: id
+ description: uniqueId
+ type: string
+ scope: short
+ - name: invariant-uuid
+ description: Invariant UUID
+ type: string
+ scope: short
+ - name: name
+ description: Name
+ type: string
+ scope: short
+ - name: version
+ description: version
+ type: string
+ scope: short
+ - name: status
+ description: status
+ type: string
+ scope: short
+ - name: distribution-status
+ description: status
+ type: string
+ scope: short
+ - name: description
+ description: description
+ type: string
+ scope: long
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/followed
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ uuid: $b{services.[*].uuid}
+ id: $b{services.[*].uniqueId}
+ invariant-uuid: $b{services.[*].invariantUUID}
+ version: $b{services.[*].version}
+ name: $b{services.[*].name}
+ status: $b{services.[*].lifecycleState}
+ description: $b{services.[*].description}
+ distribution-status: $b{services.[*].distributionStatus}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-set-property.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-set-property.yaml
new file mode 100644
index 00000000..33cd040a
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-set-property.yaml
@@ -0,0 +1,73 @@
+# Copyright 2019 Huawei Technologies Co., Ltd.
+#
+# 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_schema_version: 1.0
+name: service-model-set-property
+description: Set property to a service model
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: service UniqueId
+ type: string
+ long_option: service-id
+ short_option: x
+ is_optional: false
+ - name: vf-resource-id
+ description: resource id provided by service ns_id.vf_id.vf_name
+ type: string
+ long_option: vf-resource-id
+ short_option: y
+ is_optional: false
+ - name: vf-id
+ description: resource id
+ type: string
+ long_option: vf-id
+ short_option: z
+ is_optional: false
+ - name: property-name
+ description: property name
+ type: string
+ long_option: property-name
+ short_option: b
+ is_optional: false
+ - name: property-value
+ description: property value
+ type: string
+ long_option: property-value
+ short_option: r
+ is_optional: false
+ - name: input-uuid
+ description: VF Model Input uuid
+ type: string
+ long_option: input-uuid
+ short_option: R
+ is_optional: false
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/resourceInstance/${vf-resource-id}/inputs
+ method: POST
+ body: '[{"constraints":[],"definition":false,"name":"${property-name}","parentUniqueId":"${input-uuid}","password":false,"required":false,"schema":{"property":{}},"toscaPresentation":{"ownerId":"${input-uuid}"},"type":"string","uniqueId":"${input-uuid}.${property-name}","value":"${property-value}"}]'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-elalto.yaml
new file mode 100644
index 00000000..0f5d03a3
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-elalto.yaml
@@ -0,0 +1,68 @@
+# 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_schema_version: 1.0
+name: service-model-test-accept
+description: Accepts the Service model test in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model ID
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: false
+ - name: remarks
+ description: Remarks when accepting test
+ type: string
+ long_option: remarks
+ short_option: r
+ is_optional: false
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: NS checked out version unique ID
+ scope: short
+ type: string
+ - name: uuid
+ description: NS checked out version unique ID
+ scope: short
+ type: string
+ - name: version
+ description: VF version
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/certify
+ method: POST
+ body: '{"userRemarks": "${remarks}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.uniqueId}
+ version: $b{$.version}
+ uuid: $b{$.unid} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-elalto.yaml
new file mode 100644
index 00000000..eba54b21
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-elalto.yaml
@@ -0,0 +1,50 @@
+# 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_schema_version: 1.0
+name: service-model-test-reject
+description: Rejects the Service model test in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model ID
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: false
+ - name: test-remark
+ description: Remarks when rejecting test
+ type: string
+ long_option: test-remark
+ short_option: r
+ is_optional: false
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/failCertification
+ method: POST
+ body: '{"userRemarks": "${test-remark}"}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-elalto.yaml
new file mode 100644
index 00000000..d3dc707e
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-elalto.yaml
@@ -0,0 +1,50 @@
+# 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_schema_version: 1.0
+name: service-model-test-request
+description: Request the certification of Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model ID
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: true
+ - name: remarks
+ description: Remarks when submitting for testing
+ type: string
+ long_option: remarks
+ short_option: r
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/certificationRequest
+ method: POST
+ body: '{"userRemarks": "${remarks}"}'
+ success_codes:
+ - 200
+
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-start-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-start-schema-elalto.yaml
new file mode 100644
index 00000000..9c12957a
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-start-schema-elalto.yaml
@@ -0,0 +1,44 @@
+# 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_schema_version: 1.0
+name: service-model-test-start
+description: Starts the testing of a Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model ID
+ type: string
+ long_option: service-id
+ short_option: b
+ is_optional: true
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/startCertification
+ method: POST
+ body: '{}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-elalto.yaml
new file mode 100644
index 00000000..f4df3196
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-elalto.yaml
@@ -0,0 +1,44 @@
+# 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_schema_version: 1.0
+name: service-model-undocheckout
+description: Undo Checkout of Service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-uuid
+ description: Service model UUIID (check service-model-list)
+ type: string
+ long_option: service-uuid
+ short_option: b
+ is_optional: true
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-uuid}/lifecycleState/UNDOCHECKOUT
+ method: POST
+ body: '{"userRemarks": null}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-elalto.yaml
new file mode 100644
index 00000000..14d44529
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-elalto.yaml
@@ -0,0 +1,73 @@
+# 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_schema_version: 1.0
+name: service2vf-model-list
+description: List the VF in a given service model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: service-id
+ description: Service model uuid
+ type: string
+ short_option: z
+ long_option: service-id
+ is_optional: false
+
+results:
+ direction: landscape
+ attributes:
+ - name: vf-uuid
+ description: UUID
+ type: string
+ scope: short
+ - name: vf-name
+ description: name
+ type: string
+ scope: short
+ - name: vf-customization-uuid
+ description: customization UUID
+ type: string
+ scope: short
+ - name: vf-version
+ description: version
+ type: string
+ scope: short
+ - name: vf-id
+ description: customization UUID
+ type: string
+ scope: short
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/services/${service-id}
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ vf-id: $b{componentInstances.[*].uniqueId}
+ vf-uuid: $b{componentInstances.[*].componentUid}
+ vf-name: $b{componentInstances.[*].componentName}
+ vf-version: $b{componentInstances.[*].componentVersion}
+ vf-customization-uuid: $b{componentInstances.[*].customizationUUID}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml
new file mode 100644
index 00000000..cbcc32ff
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml
@@ -0,0 +1,72 @@
+# Copyright 2019 Huawei Technologies Co., Ltd.
+#
+# 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_schema_version: 1.0
+name: vf-model-add-artifact
+description: Add a artifact to a Virtual function
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: vf-id
+ description: VF UniqueId
+ type: string
+ long_option: vf-id
+ short_option: x
+ is_optional: false
+ - name: remarks
+ description: certification remarks
+ type: string
+ long_option: remarks
+ short_option: y
+ default_value: Uploaded from ONAP CLI
+ is_optional: true
+ - name: artifact
+ description: VNF CSAR file
+ type: byte
+ long_option: artifact
+ short_option: z
+ is_optional: false
+ - name: artifact-name
+ description: VNF CSAR name
+ type: string
+ long_option: artifact-name
+ short_option: b
+ is_optional: false
+ - name: user-id
+ description: Designer user id
+ type: string
+ long_option: user-id
+ short_option: e
+ default_value: cs0008
+ is_optional: true
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/resources/${vf-id}/artifacts
+ method: POST
+ headers:
+ Content-MD5: $s{md5:__body__}
+ USER_ID: ${user-id}
+ body: '{"payloadData":"${artifact}","artifactDisplayName":"${artifact-name}","artifactType":"OTHER","description":"${remarks}","artifactName":"${artifact-name}", "artifactLabel":"${artifact-name}","artifactGroupType":"DEPLOYMENT", artifactChecksum="$s{md5:artifact}"}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-archive-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-archive-schema-elalto.yaml
new file mode 100644
index 00000000..2fc0db3e
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-archive-schema-elalto.yaml
@@ -0,0 +1,44 @@
+# 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_schema_version: 1.0
+name: vf-model-archive
+description: Archive VF model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vf-id
+ description: VF model ID
+ type: string
+ long_option: vf-id
+ short_option: b
+ is_optional: false
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/resources/${vf-id}/archive
+ method: POST
+ body: '{}'
+ success_codes:
+ - 200
+ - 417 \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml
new file mode 100644
index 00000000..b7ac626f
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml
@@ -0,0 +1,69 @@
+# 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_schema_version: 1.0
+name: vf-model-certify
+description: Certify a Virtual function
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: vf-id
+ description: VF UniqueId
+ type: string
+ long_option: vf-id
+ short_option: b
+ is_optional: false
+ - name: remarks
+ description: certification remarks
+ type: string
+ long_option: remarks
+ short_option: r
+ is_optional: true
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: VF version unique ID
+ scope: short
+ type: string
+ - name: uuid
+ description: VF UUID
+ scope: short
+ type: uuid
+ - name: version
+ description: VF version
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/certify
+ method: POST
+ body: '{"userRemarks":"${remarks}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.uniqueId}
+ uuid: $b{$.uuid}
+ version: $b{$.version}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml
new file mode 100644
index 00000000..a2db03f2
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml
@@ -0,0 +1,68 @@
+# 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_schema_version: 1.0
+name: vf-model-checkin
+description: Checkin VF model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vf-id
+ description: VF model ID
+ type: string
+ long_option: vf-id
+ short_option: b
+ is_optional: false
+ - name: remarks
+ description: checkin remarks
+ type: string
+ long_option: remarks
+ short_option: r
+ default_value: Checked in by ONAP CLI
+ is_optional: false
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: VF version unique ID
+ scope: short
+ type: string
+ - name: version
+ description: VF version
+ scope: short
+ type: string
+ - name: uuid
+ description: VF uuid
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/CHECKIN
+ method: POST
+ body: '{"userRemarks": "${remarks}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.uniqueId}
+ version: $b{$.version}
+ uuid: $b{$.uuid} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml
new file mode 100644
index 00000000..4ce33529
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml
@@ -0,0 +1,59 @@
+# 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_schema_version: 1.0
+name: vf-model-checkout
+description: Checkout VF model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: vf-id
+ description: VF model ID
+ type: string
+ long_option: vf-id
+ short_option: b
+ is_optional: false
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: VF checked out version unique ID
+ scope: short
+ type: string
+ - name: version
+ description: VF version
+ scope: short
+ type: string
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/CHECKOUT
+ method: POST
+ body: '{}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.uniqueId}
+ version: $b{$.version} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml
new file mode 100644
index 00000000..9d1b3e91
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml
@@ -0,0 +1,89 @@
+# 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_schema_version: 1.0
+name: vf-model-create
+description: Create Virtual function from Vendor Software Product
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP HPA Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: name
+ description: Onap VF Name
+ type: string
+ short_option: x
+ long_option: name
+ is_optional: false
+ - name: description
+ description: Description for VF
+ type: string
+ short_option: y
+ long_option: description
+ is_optional: true
+ - name: vendor-name
+ description: Vendor name
+ type: string
+ long_option: vendor-name
+ short_option: z
+ is_optional: false
+ - name: vsp-id
+ description: VSP ID
+ type: string
+ long_option: vsp-id
+ short_option: b
+ is_optional: true
+ - name: vsp-version
+ description: VSP version
+ type: string
+ long_option: vsp-version
+ short_option: g
+ is_optional: true
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: VF ID
+ scope: short
+ type: string
+ - name: uuid
+ description: VF UUID
+ scope: short
+ type: string
+ - name: inputs
+ description: VNF Input ids
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/catalog/resources
+ method: POST
+ body: '{"contactId": "${host-username}", "vendorRelease": "1.0", "requirements": {}, "artifacts": {}, "capabilities": {}, "componentInstancesProperties": {}, "deploymentArtifacts": {}, "icon": "defaulticon", "vendorName": "${vendor-name}", "description": "${description}", "tags": ["CLI", "${name}"], "properties": [], "categories": [{"subcategories": [{"normalizedName": "abstract", "name": "Abstract", "uniqueId": "resourceNewCategory.generic.abstract", "icons": ["database"]}], "normalizedName": "generic", "name": "Generic", "uniqueId": "resourceNewCategory.generic"}], "name": "${name}", "toscaArtifacts": {}, "csarUUID": "${vsp-id}", "resourceType": "VF", "csarVersion": "${vsp-version}", "componentType": "RESOURCE", "componentInstancesAttributes": {}, "attributes": [], "componentInstances": []}'
+ context:
+ remove_empty_node: true
+ success_codes:
+ - 201
+ result_map:
+ id: $b{$.uniqueId}
+ uuid: $b{$.uuid}
+ inputs: $b{$.inputs.[*].uniqueId} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml
new file mode 100644
index 00000000..e05b1a30
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml
@@ -0,0 +1,84 @@
+# 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_schema_version: 1.0
+name: vf-model-list
+description: List the VF resource model in SDC
+
+info:
+ product: onap-elalto
+ service: sdc.catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+results:
+ direction: landscape
+ attributes:
+ - name: uuid
+ description: UUID
+ type: string
+ scope: short
+ - name: id
+ description: id
+ type: string
+ scope: short
+ - name: invariant-uuid
+ description: Invariant UUID
+ type: string
+ scope: short
+ - name: name
+ description: Name
+ type: string
+ scope: short
+ - name: version
+ description: version
+ type: string
+ scope: short
+ - name: status
+ description: status
+ type: string
+ scope: short
+ - name: description
+ description: description
+ type: string
+ scope: long
+ - name: vsp-uuid
+ description: VSP uuid
+ type: string
+ scope: long
+ - name: vsp-version
+ description: VSP version
+ type: string
+ scope: long
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/followed
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ uuid: $b{resources.[*].uuid}
+ id: $b{resources.[*].uniqueId}
+ invariant-uuid: $b{resources.[*].invariantUUID}
+ version: $b{resources.[*].version}
+ name: $b{resources.[*].name}
+ status: $b{resources.[*].lifecycleState}
+ description: $b{resources.[*].description}
+ vsp-uuid: $b{resources.[*].csarUUID}
+ vsp-version: $b{resources.[*].csarVersion}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-elalto.yaml
new file mode 100644
index 00000000..5276e521
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-elalto.yaml
@@ -0,0 +1,70 @@
+# 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_schema_version: 1.0
+name: vlm-aggreement-create
+description: Create license aggreement
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: name
+ description: aggreement name
+ type: string
+ short_option: x
+ long_option: name
+ is_optional: false
+ - name: vlm-id
+ description: License Model ID
+ type: string
+ short_option: y
+ long_option: vlm-id
+ is_optional: false
+ - name: vlm-version
+ description: License Model version
+ type: string
+ short_option: e
+ long_option: vlm-version
+ is_optional: false
+ - name: vlm-feature-group-id
+ description: VLM feature group
+ type: string
+ short_option: g
+ long_option: vlm-feature-group-id
+ is_optional: false
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: aggreement ID
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models/${vlm-id}/versions/${vlm-version}/license-agreements
+ method: POST
+ body: '{"addedFeatureGroupsIds": ["${vlm-feature-group-id}"], "licenseTerm": {"choice": "Fixed_Term", "other": ""}, "name": "${name}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.value}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-archive-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-archive-schema-elalto.yaml
new file mode 100644
index 00000000..cfe95415
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-archive-schema-elalto.yaml
@@ -0,0 +1,45 @@
+# 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_schema_version: 1.0
+name: vlm-archive
+description: Archive Vendor License Model
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vlm-id
+ description: Onap VLM ID
+ type: string
+ short_option: x
+ long_option: vlm-id
+ is_optional: false
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/items/${vlm-id}/actions
+ method: PUT
+ body: '{"action": "ARCHIVE"}'
+ success_codes:
+ - 201
+ - 200
+ - 417 \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-elalto.yaml
new file mode 100644
index 00000000..9b1ef037
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-elalto.yaml
@@ -0,0 +1,63 @@
+# 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_schema_version: 1.0
+name: vlm-create
+description: Create License Model
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: vendor-name
+ description: vendor name
+ type: string
+ short_option: x
+ long_option: vendor-name
+ is_optional: false
+ - name: description
+ description: Description for License Model
+ type: string
+ short_option: y
+ long_option: description
+ is_optional: true
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: License Model ID
+ scope: short
+ type: uuid
+ - name: version
+ description: License Model version
+ scope: short
+ type: uuid
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models
+ method: POST
+ body: '{"vendorName": "${vendor-name}", "description": "${description}", "iconRef": "icon"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.itemId}
+ version: $b{$.version.id} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-delete-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-delete-schema-elalto.yaml
new file mode 100644
index 00000000..064af3bb
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-delete-schema-elalto.yaml
@@ -0,0 +1,51 @@
+# 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_schema_version: 1.0
+name: vlm-delete
+description: Delete License Model (certified vlms cannot be deleted)
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: vendor-name
+ description: vendor name
+ type: string
+ short_option: x
+ long_option: vendor-name
+ is_optional: false
+ - name: vlm-id
+ description: vlm id
+ type: string
+ short_option: y
+ long_option: vlm-id
+ is_optional: false
+
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models/${vlm-id}
+ method: DELETE
+ body: '{"vendorName": "${vendor-name}", "description": "vendor license model", "iconRef": "icon"}'
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-entitlement-pool-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-entitlement-pool-create-schema-elalto.yaml
new file mode 100644
index 00000000..31172627
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-entitlement-pool-create-schema-elalto.yaml
@@ -0,0 +1,83 @@
+# 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_schema_version: 1.0
+name: vlm-entitlement-pool-create
+description: Create Entitlement Pool
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: name
+ description: Entitlement Pool name
+ type: string
+ short_option: x
+ long_option: name
+ is_optional: false
+ - name: vlm-id
+ description: License Model ID
+ type: string
+ short_option: y
+ long_option: vlm-id
+ is_optional: false
+ - name: vlm-version
+ description: License Model version
+ type: string
+ short_option: e
+ long_option: vlm-version
+ is_optional: false
+ - name: manufacture-reference-number
+ description: Manufature Reference Number
+ type: string
+ short_option: k
+ long_option: manufacture-reference-number
+ is_optional: false
+ - name: start-date
+ description: License start date (MM/DD/YYYY)
+ type: string
+ short_option: l
+ long_option: start-date
+ is_optional: false
+ - name: expiry-date
+ description: License end date (MM/DD/YYYY)
+ type: string
+ short_option: g
+ long_option: expiry-date
+ is_optional: false
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: Entitlement Pool ID
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models/${vlm-id}/versions/${vlm-version}/entitlement-pools
+ method: POST
+ body: '{"name":"${name}","time":{"choice":"","other":""},"startDate":"${start-date}","expiryDate":"${expiry-date}","manufacturerReferenceNumber":"${manufacture-reference-number}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.value}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-feature-group-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-feature-group-create-schema-elalto.yaml
new file mode 100644
index 00000000..04c7ac3a
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-feature-group-create-schema-elalto.yaml
@@ -0,0 +1,83 @@
+# 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_schema_version: 1.0
+name: vlm-feature-group-create
+description: Create feature group Pool
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: name
+ description: Feature group name
+ type: string
+ short_option: x
+ long_option: name
+ is_optional: false
+ - name: vlm-id
+ description: License Model ID
+ type: string
+ short_option: y
+ long_option: vlm-id
+ is_optional: false
+ - name: vlm-version
+ description: License Model version
+ type: string
+ short_option: e
+ long_option: vlm-version
+ is_optional: false
+ - name: vlm-key-group-id
+ description: VLM keygroup
+ type: string
+ short_option: g
+ long_option: vlm-key-group-id
+ is_optional: false
+ - name: vlm-entitle-pool-id
+ description: VLM Entitlement pool
+ type: string
+ short_option: b
+ long_option: vlm-entitle-pool-id
+ is_optional: false
+ - name: part-number
+ description: Part number
+ type: string
+ short_option: c
+ long_option: part-number
+ is_optional: false
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: Feature group ID
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models/${vlm-id}/versions/${vlm-version}/feature-groups
+ method: POST
+ body: '{"name": "${name}", "addedLicenseKeyGroupsIds": ["${vlm-key-group-id}"], "addedEntitlementPoolsIds": ["${vlm-entitle-pool-id}"], "partNumber": "${part-number}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.value}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-key-group-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-key-group-create-schema-elalto.yaml
new file mode 100644
index 00000000..5f266ac4
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-key-group-create-schema-elalto.yaml
@@ -0,0 +1,72 @@
+# 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_schema_version: 1.0
+name: vlm-key-group-create
+description: Create License Key Group
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: vlm-id
+ description: License Model Id
+ type: string
+ short_option: c
+ long_option: vlm-id
+ is_optional: false
+ - name: vlm-version
+ description: License Model version
+ type: string
+ short_option: e
+ long_option: vlm-version
+ is_optional: false
+ - name: name
+ description: name
+ type: string
+ short_option: x
+ long_option: name
+ is_optional: false
+ - name: type
+ description: type of group (Universal, unique, one-time)
+ type: string
+ short_option: y
+ long_option: type
+ is_optional: false
+ default_value: Universal
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: License Model ID
+ scope: short
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models/${vlm-id}/versions/${vlm-version}/license-key-groups
+ method: POST
+ body: '{"name": "${name}", "type": "${type}"}'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.value} \ No newline at end of file
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-list-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-list-schema-elalto.yaml
new file mode 100644
index 00000000..70897538
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-list-schema-elalto.yaml
@@ -0,0 +1,46 @@
+# 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_schema_version: 1.0
+name: vlm-list
+description: List the vendor license models in ONAP
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP HPA Integration Team (onap-discuss@lists.onap.org)
+
+results:
+ direction: landscape
+ attributes:
+ - name: vlm-name
+ description: name of the vendor license model
+ scope: short
+ type: string
+ - name: vlm-id
+ description: ID of the vendor license model
+ scope: short
+ type: string
+http:
+ service:
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ vlm-name: $b{results.[*].name}
+ vlm-id: $b{results.[*].id}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-elalto.yaml
new file mode 100644
index 00000000..d03b697b
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-elalto.yaml
@@ -0,0 +1,50 @@
+# 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_schema_version: 1.0
+name: vlm-submit
+description: Submit Vendor License Model
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+parameters:
+ - name: vlm-id
+ description: Onap VLM ID
+ type: string
+ short_option: x
+ long_option: vlm-id
+ is_optional: false
+ - name: vlm-version
+ description: VLM version
+ type: string
+ short_option: y
+ long_option: vlm-version
+ is_optional: false
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-license-models/${vlm-id}/versions/${vlm-version}/actions
+ method: PUT
+ body: '{"action": "Submit"}'
+ success_codes:
+ - 201
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-elalto.yaml
new file mode 100644
index 00000000..00b8dca6
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-elalto.yaml
@@ -0,0 +1,54 @@
+# 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_schema_version: 1.0
+name: vsp-add-artifact
+description: Upload the CSAR/ZIP file to VSP
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vsp-id
+ description: Onap VSP ID
+ type: string
+ short_option: x
+ long_option: vsp-id
+ is_optional: false
+ - name: vsp-version
+ description: Onap VSP version
+ type: string
+ short_option: y
+ long_option: vsp-version
+ is_optional: false
+ - name: vsp-file
+ description: CSAR File path
+ type: binary
+ short_option: z
+ long_option: vsp-file
+ is_optional: false
+http:
+ request:
+ uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/versions/${vsp-version}/orchestration-template-candidate
+ method: POST
+ body: '${vsp-file}'
+ multipart_entity_name: 'upload'
+ headers:
+ Content-type: 'multipart/form-data'
+ Accept: '*/*'
+ USER_ID: "${host-username}"
+ success_codes:
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-archive-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-archive-schema-elalto.yaml
new file mode 100644
index 00000000..5cd451dd
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-archive-schema-elalto.yaml
@@ -0,0 +1,45 @@
+# 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_schema_version: 1.0
+name: vsp-archive
+description: Archive Vendor Software Product
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vsp-id
+ description: Onap VSP ID
+ type: string
+ short_option: x
+ long_option: vsp-id
+ is_optional: false
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/items/${vsp-id}/actions
+ method: PUT
+ body: '{"action": "ARCHIVE"}'
+ success_codes:
+ - 201
+ - 200
+ - 417
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-commit-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-commit-schema-elalto.yaml
new file mode 100644
index 00000000..74bf414c
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-commit-schema-elalto.yaml
@@ -0,0 +1,56 @@
+# Copyright 2019 Huawei Technologies Co., Ltd.
+#
+# 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_schema_version: 1.0
+name: vsp-commit
+description: Commit Vendor Software Product
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vsp-id
+ description: Onap VSP ID
+ type: string
+ short_option: x
+ long_option: vsp-id
+ is_optional: false
+ - name: vsp-version
+ description: VSP version
+ type: string
+ short_option: y
+ long_option: vsp-version
+ is_optional: false
+ - name: remarks
+ description: VSP remarks
+ type: string
+ short_option: z
+ long_option: remarks
+ is_optional: true
+ default_value: Created by OCOMP
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/items/${vsp-id}/versions/${vsp-version}/actions
+ method: PUT
+ body: '{"action":"Commit","commitRequest":{"message":"${remarks}"}}'
+ success_codes:
+ - 201
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-elalto.yaml
new file mode 100644
index 00000000..17eb0f46
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-elalto.yaml
@@ -0,0 +1,117 @@
+# 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_schema_version: 1.0
+name: vsp-create
+description: Create Vendor Software Product
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vsp-name
+ description: Onap VSP Name
+ type: string
+ short_option: x
+ long_option: vsp-name
+ is_optional: false
+ - name: vsp-description
+ description: Description for VSP
+ type: string
+ short_option: y
+ long_option: vsp-description
+ is_optional: true
+ - name: vlm-version
+ description: License version
+ type: string
+ long_option: vlm-version
+ short_option: c
+ is_optional: true
+ default_value: 1.0
+ - name: vlm-vendor
+ description: License Model vendor
+ type: string
+ long_option: vlm-vendor
+ short_option: e
+ is_optional: false
+ - name: vlm-id
+ description: License Model ID
+ type: string
+ long_option: vlm-id
+ short_option: g
+ is_optional: false
+ - name: vlm-agreement-id
+ description: License Agreement ID
+ type: string
+ long_option: vlm-agreement-id
+ short_option: i
+ is_optional: false
+ - name: vlm-feature-group-id
+ description: Feature Group ID
+ type: string
+ long_option: vlm-feature-group-id
+ short_option: j
+ is_optional: false
+ - name: onboarding-method
+ description: Method to be used for onboarding (Manual or NetworkPackage)
+ type: string
+ long_option: onboarding-method
+ short_option: o
+ is_optional: false
+ default_value: NetworkPackage
+
+results:
+ direction: portrait
+ attributes:
+ - name: id
+ description: VSP ID
+ scope: short
+ type: string
+ - name: version
+ description: VSP Model version
+ scope: short
+ type: string
+ - name: version-id
+ description: VSP Model version id
+ scope: short
+ type: uuid
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-software-products
+ method: POST
+ body: '{
+ "category": "resourceNewCategory.generic",
+ "vendorId": "${vlm-id}",
+ "subCategory": "resourceNewCategory.generic.network elements",
+ "description": "${vsp-description}",
+ "licensingVersion": "${vlm-version}",
+ "licensingData": {"featureGroups": ["${vlm-feature-group-id}"], "licenseAgreement": "${vlm-agreement-id}"},
+ "icon": "icon",
+ "onboardingMethod": "${onboarding-method}",
+ "vendorName": "${vlm-vendor}",
+ "name": "${vsp-name}"
+ }'
+ success_codes:
+ - 200
+ result_map:
+ id: $b{$.itemId}
+ version: $b{$.version.name}
+ version-id: $b{$.version.id}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema-elalto.yaml
new file mode 100644
index 00000000..269ecaca
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema-elalto.yaml
@@ -0,0 +1,73 @@
+# 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_schema_version: 1.0
+name: vsp-list
+description: List of the Vendor Software Products
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+results:
+ direction: landscape
+ attributes:
+ - name: ID
+ description: VSP ID
+ scope: short
+ type: string
+ - name: name
+ description: VSP Name
+ scope: short
+ type: string
+ - name: vendor-name
+ description: Vendor name
+ scope: long
+ type: string
+ - name: version
+ description: Version
+ scope: short
+ type: string
+ - name: status
+ description: status
+ scope: short
+ type: string
+ - name: license-id
+ description: license aggreement
+ scope: long
+ type: string
+ - name: license-version
+ description: license version
+ scope: long
+ type: string
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-software-products
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ ID: $b{results.[*].id}
+ name: $b{results.[*].name}
+ vendor-name: $b{results.[*].vendorName}
+ version: $b{results.[*].version.id}
+ status: $b{results.[*].status}
+ license-id: $b{results.[*].licensingData.licenseAgreement}
+ license-version: $b{results.[*].licensingVersion.id}
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-elalto.yaml
new file mode 100644
index 00000000..6e2deae2
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-elalto.yaml
@@ -0,0 +1,51 @@
+# 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_schema_version: 1.0
+name: vsp-package
+description: Package Vendor Software Product
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vsp-id
+ description: Onap VSP ID
+ type: string
+ short_option: x
+ long_option: vsp-id
+ is_optional: false
+ - name: vsp-version
+ description: VSP version
+ type: string
+ short_option: y
+ long_option: vsp-version
+ is_optional: false
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/versions/${vsp-version}/actions
+ method: PUT
+ body: '{"action": "Create_Package"}'
+ success_codes:
+ - 201
+ - 200
+ sample_response:
+ body: ''
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-elalto.yaml
new file mode 100644
index 00000000..02dfecdb
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-elalto.yaml
@@ -0,0 +1,49 @@
+# 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_schema_version: 1.0
+name: vsp-submit
+description: Submit Vendor Software Product
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vsp-id
+ description: Onap VSP ID
+ type: string
+ short_option: x
+ long_option: vsp-id
+ is_optional: false
+ - name: vsp-version
+ description: VSP version
+ type: string
+ short_option: y
+ long_option: vsp-version
+ is_optional: false
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/versions/${vsp-version}/actions
+ method: PUT
+ body: '{"action": "Submit"}'
+ success_codes:
+ - 201
+ - 200
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-validate-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-validate-schema-elalto.yaml
new file mode 100644
index 00000000..bbc03ffd
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-validate-schema-elalto.yaml
@@ -0,0 +1,65 @@
+# 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_schema_version: 1.0
+name: vsp-validate
+description: Validate the uploaded Vendor Software Product
+
+info:
+ product: onap-elalto
+ service: sdc.onboarding
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+parameters:
+ - name: vsp-id
+ description: Onap VSP ID
+ type: string
+ short_option: x
+ long_option: vsp-id
+ is_optional: false
+ - name: vsp-version
+ description: VSP version
+ type: string
+ short_option: y
+ long_option: vsp-version
+ is_optional: false
+
+results:
+ direction: portrait
+ attributes:
+ - name: status
+ description: Validation status
+ scope: short
+ type: string
+ - name: errors
+ description: Validation messages
+ scope: short
+ type: json
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/versions/${vsp-version}/orchestration-template-candidate/process
+ method: PUT
+ body: '{}'
+ success_codes:
+ - 201
+ - 200
+ result_map:
+ status: $b{$.status}
+ errors: $b{$.errors}