summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/fixture/data
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/fixture/data')
-rw-r--r--openecomp-ui/fixture/data/entitlementPools.json36
-rw-r--r--openecomp-ui/fixture/data/featureGroup.json59
-rw-r--r--openecomp-ui/fixture/data/featureGroups.json28
-rw-r--r--openecomp-ui/fixture/data/licenseAgreementList.json33
-rw-r--r--openecomp-ui/fixture/data/licenseKeyGroups.json20
-rw-r--r--openecomp-ui/fixture/data/licenseModels.json16
-rw-r--r--openecomp-ui/fixture/data/softwareProduct.json96
-rw-r--r--openecomp-ui/fixture/data/softwareProductList.json34
8 files changed, 322 insertions, 0 deletions
diff --git a/openecomp-ui/fixture/data/entitlementPools.json b/openecomp-ui/fixture/data/entitlementPools.json
new file mode 100644
index 0000000000..22750cbb6d
--- /dev/null
+++ b/openecomp-ui/fixture/data/entitlementPools.json
@@ -0,0 +1,36 @@
+{
+ "results":[
+ {
+ "name": "ep1",
+ "description": "string",
+ "thresholdValue": 75,
+ "thresholdUnits": "%",
+ "entitlementMetric": {"choice": "User", "other":""},
+ "increments": "string",
+ "aggregationFunction": {"choice": "Average", "other": ""},
+ "operationalScope": {"choices": ["VM"], "other": ""},
+ "time": {"choice": "Hour", "other": ""},
+ "sku": "DEF2-385A-4521-AAAA",
+ "id": "1",
+ "referencingFeatureGroups": ["1","2"],
+ "partNumber": "51529"
+ },
+ {
+ "name": "ep2",
+ "description": "string",
+ "thresholdValue": 99,
+ "thresholdUnits": "%",
+ "entitlementMetric": {"choice": "User", "other":""},
+ "increments": "string",
+ "aggregationFunction": {"choice": "Average", "other": ""},
+ "operationalScope": {"choices": ["Other"], "other": "blabla"},
+ "time": {"choice": "Hour", "other": ""},
+ "sku": "DEF2-385A-4521-AAAA",
+ "id": "2",
+ "refCount": 0,
+ "partNumber": "51529",
+ "referencingFeatureGroups": []
+ }
+ ]
+}
+
diff --git a/openecomp-ui/fixture/data/featureGroup.json b/openecomp-ui/fixture/data/featureGroup.json
new file mode 100644
index 0000000000..278baecb36
--- /dev/null
+++ b/openecomp-ui/fixture/data/featureGroup.json
@@ -0,0 +1,59 @@
+{
+ "name": "fssss",
+ "description": "gdfgdfgdsfg",
+ "id": "1",
+ "licenseKeyGroupsIds": [
+ "1,2"
+ ],
+ "entitlementPoolsIds": [
+ "1,2"
+ ],
+ "licenseKeyGroups": [
+ {
+ "name": "ls1",
+ "description": "string",
+ "type": "string",
+ "operationalScope": "string",
+ "id": "1",
+ "refCount": 0
+ },
+ {
+ "name": "ls2",
+ "description": "string",
+ "type": "string",
+ "operationalScope": "string",
+ "id": "1",
+ "refCount": 0
+ }
+ ],
+ "entitlementPools": [
+ {
+ "name": "ep1",
+ "description": "string",
+ "thresholdValue": 0,
+ "thresholdUnits": "string",
+ "entitlementMetric": "string",
+ "increments": "string",
+ "aggregationFunction": "string",
+ "operationalScope": "string",
+ "time": "string",
+ "sku": "string",
+ "id": "string",
+ "refCount": 0
+ },
+ {
+ "name": "ep2",
+ "description": "string",
+ "thresholdValue": 0,
+ "thresholdUnits": "string",
+ "entitlementMetric": "string",
+ "increments": "string",
+ "aggregationFunction": "string",
+ "operationalScope": "string",
+ "time": "string",
+ "sku": "string",
+ "id": "string",
+ "refCount": 0
+ }
+ ]
+}
diff --git a/openecomp-ui/fixture/data/featureGroups.json b/openecomp-ui/fixture/data/featureGroups.json
new file mode 100644
index 0000000000..eea4967ca8
--- /dev/null
+++ b/openecomp-ui/fixture/data/featureGroups.json
@@ -0,0 +1,28 @@
+{
+ "results": [
+ {
+ "name": "fs1",
+ "id": "0",
+ "description": "fs1-description",
+ "licenseKeyGroupsIds": [
+ "1"
+ ],
+ "entitlementPoolsIds": [
+ "1"
+ ],
+ "referencingLicenseAgreements": ["1","2"]
+ },
+ {
+ "name": "fs2",
+ "id": "1",
+ "description": "fs2-description",
+ "licenseKeyGroupsIds": [
+ "2"
+ ],
+ "entitlementPoolsIds": [
+ "2"
+ ],
+ "referencingLicenseAgreements": []
+ }
+ ]
+}
diff --git a/openecomp-ui/fixture/data/licenseAgreementList.json b/openecomp-ui/fixture/data/licenseAgreementList.json
new file mode 100644
index 0000000000..b113295fcb
--- /dev/null
+++ b/openecomp-ui/fixture/data/licenseAgreementList.json
@@ -0,0 +1,33 @@
+{
+ "results": [
+ {
+ "name": "name0",
+ "description": "description0",
+ "licenseTerm": {"choice": "Other", "other": "blabla"},
+ "requirementsAndConstrains": "requirementsAndConstrains0",
+ "featureGroupsIds": [],
+ "id": "0"
+ },
+ {
+ "name": "name1",
+ "description": "description1",
+ "licenseTerm": {"choice": "Fixed_Term", "other": ""},
+ "requirementsAndConstrains": "requirementsAndConstrains1",
+ "featureGroupsIds": [
+ "1"
+ ],
+ "id": "1"
+ },
+ {
+ "name": "name2",
+ "description": "description2",
+ "licenseTerm": {"choice": "Unlimited", "other": ""},
+ "requirementsAndConstrains": "requirementsAndConstrains2",
+ "featureGroupsIds": [
+ "2"
+ ],
+ "id": "2"
+ }
+ ],
+ "listCount": 3
+}
diff --git a/openecomp-ui/fixture/data/licenseKeyGroups.json b/openecomp-ui/fixture/data/licenseKeyGroups.json
new file mode 100644
index 0000000000..74050ab033
--- /dev/null
+++ b/openecomp-ui/fixture/data/licenseKeyGroups.json
@@ -0,0 +1,20 @@
+{
+ "results":[
+ {
+ "name": "lsk1",
+ "description": "string",
+ "type": "Unique",
+ "operationalScope": {"choices": ["Network_Wide","VM"], "other": ""},
+ "id": "1",
+ "referencingFeatureGroups":["1","2"]
+ },
+ {
+ "name": "lsk2",
+ "description": "string",
+ "type": "One_Time",
+ "operationalScope": {"choices": ["Other"], "other": "blabla"},
+ "id": "2",
+ "referencingFeatureGroups": 0
+ }
+ ]
+}
diff --git a/openecomp-ui/fixture/data/licenseModels.json b/openecomp-ui/fixture/data/licenseModels.json
new file mode 100644
index 0000000000..5239c4fafc
--- /dev/null
+++ b/openecomp-ui/fixture/data/licenseModels.json
@@ -0,0 +1,16 @@
+{
+ "results":[
+ {
+ "vendorName": "Omer Corp.",
+ "description": "",
+ "iconRef": "string",
+ "id": "1"
+ },
+ {
+ "vendorName": "Robotricks",
+ "description": "Optimus Prime",
+ "iconRef": "string",
+ "id": "2"
+ }
+ ]
+}
diff --git a/openecomp-ui/fixture/data/softwareProduct.json b/openecomp-ui/fixture/data/softwareProduct.json
new file mode 100644
index 0000000000..5b60587614
--- /dev/null
+++ b/openecomp-ui/fixture/data/softwareProduct.json
@@ -0,0 +1,96 @@
+{
+ "name": "VSP5",
+ "version": "0.1",
+ "id": "4730033D16C64E3CA556AB0AC4478218",
+ "description": "A software model for Fortigate. Nam hendrerit sollicitudin semper. Aenean consectetur nisi sit amet ante sodales consectetur. Nullam rutrum massa in pellentesque ' +elementum. Aliquam efficitur tellus lacus, eget iaculis justo iaculis eu. ",
+ "categoryId": "category",
+ "vendorId": "1",
+ "checkinStatus": "CHECK_OUT",
+ "licensingData": "test data",
+ "validationData": {
+ "logicalStructure": [
+ {
+ "type": "PPD",
+ "catalogInstances": [
+ {
+ "name": "PPD1",
+ "artifacts": [
+ {
+ "name": "chopstick.py"
+ },
+ {
+ "name": "bread.py"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "importStructure": {
+ "HEAT": [
+ {
+ "fileName": "sushi.yml",
+ "env": "soy.env",
+ "nested": [
+ {
+ "fileName": "salmon.yml",
+ "env": "skin.env",
+ "artifacts": [
+ {
+ "name": "rice.py",
+ "status": "OK"
+ },
+ {
+ "name": "tuna.py",
+ "status": "Missing"
+ }
+ ]
+ }
+ ],
+ "artifacts": [
+ {
+ "name": "chopstick.py",
+ "status": "OK"
+ },
+ {
+ "name": "bread.py",
+ "status": "Missing"
+ }
+ ],
+ "volume": [
+ {
+ "fileName": "fishtank.yml",
+ "env": "middletown.env"
+ }
+ ],
+ "network": [
+ {
+ "fileName": "fishnet.yml",
+ "env": "ship.env"
+ }
+ ]
+ }
+ ],
+ "volume": [
+ {
+ "fileName": "vol1.yml",
+ "env": "e1.env"
+ },
+ {
+ "fileName": "vol2.yml",
+ "env": "e2.env"
+ }
+ ],
+ "network": [
+ {
+ "fileName": "net1.yml",
+ "env": "env1.env"
+ },
+ {
+ "fileName": "net2.yml",
+ "env": "env2.env"
+ }
+ ]
+ }
+ }
+}
diff --git a/openecomp-ui/fixture/data/softwareProductList.json b/openecomp-ui/fixture/data/softwareProductList.json
new file mode 100644
index 0000000000..4554abc95f
--- /dev/null
+++ b/openecomp-ui/fixture/data/softwareProductList.json
@@ -0,0 +1,34 @@
+{
+ "results": [
+ {
+ "name": "Software Product 1",
+ "version": "1.0",
+ "id": "1",
+ "category": "Category1",
+ "subCategory": "Sub Category1",
+ "vendor": "1",
+ "status": "string",
+ "checkinStatus": "string"
+ },
+ {
+ "name": "Software Product 2",
+ "version": "1.0",
+ "id": "2",
+ "category": "Category2",
+ "subCategory": "Sub Category2",
+ "vendor": "2",
+ "status": "string",
+ "checkinStatus": "string"
+ },
+ {
+ "name": "Software Product 3",
+ "version": "1.0",
+ "id": "3",
+ "category": "Category3",
+ "subCategory": "Sub Category3",
+ "vendor": "3",
+ "status": "string",
+ "checkinStatus": "string"
+ }
+ ]
+}