Commit Graph

172 Commits (aab541ad08b0ca2e63ead70ed64cd4b3a31b511e)

Author SHA1 Message Date
Sergii Kabashniuk 98b66ff1f6 Upgrade maven plugin configuration. Made pom.xml independent from che-parent 2021-05-20 16:53:16 +03:00
Max Shaposhnik 889187e4e1
Correct response codes and messages related to private factory flow 2021-02-17 19:46:20 +02:00
Michal Vala 3cbe978b79
moved some jsonrpc and websocket logging to TRACE level (#16810)
Signed-off-by: Michal Vala <mvala@redhat.com>
2020-06-17 17:01:03 +02:00
Yana Hontyk 519c9793e8 Lang fixes of log messages. 2020-06-03 14:32:29 +02:00
Max Shaposhnik ce64b1966e
Restructurize auth modules and remove reduntant one 2019-12-11 11:19:54 +02:00
Sergii Kabashniuk a2aae18485
Print build information to the startup logs (#15364)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-11-29 20:09:14 +01:00
Sergii Kabashniuk cbcc4a6c41
Delete unused classes and functionality (#15156)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-11-11 11:15:20 +01:00
Max Shaposhnik a969f69946
Validation of devfiles on workspace update 2019-10-09 20:01:32 +03:00
Max Shaposhnik 720aab0051 Revert "Devfile validation via message entity provider" (#14812)
This reverts commit fc531ea015.
2019-10-08 22:29:20 +03:00
Max Shaposhnik fc531ea015
Devfile validation via message entity provider 2019-10-08 14:10:15 +03:00
Max Shaposhnik 88033a05b7
Serialize/deseialize list of DTO using same mechanism as single DTO object
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2019-10-08 10:43:35 +03:00
Sergii Leshchenko e4e12df1be Add REST method to create a workspace from Devfile
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-04-24 15:33:46 +03:00
Mykhailo Kuznietsov e4763e1dac
Add ability to provide additional build-info in Che (#12919) 2019-03-28 15:46:32 +02:00
Sergii Kabashniuk a5b06d444f
Introduced two web-socket endpoints for workspace master to split JSON-RPC messages (#12673)
* Introduced two web-socket endpoints for workspace master to split JSON-RPC messages
Based on Dmytro's Kulieshov  work https://github.com/eclipse/che/pull/12252

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-27 13:29:43 +02:00
Max Shaposhnik 88959d006f
API info service to use meta-info from war-s manifest instead of jar
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2019-02-19 15:47:18 +02:00
Sergii Kabashniuk 84b5a68bd9 Correctly determine server from which IDE was loaded
Provider of "cors.allowed.origins" setting for CORS Filter of WS Agent. Provides the value such  algorithm:
        1. If set che.wsagent.cors.allowed_origins
        2. Server with "ide" attribute in workspace config
        3. Server from url of "ide" link in workspace config
        4. che.api

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-01-16 16:01:52 +02:00
Mykhailo Kuznietsov bac76ac5ee Fix WS Agent not setting appropriate CORS allowed origin on Docker (#12265) 2018-12-24 13:49:46 +02:00
Mykhailo Kuznietsov 69288516c8
Upgrade Tomcat and change default CORS configuration (#12144) 2018-12-22 10:56:27 +02:00
Mykhailo Kuznietsov 3d366a1c19
Add ability to change CORS configuration on Che Server through env vars (#12046) 2018-12-04 14:56:38 +02:00
Sergii Kabashniuk be8a867c4e
More information for ServerSideRequestProcessor.RejectedExecutionHandler (#11681)
More information for ServerSideRequestProcessor.RejectedExecutionHandler (#11681)
2018-10-24 11:27:30 +03:00
Anatoliy Bazko 5a965706c6 CHE-6733: Implement User Preferences for jdt.ls (#8346)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko d636a907d0 CHE-8049: Update simple java project when jdt.ls is ready (#8198)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Sergii Kabashniuk 4d78766f08
Add index in thread names (#11608) 2018-10-13 14:28:15 +03:00
Sergii Kabashniuk 65bd65e23b Upgrade to new dependency mockito-testng (#10647) 2018-10-10 13:58:33 +03:00
Sergii Kabashniuk ad8fd5e8df
Limit pool size used to process Json/rpc requests (#11456)
Limit pool size used to process Json/RPC requests (#11456)
2018-10-05 16:56:39 +03:00
Sergii Leshchenko 5b848a6b02 CHE-10991 Add creating of workspace service account in Che Kubernetes Helm chart 2018-09-13 11:03:09 +03:00
Sergii Leshchenko 194e2c5eff CHE-10861 Add an ability to register permissions check for remote subscription 2018-09-04 11:07:00 +03:00
Sergii Leshchenko dc25b5a5fc CHE-10861 Add concept of JsonRpcMethodInvokerFilter 2018-09-04 11:07:00 +03:00
Sergii Leshchenko fd57238c08
Fix putting Che Subject into ServerEndpointConfig if http session is null (#10993) 2018-08-31 10:10:38 +03:00
Sergii Leshchenko cf5d03718e CHE-10861 Add settings subject into EnvironmentContext for WebSocket connections 2018-08-30 10:17:10 +03:00
Igor Vinokur 349cbe094d
CHE-10360: Hide the 'From Archetype' field if parent folder with pom.xml is selected (#10718)
Hide the 'From Archetype' input field in the Maven project type wizard if 'Parent' witch contains pom.xml is selected in the import project Wizard due to the maven archetype generation plugin restrictions.
2018-08-22 09:34:11 +03:00
Victor V. Rubezhny 57c43ac8cd Update fmt plugin to latest to enable skipping check #10554 (#10667)
The files are reformatted in order to suit the requirements of coveo maven fmt plug-in of v.2.5.1

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-08-08 07:20:05 +00:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Victor Rubezhny d307c23da9 NPEs on workspace start-up #10083
Fixes #10083

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-06-18 14:29:43 +02:00
Dmytro Kulieshov 7a52c83f4d
Several improvements to the way remote language servers may be configured through workspace configuration (#9387) 2018-05-18 12:17:30 +03:00
Max Shaposhnik 8c3d2ead36
Fixed removal of remote subscriptions in manager (#9560) 2018-05-02 14:30:36 +03:00
Max Shaposhnik 66f9d0bed9
Add replicated storage for remote websocket subscriptions (#9311) 2018-04-11 14:33:52 +03:00
Max Shaposhnik e40a2902bb
Perform liveness checks of wsagent by dedicated URL 2018-02-21 12:15:12 +02:00
Dmytro Kulieshov 7e128d41f5
Thread-unsafe collections used for subscription contexts 2018-02-15 12:33:25 +02:00
Max Shaposhnik 2902fc75a4
Refactor remaining everrest websocket endpoints to use Json RPC (#8388) 2018-01-24 16:17:00 +02:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Mykhailo Kuznietsov 93b974d1e0
Change worskpace project files storage path (#7844)
- Workspace projects are now stored in folders, named after their workspace id, rather than name,
to prevent issues with workspace renaming. Applies to Docker infrastructure only.
- Add migration, that would move workspace projects to their new location. Occurs on Che startup.
- Added configuration property to enable/disable this migration.
- Improved Workspace DAO/Manager to use pagination for methods, that return lists of workspaces
2017-12-22 15:55:28 +02:00
Max Shaposhnik 8ff1be36f5
Added support of Idenvity brokering mechanism of Keycloak for Multi-user Che 2017-12-21 17:50:03 +02:00
Ilya Buziuk b4ba12302a Support of headers to 'HttpJsonRequest'. Adding 'Connection: close' header while checking server availability in 'HttpConnectionServerChecker'
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2017-12-19 16:02:00 +01:00
Dmytro Kulieshov 0f635cf122
Added JSON-RPC back-end to Project API and removed deprecated VFS classes (#7380) 2017-11-20 12:02:46 +02:00
Florent BENOIT c7d34fb46f Remove unused SystemInfo attributes (cpu, freeMemory, totalMemory) (#6946)
* Remove unused "dead" code on cpu/freeMemory/totalMemory

Change-Id: I41bd108ce4b2af15693d57a5fa0c72caab932289
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-25 10:13:04 +02:00
Florent BENOIT f2ee3bf834 Allow to use Java9 method to get pid (avoid internal reflection)
Change-Id: I50b05b86d53d21b6b8006a78c8aca722ce2372f2
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-24 15:49:02 +02:00
Sergii Kabashniuk 487ad8508c Merge with master 2017-10-21 19:30:48 +03:00
Florent BENOIT 3f262e620e Cleanup some Mockito deprecated usage (che6) (#6864)
* Cleanup some Mockito deprecated usage
org.mockito.Matchers —> org.mockito.ArgumentMatchers
org.mockito.runners.MockitoJUnitRunner —> org.mockito.junit.MockitoJUnitRunner

Change-Id: Icf7351cb58e0f42fa95885c2d2cf6b5e98206c35
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-21 09:07:43 +02:00