Commit Graph

23 Commits (dc7edf634eebb22b4eb7ea325e2da523befeaa20)

Author SHA1 Message Date
Sergii Kabashniuk ce7c300eb9
build: Upgrade of maven plugins (#222)
* build: Upgrade of maven plugins

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2021-12-23 14:54:46 +02:00
Sergii Kabashniuk 359ebb32bc
build: Transition from Java EE to Jakarta EE (#80)
* Upgrade swagger-ui-3.51.2

* Upgrade tomcat 10.0.10

* changed only imports

* changed imports in service loader

* changed swagger jaxrs deployment

* Changed swagger annotations + basic imports

* Changed imports and minimal key length for jsonwebtoken

* Restassured API changes + imports

* Removed trailing slash from CHE_HOME

* Migrate to jakarta schema in web.xml

* Disable tracing

* New artifacts and maven build upgrade

* Removed jackson-jaxrs-json-provider from wsmaster war

* Fixed KeycloakServletModuleTest and forked TracingFilter

* Removed unused dependecies
2021-09-13 08:20:09 +03:00
Sergii Kabashniuk 6670c6986b Upgrade license 2021-05-20 17:05:45 +03:00
Sergii Kabashniuk 98b66ff1f6 Upgrade maven plugin configuration. Made pom.xml independent from che-parent 2021-05-20 16:53:16 +03:00
Sergii Kabashniuk c3249b652f
Upgrade guava and related dependencies to fix potential security issues (#19471)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2021-04-05 09:49:04 +03:00
Sergii Kabashniuk 6b4d751a2d
JvmService. Service that allows getting jvm heap and thread dump (#15201)
* JvmService. Service that allows getting jvm heap and thread dum
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-11-23 13:18:28 +01: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
Max Shaposhnik 149f199da6 Add DB termination on application shutdown (#9683) 2018-05-15 09:50:35 +03:00
Sergii Leshchenko 192d9e2c9b Add service terminations for CronThreadPull and ProbeScheduller 2018-05-11 10:21:01 +03:00
Max Shaposhnik 67d27e9eff CHE-9528 Refactor terminations mechanism to support suspend and dependencies 2018-05-03 11:23:02 +03: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
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
Sergii Kabashniuk 6e9825c699 Used Google Java Codestyle 2017-08-18 17:16:54 +03:00
Artem Zatsarynnyi a552e67a76 Merge branch 'master' into spi 2017-08-17 16:40:48 +03:00
Mykhailo Kuznietsov 69d5148385 Changed copyright owner to "Red Hat, Inc." in license headers (#5964)
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
Anton Korneta 4ba3c645ff Moved workspace service termination from master branch 2017-08-01 18:13:34 +03:00
Max Shaposhnik 625213bf9a Fix maven build wsmaster api 2017-06-09 15:51:34 +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
Yevhenii Voevodin f2bcdfb596 Adds system graceful stop tracking events
3 new events are added, they are:

* STOPPING_SERVICE - published before service is stopped
* SERVICE_ITEM_STOPPED - published each time service item(like workspace) is stopped
* SERVICE_STOPPED - published after service is stopped
2017-02-07 16:52:20 +02:00
Yevhenii Voevodin 9effc0716f Add system service that allows to prepare system to shutdown (#3917)
Resolves #3892.

Two API methods are available:

* _POST /api/system/stop_ - stops corresponding system services, for now it's workspace service.
Basically it stops all the RUNNING workspaces snapshotting them before if configured to do so,
also it interrupts start of currently STARTING workspaces.

* _GET /api/system/state_ - returns current system state(only status for now).
By default system status is RUNNING, but after stop is called or che server is
stopped directly system status is changed like the following:
```
RUNNING -> PREPARING_TO_SHUTDOWN -> READY_TO_SHUTDOWN
```
Status changes are followed by status changed events, to recieve these
events client has to subscribe on *system:state* channel.

So client can use different ways to track system status changes.
Doesn't matter whether API method is used or che server is stopped directly,
events will be sent anyway.
2017-01-30 17:58:57 +02:00