From 2dc8739f3783f48b425b6dddc84b8e2c03c2ea0e 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 c507a4a7e24..f4c5f91214c 100644 --- a/ide/che-core-ide-stacks/src/main/resources/stacks.json +++ b/ide/che-core-ide-stacks/src/main/resources/stacks.json @@ -1272,18 +1272,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": { @@ -1291,26 +1305,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,