Alexander Garagatyi
7877e47f6a
Merge branch 'master' into spi
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-27 12:08:59 +03:00
Alexander Garagatyi
a1c9efd6a8
CHE-4310: improve UX of usage of official docker images for machines
...
Add tail -f /dev/null into containers that exits on start.
Check if container is running after start of container.
Signed-off-by: Alexander Garagatyi
2017-04-26 15:25:55 +03:00
Roman Iuvshin
6d88cf8c73
[maven-release-plugin] prepare for next development iteration
2017-04-25 18:19:17 +00:00
Roman Iuvshin
d7f023fd89
[maven-release-plugin] prepare release 5.9.0
2017-04-25 18:19:10 +00:00
Alexander Garagatyi
7e0ed03cf2
Merge branch 'master' into spi
2017-04-19 16:52:48 +03:00
Roman Iuvshin
7805c146e6
[maven-release-plugin] prepare for next development iteration
2017-04-13 11:07:13 +00:00
Roman Iuvshin
e8107fd96c
[maven-release-plugin] prepare release 5.8.0
2017-04-13 11:07:06 +00:00
Vitalii Parfonov
e9d4c45b81
Json rpc critical fix ( #4798 )
...
* initial commit
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* fixed build
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* Remove not needed subscription
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2017-04-12 20:19:48 +03:00
Alexander Garagatyi
4989869218
Add integration test for docker infra impl
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-12 18:23:18 +03:00
Yevhenii Voevodin
791b898447
Merged with master
2017-04-12 16:18:56 +03:00
Alexander Garagatyi
41c48ac56d
continue work on docker impl of SPI
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-12 14:52:13 +03:00
Roman Iuvshin
840ae853f8
Revert "RELEASE: set minor change version"
...
This reverts commit e23b9257a3 .
2017-04-11 20:55:24 +03:00
Roman Iuvshin
e23b9257a3
RELEASE: set minor change version
2017-04-11 18:10:45 +03:00
Mykola Morhun
46781cbf29
CHE-4497: Delete snapshots from docker hub ( #4744 )
2017-04-11 11:11:40 +03:00
Dmitry Kuleshov
5d16a15078
Setting up a websocket JSONRPC API endpoint on master ( #4621 )
...
* added jsonrpc connection between IDE and MASTER
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* replaced message bus with json rpc
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* applied remarks
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* added jsonrpc connection between IDE and MASTER
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* replaced message bus with json rpc
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* applied remarks
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* fixed javadoc
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* added websocket config
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
* fixed failing build
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2017-04-07 14:44:43 +03:00
Alexander Garagatyi
44e4d2f2b9
move docker machine plugin code into docker infrastructure module
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-07 11:30:21 +03:00
Gennady Azarenkov
63baff63f3
ServerRewritingStrategy
2017-04-06 22:44:47 +03:00
Alexander Garagatyi
9c3c5336c3
add fixes of build (inomplete)
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-06 17:52:14 +03:00
Roman Iuvshin
08d4d0f25c
[maven-release-plugin] prepare for next development iteration
2017-04-06 14:28:39 +00:00
Roman Iuvshin
53a0325213
[maven-release-plugin] prepare release 5.7.0
2017-04-06 14:28:33 +00:00
Alexander Garagatyi
0772f7c070
Move runtime impl specific code to separate module
...
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-06 17:19:09 +03:00
Florent BENOIT
45da3d93bc
Sets CHE_WORKSPACE_ID and CHE_MACHINE_NAME in all machines started by Che ( #4649 )
...
* Set CHE_WORKSPACE_ID and CHE_MACHINE_NAME in all machines started through CHE
it is required for single port /reverse proxy strategy
Change-Id: Ib2cb987e594929151de4c26b614b91d788d19869
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-04-03 10:20:28 +02:00
Mykola Morhun
df1b603ed3
CODENVY-1936: Add alias index.docker.io for docker hub ( #4572 )
...
CODENVY-1936: Add alias index.docker.io for docker hub
2017-03-31 15:14:53 +03:00
Alexander Garagatyi
b9ebdc2cb4
CODENVY-1734: improve docker client ( #4620 )
...
Throw specific exception in docker client
if exec not found on exec start.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-03-30 18:08:42 +03:00
Roman Iuvshin
342f103654
[maven-release-plugin] prepare for next development iteration
2017-03-30 12:25:35 +00:00
Roman Iuvshin
e6e4a652cc
[maven-release-plugin] prepare release 5.6.0
2017-03-30 12:25:28 +00:00
Alexander Garagatyi
798ca081b4
CHE-4098: separate terminal and exec agents ( #4486 )
...
Refactor golang terminal code.
Add ping frames into terminal websocket connection.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-03-27 12:27:27 +03:00
Roman Iuvshin
e7588aa2b3
[maven-release-plugin] prepare for next development iteration
2017-03-15 14:59:35 +00:00
Roman Iuvshin
69cf9f5528
[maven-release-plugin] prepare release 5.5.0
2017-03-15 14:59:28 +00:00
Vitalii Parfonov
0951e40d69
CHE-3620:Remove MachineServiceClient and related classes ( #3963 )
2017-03-07 14:36:31 +00:00
Max Shaposhnik
11ec789ca5
CHE-3616 Remove Machine API (server part) ( #4331 )
2017-03-07 14:33:05 +00:00
Roman Iuvshin
ceff3938ff
[maven-release-plugin] prepare for next development iteration
2017-03-02 18:33:12 +00:00
Roman Iuvshin
8ed6e10476
[maven-release-plugin] prepare release 5.4.0
2017-03-02 18:33:06 +00:00
Angel Misevski
1d9c426e2d
Ensure OpenShift pod is terminated before returning from removeContainer ( #4230 )
...
Prevents issue where it is possible to start workspace while
pod is terminating. When this occurs, Che creates a new pod but
workspace start fails. This pod must be removed manually before
that workspace can be launched again.
This is done by a) waiting for pod to terminate before returning
from removeContainer, and b) removing created deployment and
service when an exception occurs during createContainer.
Additionally, increases maximum wait time for retreiving
OpenShift image stream metadata
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2017-03-01 00:56:32 -05:00
Mario Loriedo
c8145259e5
Implement getEvents method in OpenShiftConnector
...
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-02-28 17:38:11 +01: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
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
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
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
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
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