Commit Graph

776 Commits (b2b92b5463afa4fac9b018d9d00a3be3e90abb62)

Author SHA1 Message Date
Mykhailo Kuznietsov b2b92b5463
Rework dynamodule exclusion regexps to match nested WARs as well (#13464)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2019-06-04 09:59:01 +03:00
Vitalii Parfonov 64129a8d44
RELEASE: Set next development version (#13460) 2019-06-03 16:28:42 +03:00
Lukas Krejci ee4461b2fd
Merge api-devfile and api-workspace together (#13417)
Merge api-devfile and api-workspace together and put the infrastructure-dependent code behind injectable interfaces.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-05-31 12:43:45 +02:00
Roman I dd1d9b5a58
switch to RC version scheme (#13424) 2019-05-28 13:52:49 +03:00
Sergii Leshchenko c94c3acc03
Add preferences to plugin component of devfile (#13341)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-05-24 08:59:29 +03:00
Roman I ffb8a3e013
RELEASE: Set next development version (#13377) 2019-05-22 09:52:28 +03:00
Lukas Krejci 0ce7b1ddac
Content references in command actions for editor specific action definitions. (#13273)
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-05-21 10:04:11 +02:00
Roman Iuvshyn 53cb2c53fa
RELEASE: Set next development version (#13264) 2019-05-05 12:24:42 -04:00
Max Shaposhnik a3c56c9f40
Switch to Justify json schema validator
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2019-05-02 14:56:43 +03:00
Oleksandr Garagatyi 35ce3544f7
Adapt UD and wsmaster to new plugin notation (#13204)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-05-02 09:50:01 +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
Lukas Krejci f725bb0316 Merge remote-tracking branch 'upstream/master' into name-to-alias
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-04-16 14:12:04 +02:00
Lukas Krejci 09ccc0db26 Rename component "name" to "alias", make it optional and add a new
validation to require the alias when 2 components are otherwise
indistinguishable by their identifying attributes (like image name of
the dockerimage component).

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-04-16 11:12:00 +02:00
Sergii Leshchenko 046552f4e5
Make Devfile part of a workspace (#13122)
It includes only model objects changes. Devfile can not be used as part
of workspace yet.

Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-04-15 11:53:58 +03:00
Roman Iuvshyn e60598bdaf
RELEASE: Set next development version (#13102) 2019-04-10 17:13:01 +03:00
Lukas Krejci 1852642c68 Remove refspec and add more fine-grained checkout-after-clone control
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-04-08 10:08:55 +02:00
Sergii Leshchenko e3281718a7 Add model objects for Devfile
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-04-03 14:03:20 +03:00
Lukas Krejci 4e3e7c3cb5 Support `refspec` in the devfile to specify what should be checked out
after a clone.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-04-01 09:58:05 +02:00
Mykhailo Kuznietsov e4763e1dac
Add ability to provide additional build-info in Che (#12919) 2019-03-28 15:46:32 +02:00
Angel Misevski 1263f06945 Add tracing to broker phases
Trace the prepare storage, deploy, and wait broker result phases of
plugin brokering.

Additionally clean up start tracing code slightly:
- Move span names to a separate file
- Move TracingUtil functionality into TracingTags

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-03-28 02:22:51 -04:00
Angel Misevski 15a7f9da6f Rework workspace start tracing
- Group machine start traces under a separate span
- Move wait running and check servers spans out of start machines span
  since the start machine span ends before check servers is complete
- Track wait running async and check servers spans separately
- Add tracing to bootstrap servers

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-03-28 02:22:51 -04:00
Angel Misevski 2c4ef3a60f Allow enabling DB tracing separately from regular tracing
When enabled, tracing database calls fills each span with dozens of
hard-to-parse, ~1-100 ms spans. This commit allows enabling database
tracing separately, using the CHE_DB_TRACING_ENABLED environment
variable.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-03-28 02:22:51 -04:00
Gerben Oolbekkink c5498c2ac5 Improve ZipUtils tests. (#12946)
Fix ZipUtilsWriteTest for Windows, slashes get converted inside
ZipUtils.

Add test for unzipping. This was not explicitely tested.

Signed-off-by: Gerben Oolbekkink <g.j.w.oolbekkink@gmail.com>
2019-03-23 15:46:56 +02:00
Roman Iuvshyn 0abdc77ea0
RELEASE: Set next development version (#12922) 2019-03-19 15:56:30 +02:00
Sergii Kabashniuk 315767ea5d
NopTracer is used if tracing is not enabled (#12897)
* NopTracer is used in tracing is not enabled

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-03-19 09:44:49 +02:00
Mykhailo Kuznietsov fdc1b0dcf0
Expose Traces as metrics for Prometheus (#12823) 2019-03-14 16:00:53 +02:00
Lukas Krejci b52ee401c8 Handle the containerCommand and containerArgs attributes of the machine
defined with the dockerimage recipe.

Note that this only works in kubernetes and openshift environments.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-03-05 15:04:18 +01:00
Sergii Kabashniuk 391c30e495
Provide more informative error message (#12814)
* Provide more informative error message in case of rejection on major websocket endpoint of JSON RPC stack

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-03-04 22:27:28 +02:00
Roman Iuvshyn 0881493644
RELEASE: Set next development version (#12777) 2019-02-27 16:02:33 +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
Roman Iuvshyn 3778f01220
RELEASE: Set next development version (#12768) 2019-02-27 11:50:40 +02:00
Sergii Kabashniuk 577eba85ea
Add ProcessMemoryMetrics ProcessThreadMetrics (#12749)
* Add ProcessMemoryMetrics ProcessThreadMetrics

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-26 14:47:41 +02:00
Lukas Krejci 9a8a4f8660 * Don't try to remove already removed element during removeFirstIndependent
* Presize the LinkedHashMap correctly

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-02-25 13:52:56 +01:00
Lukas Krejci f66e967339 Make variable expansion work for environment variables in k8s.
K8s does the expansion only if it already knows about the variable being
expanded.

This means we have to sort the environment variable list prior to sending
it to k8s in such a way that vars that reference others always follow the
referenced ones.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-02-25 13:18:32 +01:00
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
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
Roman Iuvshyn a694c4f971
RELEASE: Set next development version (#12596) 2019-02-06 18:22:35 +02:00
Sergii Leshchenko 99017c4553 Move 'machineName' and 'plugin' attributes definition to Command class
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-02-01 16:41:00 +02:00
Sergii Kabashniuk 82b6ea432e
Add ability to dump values that is bind by CheBootstrap (#12556)
* Add ability to dump values that is bind by CheBootstrap

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-01-31 09:37:32 +02:00
Masaki Muranaka 9f5a7980c7 Fix resource leaks. (#12407)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-01-29 13:02:59 +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
Roman Iuvshyn 4ad10f2218
RELEASE: Set next development version (#12441) 2019-01-16 11:51:02 +02:00
Masaki Muranaka 07ceab7754 Remove redundant elements (<groupId> and <version>) (#12406)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-01-14 13:07:42 +02:00
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