Initial checkin of EopenECOMP testsuite
Change-Id: I64a2b6d8cf66169829866b73b3d26a4ff59b0a42
Signed-off-by: DR695H <dr695h@att.com>
diff --git a/robot/assets/templates/asdc/action.template b/robot/assets/templates/asdc/action.template
new file mode 100644
index 0000000..4d417c9
--- /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 0000000..fcc17ce
--- /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 0000000..e7ffdea
--- /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 0000000..bcb04d2
--- /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 0000000..3d87b04
--- /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 0000000..2081261
--- /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 0000000..6324d14
--- /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 0000000..45fc83f
--- /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 0000000..215f828
--- /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 0000000..f8a4752
--- /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 0000000..465115e
--- /dev/null
+++ b/robot/assets/templates/asdc/user_remarks.template
@@ -0,0 +1 @@
+{"userRemarks":"${user_remarks}"}
\ No newline at end of file