Commit Graph

195 Commits (b071721ad3fcd76216e1ca8ae11a9ebdbfd7410c)

Author SHA1 Message Date
Max Shaposhnik 321d23cb4d
Fix failing test & check formatting (#10279) 2018-07-05 10:06:11 +03:00
Max Shaposhnik 29eef88c71
Make it possible for Go agents to use auth tokens from HTTP header (#10237) 2018-07-03 10:35:53 +03:00
Eugene Ivantsov fcf762988f
Merge pull request #10102 from eclipse/lang_servers
Lang servers
2018-06-19 17:32:54 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Eugene Ivantsov bb0c73611a Silent mode for curl 2018-06-19 11:48:32 +03:00
Eugene Ivantsov c91e10592f C# installer and .js for TS LS 2018-06-19 11:39:59 +03:00
Jens Reimann db1307651f [#8040]: Fix Git credentials by creating ~/.ssh in case it is missing
Signed-off-by: Jens Reimann <jreimann@redhat.com>
2018-06-07 09:59:40 +03:00
Eugene Ivantsov 7128227a0b
Merge pull request #9803 from eclipse/golang_support
WIP: Add Golang Support in Che
2018-06-05 12:48:33 +03:00
Lars Heinemann e4342a9939 provide updated Camel LSP server binary download URL
Signed-off-by: Lars Heinemann <lhein.smx@gmail.com>
2018-06-04 14:29:09 +02:00
Eugene Ivantsov 461a306791 Adding golang support 2018-06-01 07:30:33 +03:00
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
Roman Iuvshyn 6677e27a6b
RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
Eugene Ivantsov 1cd99769ae
Fix check for a directory (#9594) 2018-05-03 11:25:24 +02:00
Eugene Ivantsov 481717e4d5
Add new Python Language server (#9569) 2018-05-02 12:15:52 +03:00
Eugene Ivantsov 59692631fc
Do not download LS binaries if LS dir is found in a container (#9570) 2018-05-02 12:14:40 +03:00
Eugene Ivantsov 60fa36f114
Skip downloading binaries if node_modules exist (#9571) 2018-05-02 12:13:24 +03:00
Eugene Ivantsov 65ad9d5c71
Upgrade php ls (#9521) 2018-04-24 08:57:02 +03:00
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