summaryrefslogtreecommitdiffstats
path: root/catalog-ui/server-mock/mock-data/resource/resource.json
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-06-09 03:19:04 +0300
committerMichael Lando <ml636r@att.com>2017-06-09 03:19:04 +0300
commited64b5edff15e702493df21aa3230b81593e6133 (patch)
treea4cb01fdaccc34930a8db403a3097c0d1e40914b /catalog-ui/server-mock/mock-data/resource/resource.json
parent280f8015d06af1f41a3ef12e8300801c7a5e0d54 (diff)
[SDC-29] catalog 1707 rebase commit.
Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/server-mock/mock-data/resource/resource.json')
-rw-r--r--catalog-ui/server-mock/mock-data/resource/resource.json153
1 files changed, 0 insertions, 153 deletions
diff --git a/catalog-ui/server-mock/mock-data/resource/resource.json b/catalog-ui/server-mock/mock-data/resource/resource.json
deleted file mode 100644
index bc04f40730..0000000000
--- a/catalog-ui/server-mock/mock-data/resource/resource.json
+++ /dev/null
@@ -1,153 +0,0 @@
-{
- "uniqueId": "my-resource.1.0.0",
- "isAbstract": false,
- "resourceName": "my-resource",
- "resourceVersion": "1.0.0",
- "isHighestVersion": false,
- "vendorName": "vendorName",
- "vendorRelease": "vendorRelease",
- "contactId": "contactId",
- "olderVersions": [
- "bla"
- ],
- "resourceIconSrc": "images/resource-icons/firewall.png",
- "icon":"icon-red2",
- "creatorUserId": "jh0003",
- "creatorFullName": "Jimmy Hendrix",
- "lastUpdaterUserId": "jh000322",
- "lastUpdaterFullName": "JHaval Jimmy Hendrix",
- "creationDate": 1431525184379,
- "lastUpdateDate": 1431525184394,
- "description": "Description bla bla",
- "tags": [
- "some tag",
- "tag2",
- "tag3",
- "tag4"
- ],
- "category": "Infrastructure",
- "lifecycleState": "CERTIFIED",
- "derivedFrom": [
- "template1"
- ],
- "artifacts": {
- "db_content": {
- "uniqueId": "my-resource.1.0.0.db_content",
- "artifactType": "puppet",
- "artifactRef": "http://swift OR CATALOG FE /myfile",
- "artifactName": "some Artifact Name1",
- "artifactRepository": "SWIFT",
- "artifactData": "base 64 dajfvsd fsdfsfs s==",
- "artifactChecksum": "base 64 dsdsd==",
- "userIdCreator": "jh0003",
- "userIdLastUpdater": "jh0003",
- "creatorFullName": "Jimmy Hendrix",
- "updaterFullName": "Jimmy Hendrix",
- "creationDate": 1431525184377,
- "lastUpdateDate": 1431525184377
- },
- "db_content_2": {
- "uniqueId": "my-resource.1.0.0.db_content_2",
- "artifactType": "puppet",
- "artifactRef": "http://swift OR CATALOG FE /myfile",
- "artifactName": "some Artifact Name2",
- "artifactRepository": "SWIFT",
- "artifactData": "base 64 dajfvsd fsdfsfs s==",
- "artifactChecksum": "base 64 dsdsd==",
- "userIdCreator": "jh0003",
- "userIdLastUpdater": "jh0003",
- "creatorFullName": "Jimmy Hendrix",
- "updaterFullName": "Jimmy Hendrix",
- "creationDate": 1431525184377,
- "lastUpdateDate": 1431525184377
- },
- "db_content_3": {
- "uniqueId": "my-resource.1.0.0.db_content_3",
- "artifactType": "puppet",
- "artifactRef": "http://swift OR CATALOG FE /myfile",
- "artifactName": "some Artifact Name3",
- "artifactRepository": "SWIFT",
- "artifactData": "base 64 dajfvsd fsdfsfs s==",
- "artifactChecksum": "base 64 dsdsd==",
- "userIdCreator": "jh0003",
- "userIdLastUpdater": "jh0003",
- "creatorFullName": "Jimmy Hendrix",
- "updaterFullName": "Jimmy Hendrix",
- "creationDate": 1431525184377,
- "lastUpdateDate": 1431525184377
- }
- },
- "properties": {
- "disk_size": {
- "uniqueId": "uniqueId_1",
- "type": "integer",
- "required": false,
- "defaultValue": "10",
- "description": "Size of the local disk, in Gigabytes (GB), available to applications running on the Compute node.",
- "constraints": [
- {
- "inRange": [
- "100"
- ]
- }
- ],
- "isPassword": false
- },
- "num_cpus": {
- "uniqueId": "uniqueId_2",
- "type": "integer",
- "required": false,
- "defaultValue": "2",
- "description": "Number of (actual or virtual) CPUs associated with the Compute node.",
- "constraints": [
- {
- "inRange": [
- "1",
- "4"
- ]
- }
- ],
- "isPassword": false
- }
- },
- "attributes": {
- "tmp": {}
- },
- "interfaces": {
- "tmp": {
- "operations": {}
- }
- },
- "capabilities": {
- "host": {
- "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"
- }
- }
- }
- }
- }
- },
- "defaultCapabilities": [
- "defaultCapabilities"
- ]
-}