Commit Graph

760 Commits (f7d247a0d98457b4724b08ffebd3fa92dbc7f09c)

Author SHA1 Message Date
Angel Misevski f7d247a0d9 CHE-2030: Add tests for ServerEvaluationStrategy
Add tests for ServerEvaluationStrategy, DefaultServerEvaluationStrategy,
and LocalDockerServerEvaluationStrategy

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-05 13:52:42 -05:00
Angel Misevski d00ff2962b CHE-2030: Add ServerEvaluationStrategies and Provider
Adds abstract class ServerEvaluationStrategy which can be used to
change how Che Server communicates with workspace containers.
ServerEvaluationStrategy is meant to be extended to modify the behavior
of DockerInstanceRuntimeInfo#getServers().

Two implementations of ServerEvaluationStrategy are included:
DefaultServerEvaluationStrategy (which is identical to normal
getServers() functionality) and LocalDockerServerEvaluationStrategy,
which uses internal container addresses for workspace containers
and can help in cases where firewall is an issue.

Strategies are provided by ServerEvaluationStrategyProvider, which
uses the new property che.docker.server_evaluation_strategy to choose
which implementation is provided.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-05 13:52:42 -05:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Valeriy Svydenko 7350572c87 CHE-3140: bind 'Ctrl+Alt+G' hotkey for running TestNG (#3481) 2016-12-29 11:24:12 +02:00
Mykola Morhun c53693d5fa CHE-3549 Fix docker privileged mode (#3562)
CHE-3549: Fix privileged mode
2016-12-29 10:01:04 +02:00
Anatoliy Bazko 93f9352293 Loads a new git history page when user scrolled list to the very bottom (#3553)
CHE-3353: Pagination in loading git history
2016-12-29 08:08:59 +02:00
Dmitry Kuleshov 301121d777 Dynamic file watchers (#3482) 2016-12-26 14:34:17 +02:00
Mykola Morhun 2c855c68ac Che 3135: Clean up abandoned docker networks created by CHE (#3348)
CHE-3135: Clean up abandoned docker networks created by CHE
2016-12-23 16:23:56 +02:00
Roman Iuvshin abc1367c1d remove milestone from version 2016-12-23 15:04:56 +02:00
Vitalii Parfonov 5a76dddc62 Allow execution on not dev machine (#3451)
* Allow execution on other machine except dev
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2016-12-22 18:01:40 +02:00
Vitaliy Guliy 1addec70cd CHE-3369 Git history panel is not opened (#3480)
* CHE-3369 Git history panel is not opened

* CHE-3369 Git history panel is not opened
2016-12-22 16:39:07 +02:00
Evgen Vidolob 69276bbf5e #2866 fix importing maven project with relative path in modules (#3457)
* #2866 handle relative path and including 'pom.xml' in modules declarations

Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-22 13:55:12 +02:00
Valeriy Svydenko 382217c8e4 CHE-3140: don't resize a terminal when it gets selection (#3468) 2016-12-22 12:05:47 +02:00
Roman Iuvshin 813d930275 change version to M10-SNAPSHOT 2016-12-22 11:48:31 +02:00
Tyler Jewell dcbd1de2e2 Fix broken link 2016-12-21 15:38:20 -08:00
Alexander Garagatyi 1eceaebe75 CODENVY-1271: fix agent launching in some cases
Fix AbstractAgentLauncher.
Code cleanup.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-12-21 16:28:37 +02:00
Vladyslav Zhukovskyi 2bada70da7 Fix disappeared preview url and command line text (#3449)
* Fix disappeared preview url and command line text

* Code cleanup

* Update ProcessesPanelPresenter.java

* Change variable name
2016-12-20 19:54:48 +02:00
Vitaliy Guliy b958fd1e6a CODENVY-1337 Logs of workspace containers and agents are not shown when WS starts in IDE (#3450)
* CODENVY-1337 Logs of workspace containers and agents are not shown when WS starts in IDE

* CODENVY-1337 Logs of workspace containers and agents are not shown when WS starts in IDE
2016-12-20 18:30:54 +02:00
Kaloyan Raev 5bb51e0344 Fix for using the official mysql image in composite stacks (#3049)
* Avoid passing empty array for command and entrypoint to Docker API
* Use official mysql docker image in the java-mysql stack

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-12-20 16:17:37 +02:00
Valeriy Svydenko 9fe43a1dcf Show Processes panel when Terminal is opened (#3432) 2016-12-19 14:59:46 +02:00
Vitaliy Guliy fb4e1bd383 CHE-3369 Git history panel is not opened (#3414)
* CHE-3369 Git history panel is not opened

* CHE-3369 Git history panel is not opened

* CHE-3369 Git history panel is not opened
2016-12-19 10:21:14 +02:00
Dmitry Kuleshov 2559ec009b Exec agent IDE client adaptation (#3383)
exec-agent command manager replacement, several improvements to JSOR RPC
2016-12-16 12:23:19 +02:00
Evgen Vidolob 7bad057bbe #3220 use document changes instead of full text replacing on organize import operation (#3409)
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-16 11:00:18 +02:00
Vitalii Parfonov 11b3b9de67 Fix style of terminal panel: allow user-select (#3400)
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2016-12-15 18:08:34 +02:00
Anatoliy Bazko 977e1b40c2 CHE-3363: Fix initialization ZendDbgFileUtils (#3398) 2016-12-15 17:22:32 +02:00
Snjeza 9f5a7fb027 CHE-3129 - Project can't be created without Z option (#3130)
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2016-12-15 15:06:41 +02:00
Oleksii Orel 2de17e0422 CHE-2911 improve process panel
Signed-off-by: Oleksii Orel <oorel@codenvy.com>
2016-12-14 16:29:05 +02:00
Florent BENOIT 5266cd930e machine.getOwner() should return userId and not a namespace (#3366)
Fix #3042

Change-Id: I64b4cd3931fec502073ead0115a312430f2434b8
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-14 02:01:28 -07:00
Valeriy Svydenko 6162ca1d87 ARTIK-249: Add run attribute to NodeJs project (#3368) 2016-12-13 16:14:16 +02:00
Valeriy Svydenko 8c6dc0967a Add run terminal command to ssh agent launcher (#3354) 2016-12-13 15:16:34 +02:00
Vladyslav Zhukovskyi d15915cf94 Remove deprecated getPath method and use getLocation instead (#3322) 2016-12-09 12:33:45 +02:00
Roman Nikitenko cd25cd7029 CHE-146. Add ability to suspend gdb debugger session and breakpoints for endless loop
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-12-09 12:21:03 +02:00
Evgen Vidolob fa47b55692 #3127 send language id in document open message, fix range in incremental synchronize (#3305)
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-09 10:09:42 +02:00
Evgen Vidolob 4d45044fd1 #3121 add workspace sopped event listener to disable maven project resolver (#3311)
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-09 10:07:22 +02:00
Evgen Vidolob 2557f5d6f9 #3119 change version to M9
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-08 17:22:38 +02:00
Valeriy Svydenko bb593418c0 ARTIK-217: kill a process from ssh session (#3293) 2016-12-08 16:40:06 +02:00
Evgen Vidolob b48fe2ddf5 add TypeScript language server (#3145)
* #3119 add TypeScript language server
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-08 16:38:40 +02:00
Yevhenii Voevodin ab9b0946ec Add exec-agent (#2163) 2016-12-08 16:18:25 +02:00
Anatoliy Bazko 25ae094ba7 Zend Debugger for PHP (#3202) 2016-12-08 12:25:31 +02:00
Vitaliy Guliy a7820faa96 CHE-3177 Properly maximize console and terminal tabs (#3304)
* CHE-3177 Properly maximize console and terminal tabs

Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>

* CHE-3177 Properly maximize console and terminal tabs

Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-12-07 19:50:24 +02:00
Vitaliy Guliy b768872294 CHE-2463 Improve Panels behaviors in IDE (#3151)
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-12-07 17:45:37 +02:00
Alexander Garagatyi 42272e4bd9 CHE-3199: add cpu limits configuration (#3278)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-12-07 17:39:59 +02:00
Mykola Morhun 6dd0c1245e CODENVY-1106: Add ability to prevent window closing in IDE. Handle closing of preferences window correctly. (#3203)
CODENVY-1106: Add ability to prevent window closing in IDE. Handle closing of preferences window correctly.
2016-12-07 17:15:18 +02:00
Roman Iuvshin 7850cc2908 [maven-release-plugin] prepare for next development iteration 2016-12-07 12:34:30 +00:00
Roman Iuvshin 1c15a44844 [maven-release-plugin] prepare release 5.0.0-M8 2016-12-07 12:34:25 +00:00
Evgen Vidolob a62a56f333 #2353 fix style to prevent line wrap in terminal (#3284)
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-06 12:40:46 +02:00
Xavier Coulon a3464548a8 Issue 1793: Language Server Protocol: ShowMessage Notification feature (#3124)
Added a ShowMessageProcessor and a ShowMessageMessager classes to process
incoming `window/showMessage` notification and display a notification
in `float` mode in the UI if the message type is `error` or `warning`, in
the events panel otherwise. Note that the notification type for `error`
messages is incorrectly set to `Log` because of a bug in the typefox
dependency: `io.typefox.lsapi.MessageType#Log` has the value `1` instead of
`4`.

This issue depends on https://github.com/eclipse/che/pull/3113
(Add a 'warning' state for the notifications)

To test the pull request, please follow the instructions on
https://github.com/eclipse/che/pull/3123 to run the 'test-lang' server.
Once in the workspace, create a project, add a `foo.test` file (the
Language Server support for the 'test-lang' will be activated), then
type the following line
> window/showMessage:error: a message
and wait for the editor to save the changes. This will trigger a
`window/showMessage` notification from the 'test-lang' server in the Che UI.

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
2016-12-05 16:57:05 +02:00
Evgen Vidolob 34279b1813 #2676 use theme color for editor meta tag style (#3254)
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-02 10:33:45 +02:00
Roman Nikitenko 51cb17368c CHE-2391. File content synchronization after rename resource
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-12-02 10:13:57 +02:00
Roman Nikitenko 2339b0dd6e CHE-2937. Add ability to create batch of projects 2016-11-30 19:08:09 +02:00