Commit Graph

848 Commits (d76ba5ccb2fa255a2fbab4574b223ead6df79a30)

Author SHA1 Message Date
Aleksandr Andrienko d76ba5ccb2 Fix ProcessesPanelPresenterTest. Clean up rubbish. (#4237)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-02-27 17:28:18 +02:00
Aleksandr Andrienko 7e850ddd21 Add terminal debugId. (#4235)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-02-27 13:01:59 +02:00
Angel Misevski 54e60a52b4 Add OpenShift implementation of getNetworks()
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-24 15:58:44 +01:00
rawlingsj 2fc5373524 kubernetes-client will autodetect auth details both inside and outside openshift so no need to use config
for more information including the order configuration is decided see https://github.com/fabric8io/kubernetes-client#configuring-the-client

fixes https://issues.jboss.org/browse/CHE-117

Signed-off-by: rawlingsj <rawlingsj80@gmail.com>
2017-02-22 22:38:23 +01:00
Valeriy Svydenko 1106913dbc CHE-3723: Change Orion version (#4165) 2017-02-22 11:44:03 +02:00
Roman Iuvshin 6edd8f8cf7 set proper license headers 2017-02-21 19:45:34 +02:00
Xavier Coulon 5a78c0b70a Issue #1802 - Document highlightings (#3343)
Providing support for occurrences highlighting, with a
restriction due a bug in the io.typefox.lsapi.services 0.3.0
bundle, which assumes that the language server will return
a single occurrence to highlight, instead of a list of
occurrences.

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
2017-02-21 15:53:15 +02:00
Roman Iuvshin e71c7b5671 [maven-release-plugin] prepare for next development iteration 2017-02-17 11:04:07 +00:00
Roman Iuvshin c071c65aa2 [maven-release-plugin] prepare release 5.3.0 2017-02-17 11:03:59 +00:00
Aleksandr Andrienko a2d6900987 CHE-4150: Prevent external event for another widgets on key DELETE for terminal UI. (#4156)
* CHE-4150: Prevent external event on key DELETE for terminal UI.

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>

* Clean up .gitignore. Delete unused .npmignore .

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-02-16 17:07:24 +02:00
Alexander Garagatyi e55dd12e70 CODENVY-1403: fix bug in machine removal (#4154)
Bug occurs when container is unavailable without stop of machine.
In that case we don't stop machine instance and not cleanup
resources.
Signed-off-by: Alexander Garagatyi
2017-02-16 17:05:24 +02:00
Aleksandr Andrienko 830cc34070 Integrate xterm.js (version 2.2.3) widget instead of xterm. (#3943)
Changelog:
Delete old xterm view.
Move requirejs from plugin Orion to the plugin RequireJs.
Create new plugin with xterm.js.
Mavenize xterm.js build, use for build gulp tasks instead of bash scripts.
Rework GWT code for integration xterm.js.
Fix css styles for integration with GWT css resources and using Eclipse CHE white and dark themes.
Rework terminal resize mechanizm.

Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2017-02-15 18:46:40 +02:00
Igor Vinokur 227261a2c7 CHE-3973: Fix deletion of WS folder on WS deletion (#4122) 2017-02-15 16:43:48 +02:00
Alexander Garagatyi 6032c5905d CODENVY-1749: add possibility to set dns resolvers (#4129)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-02-15 12:47:46 +02:00
Yevhenii Voevodin 9370327d46 Inject MAVEN_OPTS environment variable along with JAVA_OPTS to container 2017-02-14 17:50:56 +02:00
Angel Misevski ad318b0fa1 Refactor inspectContainer() and add commit(), removeImage() (#4085)
Adds commit() and removeImage() implementations to
OpenShiftConnector. This requires some refactoring of existing
methods (mostly refactoring repeated processes into their own
methods -- e.g. creating an ImageStreamTag and getting image
info from a tag).

Additionally, refactors inspectContainer() method to remove
a call to DockerConnector, instead obtaining the same information
from what's available through the OpenShift API. This fixes an
issue where the IP address of a workspace was unavailable from
the ContainerInfo returned by DockerConnector.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-11 01:10:29 +01:00
Valeriy Svydenko ed99839748 CHE-3964: move popup from Quick documentation in the right place (#4088) 2017-02-10 17:56:10 +02:00
Sergii Leschenko 75d422762e Implement new format workspace key {namespace}/{workspaceName} or {workspaceId} (#4073)
* CHE-4061 Rework workspace key to new format where namespace can contain `/` symbols

Impemented new format workspace key:
1. {workspaceId}
2. {namespace}/{workspaceName}
Note that namespace can contains '/' symbol so workspace key can looks like {namespace_part1}/{namespace_part2}/.../{namespace_partN}/{workspaceName}.

* CHE-4061 Adapt IDE to work with workspace key in new format

According to new workspace key format changes URL
to IDE looks like {HOST}/namespace/namespace_part_2/workspaceName


* CHE-4061 Adapt dashboard to work with workspace key in new format

According to new workspace key format changes URL to
dashboard workspace details team looks like
{HOST}/dashboard/#/workspace/namespace/namespace_part_2/workspaceName
2017-02-10 15:13:17 +02:00
Mario Loriedo bbb2bc9bf2 OpenShiftConnector OAuth token support (#4049)
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-02-10 10:50:59 +01:00
Sergii Kabashniuk ccad9082cc che-plugin-docker-client remove all gwt code since its only a ws-master dependency (#4079) 2017-02-09 22:18:10 +02:00
Angel Misevski b6a056fa22 Implement OpenShift pull, tag, and inspectImage
Implement OpenShiftConnector pull, tag, and inspectImage through
ImageStreams. Makes changes to how containers are created.

Currently snapshots do not work, as commit and push methods are not
implemented. Additionally, pulling a stack from a private repository
is not supported.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-02-09 01:26:57 +01:00
Snjeza 65c38ed507 Fixing failed tests (#4065)
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2017-02-08 21:33:45 +02:00
Snjezana Peco 41541e0b99 CHE-3953 - Starting workspace on openshift 1.4.1
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
2017-02-08 17:03:17 +01:00
Valeriy Svydenko 97c290cf28 CHE-4000: fix wrong request URL for SSH service (#4053) 2017-02-08 15:06:19 +02:00
Vladyslav Zhukovskyi ff3db4c7aa Fix potential NPE (#4054) 2017-02-08 13:09:21 +02:00
Igor Vinokur da8c4193cf CHE-3609: Create visual Git history window instead of old one (#3799) 2017-02-08 10:37:52 +02:00
Valeriy Svydenko c9d700bca2 CHE-3785: don't show empty error notification (#4045) 2017-02-08 10:23:13 +02:00
Vitalii Parfonov 832bb4288c CHE-3811: move js file to the che-lib/che-orion-editor (#3979)
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-02-07 19:27:25 +02:00
Valeriy Svydenko a99aee67d9 Upgrade to GWT 2.8 (#3984) 2017-02-06 16:42:22 +02:00
Alexander Garagatyi bee9890e4e CODENVY-1443: fix incorrect usage of non bind-mount volumes (#3877)
Add other minor fixes
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-02-06 10:44:30 +02:00
Vitalii Parfonov 50f641d226 Decouple testing framework API from Java test specific frameworks (#3999)
* Decouple testing framework core from Java specific test frameworks.

Signed-off-by: Bartlomiej Laczkowski <bartlomiej.l@zend.com>
2017-02-03 12:12:18 +02:00
Max Shaposhnik a346a5f8b7 CHE-3621 Move SSH machine implementation to separate plugin (#3946) 2017-02-02 17:25:26 +02:00
Igor Vinokur 63ab6424eb Change message on git push fail (#3781) 2017-02-02 13:20:03 +02:00
Roman Iuvshin 0dd0dea686 [maven-release-plugin] prepare for next development iteration 2017-02-01 13:31:32 +00:00
Roman Iuvshin d138c3623f [maven-release-plugin] prepare release 5.2.0 2017-02-01 13:31:25 +00:00
Ilya Buziuk e102dd0f6f CHE-42: Adding stub implementation of Container API for OpenShiftConnector. Minor Refactoring
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-31 12:57:40 +01:00
Valeriy Svydenko f10b9a2a02 CHE-1959: make it possible to chose an element from Find Usages panel by using Enter key (#3821) 2017-01-31 12:59:14 +02:00
Ilya Buziuk 25fc88be80 CHE-3937: Introducing properties for OpenShift liveness probe initial delay / timeout
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-31 01:52:31 +01:00
Ilya Buziuk 1ec641a7e8 CHE-58: Refactoring. Introducing new classes for handling Kubernetes resources (KubernetesContainer, KubernetesService, KubernetesEnvVar)
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-01-27 17:33:45 +01:00
Angel Misevski 6e9964c2a2 Add DockerConnectorProvider to allow choosing OpenShiftConnector
Adds class so that choice between DockerConnector and OpenShiftConnector
can be made via setting a property in che.properties. The provider is
injected instead of DockerConnector, and provides the appropriate
implementation through a get() method.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-01-27 17:33:45 +01:00
Mario Loriedo 364e06f1e5 Added an OpenShift connector for container creation
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-01-27 17:33:45 +01:00
Sergii Kabashniuk 8bd21217ea Remove unused dependecies (#3912) 2017-01-26 14:56:13 +02:00
Vladyslav Zhukovskyi 25e8a4d1a2 Don't sort node interceptors at initialization state (#3895) 2017-01-26 10:35:25 +02:00
Anatoliy Bazko c8dafb9c6b CHE-3720: Decouple different agents on different maven modules (#3830) 2017-01-25 20:42:32 +02:00
Mykola Morhun 491e84c4f4 Merge pull request #3854 from eclipse/CHE-3761
CHE-3761: Workaround illegal response from docker
2017-01-25 17:35:53 +02:00
Mykola Morhun 87b09c077f Merge pull request #3893 from eclipse/limit-cpu-consumption-by-docker-build
CODENVY-1393: Limit CPU consumption by build docker image tasks
2017-01-25 17:33:36 +02:00
Mykola Morhun 956d39183d CODENVY-1393: Limit CPU consumption by build docker image tasks
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2017-01-25 12:19:20 +02:00
Vitaliy Guliy 360ced60a6 CHE-2617 Improve Find capabilities in IDE (#3806)
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2017-01-25 11:48:25 +02:00
Mykola Morhun 52f1e471ae CHE-3761: Workaround illegal response from docker
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2017-01-23 14:23:56 +02:00
Alexander Garagatyi 25f18e1ce2 Add missing scope for servlet-api dependency
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-01-22 19:30:04 +02:00