Commit Graph

733 Commits (5ac5e46ee2954fdff7a32fa5df2923e99744efb7)

Author SHA1 Message Date
Mykhailo Kuznietsov 3574455d8e
Add filter to track 5xx errors for Prometheus (#12284) 2019-01-10 09:37:26 +02:00
Sergii Leshchenko 2f7f726b83
Fix logged messages in commons schedule module (#12283) 2018-12-27 14:54:16 +02:00
Roman Iuvshyn b872b317cb
RELEASE: Set next development version (#12277) 2018-12-26 13:04:51 +02:00
Yevhen Vydolob 345d1b7e62
Add '.d.ts' DTO generator (#12250)
#12132 Add '.d.ts' DTO generator

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2018-12-26 11:15:06 +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 b7e1918e32
Upgrade dependencies (#11944) 2018-12-11 11:34:48 +02:00
Max Shaposhnik 3a14bacda1
Devfile local features implenentation with schema validation and automated model build. 2018-12-06 16:19:21 +02:00
Roman Iuvshyn 45490d2a3b
RELEASE: Set next development version (#12115) 2018-12-05 18:33:02 +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 2d0915bf14
Fix MetricsServer deployment (#12072) 2018-11-29 20:52:24 +02:00
Sergii Kabashniuk da3eefe237
Metrics POC (#11990)
With CHE_METRICS_ENABLED env variable enable Prometheus metrics endpoint
2018-11-27 23:47:24 +02:00
Sergii Leshchenko 25f76803db Add commands to InternalEnvironment and Runtime 2018-11-27 09:19:28 +02:00
Masaki Muranaka d309ef4b83 Remove redundant <version> elements. (#12023)
As they will be inherited from `parent.version`.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2018-11-25 21:17:08 +02:00
Lukas Krejci 9109cf37c5 Workspace tracing (#11924)
* Adding support for @Traced annotation to enable whole method tracing
* Trace the creation and removal of workspace
* Trace the start of async start of the workspace
Note that this does not actually trace the async operations but merely
the "kick off" of those. For tracing the async operations, we need to
introduce support for propagating the span ids over the thread boundaries
using opentracing-concurrent.
* Enable tracing across the thread boundaries by augmenting the
WorkspaceSharedPool threadpool with tracing support.
Note that this does not add any new traces, merely enables the async
tracing.
* Add support for adding tags to @Traced methods.
The interceptor also reports the actual invoked class and method
(cleansed of Guice subclass name garbage)
* Trace the startup of pods during workspace startup.
* Trace stop of a workspace
* Introduce utility methods for tracing parts of methods.
* Trace provisioning of k8s objects (in both Kubernetes and Openshift
infrastructures).
* Create a common set of tags and enable strongly typed tags
* Apply the standard tags instead of hardcoded strings.
* Adding @Beta annotations for the tracing-related classes.
This needs to stabilize first.
* Replacing the "Traces" machinery with just annotated package private methods.
This way the code is easier to ready while we also keep all the flexibility
needed for the tag definitions.
* Rename CheTags to more descriptive TracingTags.
* Evaluate the tag values lazily.
This will reduce the load when tracing is switched off.
* Simplify the machine startup tracing logic and distinguish between
true error and mere cancellation due to prior errors.
* Trivial - applying formatting.
* Use getContext().getEnvironment().getMachines().size() to get the precise
number of machines that will be starting up.
* Trivial - change the name of the machine creation tag
* Use a formatted message instead of string concat.
* Update to the latest parent so that che-core-commons-tracing is correctly
incorporated into the full build.
* Fix tracing of the asynchronous stop of a workspace.
* Don't fall over when tracing is not available.
2018-11-22 21:51:12 +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
Sergii Kabashniuk f742047a89
Delegate toString to wrapped class (#11959)
Delegate toString to wrapped class (#11959)
2018-11-19 09:27:30 +02:00
Sergii Leshchenko 18e408854c Add info message about aplied logger config 2018-11-15 14:43:51 +02:00
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +02:00
Sergii Kabashniuk 0b16268dcf
Jdbc tracing support (#11905)
Jdbc tracing support (#11905)
2018-11-14 11:37:47 +02:00
Sergii Kabashniuk 8a38002dd9
Basic tracing support for OpenShift (#11844)
Basic tracing support for OpenShift (#11844)
2018-11-09 14:42:52 +02:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Sergii Kabashniuk be8a867c4e
More information for ServerSideRequestProcessor.RejectedExecutionHandler (#11681)
More information for ServerSideRequestProcessor.RejectedExecutionHandler (#11681)
2018-10-24 11:27:30 +03:00
Thomas Mäder f925d2b631 Fix resource leak in ZipUtils (#10815)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder ac1478eda0 Fix parent path handling when importing test projects (#10785)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02: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 518c5f282b
Add cause information in case of InvocationTargetException | IllegalAccessException happened in LoggedRunnable (#11602) 2018-10-12 13:40:10 +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
Roman Iuvshyn 63b389c2fe
RELEASE: Set next development version (#11434)
* RELEASE: Set next development version
2018-10-04 18:25:39 +03:00
Max Shaposhnik 89041db8d1
Provide support for MySQL & add integration tests 2018-10-01 18:08:02 +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
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03:00
Kuperman Sergey 70f25dbebc Make Resource memory request configurable for k8s and OpenShift (#10673)
- Make Resource memory request configurable for k8s and OpenShift.
- Add alias for backwards compatibility to che.workspace.default_memory_limit_mb.
- set memory request to 512Mb.
- document CHE_WORKSPACE_DEFAULT__MEMORY__REQUEST__MB in che.env.
- Configure helm scripts to allow memory attributes on deployment.
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
2018-09-06 13:02:42 +03:00
RomanNikitenko 9e5d88bfcb
CHE-10754. Log at the DEBUG level when xml document parsing is quiet (#10997)
* CHE-10754. Log at the DEBUG level when xml document parsing is quiet

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>

* Return problem instead of error logging when pom file for reconciling is empty

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-09-04 13:47:17 +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
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +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
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Sergii Leshchenko 43066dcd22
Add an ability to configure whether authentication via cookies is enabled (#10763) 2018-08-15 08:59:23 +03:00
Sergii Leshchenko de1459c52b Add attributes field to workspace config object 2018-08-10 14:06:41 +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