From fa964c3edc24b62950a6011ca66e2fa3029abdbd Mon Sep 17 00:00:00 2001 From: Florent BENOIT Date: Thu, 6 Sep 2018 09:26:17 +0200 Subject: [PATCH] Introduce ws.next stacks Change-Id: Iaec703aaa3700cf364506ae6b266736ab62817e8 Signed-off-by: Florent BENOIT --- .../src/main/resources/stacks.json | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) 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 c627740e11..d9f6afe2c5 100644 --- a/ide/che-core-ide-stacks/src/main/resources/stacks.json +++ b/ide/che-core-ide-stacks/src/main/resources/stacks.json @@ -138,6 +138,102 @@ "mediaType": "image/svg+xml" } }, + { + "id": "wsnext-helloworld-openshift", + "creator": "ide", + "name": "Workspace Next HelloWorld example on OpenShift", + "description": "Example of a Theia Hello World plug-in + Theia plug-in (openshift)", + "scope": "general", + "tags": [ + "ws.next", + "Theia" + ], + "workspaceConfig": { + "defaultEnv": "default", + "environments": { + "default": { + "machines": { + "ws/dev": { + "attributes": {}, + "servers": {}, + "volumes": { + "projects": { + "path": "/projects" + } + }, + "installers": [], + "env": {} + } + }, + "recipe": { + "type": "openshift", + "content": "---\nkind: List\nitems:\n-\n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n -\n image: eclipse/che-dev:nightly\n name: dev", + "contentType": "application/x-yaml" + } + } + }, + "projects": [], + "name": "skeleton", + "attributes": { + "editor": "org.eclipse.che.editor.theia:1.0.0", + "plugins": "che-dummy-plugin:0.0.1" + }, + "commands": [], + "links": [] + }, + "stackIcon": { + "name": "type-theia.svg", + "mediaType": "image/svg+xml" + } + }, + { + "id": "wsnext-service-openshift", + "creator": "ide", + "name": "Workspace Next REST Service Example on OpenShift", + "description": "Example of a Theia REST Service plug-in + REST server container + Theia plug-in (openshift)", + "scope": "general", + "tags": [ + "ws.next", + "Theia" + ], + "workspaceConfig": { + "defaultEnv": "default", + "environments": { + "default": { + "machines": { + "ws/dev": { + "attributes": {}, + "servers": {}, + "volumes": { + "projects": { + "path": "/projects" + } + }, + "installers": [], + "env": {} + } + }, + "recipe": { + "type": "openshift", + "content": "---\nkind: List\nitems:\n-\n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n -\n image: eclipse/che-dev:nightly\n name: dev", + "contentType": "application/x-yaml" + } + } + }, + "projects": [], + "name": "skeleton", + "attributes": { + "editor": "org.eclipse.che.editor.theia:1.0.0", + "plugins": "che-service-plugin:0.0.1" + }, + "commands": [], + "links": [] + }, + "stackIcon": { + "name": "type-theia.svg", + "mediaType": "image/svg+xml" + } + }, { "id": "java-centos-mysql", "creator": "ide",