summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates')
-rw-r--r--robot/assets/templates/asdc/catalog_allotted_inputs.template46
-rw-r--r--robot/assets/templates/asdc/catalog_allotted_properties.template43
-rw-r--r--robot/assets/templates/asdc/catalog_resource_alloted_resource.template41
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"
+}