diff options
author | bdfreeman1421 <bf1936@att.com> | 2018-11-25 07:32:19 -0500 |
---|---|---|
committer | bdfreeman1421 <bf1936@att.com> | 2018-11-25 13:09:24 -0500 |
commit | b2a4951b485eeec49366bc58862aa253b2ccc8e7 (patch) | |
tree | 3686815d692fe110f6299814e04bf5cac7674374 /robot/assets/templates/asdc | |
parent | 875ab32024851ff9e77b6d4b028d599c62290b1c (diff) |
Add vCPEResCust Model onboarding
Issue-ID: INT-601
Change-Id: I543959a06be9b0a759d6102bcf1352e80b7d5a30
Signed-off-by: bdfreeman1421 <bf1936@att.com>
Diffstat (limited to 'robot/assets/templates/asdc')
3 files changed, 130 insertions, 0 deletions
diff --git a/robot/assets/templates/asdc/catalog_allotted_inputs.template b/robot/assets/templates/asdc/catalog_allotted_inputs.template new file mode 100644 index 00000000..11074801 --- /dev/null +++ b/robot/assets/templates/asdc/catalog_allotted_inputs.template @@ -0,0 +1,46 @@ +[ + { + "defaultValue": "${nf_type}", + "description": null, + "name": "nf_type", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${nf_type_uid}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": null, + "inputPath": null + }, + { + "defaultValue": "${nf_role}", + "description": null, + "name": "nf_role", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${nf_role_uid}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": null, + "inputPath": null + } +] diff --git a/robot/assets/templates/asdc/catalog_allotted_properties.template b/robot/assets/templates/asdc/catalog_allotted_properties.template new file mode 100644 index 00000000..023abcfe --- /dev/null +++ b/robot/assets/templates/asdc/catalog_allotted_properties.template @@ -0,0 +1,43 @@ +[{ + "definition": false, + "description": "The depending service invariant uuid in order to map the allotted resource to the specific service version", + "empty": false, + "getInputProperty": false, + "hidden": false, + "immutable": false, + "name": "providing_service_invariant_uuid", + "password": false, + "required": true, + "type": "string", + "value": ${providing_service_invariant_uuid}, + "uniqueId": "${uniqueId}.providing_service_invariant_uuid" + }, + { + "definition": false, + "description": "The depending service uuid in order to map the allotted resource to the specific service version", + "empty": false, + "getInputProperty": false, + "hidden": false, + "immutable": false, + "name": "providing_service_uuid", + "password": false, + "required": true, + "type": "string", + "value": ${providing_service_uuid}, + "uniqueId": "${uniqueId}.providing_service_uuid" + }, + { + "definition": false, + "description": "The depending service name in order to map the allotted resource to the specific service version", + "empty": false, + "getInputProperty": false, + "hidden": false, + "immutable": false, + "name": "providing_service_name", + "password": false, + "required": true, + "type": "string", + "value": ${providing_service_name}, + "uniqueId": "${uniqueId}.providing_service_name" + } +] diff --git a/robot/assets/templates/asdc/catalog_resource_alloted_resource.template b/robot/assets/templates/asdc/catalog_resource_alloted_resource.template new file mode 100644 index 00000000..e3a11ec3 --- /dev/null +++ b/robot/assets/templates/asdc/catalog_resource_alloted_resource.template @@ -0,0 +1,41 @@ +{ + "artifacts": {}, + "toscaArtifacts": {}, + "contactId": "cs0008", + "categories": [ + { + "name": "Allotted Resource", + "normalizedName": "allotted resource", + "uniqueId": "resourceNewCategory.allotted resource", + "subcategories": [ + { + "name": "${subcategory}", + "normalizedName": "${subcategory}", + "uniqueId": "resourceNewCategory.allotted resource.${subcategory}", + "icons": [ + "allotted_resource" + ] + } + ] + } + ], + "description": "Alloted Resource ${subcategory}", + "icon": "defaulticon", + "componentInstancesProperties": {}, + "componentInstancesAttributes": {}, + "name": "${software_product_name}", + "tags": [ + "${software_product_name}" + ], + "capabilities": {}, + "requirements": {}, + "deploymentArtifacts": {}, + "componentType": "RESOURCE", + "vendorName": "${vendor_name}", + "vendorRelease": "1.0", + "componentInstances": [], + "properties": [], + "attributes": [], + "groups": [], + "resourceType": "VF" +} |