Commit Graph

7315 Commits (da3eefe2378e878de1801ac5912c031ae172dfef)

Author SHA1 Message Date
Sergii Kabashniuk da3eefe237
Metrics POC (#11990)
With CHE_METRICS_ENABLED env variable enable Prometheus metrics endpoint
2018-11-27 23:47:24 +02:00
Florent Benoit c91cb54fb8 Update factory plug-in
Change-Id: I402dcd9da2065f9f807b9dabffcc307902171854
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-11-27 14:22:14 +01:00
Thomas Mäder f4f2829477
Remove forked jdt projects (#12050)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-11-27 13:33:46 +01:00
Masaki Muranaka 31a4e14d07 Fix typo. (#12022)
Not `clonning` but `cloning`. (refs #12012)

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2018-11-27 12:03:20 +01:00
Sergii Leshchenko 96915adeea
Merge pull request #12016 from sleshchenko/runtimeCommands
Added commands to Runtime
2018-11-27 10:32:38 +02:00
Sergii Leshchenko 4eccec6385 Move warnings messages and codes to special final class in K8s/OS infrastructures 2018-11-27 09:19:28 +02:00
Sergii Leshchenko 20020afba4 Make InternalRuntimes propagate warnings from environment 2018-11-27 09:19:28 +02:00
Sergii Leshchenko 66c0d8d7e6 Add publishing commands from plugins 2018-11-27 09:19:28 +02:00
Sergii Leshchenko 4edd9190bf Make k8s/OS internal runtime return commands 2018-11-27 09:19:28 +02:00
Sergii Leshchenko b612c300dd Make Docker internal runtime return environment commands 2018-11-27 09:19:28 +02:00
Sergii Leshchenko b8f0844052 Propagate warning and commands from InternalRuntimes 2018-11-27 09:19:28 +02:00
Sergii Leshchenko 25f76803db Add commands to InternalEnvironment and Runtime 2018-11-27 09:19:28 +02:00
Sergii Leshchenko 0ff2a2ee0e Update Che Plugin Broker to v0.4.0 version
The reason why it is updated: ChePluginBroker:v0.4.0 publishes id
and version of plugins
2018-11-27 09:19:23 +02:00
Ibrahim Jarif 042fea24de Change Centos Nodejs stack Run Command
Change the default run command for `centos nodejs` stack from `node app.js` (which will work only if the entry point of the project is app.js) to `node .` (which will work for all nodejs projects which have a `main` section defined in `package.json` file. The `main` section defines the entry point.

Related to https://github.com/redhat-developer/rh-che/pull/1078

Signed-off-by: Ibrahim Jarif <jarifibrahim@gmail.com>
2018-11-26 16:49:30 +01:00
Anna Shumilova f451d25729 Properly handle no-environment in workspace config from UD
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2018-11-26 10:53:15 +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
Roman Iuvshyn f391622132
RELEASE: Update CHANGELOG (#12037)
* RELEASE: Update CHANGELOG
2018-11-23 14:07:57 +02:00
Ilya Buziuk b9997df05b rh-che #1075: Adding 'ImpersonatorInterceptor' during creation of KubernetesClient
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2018-11-23 09:59:10 +01: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
Angel Misevski fa2a2dffeb Add property to control ping interval in ServersChecker
Add property `che.workspace.server.ping_interval_milliseconds` to
control ping interval when checking that servers are running during
workspace start.

Default value is 3000 ms (3 seconds) which is the current hardcoded
interval.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2018-11-22 11:28:34 -05:00
Sergey Skorik ef6c886124
Selenium: cover workspace sharing feature by selenium test (#12008) 2018-11-22 14:34:11 +00:00
Igor Ohrimenko 6b0aa57837
[ Selenium ] Do minor fixing changes for stabilizing of "TheiaBuildPluginTest", "CreateNewJavaFilesTest", "DeletePackageTest" selenium tests (#12007) 2018-11-22 10:42:17 +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
Yevhen Vydolob 8fe1172cb1
che#11306 use 'versions.sh' from proper place (#12010)
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2018-11-21 15:51:06 +02:00
Oleksii Orel 0f834881c8
Fix style for UI (#11999)
* CHE-9817 fix tab item styles

Signed-off-by: Oleksii Orel <oorel@redhat.com>

* CHE-11994 fix member list styles

Signed-off-by: Oleksii Orel <oorel@redhat.com>

* code cleanup

Signed-off-by: Oleksii Orel <oorel@redhat.com>
2018-11-21 14:28:04 +02:00
Vitaliy Gulyy 21318aeec8
build.sh become working on Ubuntu / Linux Mint (#12004)
* Use bash instead sh

* Revert .gitignore
2018-11-21 12:37:27 +02:00
Igor Ohrimenko f021bc0bbf
[ Selenium ] Fix of unexpected fail of "TheiaBuildPluginTest" and "RenameProjectTest" selenium tests (#12001) 2018-11-20 16:43:43 +02:00
Igor Ohrimenko 7fdf4da70d
[ Selenium ] Fix of unexpected fail of "CheckErrorsWarningsTabTest" selenium test (#11995) 2018-11-20 16:06:14 +02:00
Sergii Kabashniuk 493f5d15f9
Upgrade java8 version for workspace master (#11977)
Upgrade java8 version for workspace master (#11977)
2018-11-20 13:40:37 +02:00
Eugene Ivantsov cc1fb31ec4
Use proxy forwarding (#11137)
* Use proxy forwarding

* Double quotes for bool
2018-11-20 06:55:08 +02:00
Thomas Mäder 9cebfa1ffc
Remove duplicate keys (#11941)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-11-19 18:28:41 +01:00
Igor Ohrimenko e36ad6aafc
[ Selenium ] Get rid of redundant methods in the "SeleniumWebDriverHelper" class (#11913) 2018-11-19 16:46:06 +02:00
Roman Iuvshyn b0dfab0b09
RELEASE: Update CHANGELOG 6.14.1 (#11971)
* RELEASE: Update CHANGELOG

* Update CHANGELOG.md
2018-11-19 13:13:44 +02:00
Igor Ohrimenko 91b43882b4
[ Selenium ] Fix of unexpected fail of "CheckOnValidAndInvalidClassNameTest" and "RenamedAlreadyCreatedNotJavaFileTest" selenium tests (#11979) 2018-11-19 12:36:48 +02:00
Masaki Muranaka 83fb46de5e Ignore Java files in `node_modules/` on the build phase.
fixes #11822.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2018-11-19 10:57:24 +02:00
Sergii Leshchenko c4ac0603fa
Remove unneeded listening of PluginBrokers Pod events (#11940) 2018-11-19 10:51:12 +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 Kabashniuk eb1fdbf6b6
Fix failed test due to the wrong mock reset (#11957) 2018-11-17 16:56:49 +02:00
Aleksandr Shmaraiev 9c6fe0c44a
Selenium: Delete try-catch from the 'GitCompareTest' related to resolve issue #11791 (#11974)
* Delete try-catch from the 'GitCompareTest' related to resolve issue #11791
* Restore the 'under repair groups' related to other permanent failure #11769
2018-11-16 16:01:48 +00:00
Roman Nikitenko c6b82072cf Fix 'Go to line' for 'Git Compare' widget
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2018-11-16 14:24:48 +02:00
Mario Loriedo 8c02dd78f3 Changed Java CentOS stack container image (#11966)
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2018-11-16 11:17:07 +02:00
Katka92 e0fe176243 Add che.openshift.project parameter for oc usage. (#11933)
* Add che.openshift.project parameter for oc usage.

Signed-off-by: kkanova <kkanova@redhat.com>

* Fix formatting

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-11-16 00:38:10 +02:00
Eugene Ivantsov 01a3b6134e
Clangd fixes (#11958) 2018-11-15 20:36:51 +02:00
Sergii Leshchenko 438aa3a9e8
Merge pull request #11920 from sleshchenko/pvcBound
Made PVC Strategies wait until PVCs are bound during preparing
2018-11-15 15:57:10 +02:00
Sergii Leshchenko 8514aae427 Update comment about helm chart parameter 2018-11-15 14:43:51 +02:00
Sergii Leshchenko a4f8410e6e Make PVC Strategies wait until PVCs are bound during preparing 2018-11-15 14:43:51 +02:00
Sergii Leshchenko 18e408854c Add info message about aplied logger config 2018-11-15 14:43:51 +02:00
Sergii Leshchenko ef54e6cecb Fix dependencies scope
Remove duplicated dependency declaration for che-core-api-project to
avoid warning message during maven build

Change scope of che-core-api-languageserver dependency to `test` to fix
issue while building Che without compiling of tests
2018-11-15 14:43:51 +02:00
Roman Iuvshyn 1d5f3f453c
RELEASE: Update CHANGELOG (#11950)
* RELEASE: Update CHANGELOG

* Update pom.xml
2018-11-15 11:24:30 +02:00
Igor Ohrimenko e8285721d4 Add an ability to manage timeouts in the 'AssistantFindPanel#waitNode' method (#11942) 2018-11-14 18:24:06 +02:00