Commit Graph

598 Commits (0b4d01ea2e8a12d3d2d10bccc30c03e299fe07a4)

Author SHA1 Message Date
Anton Korneta e2160d5c96 Changes pvc name to a prefix + 8 random characters 2018-01-26 14:40:26 +02:00
Mykhailo Kuznietsov 72b21e971b
Remove "source" field from stack object (#8407) 2018-01-25 15:53:33 +02:00
Max Shaposhnik 2902fc75a4
Refactor remaining everrest websocket endpoints to use Json RPC (#8388) 2018-01-24 16:17:00 +02:00
Anton Korneta 5c68c90a0b Move license to resource details 2018-01-24 13:44:36 +02:00
Sergii Leshchenko 9e3da3974e CHE-8316 Add resolving of installers servers conflicts 2018-01-19 10:02:04 +02:00
Oleksandr Garagatyi 5466e48cbd
Cleanup unused properties (#8309) 2018-01-16 18:18:19 +02:00
Max Shaposhnik 5f4d4e2034
Enable multiusering in core che version (#8262) 2018-01-12 11:22:13 +02:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Max Shaposhnik 11ee18bdfc
Update Docker API version to latest supported by current Docker version (#8238) 2018-01-11 11:37:07 +02:00
Eugene Ivantsov 58991906ac
Use native profile to build Che in Che workspace (#8237) 2018-01-11 10:18:02 +02:00
Max Shaposhnik 035fd6c7ff
Restore functionality of uploading SSH keys to machine on startup. 2018-01-11 09:59:41 +02:00
Sun Tan 0aaf476af6 Adding request_id header to the logs through MDC Context
Signed-off-by: Sun Tan <sutan@redhat.com>
2018-01-05 13:46:28 +01:00
Oleksandr Garagatyi 9e0a4f2095
Add continuous servers liveness checks (#8088)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-01-04 17:33:14 +02:00
Sergii Leshchenko a49ec802e6
CHE-6006 Fix recipe in che-in-che stack (#8163) 2018-01-04 11:10:59 +02:00
Roman Iuvshyn 71704ab3a7
RELEASE: Set next development version (#8135) 2018-01-03 14:13:25 +02:00
Sergii Kabashniuk 62d3e1a96b
Discontinue support of old property names (#8080)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2018-01-03 08:54:15 +02:00
Sergii Kabashniuk 5686615922
Allow overriding wsagent and maven server ram (#8023)
Removed limitation for environment variables values to be less than 255 characters.
User can set JAVA_OPTS in env variables of workspace
User can set MAVEN_OPTS in env variables of workspace
User can set CHE_WORKSPACE_WSAGENT_JAVA_OPTIONS java opts to adjust java opts of ws-agent
User can set CHE_WORKSPACE_MAVEN__SERVER__JAVA__OPTIONS java opts to adjust java opts of the maven server
Admin can set CHE_WORKSPACE_JAVA__OPTIONS to adjust default value of JAVA_OPTS of all workspaces
Admin can set CHE_WORKSPACE_MAVEN__OPTIONS to adjust default value of MAVEN_OPTS of all workspaces
Admin can set CHE_WORKSPACE_WSAGENT__JAVA__OPTIONS to adjust default value of JAVA_OPTS of all ws-agents
Admin can set CHE_WORKSPACE_MAVEN__SERVER__JAVA__OPTIONS to adjust default value of JAVA_OPTS of all maven servers
If admin will configure CHE_WORKSPACE_HTTP__PROXY this values will be used in JAVA_OPTS , MAVEN_OPTS , and jvm options for ws-agent and maven-server
che.workspace.java_options=-XX:MaxRAM=150m -XX:MaxRAMFraction=2 ...
che.workspace.maven_options=-XX:MaxRAM=150m -XX:MaxRAMFraction=2 ...
che.workspace.wsagent_java_options=-XX:MaxRAM=600m -XX:MaxRAMFraction=1 ...
che.workspace.maven_server_java_options=-XX:MaxRAM=128m -XX:MaxRAMFraction=1 ..

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2017-12-27 17:13:33 +02:00
Vitaliy Guliy 467e45b073
Improved Workspace status panel (#7998)
* Squashed commit of the following:

commit 783d12f7c1987ab74aa194da218523bde8a1d4d4
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Dec 20 17:30:49 2017 +0200

    Add missing loading pieces

commit 41288b8ff18257c258bc4b2c69ae2d30fc041a97
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Dec 20 16:13:09 2017 +0200

    Add missing loading pieces

commit 7cdadf825420946e5b5eee29de72f91a29a7af9e
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Tue Dec 19 15:38:03 2017 +0200

    Add missing loading pieces

commit 79b88c7103e84e2138126b651b16439544bd22cb
Merge: 33a9af0cd9 ec91a22643
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Tue Dec 19 15:16:06 2017 +0200

    Merge branch 'che6' into CHE-7330

commit 33a9af0cd99ade63dcfcd5123e661a7ca80c1b37
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Tue Dec 19 15:15:11 2017 +0200

    Add missing loading pieces

commit c03250039385b39faba9d97c1b6d080070bd28fa
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Tue Dec 19 11:25:20 2017 +0200

    Add missing loading pieces

commit b8ad09f8624151d619eb34b434d372175cdc9f20
Merge: 16936f5350 ec0edba84d
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Mon Dec 18 09:46:12 2017 +0200

    Merge branch 'che6' into CHE-7330

commit 16936f53509a110c8626ea412969caa13a80b38f
Merge: b9aad88422 419824c9d3
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Dec 13 16:54:35 2017 +0200

    Merge branch 'che6' into CHE-7330

commit b9aad8842231d436b350d63c35eb7dd0540f1890
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Dec 13 16:50:23 2017 +0200

    Add missing loading pieces

commit aa255992922fa5217ee968ed8e98e2acb78610a7
Merge: 3262c44e13 9af677e958
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Dec 13 13:01:38 2017 +0200

    Merge branch 'CHE-7330' of github.com:eclipse/che into CHE-7330

commit 3262c44e132f8ac95967dc3deecfe23206d56d46
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Dec 13 13:00:32 2017 +0200

    Add missing loading pieces

commit 9af677e95878db358291c5f2c86b401d87373ccc
Author: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
Date:   Sat Dec 9 19:05:46 2017 +0200

    Add an ability to hide machines output tabs

    Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

commit a9ccd7381e746ca2a9fb5445b649d1dfac643afa
Author: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
Date:   Fri Dec 8 11:39:02 2017 +0200

    Add event to display output event by machine name (#7782)

    Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

commit f051d594e1f52fa48e37c8fdd3d591c502326a78
Merge: fb4f8c020b 4ca92c9bc4
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Thu Dec 7 09:32:14 2017 +0200

    Merge branch 'che6' into CHE-7330

commit fb4f8c020b966e04473cf18e45cafff9ad061cd6
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Dec 6 17:22:15 2017 +0200

    Add missing loading pieces

* Add missing loading pieces

* Add missing loading pieces

* Add missing loading pieces

* Add missing loading pieces

* Add missing loading pieces

* Move MachineStatusChangedEvent to che-core-ide-app from ide-api

* Fix formatting

* Rename 'serverDefined' on 'serverRunning'

* Revert script for test language server.
2017-12-27 11:19:41 +02:00
Mykhailo Kuznietsov 93b974d1e0
Change worskpace project files storage path (#7844)
- Workspace projects are now stored in folders, named after their workspace id, rather than name,
to prevent issues with workspace renaming. Applies to Docker infrastructure only.
- Add migration, that would move workspace projects to their new location. Occurs on Che startup.
- Added configuration property to enable/disable this migration.
- Improved Workspace DAO/Manager to use pagination for methods, that return lists of workspaces
2017-12-22 15:55:28 +02:00
Max Shaposhnik 8ff1be36f5
Added support of Idenvity brokering mechanism of Keycloak for Multi-user Che 2017-12-21 17:50:03 +02:00
Roman Iuvshyn 758d400e5f
Clean up after merge che6 to master (#7979) 2017-12-20 17:28:34 +02:00
Roman Iuvshyn 5a6d3910b2
RELEASE: set next dev version (#7882) 2017-12-14 15:51:34 +02:00
Sergii Kabashniuk 04e4a1b93e
Remove support of Che4 workspace format (#7832)
Remove support of Che4 workspace format
2017-12-13 21:18:44 +02:00
Anton Korneta 013d4bb058 Adds the ability to configure, pre-create subpaths for common strategy 2017-12-08 17:16:42 +02:00
Sergii Leshchenko 6f33e1af3c
Add logback-classic into ide.war (#7756) 2017-12-07 10:15:55 +02:00
Sergii Leshchenko d11f38e9b4
Bind DashboardRedirectionFilter via guice to make easier overriding of it (#7738) 2017-12-06 15:23:05 +02:00
Mykhailo Kuznietsov 7c845625dc
Remove functionality of adding exec agent to workspace configurations (#7689) 2017-12-05 12:07:23 +00:00
Eugene Ivantsov c8fd6177b5
Che in che improvements (#7633)
* Che in che stack improvements

* Edited commands
2017-11-29 18:15:21 +02:00
Sergii Kabashniuk 9add827aa8
Set correct recipe.location for che in che docker image (#7578) 2017-11-27 15:42:34 +02:00
Eugene Ivantsov d9663e6c78
Add IDE and IDE-server extensions to sample list (#7565) 2017-11-27 13:48:51 +02:00
Sergii Kabashniuk ba9ff8b081
Uses specific to che6 branch image tag (#7542) 2017-11-24 13:06:54 +02:00
Roman Iuvshyn 506210325a
RELEASE: set next dev version (#7523) 2017-11-23 12:50:56 +02:00
Sergii Kabashniuk 484011ebc8
[wp] Updates in che-in-che stack (#7493)
[wp] Updates in che-in-che stack (#7493)
2017-11-22 15:55:38 +02:00
Sergii Kabashniuk ed0ce61dac
Added missing lib to be able to configure net.logstash.logback.encoder.LogstashEncoder on wsagent. Removed unused libs from ws-master war (#7444) 2017-11-21 11:40:28 +02:00
Oleksandr Garagatyi 84564f2e55 CHE-7010: Set Docker API version to 1.21
We were using API that was introduced in 1.21, so Docker minimum
version should be increased. We also need volume API from 1.21.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-20 17:22:35 +02:00
Oleksandr Garagatyi eda1a4b1a2 CHE-7010: Add volumes into workspace infrastructure SPI
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-20 17:22:35 +02:00
Oleksandr Garagatyi ba7a1e2e51 CHE-7010: Add volumes into machine model object
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-20 16:14:47 +02:00
Sun Tan 861ef8ecf8 Adding logstash-logback dependencies to avoid classloading issue when using logstash-logback appenders (#6537)
Signed-off-by: Sun Tan <sutan@redhat.com>
2017-11-16 16:11:04 +01:00
Artem Zatsarynnyi 8e61b05852
Update the command for launching GWT SDM from IDE (#7357)
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2017-11-14 13:02:30 +02:00
Anton Korneta 5ccece6344 Cleanup Che properties and remove DockerConnectorProvider 2017-11-13 16:12:31 +02:00
Max Shaposhnik c74bad367c
Remove snapshotting mechanism; 2017-11-13 14:25:40 +02:00
Sergii Kabashniuk d5a81a6ae3
Configure che-server only from environment variables (#7299)
Removed default properties extraction from war.
Removed all usage of CHE_LOCAL_CONF_DIR
Forced unset of CHE_LOCAL_CONF_DIR to make sure that Eclipse Che server can be configured only with environment variables.
Changed location of default properties from /codenvy/che.properties to /che/che.properties
2017-11-12 20:46:49 +02:00
Anton Korneta f9381a6533 CHE-6767: Add cleanup of workspace data for common PVC strategy 2017-11-10 16:16:46 +02:00
Max Shaposhnik b16545ea61
Cleanup unused fileset; (#7266) 2017-11-09 14:58:33 +02:00
Vitaliy Guliy d1906b471b
5231 Workspace Loading Sequence (#7225)
* Squashed commit of the following:

commit 0003b95bb44e3d866d95f672ef2f47f41d10b7cd
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Wed Oct 11 16:47:34 2017 +0300

    CHE-5231 Workspace Loading Sequence

commit c608d131ceaaf992d764eaa498fc6fd7c16e453c
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Mon Oct 9 19:33:22 2017 +0300

    CHE-5231 Workspace Loading Sequence

commit 1e9e2eb3f91983dd687037e7f4d2bd7014fa68d8
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Mon Oct 9 10:07:47 2017 +0300

    CHE-5231 Workspace Loading Sequence

commit 2783978ff97552341e81a6c0559b2c87635819c0
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Fri Oct 6 17:51:12 2017 +0300

    CHE-5231 Workspace Loading Sequence

commit 721d8afc4dd4e2f4426bf9784fc6576de558cebf
Merge: da9292ff61 ceb45d8bc0
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Thu Sep 28 16:10:20 2017 +0300

    Merge branch 'spi' into CHE-5231

commit da9292ff615e4ce0ddfae457e9f1afa95b4877f1
Merge: a47cb897cd a717eec1eb
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Thu Sep 28 15:38:00 2017 +0300

    Merge branch 'spi' into CHE-5231

commit a47cb897cd58c861edbbc22aec16750ea1b245cd
Merge: 5347c4f414 11330803c1
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Thu Sep 28 13:42:35 2017 +0300

    Merge branch 'spi' into CHE-5231

commit 5347c4f4140e140bf12aaa5deccf6c92c796c72b
Merge: 2c57d79d06 772b1bbc71
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Thu Sep 28 12:22:27 2017 +0300

    Merge branch 'spi' into CHE-5231

commit 2c57d79d06b66c8c53e3535668672f2b13f5095d
Merge: b7bc3ad111 3f6c295c47
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Thu Sep 28 09:47:13 2017 +0300

    Merge branch 'spi' into CHE-5231

commit b7bc3ad1114bc5c18192320d281f798600cdd18f
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Tue Sep 26 17:58:09 2017 +0300

    CHE-5231 Workspace Loading Sequence

commit e8493e0fe4e8f97ce753bac9810e8f744632bcb5
Merge: 84b70a3516 89ba171893
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Tue Sep 26 15:57:51 2017 +0300

    Merge branch 'spi' into CHE-5231

commit 84b70a35163d6925a45ce98fb51e5fea43a8e930
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Tue Sep 26 15:57:00 2017 +0300

    CHE-5231 Workspace Loading Sequence

commit ee6173ba9bc580820460749f7f4d993f8c1f3a10
Author: Vitaliy Guliy <vguliy@codenvy.com>
Date:   Mon Sep 25 18:09:07 2017 +0300

    CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence

* CHE-5231 Workspace Loading Sequence
2017-11-08 16:32:18 +02:00
Florent BENOIT 6635859952
Add JVM options for Java9 runtime (#7234)
* Add options for Java9 runtime
It brings some required modules that are not exposed by default (javax.* classes are turned off by default)

Change-Id: Ie3e63200bc5cbe7a371c00bd56333a144d68fd32
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-11-08 14:25:29 +01:00
Max Shaposhnik 0b7f4ed3f4
Use single jndi datasource factory; 2017-11-08 15:21:33 +02:00
Max Shaposhnik ea7e071b3a
Use same assembly for single- and multiuser Che 2017-11-07 12:27:02 +02:00
Hanno Kolvenbach bb35ed9329 Add support for Docker HostConfig SecurityOpt through che.env (#7203)
* port of securityopt implementation to che6
* added securityopt to toString(), removed TODO

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
2017-11-07 11:08:16 +01:00
Anatoliy Bazko 40ff60038d
CHE-6845: Disable breakpoints (#7204) 2017-11-07 09:32:08 +00:00