Move agents volume addition into infrastructure provisioner.
Suppress some false positive warnings.
Add some javadocs.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
* CHE-3152 Improve buttons on the part toolbar
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
* CHE-3152 Improve buttons on the part toolbar
* CHE-2894 Processes panel should be opened maximized
* CHE-3152 Improve buttons on the part toolbar
* CHE-3152 Improve buttons on the part toolbar
* CHE-3152 Improve buttons on the part toolbar
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
* CHE-3152 Improve buttons on the part toolbar
* CHE-3152 Improve buttons on the part toolbar
* CHE-3152 Improve buttons on the part toolbar
The current license checking maven plugin does not allow
for multiple copyright owners on source files. This commit
adds files modified for ServerEvaluationStrategy to an excludes
list so that builds can continue normally.
This commit should be undone once issue #3281 is resolved.
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Replaces DockerInstanceRuntimeInfo#getServers() to use
ServerEvaluationStrategy. Deletes LocalDockerInstanceRuntimeInfo
class as it is no longer needed. Adds MapBinder of
ServerEvaluationStrategy to LocalDockerModule.
Updates DockerInstanceRuntimeInfo tests to be more
readable and removes now unnecessary tests.
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
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>
* 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
* 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>