aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/server-mock/mock-data/resources
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 10:28:42 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 10:51:01 +0200
commit451a3400b76511393c62a444f588a4ed15f4a549 (patch)
treee4f5873a863d1d3e55618eab48b83262f874719d /catalog-ui/server-mock/mock-data/resources
parent5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff)
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/server-mock/mock-data/resources')
-rw-r--r--catalog-ui/server-mock/mock-data/resources/resourcesAbstract.json284
-rw-r--r--catalog-ui/server-mock/mock-data/resources/resourcesNotAbstract.json510
2 files changed, 794 insertions, 0 deletions
diff --git a/catalog-ui/server-mock/mock-data/resources/resourcesAbstract.json b/catalog-ui/server-mock/mock-data/resources/resourcesAbstract.json
new file mode 100644
index 0000000000..b678ea9b6b
--- /dev/null
+++ b/catalog-ui/server-mock/mock-data/resources/resourcesAbstract.json
@@ -0,0 +1,284 @@
+[
+ {
+ "uniqueId": "tosca.nodes.root.1.0",
+ "resourceName": "tosca.nodes.root",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412546396,
+ "lastUpdateDate": 1433412546396,
+ "description": "Represents a generic software component that can be managed and run by a Compute Node Type.",
+ "icon": "icon-red1",
+ "tags": [
+ "Root"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ },
+ {
+ "uniqueId": "tosca.nodes.softwarecomponent.1.0",
+ "resourceName": "tosca.nodes.softwarecomponent",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412547841,
+ "lastUpdateDate": 1433412547841,
+ "description": "Represents a generic software component that can be managed and run by a Compute Node Type.",
+ "icon": "icon-red2",
+ "tags": [
+ "Software Component"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "properties": {
+ "component_version": {
+ "uniqueId": "tosca.nodes.softwarecomponent.1.0.component_version",
+ "type": "version",
+ "required": false,
+ "definition": true,
+ "password": false
+ },
+ "admin_credential": {
+ "uniqueId": "tosca.nodes.softwarecomponent.1.0.admin_credential",
+ "type": "tosca.datatypes.Credential",
+ "required": false,
+ "definition": true,
+ "password": false
+ }
+ },
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ },
+ {
+ "uniqueId": "tosca.nodes.webserver.1.0",
+ "resourceName": "tosca.nodes.webserver",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412548140,
+ "lastUpdateDate": 1433412548140,
+ "description": "Represents an abstract software component or service that is capable of hosting and providing management operations for one or more Web Application nodes.",
+ "icon": "icon-red1",
+ "tags": [
+ "Web Server"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.softwarecomponent"
+ ],
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ },
+ {
+ "uniqueId": "tosca.nodes.webapplication.1.0",
+ "resourceName": "tosca.nodes.webapplication",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412548382,
+ "lastUpdateDate": 1433412548382,
+ "description": "Represents a software application that can be managed and run by a Web Server node. Specific types of web applications such as Java, etc. could be derived from this type.",
+ "icon": "icon-red3",
+ "tags": [
+ "Web Application"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "properties": {
+ "context_root": {
+ "uniqueId": "tosca.nodes.webapplication.1.0.context_root",
+ "type": "string",
+ "required": false,
+ "definition": true,
+ "password": false
+ }
+ },
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ },
+ {
+ "uniqueId": "tosca.nodes.dbms.1.0",
+ "resourceName": "tosca.nodes.dbms",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412548607,
+ "lastUpdateDate": 1433412548607,
+ "description": "Represents a typical relational, SQL Database Management System software component or service.",
+ "icon": "icon-red4",
+ "tags": [
+ "DBMS"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.softwarecomponent"
+ ],
+ "properties": {
+ "port": {
+ "uniqueId": "tosca.nodes.dbms.1.0.port",
+ "type": "integer",
+ "required": false,
+ "description": "the port the DBMS service will listen to for data and requests",
+ "definition": true,
+ "password": false
+ },
+ "root_password": {
+ "uniqueId": "tosca.nodes.dbms.1.0.root_password",
+ "type": "string",
+ "required": false,
+ "description": "the optional root password for the DBMS service",
+ "definition": true,
+ "password": false
+ }
+ },
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ },
+ {
+ "uniqueId": "tosca.nodes.database.1.0",
+ "resourceName": "tosca.nodes.database",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412548836,
+ "lastUpdateDate": 1433412548836,
+ "description": "Represents a logical database that can be managed and hosted by a DBMS node.",
+ "icon": "icon-red3",
+ "tags": [
+ "Database"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "properties": {
+ "port": {
+ "uniqueId": "tosca.nodes.database.1.0.port",
+ "type": "integer",
+ "required": false,
+ "description": "the port the underlying database service will listen to for data",
+ "definition": true,
+ "password": false
+ },
+ "name": {
+ "uniqueId": "tosca.nodes.database.1.0.name",
+ "type": "string",
+ "required": false,
+ "description": "the logical name of the database",
+ "definition": true,
+ "password": false
+ },
+ "user": {
+ "uniqueId": "tosca.nodes.database.1.0.user",
+ "type": "string",
+ "required": false,
+ "description": "the optional user account name for DB administration",
+ "definition": true,
+ "password": false
+ },
+ "password": {
+ "uniqueId": "tosca.nodes.database.1.0.password",
+ "type": "string",
+ "required": false,
+ "description": "the optional password for the DB user account",
+ "definition": true,
+ "password": false
+ }
+ },
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ },
+ {
+ "uniqueId": "tosca.nodes.container.runtime.1.0",
+ "resourceName": "tosca.nodes.container.runtime",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412549532,
+ "lastUpdateDate": 1433412549532,
+ "description": "Represents operating system-level virtualization technology used to run multiple application services on a single Compute host.",
+ "icon": "icon-red12",
+ "tags": [
+ "Container"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.softwarecomponent"
+ ],
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ },
+ {
+ "uniqueId": "tosca.nodes.container.application.1.0",
+ "resourceName": "tosca.nodes.container.application",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412549709,
+ "lastUpdateDate": 1433412549709,
+ "description": "Represents an application that requires Container-level virtualization technology.",
+ "icon": "icon-red4",
+ "tags": [
+ "Container Application"
+ ],
+ "category": "Abstract",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": true,
+ "highestVersion": false
+ }
+]
diff --git a/catalog-ui/server-mock/mock-data/resources/resourcesNotAbstract.json b/catalog-ui/server-mock/mock-data/resources/resourcesNotAbstract.json
new file mode 100644
index 0000000000..eab325c9cf
--- /dev/null
+++ b/catalog-ui/server-mock/mock-data/resources/resourcesNotAbstract.json
@@ -0,0 +1,510 @@
+[
+ {
+ "uniqueId": "tosca.nodes.compute.1.0",
+ "resourceName": "tosca.nodes.compute",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412547566,
+ "lastUpdateDate": 1433412547566,
+ "coordinates": {
+ "x":150,
+ "y":250
+ },
+ "description": "Represents a real or virtual machine or server. Information specified on the Compute\t node will be used to find the machine that fits the given requirements in the cloud\t available machines. If no sizing information are specified the cloud provider default\t machine will be used. It is strongly recommended to specify the required CPUs and memory\t at least.",
+ "icon": "icon-red2",
+ "tags": [
+ "Compute"
+ ],
+ "category": "Infrastructure",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": false,
+ "highestVersion": false,
+ "capabilities": {
+ "host": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "db1": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "linux1": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ }
+ },
+ "requirements": {
+ "host": {
+ "uniqueId": "tosca.nodes.SoftwareComponent.1.0.host",
+ "capability": "tosca.capabilities.Container",
+ "node": "tosca.nodes.Compute",
+ "requirementImpl": {
+ "uniqueId": "requirementImpl.my-resource.1.0.host",
+ "nodeId": "tosca.nodes.Compute.1.0",
+ "requirementProperties": {
+ "host": {
+ "uniqueId": "capabilityInst.requirementImpl.my-resource.1.0.host.host",
+ "properties": {
+ "disk_size": "10",
+ "num_cpus": "2"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "uniqueId": "tosca.nodes.objectstorage.1.0",
+ "resourceName": "tosca.nodes.objectstorage",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412549091,
+ "lastUpdateDate": 1433412549091,
+ "coordinates": {
+ "x":150,
+ "y":250
+ },
+ "description": "Represents storage that provides the ability to store data as objects (or BLOBs of data) without consideration for the underlying filesystem or devices.",
+ "icon": "icon-red1",
+ "tags": [
+ "ObjectStorage"
+ ],
+ "category": "Infrastructure",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "properties": {
+ "maxsize": {
+ "uniqueId": "tosca.nodes.objectstorage.1.0.maxsize",
+ "type": "scalar-unit.size",
+ "required": false,
+ "constraints": [
+ {
+
+ }
+ ],
+ "definition": true,
+ "password": false
+ },
+ "name": {
+ "uniqueId": "tosca.nodes.objectstorage.1.0.name",
+ "type": "string",
+ "required": false,
+ "definition": true,
+ "password": false
+ },
+ "size": {
+ "uniqueId": "tosca.nodes.objectstorage.1.0.size",
+ "type": "scalar-unit.size",
+ "required": false,
+ "constraints": [
+ {
+
+ }
+ ],
+ "definition": true,
+ "password": false
+ }
+ },
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": false,
+ "highestVersion": false,
+ "capabilities": {
+ "host2": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "db": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "linux2": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ }
+ },
+ "requirements": {
+ "db": {
+ "uniqueId": "tosca.nodes.SoftwareComponent.1.0.host",
+ "capability": "tosca.capabilities.Container",
+ "node": "tosca.nodes.Compute",
+ "requirementImpl": {
+ "uniqueId": "requirementImpl.my-resource.1.0.host",
+ "nodeId": "tosca.nodes.Compute.1.0",
+ "requirementProperties": {
+ "host": {
+ "uniqueId": "capabilityInst.requirementImpl.my-resource.1.0.host.host",
+ "properties": {
+ "disk_size": "10",
+ "num_cpus": "2"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "uniqueId": "tosca.nodes.blockstorage.1.0",
+ "resourceName": "tosca.nodes.blockstorage",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412549327,
+ "lastUpdateDate": 1433412549327,
+ "coordinates": {
+ "x":150,
+ "y":250
+ },
+ "description": "Represents a server-local block storage device (i.e., not shared) offering evenly sized blocks of data from which raw storage volumes can be created.",
+ "icon": "icon-red3",
+ "tags": [
+ "BlockStorage"
+ ],
+ "category": "Infrastructure",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "properties": {
+ "volume_id": {
+ "uniqueId": "tosca.nodes.blockstorage.1.0.volume_id",
+ "type": "string",
+ "required": false,
+ "definition": true,
+ "password": false
+ },
+ "snapshot_id": {
+ "uniqueId": "tosca.nodes.blockstorage.1.0.snapshot_id",
+ "type": "string",
+ "required": false,
+ "definition": true,
+ "password": false
+ },
+ "size": {
+ "uniqueId": "tosca.nodes.blockstorage.1.0.size",
+ "type": "scalar-unit.size",
+ "required": false,
+ "constraints": [
+ {
+
+ }
+ ],
+ "definition": true,
+ "password": false
+ }
+ },
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": false,
+ "highestVersion": false,
+ "capabilities": {
+ "host3": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "db3": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "linux": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ }
+ },
+ "requirements": {
+ "linux": {
+ "uniqueId": "tosca.nodes.SoftwareComponent.1.0.host",
+ "capability": "tosca.capabilities.Container",
+ "node": "tosca.nodes.Compute",
+ "requirementImpl": {
+ "uniqueId": "requirementImpl.my-resource.1.0.host",
+ "nodeId": "tosca.nodes.Compute.1.0",
+ "requirementProperties": {
+ "host": {
+ "uniqueId": "capabilityInst.requirementImpl.my-resource.1.0.host.host",
+ "properties": {
+ "disk_size": "10",
+ "num_cpus": "2"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "uniqueId": "tosca.nodes.loadbalancer.1.0",
+ "resourceName": "tosca.nodes.loadbalancer",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412549878,
+ "lastUpdateDate": 1433412549878,
+ "coordinates": {
+ "x":150,
+ "y":250
+ },
+ "description": "Represents logical function that be used in conjunction with a Floating Address to distribute an application’s traffic (load) across a number of instances of the application (e.g., for a clustered or scaled application).",
+ "icon": "icon-red4",
+ "tags": [
+ "Load Balancer"
+ ],
+ "category": "Infrastructure",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "properties": {
+ "algorithm": {
+ "uniqueId": "tosca.nodes.loadbalancer.1.0.algorithm",
+ "type": "string",
+ "required": false,
+ "definition": true,
+ "password": false
+ }
+ },
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": false,
+ "highestVersion": false,
+ "capabilities": {
+ "host": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "db4": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "linux4": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ }
+ },
+ "requirements": {
+ "linux": {
+ "uniqueId": "tosca.nodes.SoftwareComponent.1.0.host",
+ "capability": "tosca.capabilities.Container",
+ "node": "tosca.nodes.Compute",
+ "requirementImpl": {
+ "uniqueId": "requirementImpl.my-resource.1.0.host",
+ "nodeId": "tosca.nodes.Compute.1.0",
+ "requirementProperties": {
+ "host": {
+ "uniqueId": "capabilityInst.requirementImpl.my-resource.1.0.host.host",
+ "properties": {
+ "disk_size": "10",
+ "num_cpus": "2"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "uniqueId": "tosca.nodes.titan.1.0",
+ "resourceName": "tosca.nodes.titan",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412550046,
+ "lastUpdateDate": 1433412550046,
+ "coordinates": {
+ "x":150,
+ "y":250
+ },
+ "description": "Titan is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. Titan is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time.",
+ "icon": "icon-red4",
+ "tags": [
+ "Titan"
+ ],
+ "category": "Big Data",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": false,
+ "highestVersion": false,
+ "capabilities": {
+ "host5": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "db": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "linux5": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ }
+ },
+ "requirements": {
+ "linux": {
+ "uniqueId": "tosca.nodes.SoftwareComponent.1.0.host",
+ "capability": "tosca.capabilities.Container",
+ "node": "tosca.nodes.Compute",
+ "requirementImpl": {
+ "uniqueId": "requirementImpl.my-resource.1.0.host",
+ "nodeId": "tosca.nodes.Compute.1.0",
+ "requirementProperties": {
+ "host": {
+ "uniqueId": "capabilityInst.requirementImpl.my-resource.1.0.host.host",
+ "properties": {
+ "disk_size": "10",
+ "num_cpus": "2"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ {
+ "uniqueId": "tosca.nodes.tas.1.0",
+ "resourceName": "tosca.nodes.tas",
+ "resourceVersion": "1.0",
+ "creatorUserId": "jh0003",
+ "creatorFullName": "Jimmy Hendrix",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "creationDate": 1433412550197,
+ "lastUpdateDate": 1433412550197,
+ "coordinates": {
+ "x":150,
+ "y":250
+ },
+ "description": "Telephony application server.",
+ "icon": "icon-red1",
+ "tags": [
+ "TAS"
+ ],
+ "category": "VoIP",
+ "lifecycleState": "CERTIFIED",
+ "derivedFrom": [
+ "tosca.nodes.root"
+ ],
+ "vendorName": "ATT (Tosca)",
+ "vendorRelease": "1.0.0.wd03",
+ "contactId": "jh0003",
+ "abstract": false,
+ "highestVersion": false,
+ "capabilities": {
+ "host": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "db6": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ },
+ "linux6": {
+ "uniqueId": "capability.tosca.nodes.Compute.1.0.host",
+ "type": "tosca.capabilities.Container",
+ "validSourceTypes": [
+ "tosca.nodes.SC"
+ ]
+ }
+ },
+ "requirements": {
+ "db": {
+ "uniqueId": "tosca.nodes.SoftwareComponent.1.0.host",
+ "capability": "tosca.capabilities.Container",
+ "node": "tosca.nodes.Compute",
+ "requirementImpl": {
+ "uniqueId": "requirementImpl.my-resource.1.0.host",
+ "nodeId": "tosca.nodes.Compute.1.0",
+ "requirementProperties": {
+ "host": {
+ "uniqueId": "capabilityInst.requirementImpl.my-resource.1.0.host.host",
+ "properties": {
+ "disk_size": "10",
+ "num_cpus": "2"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+]