From 50f1b66ddb690838520c34b0afe74dcc13b4dee2 Mon Sep 17 00:00:00 2001 From: Sun Seng David TAN Date: Mon, 12 Sep 2016 22:35:16 +0200 Subject: [PATCH] Fix stacks for flux --- .../src/main/resources/stacks.json | 53 ++++++++++++------- 1 file changed, 33 insertions(+), 20 deletions(-) diff --git a/ide/che-core-ide-stacks/src/main/resources/stacks.json b/ide/che-core-ide-stacks/src/main/resources/stacks.json index 049ef9f3dccf..c8735264c0dd 100644 --- a/ide/che-core-ide-stacks/src/main/resources/stacks.json +++ b/ide/che-core-ide-stacks/src/main/resources/stacks.json @@ -1314,18 +1314,32 @@ "id": "flux", "creator": "rnavagamuwa", "name": "Flux", - "description": "Eclipse flux stack with java, node and rabbitmq", + "description": "Eclipse flux stack with java, node and rabbitmq.", "scope": "advanced", "tags": [ "Java", "JDK", + "Maven", + "Tomcat", + "Subversion", + "Ubuntu", + "Git", "Node", - "Rabbitmq" + "RabbitMQ", + "Flux" ], "components": [ { "name": "JDK", "version": "1.8.0_45" + }, + { + "name": "Maven", + "version": "3.2.2" + }, + { + "name": "Tomcat", + "version": "8.0.24" } ], "source": { @@ -1333,26 +1347,25 @@ "origin": "rnavagamuwa/fluxworkspace" }, "workspaceConfig": { - "environments": [ - { - "name": "default", - "recipe": null, - "machineConfigs": [ - { - "name": "default", - "limits": { - "ram": 1000 - }, - "source": { - "location": "stub", - "type": "dockerfile" - }, - "type": "docker", - "dev": true + "environments": { + "default": { + "machines": { + "dev-machine": { + "agents": [ + "org.eclipse.che.terminal", "org.eclipse.che.ws-agent", "org.eclipse.che.ssh" + ], + "servers": {}, + "attributes" : { + "memoryLimitBytes": "2147483648" + } } - ] + }, + "recipe": { + "location": "rnavagamuwa/fluxworkspace", + "type": "dockerimage" + } } - ], + }, "name": "default", "defaultEnv": "default", "description": null,