diff options
author | DR695H <dr695h@att.com> | 2017-02-17 18:44:24 -0500 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2017-02-17 18:44:41 -0500 |
commit | ccff30b6e325f359879595998e83bbfe6624c851 (patch) | |
tree | c98f950f33baa71d21b091b6b10ca3ffb7700467 /robot/assets/templates/asdc | |
parent | 234c2226d8cb3368a7af3d280a5ec280782bed63 (diff) |
Initial checkin of EopenECOMP testsuite
Change-Id: I64a2b6d8cf66169829866b73b3d26a4ff59b0a42
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/templates/asdc')
11 files changed, 172 insertions, 0 deletions
diff --git a/robot/assets/templates/asdc/action.template b/robot/assets/templates/asdc/action.template new file mode 100644 index 00000000..4d417c9f --- /dev/null +++ b/robot/assets/templates/asdc/action.template @@ -0,0 +1,3 @@ +{ + "action": "${action}" +}
\ No newline at end of file diff --git a/robot/assets/templates/asdc/catalog_resource.template b/robot/assets/templates/asdc/catalog_resource.template new file mode 100644 index 00000000..fcc17ce2 --- /dev/null +++ b/robot/assets/templates/asdc/catalog_resource.template @@ -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/asdc/catalog_service.template b/robot/assets/templates/asdc/catalog_service.template new file mode 100644 index 00000000..e7ffdea6 --- /dev/null +++ b/robot/assets/templates/asdc/catalog_service.template @@ -0,0 +1,34 @@ +{ + "artifacts": {}, + "toscaArtifacts": {}, + "contactId": "cs0008", + "categories": [ + { + "name": "Network L1-3", + "normalizedName": "network l1-3", + "uniqueId": "serviceNewCategory.network l1-3", + "icons": [ + "network_l_1-3" + ] + } + ], + "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": [], + "groups": [], + "serviceApiArtifacts": {} +}
\ No newline at end of file diff --git a/robot/assets/templates/asdc/entitlement_pool.template b/robot/assets/templates/asdc/entitlement_pool.template new file mode 100644 index 00000000..bcb04d2f --- /dev/null +++ b/robot/assets/templates/asdc/entitlement_pool.template @@ -0,0 +1,26 @@ +{ + "name": "${entitlement_pool_name}", + "description": "vendor entitlement pool", + "thresholdValue": "99", + "thresholdUnits": "Absolute", + "entitlementMetric": { + "choice": "CPU", + "other": "" + }, + "increments": "robot", + "aggregationFunction": { + "choice": "Peak", + "other": "" + }, + "operationalScope": { + "choices": [ + "Availability_Zone" + ], + "other": "" + }, + "time": { + "choice": "Hour", + "other": "" + }, + "manufacturerReferenceNumber": "robot12345" +}
\ No newline at end of file diff --git a/robot/assets/templates/asdc/feature_group.template b/robot/assets/templates/asdc/feature_group.template new file mode 100644 index 00000000..3d87b047 --- /dev/null +++ b/robot/assets/templates/asdc/feature_group.template @@ -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/asdc/key_group.template b/robot/assets/templates/asdc/key_group.template new file mode 100644 index 00000000..2081261b --- /dev/null +++ b/robot/assets/templates/asdc/key_group.template @@ -0,0 +1,11 @@ +{ + "name": "${key_group_name}", + "description": "vendor license key group", + "operationalScope": { + "choices": [ + "Tenant" + ], + "other": "" + }, + "type": "Universal" +}
\ No newline at end of file diff --git a/robot/assets/templates/asdc/license_agreement.template b/robot/assets/templates/asdc/license_agreement.template new file mode 100644 index 00000000..6324d140 --- /dev/null +++ b/robot/assets/templates/asdc/license_agreement.template @@ -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/asdc/license_model.template b/robot/assets/templates/asdc/license_model.template new file mode 100644 index 00000000..45fc83fc --- /dev/null +++ b/robot/assets/templates/asdc/license_model.template @@ -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/asdc/resource_instance.template b/robot/assets/templates/asdc/resource_instance.template new file mode 100644 index 00000000..215f8282 --- /dev/null +++ b/robot/assets/templates/asdc/resource_instance.template @@ -0,0 +1,10 @@ +{ + "uniqueId": "${catalog_resource_id}${milli_timestamp}", + "posX": 406, + "posY": 248, + "name": "${catalog_resource_name}", + "componentVersion": "1.0", + "originType": "VF", + "icon": "defaulticon", + "componentUid": "${catalog_resource_id}" +}
\ No newline at end of file diff --git a/robot/assets/templates/asdc/software_product.template b/robot/assets/templates/asdc/software_product.template new file mode 100644 index 00000000..f8a47521 --- /dev/null +++ b/robot/assets/templates/asdc/software_product.template @@ -0,0 +1,16 @@ +{ + "name": "${software_product_name}", + "description": "vendor software product", + "category": "resourceNewCategory.generic", + "subCategory": "resourceNewCategory.generic.abstract", + "licensingVersion": "1.0", + "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.template b/robot/assets/templates/asdc/user_remarks.template new file mode 100644 index 00000000..465115e6 --- /dev/null +++ b/robot/assets/templates/asdc/user_remarks.template @@ -0,0 +1 @@ +{"userRemarks":"${user_remarks}"}
\ No newline at end of file |