Commit Graph

178 Commits (edb0e15e6ff38c88eeb3f35cd29bbfd5d3dc4dae)

Author SHA1 Message Date
Roman Iuvshyn edb0e15e6f
RELEASE: Set next development version (#9473) 2018-04-18 08:31:24 +02:00
Gennady Azarenkov 33e7d7e1e8
Make exec agent not to use setsid for other than Linux OSes (#9371)
* Adding pipeline

* del jenkinsfile

* Make exec agent not to use setsid for other than Linux envs

* revert pom.xml

* goformat
2018-04-11 10:50:39 +03:00
Anton Korneta c0572ea5d6 Add dgrijalva go lib for parsing jwt tokens 2018-04-11 10:30:32 +03:00
Anton Korneta 95f88afd85 Rewrite auth mechanism for go agents 2018-04-11 10:30:32 +03:00
Aurélien Pupier c0749a908d [533196] Fix Camel LSP artefact to download (#9324)
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2018-04-10 11:23:10 +03:00
David Festal c19ccdcdee
Use the owner Id only in the workspace `RuntimeIdentity` (#8859) (#9274)
* Use the owner Id only in the workspace `RuntimeIdentity` (#8859)

Signed-off-by: David Festal <dfestal@redhat.com>
2018-03-30 14:28:11 +02:00
Roman Iuvshyn e006334aad
RELEASE: Set next development version (#9268) 2018-03-28 10:58:30 +03:00
Roman Iuvshyn dbdac2a604
RELEASE: Set next development version (#9038) 2018-03-07 17:53:03 +07:00
Vitalii Parfonov 0d102ca0f3
Upgrade php language server (#9007)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-03-05 15:02:22 +02:00
David Festal 21e00e9b15
Make CHE 6 multi-tenant compatible for OSIO (#8805)
* Copy the boostrapper config file to POD *installer by installer* to avoid executing a huge command, which in turn tries to send a huge GET request (73kb-long URL).
This long GET request was previously not supported by the fabric8 oso proxy.

See https://github.com/openshiftio/openshift.io/issues/2254 for more
details. 

* Make the Kubernetes / Openshift infrastructures multi-tenant-compatible

This includes:

1. Reworking the `KubernetesClientFactory` and `OpenshiftClientFactory`
to:
    - share a single `OkHttpClient` that is the basis of all created
Kubernetes or Openshift clients potentially pointing to
different.cluster URL with different authorization tokens
    - provide the workspaceId in the `create` methods whenever it's
available (workspace start / stop, idling, etc ...
    - have distinct methods for creating the Kubernetes client and the
Openshift client (required since the Openshift client creates connection
leaks on some calls such as exec of POD watch)
This is the implementation of issue
https://github.com/redhat-developer/rh-che/issues/516

2. Adding the `userId` into the SPI `RuntimeIdentity` object. Currently,
only the `userName` is available in this object that gathers information
about the identity attached to a workspace runtime. This change is
required because the `userId` should be accessible from the
`workspaceId` for implementing multi-tenancy and creating workspace
resources in a user-specific location.
This is the implementation of issue
https://github.com/redhat-developer/rh-che/issues/501

* In the Openshift infrastructure, the authentication interceptor should
always convert userName/password-based authentication to
oauth-token-based authentication, even when using the
`KubernetesClient`.

Signed-off-by: David Festal <dfestal@redhat.com>
2018-02-22 18:23:10 +01:00
Roman Iuvshyn be0d15d522
set correct version in newly contributed plugin (#8807) 2018-02-15 20:39:59 +02:00
Hanno Kolvenbach 0a7cf2eb3a ClangD support for Eclipse Che (#7516)
* ClangD ported to Che6

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>

* removed launch scripts

* added scripts for ubuntu and debian

* moved command to launch script. hide error messages

* fixing wrong positioning of code completion items

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>

* removed comments, updated script for other OS

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>

* updated language server script

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>

* added new line

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>

* updated version

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>

* fixed newline

Signed-off-by: Hanno Kolvenbach <kolvenbach@silexica.com>
2018-02-15 17:37:26 +02:00
Roman Iuvshyn e2762411b3
RELEASE: Set next development version (#8773) 2018-02-14 15:00:52 +02:00
Yevhenii Voievodin bf14f2ff6e Fix internal policy of event.Bus events publishing
Signed-off-by: Yevhenii Voievodin <targetjump@gmail.com>
2018-02-12 17:01:00 +02:00
Yevhenii Voievodin 3844310fc3 Add breaking test-case for event.Bus.Pub
Signed-off-by: Yevhenii Voievodin <targetjump@gmail.com>
2018-02-12 17:01:00 +02:00
Florent BENOIT 307ee4ff98
Introduce Apache Camel LSP support (#8648)
* Provide Camel Language Server Agent

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2018-02-07 14:03:59 +01:00
Anton Korneta c21e9d8657 Change root folder for agents logs 2018-02-01 18:30:03 +02:00
Roman Iuvshyn f50c2ebbf5
RELEASE: Set next development version (#8496) 2018-01-31 17:53:10 +02:00
Sergii Leshchenko 6d7e6591d9 CHE-8316 Make exec and terminal agent use environment variable with server port 2018-01-19 10:02:04 +02:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Max Shaposhnik 035fd6c7ff
Restore functionality of uploading SSH keys to machine on startup. 2018-01-11 09:59:41 +02:00
Sergii Leshchenko b44bf2c944
CHE-7759 Add sending of error message if bootstrapping failed
It also contains fixes for closing of bootstrapping events consumers
2018-01-10 17:30:08 +02:00
Oleksandr Garagatyi 9e0a4f2095
Add continuous servers liveness checks (#8088)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-01-04 17:33:14 +02:00
Roman Iuvshyn 71704ab3a7
RELEASE: Set next development version (#8135) 2018-01-03 14:13:25 +02:00
Oleksandr Garagatyi 5d1c0f845b CHE-7124: make bootstrapper use /bin/sh as an interpreter
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-12-15 09:35:51 +02:00
Roman Iuvshyn 5a6d3910b2
RELEASE: set next dev version (#7882) 2017-12-14 15:51:34 +02:00
Roman Iuvshyn 506210325a
RELEASE: set next dev version (#7523) 2017-11-23 12:50:56 +02:00
Mario Loriedo 8ad7973a80 Avoid executing chown command if the user is not a sudoer
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2017-11-21 11:37:57 +01:00
Mykola Morhun 7ac2514ec4
Remove unneeded let in LS csharp script (#7466) 2017-11-20 17:18:05 +02:00
Anatoliy Bazko fd01063ad9
CHE-6912: Fix yaml installer (#7421)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2017-11-17 10:16:57 +02:00
Max Shaposhnik ea7e071b3a
Use same assembly for single- and multiuser Che 2017-11-07 12:27:02 +02:00
Roman Iuvshyn 19f5fd1f5a
RELEASE: Set next development version (#7112) 2017-10-31 16:46:30 +02:00
Sergii Leshchenko a33aa27e74 CHE-6577 Add an ability to enable auth for go agents with env variable 2017-10-30 16:43:02 +02:00
Eugene Ivantsov 0250757c20
Use a more advanced TypeScript LS (#7079)
* Use a more advanced TypeScript LS

* Use a more advanced TypeScript LS

* Use a more advanced TypeScript LS

* Use a more advanced TypeScript LS
2017-10-30 15:15:25 +01:00
Sergii Leshchenko e90eaa97fe CHE-6730 Rename user token to machine token (#7036) 2017-10-27 16:23:47 +03:00
Max Shaposhnik 1e87b85742 Rename wsmaster.war into api.war and remove corresponding rewrite valve; (#6917) 2017-10-24 11:32:47 +03:00
Patrick Collins 831ee43b22 fixed typos
webscoket -> websocket x3

Signed-off-by: Patrick Collins <PatrickCP0@Gmail.com>
2017-10-20 16:23:05 +02:00
Sergii Kabashniuk f4cc97acce Set next version 6.0.0-M1-SNAPSHOT 2017-10-19 13:53:40 +03:00
Oleksandr Garagatyi f238405ef5 CHE-6648: Added authentication to installers bootstrapper.
Added authentication to installers bootstrapper.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-10-17 16:42:57 +03:00
Sergii Kabashniuk e321ab00b1 Merge with master 2017-10-15 14:33:47 +03:00
Florent BENOIT 9581a9bbef Move to mockito 2.10
Some changes are required like
 - anyString() --> nullable(String.class) for many tests as in fact we provide null values
 - add class for VerificationMode as there are more than one method now (can't use lambdas)
 - remove cast on ArgumentMatcher (now we can use lambdas as there is generics)
 - remove unecessary stubbing (mockito is now reporting un-needed stubs)

Change-Id: I69c7ccc86bc85a4401d5e33671229ae0ce560dbb
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-15 10:34:15 +02:00
Roman Iuvshyn abe3271908 RELEASE: Set next development version (#6692)
* RELEASE: Set next development version
2017-10-14 20:17:04 +03:00
Artem Zatsarynnyi 5041b59e6e Merge branch 'master' into spi 2017-10-12 11:54:46 +03:00
Josh Pinkney 1870d7dd83 Integrated yaml language server (#6371)
Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
2017-10-11 17:05:16 +02:00
Artem Zatsarynnyi 22c21265aa Merge branch 'master' into spi 2017-10-11 10:16:43 +03:00
Mario Loriedo 3b7e8ec17e Don't fail if SSH agent doesn't start
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-10-10 16:47:49 +02:00
Artem Zatsarynnyi 685def4d29 Merge branch 'master' into spi 2017-09-21 09:24:39 +03:00
Roman Iuvshyn 8e03d56bfb RELEASE: Set next development version (#6345) 2017-09-19 14:52:53 +03:00
Artem Zatsarynnyi 3b78c21bbf Merge branch 'master' into spi 2017-09-07 12:25:37 +03:00
Yevhen Vydolob 2e798d6fce Add implementation for 'Show message request' LS feature (#5860)
* #1794 implement 'ShowMessageRequest'
2017-09-04 16:12:25 +02:00