* Toggle Che single port by enabling CHE_SINGLE_PORT in the che.env file. (CHE_SINGLE_PORT=true, default is false)
By enabling single-port, all browser traffic to Che or any workspace will be routed through the value that you have set to CHE_PORT`, or 8080 if not set. Setting this property will transform the launch sequence of Che to launch a Traefik reverse proxy. The reverse proxy will act as the traffic endpoint for all browser communications. When a new workspace is started or stopped, Che will update Traefik's configuration
with rules for how browser traffic should be routed to Che or a workspace.
It’s now using an official Traefik image (before I was using a custom made image)
There is an interceptor with a kill switch. It means interceptor is applied only if plug-in is enabled (not only if plug-in is added at compilation)
It is automatically enabled when CHE_SINGLE_PORT is turned on
docker-compose file is handling if the single_port is turned on or off and then add the traefik container and redirect port only if the property is enabled. (not enabled by default)
using —debug flag when launching che is also turning on the traffic web console to view traefik routes
It is not enabled by default, so it means that without user change, there is no overhead, no useless container started, etc.
Change-Id: I12644d9202dadc0b10104f78bb055425ca6611ac
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* Fix catching exception in case invalid POM.
Fix dependency on che-plugin-pullrequest-server in should be only in ws-agent.
Improve maven attribute resolving previos we always read them from pom.xml but MavenProjectManager already has all information about regitered projects
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
* Fix catching exception in case invalid POM.
Fix dependency on che-plugin-pullrequest-server in should be only in ws-agent.
Improve maven attribute resolving previos we always read them from pom.xml but MavenProjectManager already has all information about regitered projects
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
* Introduce a custom server evaluation strategy
This custom server evaluation strategy allows to configure the links by providing a set of macro/templates.
It avoids to create one strategy class file for each needs, as template/macros can be used independently.
Change-Id: I3d941e0e786bdbfec037ba59e3f790f890bf9eb0
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* CODENVY-1612: add to the terminal 'Ctrl + C' and 'Ctrl + V' for chromebook.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
* Move handler to separated class.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
* Add checking for shift, alt and meta key.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>