From 8cd8e394d2552c676d92a3e85078e755a4bafdae Mon Sep 17 00:00:00 2001 From: DR695H Date: Tue, 30 Jul 2019 10:20:32 -0400 Subject: renaming the tempalte folder to be correct Issue-ID: TEST-174 Change-Id: I2909b87e8c3c7b70c4af7c475788fcb0d03c0b26 Signed-off-by: DR695H --- robot/assets/templates/asdc/action.jinja | 3 - robot/assets/templates/asdc/artifact_upload.jinja | 8 -- .../templates/asdc/catalog_allotted_inputs.jinja | 46 --------- .../asdc/catalog_allotted_properties.jinja | 43 -------- .../asdc/catalog_net_input_properties.jinja | 39 ------- robot/assets/templates/asdc/catalog_resource.jinja | 43 -------- .../asdc/catalog_resource_alloted_resource.jinja | 41 -------- robot/assets/templates/asdc/catalog_service.jinja | 42 -------- .../assets/templates/asdc/catalog_vnf_inputs.jinja | 112 --------------------- .../templates/asdc/catalog_vnf_properties.jinja | 29 ------ robot/assets/templates/asdc/entitlement_pool.jinja | 13 --- robot/assets/templates/asdc/feature_group.jinja | 11 -- robot/assets/templates/asdc/key_group.jinja | 10 -- .../assets/templates/asdc/license_agreement.jinja | 12 --- robot/assets/templates/asdc/license_model.jinja | 5 - .../assets/templates/asdc/resource_instance.jinja | 10 -- robot/assets/templates/asdc/software_product.jinja | 17 ---- robot/assets/templates/asdc/user_remarks.jinja | 1 - robot/assets/templates/sdc/action.jinja | 3 + robot/assets/templates/sdc/artifact_upload.jinja | 8 ++ .../templates/sdc/catalog_allotted_inputs.jinja | 46 +++++++++ .../sdc/catalog_allotted_properties.jinja | 43 ++++++++ .../sdc/catalog_net_input_properties.jinja | 39 +++++++ robot/assets/templates/sdc/catalog_resource.jinja | 43 ++++++++ .../sdc/catalog_resource_alloted_resource.jinja | 41 ++++++++ robot/assets/templates/sdc/catalog_service.jinja | 42 ++++++++ .../assets/templates/sdc/catalog_vnf_inputs.jinja | 112 +++++++++++++++++++++ .../templates/sdc/catalog_vnf_properties.jinja | 29 ++++++ robot/assets/templates/sdc/entitlement_pool.jinja | 13 +++ robot/assets/templates/sdc/feature_group.jinja | 11 ++ robot/assets/templates/sdc/key_group.jinja | 10 ++ robot/assets/templates/sdc/license_agreement.jinja | 12 +++ robot/assets/templates/sdc/license_model.jinja | 5 + robot/assets/templates/sdc/resource_instance.jinja | 10 ++ robot/assets/templates/sdc/software_product.jinja | 17 ++++ robot/assets/templates/sdc/user_remarks.jinja | 1 + 36 files changed, 485 insertions(+), 485 deletions(-) delete mode 100644 robot/assets/templates/asdc/action.jinja delete mode 100644 robot/assets/templates/asdc/artifact_upload.jinja delete mode 100644 robot/assets/templates/asdc/catalog_allotted_inputs.jinja delete mode 100644 robot/assets/templates/asdc/catalog_allotted_properties.jinja delete mode 100644 robot/assets/templates/asdc/catalog_net_input_properties.jinja delete mode 100644 robot/assets/templates/asdc/catalog_resource.jinja delete mode 100644 robot/assets/templates/asdc/catalog_resource_alloted_resource.jinja delete mode 100644 robot/assets/templates/asdc/catalog_service.jinja delete mode 100644 robot/assets/templates/asdc/catalog_vnf_inputs.jinja delete mode 100644 robot/assets/templates/asdc/catalog_vnf_properties.jinja delete mode 100644 robot/assets/templates/asdc/entitlement_pool.jinja delete mode 100644 robot/assets/templates/asdc/feature_group.jinja delete mode 100644 robot/assets/templates/asdc/key_group.jinja delete mode 100644 robot/assets/templates/asdc/license_agreement.jinja delete mode 100644 robot/assets/templates/asdc/license_model.jinja delete mode 100644 robot/assets/templates/asdc/resource_instance.jinja delete mode 100644 robot/assets/templates/asdc/software_product.jinja delete mode 100644 robot/assets/templates/asdc/user_remarks.jinja create mode 100644 robot/assets/templates/sdc/action.jinja create mode 100644 robot/assets/templates/sdc/artifact_upload.jinja create mode 100644 robot/assets/templates/sdc/catalog_allotted_inputs.jinja create mode 100644 robot/assets/templates/sdc/catalog_allotted_properties.jinja create mode 100644 robot/assets/templates/sdc/catalog_net_input_properties.jinja create mode 100644 robot/assets/templates/sdc/catalog_resource.jinja create mode 100644 robot/assets/templates/sdc/catalog_resource_alloted_resource.jinja create mode 100644 robot/assets/templates/sdc/catalog_service.jinja create mode 100644 robot/assets/templates/sdc/catalog_vnf_inputs.jinja create mode 100644 robot/assets/templates/sdc/catalog_vnf_properties.jinja create mode 100644 robot/assets/templates/sdc/entitlement_pool.jinja create mode 100644 robot/assets/templates/sdc/feature_group.jinja create mode 100644 robot/assets/templates/sdc/key_group.jinja create mode 100644 robot/assets/templates/sdc/license_agreement.jinja create mode 100644 robot/assets/templates/sdc/license_model.jinja create mode 100644 robot/assets/templates/sdc/resource_instance.jinja create mode 100644 robot/assets/templates/sdc/software_product.jinja create mode 100644 robot/assets/templates/sdc/user_remarks.jinja (limited to 'robot') diff --git a/robot/assets/templates/asdc/action.jinja b/robot/assets/templates/asdc/action.jinja deleted file mode 100644 index 3ef9f60b..00000000 --- a/robot/assets/templates/asdc/action.jinja +++ /dev/null @@ -1,3 +0,0 @@ -{ - "action": "{{action}}" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/artifact_upload.jinja b/robot/assets/templates/asdc/artifact_upload.jinja deleted file mode 100644 index c4aa57d7..00000000 --- a/robot/assets/templates/asdc/artifact_upload.jinja +++ /dev/null @@ -1,8 +0,0 @@ -{ - "artifactLabel":"{{artifactLabel}}", - "artifactName": "{{artifactName}}", - "artifactType": "{{artifactType}}", - "artifactGroupType": "{{artifactGroupType}}", - "description": "{{description}}", - "payloadData": "{{payloadData}}" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_allotted_inputs.jinja b/robot/assets/templates/asdc/catalog_allotted_inputs.jinja deleted file mode 100644 index 69629a0a..00000000 --- a/robot/assets/templates/asdc/catalog_allotted_inputs.jinja +++ /dev/null @@ -1,46 +0,0 @@ -[ - { - "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 - } -] \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_allotted_properties.jinja b/robot/assets/templates/asdc/catalog_allotted_properties.jinja deleted file mode 100644 index 1654c8f1..00000000 --- a/robot/assets/templates/asdc/catalog_allotted_properties.jinja +++ /dev/null @@ -1,43 +0,0 @@ -[{ - "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" - } -] \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_net_input_properties.jinja b/robot/assets/templates/asdc/catalog_net_input_properties.jinja deleted file mode 100644 index be471591..00000000 --- a/robot/assets/templates/asdc/catalog_net_input_properties.jinja +++ /dev/null @@ -1,39 +0,0 @@ -[ -{ - "uniqueId": "{{uniqueId}}", - "type": "string", - "required": false, - "definition": false, - "description": "{{description}}", - "schema": { - "property": { - "required": false, - "definition": true, - "password": false, - "hidden": false, - "immutable": false, - "getInputProperty": false, - "empty": false - }, - "empty": false - }, - "password": false, - "name": "{{name}}", - "value": "{{value}}", - "hidden": false, - "immutable": false, - "parentUniqueId": "{{parentUniqueId}}", - "schemaProperty": { - "required": false, - "definition": true, - "password": false, - "hidden": false, - "immutable": false, - "getInputProperty": false, - "empty": false - }, - "getInputProperty": false, - "ownerId": "{{ownerId}}", - "empty": false - } -] \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_resource.jinja b/robot/assets/templates/asdc/catalog_resource.jinja deleted file mode 100644 index 6839beda..00000000 --- a/robot/assets/templates/asdc/catalog_resource.jinja +++ /dev/null @@ -1,43 +0,0 @@ -{ - "artifacts": {}, - "toscaArtifacts": {}, - "contactId": "cs0008", - "categories": [ - { - "name": "Generic", - "normalizedName": "generic", - "uniqueId": "resourceNewCategory.generic", - "subcategories": [ - { - "name": "Abstract", - "normalizedName": "abstract", - "uniqueId": "resourceNewCategory.generic.abstract", - "icons": [ - "database" - ] - } - ] - } - ], - "description": "vendor software product", - "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", - "csarUUID": "{{software_product_id}}", - "csarVersion": "1.0" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_resource_alloted_resource.jinja b/robot/assets/templates/asdc/catalog_resource_alloted_resource.jinja deleted file mode 100644 index 6992e320..00000000 --- a/robot/assets/templates/asdc/catalog_resource_alloted_resource.jinja +++ /dev/null @@ -1,41 +0,0 @@ -{ - "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" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_service.jinja b/robot/assets/templates/asdc/catalog_service.jinja deleted file mode 100644 index 09c56301..00000000 --- a/robot/assets/templates/asdc/catalog_service.jinja +++ /dev/null @@ -1,42 +0,0 @@ -{ - "artifacts": {}, - "toscaArtifacts": {}, - "contactId": "cs0008", - "categories": [ - { - "name": "Network L1-3", - "normalizedName": "network l1-3", - "uniqueId": "serviceNewCategory.network l1-3", - "icons": [ - "network_l_1-3" - ], - "subcategories": null, - "version": null, - "ownerId": null, - "empty": false, - "type": null - } - ], - "description": "catalog service description", - "icon": "network_l_1-3", - "componentInstancesProperties": {}, - "componentInstancesAttributes": {}, - "name": "{{service_name}}", - "tags": [ - "robot-ete", - "{{service_name}}" - ], - "capabilities": {}, - "requirements": {}, - "deploymentArtifacts": {}, - "componentType": "SERVICE", - "projectCode": "123456", - "componentInstances": [], - "properties": [], - "attributes": [], - "forwardingPaths": {}, - "ecompGeneratedNaming": true, - "serviceApiArtifacts": {}, - "instantiationType": "A-la-carte", - "environmentContext": "General_Revenue-Bearing" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_vnf_inputs.jinja b/robot/assets/templates/asdc/catalog_vnf_inputs.jinja deleted file mode 100644 index 48a58499..00000000 --- a/robot/assets/templates/asdc/catalog_vnf_inputs.jinja +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "defaultValue": "{{nf_function}}", - "description": null, - "name": "nf_function", - "parentUniqueId": "cs0008", - "password": false, - "required": false, - "schema": { - "property": {} - }, - "type": "string", - "uniqueId": "{{nf_function_uid}}", - "value": null, - "definition": false, - "getInputValues": null, - "instanceUniqueId": null, - "propertyId": null, - "properties": null, - "inputs": null, - "ownerId": "cs0008", - "inputPath": null - }, - { - "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_naming_code}}", - "description": null, - "name": "nf_naming_code", - "parentUniqueId": null, - "password": false, - "required": false, - "schema": { - "property": {} - }, - "type": "string", - "uniqueId": "{{nf_naming_code_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 - }, - { - "defaultValue": "{{cloud_env}}", - "description": "Cloud environment (e.g., openstack, rackspace)", - "name": "cloud_env", - "parentUniqueId": null, - "password": false, - "required": false, - "schema": { - "property": {} - }, - "type": "string", - "uniqueId": "{{cloud_env_uid}}", - "value": null, - "definition": false, - "getInputValues": null, - "instanceUniqueId": null, - "propertyId": null, - "properties": null, - "inputs": null, - "ownerId": null, - "inputPath": null - } -] \ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_vnf_properties.jinja b/robot/assets/templates/asdc/catalog_vnf_properties.jinja deleted file mode 100644 index 96a06506..00000000 --- a/robot/assets/templates/asdc/catalog_vnf_properties.jinja +++ /dev/null @@ -1,29 +0,0 @@ -[ - { - "name": "nfc_function", - "parentUniqueId": "{{parent_id}}", - "password": false, - "required": false, - "schema": { - "property": {} - }, - "type": "string", - "uniqueId": "{{parent_id}}.nfc_function", - "value": "{{nfc_function}}", - "definition": false - }, - { - "description": "vfc naming", - "name": "nfc_naming", - "parentUniqueId": "{{parent_id}}", - "password": false, - "required": false, - "schema": { - "property": {} - }, - "type": "org.openecomp.datatypes.Naming", - "uniqueId": "{{parent_id}}.nfc_naming", - "value": "{\"ecomp_generated_naming\":true,\"naming_policy\":\"{{nfc_naming_policy}}\"}", - "definition": false - } -] \ No newline at end of file diff --git a/robot/assets/templates/asdc/entitlement_pool.jinja b/robot/assets/templates/asdc/entitlement_pool.jinja deleted file mode 100644 index 4ca68ddd..00000000 --- a/robot/assets/templates/asdc/entitlement_pool.jinja +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "{{entitlement_pool_name}}", - "description": "vendor entitlement pool", - "thresholdValue": "100", - "thresholdUnits": "Percentage", - "time": { - "choice": "", - "other": "" - }, - "startDate": "{{license_start_date}}", - "expiryDate": "{{license_end_date}}", - "manufacturerReferenceNumber": "111111" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/feature_group.jinja b/robot/assets/templates/asdc/feature_group.jinja deleted file mode 100644 index cc3fec13..00000000 --- a/robot/assets/templates/asdc/feature_group.jinja +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "{{feature_group_name}}", - "description": "vendor feature group", - "partNumber": "123abc456", - "addedLicenseKeyGroupsIds": [ - "{{key_group_id}}" - ], - "addedEntitlementPoolsIds": [ - "{{entitlement_pool_id}}" - ] -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/key_group.jinja b/robot/assets/templates/asdc/key_group.jinja deleted file mode 100644 index e58639b7..00000000 --- a/robot/assets/templates/asdc/key_group.jinja +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "{{key_group_name}}", - "description": "vendor license key group", - "type": "Universal", - "thresholdValue": "100", - "thresholdUnits": "Percentage", - "startDate": "{{license_start_date}}", - "expiryDate": "{{license_end_date}}", - "manufacturerReferenceNumber": "11111" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/license_agreement.jinja b/robot/assets/templates/asdc/license_agreement.jinja deleted file mode 100644 index 66776f47..00000000 --- a/robot/assets/templates/asdc/license_agreement.jinja +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "{{license_agreement_name}}", - "description": "vendor license agreement", - "requirementsAndConstrains": "abcdef", - "licenseTerm": { - "choice": "Fixed_Term", - "other": "" - }, - "addedFeatureGroupsIds": [ - "{{feature_group_id}}" - ] -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/license_model.jinja b/robot/assets/templates/asdc/license_model.jinja deleted file mode 100644 index 27fe266e..00000000 --- a/robot/assets/templates/asdc/license_model.jinja +++ /dev/null @@ -1,5 +0,0 @@ -{ - "vendorName": "{{vendor_name}}", - "description": "vendor license model", - "iconRef": "icon" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/resource_instance.jinja b/robot/assets/templates/asdc/resource_instance.jinja deleted file mode 100644 index c2c279c7..00000000 --- a/robot/assets/templates/asdc/resource_instance.jinja +++ /dev/null @@ -1,10 +0,0 @@ -{ - "uniqueId": "{{catalog_resource_id}}{{milli_timestamp}}", - "posX": {{posX}}, - "posY": {{posY}}, - "name": "{{catalog_resource_name}}", - "componentVersion": "1.0", - "originType": "{{originType}}", - "icon": "defaulticon", - "componentUid": "{{catalog_resource_id}}" -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/software_product.jinja b/robot/assets/templates/asdc/software_product.jinja deleted file mode 100644 index 23d5f7ca..00000000 --- a/robot/assets/templates/asdc/software_product.jinja +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "{{software_product_name}}", - "description": "vendor software product", - "category": "resourceNewCategory.generic", - "subCategory": "resourceNewCategory.generic.abstract", - "onboardingMethod" : "NetworkPackage", - "licensingVersion": "{{version_id}}", - "vendorName": "{{vendor_name}}", - "vendorId": "{{vendor_id}}", - "icon": "icon", - "licensingData": { - "licenseAgreement": "{{license_agreement_id}}", - "featureGroups": [ - "{{feature_group_id}}" - ] - } -} \ No newline at end of file diff --git a/robot/assets/templates/asdc/user_remarks.jinja b/robot/assets/templates/asdc/user_remarks.jinja deleted file mode 100644 index ea01a249..00000000 --- a/robot/assets/templates/asdc/user_remarks.jinja +++ /dev/null @@ -1 +0,0 @@ -{"userRemarks":"{{user_remarks}}"} \ No newline at end of file diff --git a/robot/assets/templates/sdc/action.jinja b/robot/assets/templates/sdc/action.jinja new file mode 100644 index 00000000..3ef9f60b --- /dev/null +++ b/robot/assets/templates/sdc/action.jinja @@ -0,0 +1,3 @@ +{ + "action": "{{action}}" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/artifact_upload.jinja b/robot/assets/templates/sdc/artifact_upload.jinja new file mode 100644 index 00000000..c4aa57d7 --- /dev/null +++ b/robot/assets/templates/sdc/artifact_upload.jinja @@ -0,0 +1,8 @@ +{ + "artifactLabel":"{{artifactLabel}}", + "artifactName": "{{artifactName}}", + "artifactType": "{{artifactType}}", + "artifactGroupType": "{{artifactGroupType}}", + "description": "{{description}}", + "payloadData": "{{payloadData}}" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_allotted_inputs.jinja b/robot/assets/templates/sdc/catalog_allotted_inputs.jinja new file mode 100644 index 00000000..69629a0a --- /dev/null +++ b/robot/assets/templates/sdc/catalog_allotted_inputs.jinja @@ -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 + } +] \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_allotted_properties.jinja b/robot/assets/templates/sdc/catalog_allotted_properties.jinja new file mode 100644 index 00000000..1654c8f1 --- /dev/null +++ b/robot/assets/templates/sdc/catalog_allotted_properties.jinja @@ -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" + } +] \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_net_input_properties.jinja b/robot/assets/templates/sdc/catalog_net_input_properties.jinja new file mode 100644 index 00000000..be471591 --- /dev/null +++ b/robot/assets/templates/sdc/catalog_net_input_properties.jinja @@ -0,0 +1,39 @@ +[ +{ + "uniqueId": "{{uniqueId}}", + "type": "string", + "required": false, + "definition": false, + "description": "{{description}}", + "schema": { + "property": { + "required": false, + "definition": true, + "password": false, + "hidden": false, + "immutable": false, + "getInputProperty": false, + "empty": false + }, + "empty": false + }, + "password": false, + "name": "{{name}}", + "value": "{{value}}", + "hidden": false, + "immutable": false, + "parentUniqueId": "{{parentUniqueId}}", + "schemaProperty": { + "required": false, + "definition": true, + "password": false, + "hidden": false, + "immutable": false, + "getInputProperty": false, + "empty": false + }, + "getInputProperty": false, + "ownerId": "{{ownerId}}", + "empty": false + } +] \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_resource.jinja b/robot/assets/templates/sdc/catalog_resource.jinja new file mode 100644 index 00000000..6839beda --- /dev/null +++ b/robot/assets/templates/sdc/catalog_resource.jinja @@ -0,0 +1,43 @@ +{ + "artifacts": {}, + "toscaArtifacts": {}, + "contactId": "cs0008", + "categories": [ + { + "name": "Generic", + "normalizedName": "generic", + "uniqueId": "resourceNewCategory.generic", + "subcategories": [ + { + "name": "Abstract", + "normalizedName": "abstract", + "uniqueId": "resourceNewCategory.generic.abstract", + "icons": [ + "database" + ] + } + ] + } + ], + "description": "vendor software product", + "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", + "csarUUID": "{{software_product_id}}", + "csarVersion": "1.0" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_resource_alloted_resource.jinja b/robot/assets/templates/sdc/catalog_resource_alloted_resource.jinja new file mode 100644 index 00000000..6992e320 --- /dev/null +++ b/robot/assets/templates/sdc/catalog_resource_alloted_resource.jinja @@ -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" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_service.jinja b/robot/assets/templates/sdc/catalog_service.jinja new file mode 100644 index 00000000..09c56301 --- /dev/null +++ b/robot/assets/templates/sdc/catalog_service.jinja @@ -0,0 +1,42 @@ +{ + "artifacts": {}, + "toscaArtifacts": {}, + "contactId": "cs0008", + "categories": [ + { + "name": "Network L1-3", + "normalizedName": "network l1-3", + "uniqueId": "serviceNewCategory.network l1-3", + "icons": [ + "network_l_1-3" + ], + "subcategories": null, + "version": null, + "ownerId": null, + "empty": false, + "type": null + } + ], + "description": "catalog service description", + "icon": "network_l_1-3", + "componentInstancesProperties": {}, + "componentInstancesAttributes": {}, + "name": "{{service_name}}", + "tags": [ + "robot-ete", + "{{service_name}}" + ], + "capabilities": {}, + "requirements": {}, + "deploymentArtifacts": {}, + "componentType": "SERVICE", + "projectCode": "123456", + "componentInstances": [], + "properties": [], + "attributes": [], + "forwardingPaths": {}, + "ecompGeneratedNaming": true, + "serviceApiArtifacts": {}, + "instantiationType": "A-la-carte", + "environmentContext": "General_Revenue-Bearing" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_vnf_inputs.jinja b/robot/assets/templates/sdc/catalog_vnf_inputs.jinja new file mode 100644 index 00000000..48a58499 --- /dev/null +++ b/robot/assets/templates/sdc/catalog_vnf_inputs.jinja @@ -0,0 +1,112 @@ +[ + { + "defaultValue": "{{nf_function}}", + "description": null, + "name": "nf_function", + "parentUniqueId": "cs0008", + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "{{nf_function_uid}}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": "cs0008", + "inputPath": null + }, + { + "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_naming_code}}", + "description": null, + "name": "nf_naming_code", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "{{nf_naming_code_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 + }, + { + "defaultValue": "{{cloud_env}}", + "description": "Cloud environment (e.g., openstack, rackspace)", + "name": "cloud_env", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "{{cloud_env_uid}}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": null, + "inputPath": null + } +] \ No newline at end of file diff --git a/robot/assets/templates/sdc/catalog_vnf_properties.jinja b/robot/assets/templates/sdc/catalog_vnf_properties.jinja new file mode 100644 index 00000000..96a06506 --- /dev/null +++ b/robot/assets/templates/sdc/catalog_vnf_properties.jinja @@ -0,0 +1,29 @@ +[ + { + "name": "nfc_function", + "parentUniqueId": "{{parent_id}}", + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "{{parent_id}}.nfc_function", + "value": "{{nfc_function}}", + "definition": false + }, + { + "description": "vfc naming", + "name": "nfc_naming", + "parentUniqueId": "{{parent_id}}", + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "org.openecomp.datatypes.Naming", + "uniqueId": "{{parent_id}}.nfc_naming", + "value": "{\"ecomp_generated_naming\":true,\"naming_policy\":\"{{nfc_naming_policy}}\"}", + "definition": false + } +] \ No newline at end of file diff --git a/robot/assets/templates/sdc/entitlement_pool.jinja b/robot/assets/templates/sdc/entitlement_pool.jinja new file mode 100644 index 00000000..4ca68ddd --- /dev/null +++ b/robot/assets/templates/sdc/entitlement_pool.jinja @@ -0,0 +1,13 @@ +{ + "name": "{{entitlement_pool_name}}", + "description": "vendor entitlement pool", + "thresholdValue": "100", + "thresholdUnits": "Percentage", + "time": { + "choice": "", + "other": "" + }, + "startDate": "{{license_start_date}}", + "expiryDate": "{{license_end_date}}", + "manufacturerReferenceNumber": "111111" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/feature_group.jinja b/robot/assets/templates/sdc/feature_group.jinja new file mode 100644 index 00000000..cc3fec13 --- /dev/null +++ b/robot/assets/templates/sdc/feature_group.jinja @@ -0,0 +1,11 @@ +{ + "name": "{{feature_group_name}}", + "description": "vendor feature group", + "partNumber": "123abc456", + "addedLicenseKeyGroupsIds": [ + "{{key_group_id}}" + ], + "addedEntitlementPoolsIds": [ + "{{entitlement_pool_id}}" + ] +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/key_group.jinja b/robot/assets/templates/sdc/key_group.jinja new file mode 100644 index 00000000..e58639b7 --- /dev/null +++ b/robot/assets/templates/sdc/key_group.jinja @@ -0,0 +1,10 @@ +{ + "name": "{{key_group_name}}", + "description": "vendor license key group", + "type": "Universal", + "thresholdValue": "100", + "thresholdUnits": "Percentage", + "startDate": "{{license_start_date}}", + "expiryDate": "{{license_end_date}}", + "manufacturerReferenceNumber": "11111" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/license_agreement.jinja b/robot/assets/templates/sdc/license_agreement.jinja new file mode 100644 index 00000000..66776f47 --- /dev/null +++ b/robot/assets/templates/sdc/license_agreement.jinja @@ -0,0 +1,12 @@ +{ + "name": "{{license_agreement_name}}", + "description": "vendor license agreement", + "requirementsAndConstrains": "abcdef", + "licenseTerm": { + "choice": "Fixed_Term", + "other": "" + }, + "addedFeatureGroupsIds": [ + "{{feature_group_id}}" + ] +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/license_model.jinja b/robot/assets/templates/sdc/license_model.jinja new file mode 100644 index 00000000..27fe266e --- /dev/null +++ b/robot/assets/templates/sdc/license_model.jinja @@ -0,0 +1,5 @@ +{ + "vendorName": "{{vendor_name}}", + "description": "vendor license model", + "iconRef": "icon" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/resource_instance.jinja b/robot/assets/templates/sdc/resource_instance.jinja new file mode 100644 index 00000000..c2c279c7 --- /dev/null +++ b/robot/assets/templates/sdc/resource_instance.jinja @@ -0,0 +1,10 @@ +{ + "uniqueId": "{{catalog_resource_id}}{{milli_timestamp}}", + "posX": {{posX}}, + "posY": {{posY}}, + "name": "{{catalog_resource_name}}", + "componentVersion": "1.0", + "originType": "{{originType}}", + "icon": "defaulticon", + "componentUid": "{{catalog_resource_id}}" +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/software_product.jinja b/robot/assets/templates/sdc/software_product.jinja new file mode 100644 index 00000000..23d5f7ca --- /dev/null +++ b/robot/assets/templates/sdc/software_product.jinja @@ -0,0 +1,17 @@ +{ + "name": "{{software_product_name}}", + "description": "vendor software product", + "category": "resourceNewCategory.generic", + "subCategory": "resourceNewCategory.generic.abstract", + "onboardingMethod" : "NetworkPackage", + "licensingVersion": "{{version_id}}", + "vendorName": "{{vendor_name}}", + "vendorId": "{{vendor_id}}", + "icon": "icon", + "licensingData": { + "licenseAgreement": "{{license_agreement_id}}", + "featureGroups": [ + "{{feature_group_id}}" + ] + } +} \ No newline at end of file diff --git a/robot/assets/templates/sdc/user_remarks.jinja b/robot/assets/templates/sdc/user_remarks.jinja new file mode 100644 index 00000000..ea01a249 --- /dev/null +++ b/robot/assets/templates/sdc/user_remarks.jinja @@ -0,0 +1 @@ +{"userRemarks":"{{user_remarks}}"} \ No newline at end of file -- cgit 1.2.3-korg