Commit Graph

84 Commits (577eba85ea4aaa61a62a0e89d6cd385230ab56ed)

Author SHA1 Message Date
Mykhailo Kuznietsov 3bef71020f
Adding tracing tags to workspace related operations (#12652)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2019-02-25 12:11:25 +02:00
Lukas Krejci 081f5d7f36 Bind the workspace activity checker also in the multiuser environment (#12640)
Bind the workspace activity checker also in the multiuser environment (#12640)

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-02-11 12:28:20 +02:00
Sergii Leshchenko 83f56ac324
Catch IntegrityConstraintViolationException to avoid throwing ServerException with db error message (#12539)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-02-07 16:07:34 +02:00
Roman Iuvshyn a694c4f971
RELEASE: Set next development version (#12596) 2019-02-06 18:22:35 +02:00
Lukas Krejci 5520a29fc9 Removed unused fields and make the @BeforeMethod public as per convention.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-23 14:30:13 +01:00
Lukas Krejci c47c5aa81a Extract the activity record validity checking into a separate class
to reduce the LOC in the WorkspaceActivityManager.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-23 14:30:13 +01:00
Lukas Krejci 3b4c6a7030 Added a periodical check to reset the activity records of workspaces that
may run out of sync (circumstances are not 100% clear, but we've seen it
happening).

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-01-23 14:30:13 +01:00
Roman Iuvshyn 4ad10f2218
RELEASE: Set next development version (#12441) 2019-01-16 11:51:02 +02:00
Roman Iuvshyn b872b317cb
RELEASE: Set next development version (#12277) 2018-12-26 13:04:51 +02:00
Lukas Krejci 90903645ee Add an ability to get workspaces ids by status and threshold timestamp (#12177)
It includes:
- reworking Workspace Activity API to store timestamps of each status changes;
- add REST API endpoint to get workspaces ids by status and threshold timestamp;
2018-12-22 17:19:38 +02:00
Mykhailo Kuznietsov b7e1918e32
Upgrade dependencies (#11944) 2018-12-11 11:34:48 +02:00
Roman Iuvshyn 45490d2a3b
RELEASE: Set next development version (#12115) 2018-12-05 18:33:02 +02:00
Oleksandr Garagatyi aaa8f424cd
Make a workspace run without any user env (#11890)
Allows running Che 7 workspace without any user environment but with Che 7 tooling set.
Workspace without environment has an empty list of environments and null value in `defaultEnv` field.
Field `activeEnv` is supposed to be `null` too.
What is changed:
- Migration of DB
- make defaultEnv nullable
- remove env_name from runtimes primary key
- make env_name in runtimes nullable
- Make code respect the fact that there are workspaces with no env
- settings API that returns the list of supported environment types returns no-environment type that - indicates that infrastructure support workspace with no environment at all.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-11-21 16:39:54 +02:00
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +02:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Mykhailo Kuznietsov 56973d2169
Fix exception handling in permissions DAO (#11684) 2018-10-24 09:58:37 +03:00
Anatoliy Bazko b5c20363c5 Fix after rebasing
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 78b8898e37 Fix after che release
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Sergii Kabashniuk 65bd65e23b Upgrade to new dependency mockito-testng (#10647) 2018-10-10 13:58:33 +03:00
Roman Iuvshyn 63b389c2fe
RELEASE: Set next development version (#11434)
* RELEASE: Set next development version
2018-10-04 18:25:39 +03:00
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03:00
Sergii Leshchenko e62dbb72cb CHE-10861 Add permissions check for organization related remote subscriptions 2018-09-04 11:07:00 +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 6f125e8fc1 CHE-10861 Add permissions filter for installer json rpc methods 2018-09-04 11:07:00 +03:00
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +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
Roman Iuvshyn 60da580c92
RELEASE: Set next development version (#10603) 2018-08-02 12:38:48 +03: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
Roman Iuvshyn 985d368f2d
RELEASE: Set next development version (#10345)
* RELEASE: Set next development version
2018-07-10 15:56:52 +03:00
Sergii Leshchenko fef7cc44e6
Fix scope of test dependencies (#10254) 2018-07-04 11:23:20 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Sergii Leshchenko e3fb7e3634 CHE-5918 Add an ability to interrupt Kubernetes/OpenShift runtime start
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2018-06-06 15:17:10 +03:00
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
Anton Korneta deae9c25d5 Add JGroups based status cache and lock service 2018-05-17 11:50:00 +03:00
Anton Korneta 0d510824c0 Add missed termination for DistributedRemoteSubscriptionStorage 2018-05-17 11:50:00 +03:00
Anton Korneta 95c550d485 Rename che-multiuser-api-remote-subscription module to che-multiuser-api-jgroups 2018-05-17 11:50:00 +03:00
Roman Iuvshyn 6677e27a6b
RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
Sergii Leshchenko da69099743
Add processing of runtime exceptions during JWT tokens validation (#9557)
* Add processing of runtime exceptions during JWT tokens validation

It is needed to set correct 403 response code instead of 500.
Also added response message to notify a client about error reason.
2018-05-02 15:18:34 +03:00
Max Shaposhnik 8c3d2ead36
Fixed removal of remote subscriptions in manager (#9560) 2018-05-02 14:30:36 +03:00
Sergii Kabashniuk cf396a6979
Remove duplicated declaration of che-multiuser-api-resource artifact (#9515) 2018-04-23 15:28:22 +03:00
Roman Iuvshyn edb0e15e6f
RELEASE: Set next development version (#9473) 2018-04-18 08:31:24 +02:00
Mykhailo Kuznietsov 013d485914
Use workspace limit idle timeout value in WorkspaceActivityManager (#9395) 2018-04-13 14:11:42 +00:00
Max Shaposhnik 66f9d0bed9
Add replicated storage for remote websocket subscriptions (#9311) 2018-04-11 14:33:52 +03: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
Roman Iuvshyn e2762411b3
RELEASE: Set next development version (#8773) 2018-02-14 15:00:52 +02:00
Roman Iuvshyn f50c2ebbf5
RELEASE: Set next development version (#8496) 2018-01-31 17:53:10 +02:00
Max Shaposhnik 2902fc75a4
Refactor remaining everrest websocket endpoints to use Json RPC (#8388) 2018-01-24 16:17:00 +02:00
Anton Korneta 5c68c90a0b Move license to resource details 2018-01-24 13:44:36 +02:00