Commit Graph

362 Commits (c2dfd5557f3697c1393c80e8748d7f997dce6bb2)

Author SHA1 Message Date
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
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
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
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +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
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
Max Shaposhnik 1471003ae4
Add exclusions mechanism into jwtproxy config builder & exlude liveness probes from auth 2018-07-24 18:18:26 +03:00
Sergii Leshchenko efaef7e0d1 Introduce secure servers and add SecureServerExposer 2018-07-12 14:50:56 +03:00
Roman Iuvshyn 985d368f2d
RELEASE: Set next development version (#10345)
* RELEASE: Set next development version
2018-07-10 15:56:52 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
Roman Iuvshyn 6677e27a6b
RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
Roman Iuvshyn edb0e15e6f
RELEASE: Set next development version (#9473) 2018-04-18 08:31:24 +02:00
David Festal c19ccdcdee
Use the owner Id only in the workspace `RuntimeIdentity` (#8859) (#9274)
* Use the owner Id only in the workspace `RuntimeIdentity` (#8859)

Signed-off-by: David Festal <dfestal@redhat.com>
2018-03-30 14:28:11 +02: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
David Festal 21e00e9b15
Make CHE 6 multi-tenant compatible for OSIO (#8805)
* Copy the boostrapper config file to POD *installer by installer* to avoid executing a huge command, which in turn tries to send a huge GET request (73kb-long URL).
This long GET request was previously not supported by the fabric8 oso proxy.

See https://github.com/openshiftio/openshift.io/issues/2254 for more
details. 

* Make the Kubernetes / Openshift infrastructures multi-tenant-compatible

This includes:

1. Reworking the `KubernetesClientFactory` and `OpenshiftClientFactory`
to:
    - share a single `OkHttpClient` that is the basis of all created
Kubernetes or Openshift clients potentially pointing to
different.cluster URL with different authorization tokens
    - provide the workspaceId in the `create` methods whenever it's
available (workspace start / stop, idling, etc ...
    - have distinct methods for creating the Kubernetes client and the
Openshift client (required since the Openshift client creates connection
leaks on some calls such as exec of POD watch)
This is the implementation of issue
https://github.com/redhat-developer/rh-che/issues/516

2. Adding the `userId` into the SPI `RuntimeIdentity` object. Currently,
only the `userName` is available in this object that gathers information
about the identity attached to a workspace runtime. This change is
required because the `userId` should be accessible from the
`workspaceId` for implementing multi-tenancy and creating workspace
resources in a user-specific location.
This is the implementation of issue
https://github.com/redhat-developer/rh-che/issues/501

* In the Openshift infrastructure, the authentication interceptor should
always convert userName/password-based authentication to
oauth-token-based authentication, even when using the
`KubernetesClient`.

Signed-off-by: David Festal <dfestal@redhat.com>
2018-02-22 18:23:10 +01: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
Oleksandr Garagatyi 9d75f3e219
Rework default memory limit setting (#8422)
Extract default machine memory limit setting from
InternalEnvironmentFactory to recipe specific environment
factories.
Make memory limit attribute optional by respecting it by
resource API subsystem.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-01-24 12:47:06 +02:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Roman Iuvshyn 71704ab3a7
RELEASE: Set next development version (#8135) 2018-01-03 14:13:25 +02:00
Oleksandr Garagatyi 10d70ca9cc CHE-7834: add field 'status' into runtime machine object
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-12-19 08:51:04 +02:00
Roman Iuvshyn 5a6d3910b2
RELEASE: set next dev version (#7882) 2017-12-14 15:51:34 +02:00
Oleksandr Garagatyi 6b7b1c6468 CHE-7561: add internal server concept into workspace API
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-12-11 11:41:11 +02:00
Sergii Leshchenko 760fbea420
Renamed properties to attributes in Machine model object (#7687)
CHE-6803 Rename properties to attributes in Machine model object

It also contain removing outdated WsAgentPingRequestFactoryTest
2017-12-04 11:25:31 +02:00
Sergii Leshchenko cc1520f5a1 CHE-7495 Remove warnings from environment config 2017-12-01 14:41:28 +02:00
Oleksandr Garagatyi 09a16f8a48 CHE-7560: Add attributes field to Machine Server object
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-30 10:53:03 +02:00
Oleksandr Garagatyi ce1e6433ab CHE-7560: add attributes field to ServerConfig object
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-30 10:53:03 +02:00
Roman Iuvshyn 506210325a
RELEASE: set next dev version (#7523) 2017-11-23 12:50:56 +02:00
Oleksandr Garagatyi ba7a1e2e51 CHE-7010: Add volumes into machine model object
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-11-20 16:14:47 +02:00
Roman Iuvshyn 19f5fd1f5a
RELEASE: Set next development version (#7112) 2017-10-31 16:46:30 +02:00
Artem Zatsarynnyi f15fbf1cb1
IDE agnostic way to launch GWT Super DevMode (#7084)
Adapted modules to gwt-lib/gwt-app lifecycle;
shared libs have been cleaned up from the GWT related stuff;
enabled launching Super DevMode with a reactor goal gwt:codeserver;
enabled launching Super DevMode inside a dev-machine (for Che in Che development);
separate compiling IDE GWT app from packaging IDE Web app.

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2017-10-31 15:27:22 +02:00
Oleksandr Garagatyi 74bbcde05f CHE-6124: Normalize servers in internal machine
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-10-26 12:10:36 +03:00
Oleksandr Garagatyi cd1301d115 CHE-6124: Do not publish exposed ports in Docker machines
Publish port in Docker machines only in case there is a server
in the workspace config that represents the port.
Refactor OpenShift infrastructure code.
Refactor Docker infrastructure code.
Add constant of memory attribute and reuse it everywhere it is
hardcoded.
Add constant for installer environment attribute and reuse it
everywhere it is hardcoded.
Add machine memory attribute validation to workspace validation.
Move provisioning of servers, environment variables from
infrastructure implementations to runtime SPI abstract level.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-10-26 12:10:36 +03:00
Sergii Kabashniuk f4cc97acce Set next version 6.0.0-M1-SNAPSHOT 2017-10-19 13:53:40 +03:00
Sergii Leshchenko bac6efc5e2 Added environment variables configuration to Machine model (#6802)
* CHE-6702 Add env variables to machine config

* CHE-6702 Add setting of env variables into OpenShift machines

* CHE-6702 Add setting of env variables into Docker machines

* CHE-6702 Make env field known for stack validator
2017-10-18 18:11:54 +03:00
Sergii Kabashniuk e321ab00b1 Merge with master 2017-10-15 14:33:47 +03:00
Roman Iuvshyn abe3271908 RELEASE: Set next development version (#6692)
* RELEASE: Set next development version
2017-10-14 20:17:04 +03:00
Artem Zatsarynnyi 685def4d29 Merge branch 'master' into spi 2017-09-21 09:24:39 +03:00
Roman Iuvshyn 8e03d56bfb RELEASE: Set next development version (#6345) 2017-09-19 14:52:53 +03:00
Artem Zatsarynnyi acce13f30c Merge branch 'master' into spi 2017-09-15 11:21:33 +03:00
Vitalii Parfonov d14dae95c7 CHE-6162: Fix problem project detection procedure (#6264)
* Fix problem project detection

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Add problems descriptor to MutableProjectConfig

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Avoid call updatePresntation on get

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>

* Move class to the shared lib

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2017-09-14 15:38:03 +03:00
Artem Zatsarynnyi 04be689c69 Merge branch 'master' into spi 2017-09-04 11:51:57 +03:00
Oleksandr Garagatyi 7cb8a224fc CHE-6072: fix bug when 'null' is used as a server path
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-08-23 17:29:29 +03:00
Roman Iuvshyn 2850a74a11 RELEASE: Set next development version (#6067) 2017-08-23 11:11:34 +03:00
Sergii Kabashniuk 6e9825c699 Used Google Java Codestyle 2017-08-18 17:16:54 +03:00
Sergii Kabashniuk 5b373e6cf5 Used Google Java Codestyle (#5851) 2017-08-18 17:00:58 +03:00
Artem Zatsarynnyi 83d25535a9 Fix licenses
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2017-08-17 17:19:12 +03:00
Artem Zatsarynnyi a552e67a76 Merge branch 'master' into spi 2017-08-17 16:40:48 +03:00
Artem Zatsarynnyi 51fed52707 Merge branch 'master' into spi 2017-08-17 15:21:26 +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
Roman Iuvshyn c2eb3188c1 RELEASE: Set next development version (#5949) 2017-08-09 11:17:20 +03:00
Sergii Leshchenko 949c1a2c26 CHE-5690 Add provisioning for OpenShift infrastructure
It includes:
- creating objects for configured servers;
- applying changes that are required by configured installers.
2017-08-07 14:02:58 +03:00
Artem Zatsarynnyi b851196df5 Merge branch 'master' into spi 2017-07-20 12:30:15 +03:00
Roman Iuvshyn 185273f8b9 RELEASE: Set next development version (#5734)
* RELEASE: Set next development version
2017-07-19 12:45:32 +03:00
Korneta Anton fb75edb1ca Move OldRecipe from machine to workspace api module 2017-07-14 10:25:43 +03:00
Korneta Anton 80c788d42b Move MachineSource into docker infrastructure 2017-07-13 17:50:15 +03:00
Korneta Anton ddb6e0ad8b Remove MachineProcees and deprecated method in CommandOutputConsole 2017-07-13 17:11:24 +03:00
Korneta Anton 8e1fe4b65d Remove ssh-machine module and MachineLogMessage 2017-07-05 12:05:46 +03:00
Sergii Leshchenko 0504b313d8 CHE-5413 Rename Agent to Installer 2017-06-29 17:58:09 +03:00
Artem Zatsarynnyi 1ba5f63d8f Merge branch 'master' into spi 2017-06-29 17:45:59 +03:00
Roman Iuvshin eab04ddd6b RELEASE: Set next development version 2017-06-29 07:59:05 +00:00
Sergii Leshchenko fa48da7d74 CHE-4101 Rework docker infrastructure to use bootstrapper to start installers 2017-06-23 15:23:41 +03:00
Artem Zatsarynnyi ad2460999e Merge branch 'master' into spi 2017-06-22 08:27:59 +03:00
Roman Iuvshin 513aa19ebd RELEASE: Set next development version 2017-06-21 13:04:16 +00:00
Alexander Garagatyi 0993fb8a2b CHE-5093: hard code server status check in docker infra (#5405)
Add hard coded server status check in Docker infrastructure to
test usage of server statuses events in client load sequence.
Add server URL into ServerStatueEvent to ease workflow of the client.
Add more info about agent into the internal representation of agent.
Use assisted injection to clean up docker infra code.
Allow accessing Docker machine before agents start to prevent
crashes of wsagent.
2017-06-20 11:19:43 +03:00
Artem Zatsarynnyi cce79bf469 Merge branch 'master' into spi
# Conflicts:
#	assembly/assembly-wsmaster-war/pom.xml
#	infrastructures/docker/pom.xml
#	plugins/plugin-docker/che-plugin-docker-compose/pom.xml
#	plugins/plugin-github/che-plugin-github-pullrequest/src/main/java/org/eclipse/che/plugin/pullrequest/client/GitHubHostingService.java
#	plugins/plugin-testing-java/plugin-testing-junit/che-plugin-testing-junit-ide/src/main/java/org/eclipse/che/plugin/testing/junit/ide/action/RunAllTestAction.java
#	plugins/plugin-testing-java/plugin-testing-junit/che-plugin-testing-junit-ide/src/main/java/org/eclipse/che/plugin/testing/junit/ide/action/RunClassTestAction.java
#	plugins/plugin-testing-java/plugin-testing-testng/che-plugin-testing-testng-ide/src/main/java/org/eclipse/che/plugin/testing/testng/ide/action/RunAllTestAction.java
#	plugins/plugin-testing-java/plugin-testing-testng/che-plugin-testing-testng-ide/src/main/java/org/eclipse/che/plugin/testing/testng/ide/action/RunClassTestAction.java
#	plugins/plugin-testing-java/plugin-testing-testng/che-plugin-testing-testng-ide/src/main/java/org/eclipse/che/plugin/testing/testng/ide/action/RunTestXMLAction.java
#	pom.xml
#	wsmaster/che-core-api-machine/pom.xml
2017-06-15 10:35:47 +03:00
Roman Iuvshin eb2fa0eeed RELEASE: Set next development version 2017-06-14 07:13:04 +00:00
Max Shaposhnik 89896f6c7f Handling bootstrapper & installer events. (#5345) 2017-06-13 11:42:20 +00:00
Gennady Azarenkov 04ecd21e1d recommended Runtime/Context refactoring 2017-06-03 14:54:05 +03:00
Max Shaposhnik 3d93a98c59 Move snapshot interface into docker infra 2017-05-30 18:35:42 +03:00
Dmitry Kuleshov 1379fbf602 added subscription manager (#5226) 2017-05-30 11:22:06 +03:00
Max Shaposhnik 8afc4eb053 Restore snapshots functionality; 2017-05-29 11:00:59 +00:00
Gennady Azarenkov 69b34831c6 SPI messaging and code clean 2017-05-25 21:14:45 +03:00
Gennady Azarenkov 8ad21b4638 SPI messaging and code clean 2017-05-25 21:12:12 +03:00
Artem Zatsarynnyi 993e8df52e Merge branch 'master' into spi 2017-05-24 12:16:17 +03:00
Roman Iuvshin 9fbf173eb9 RELEASE: Set next development version 2017-05-24 07:30:41 +00:00
Gennady Azarenkov b38f73da76 remove ServerProperties 2017-05-21 18:28:45 +03:00
Alexander Garagatyi da9e3c819b CHE-5095: cleanup Docker infra impl
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-05-17 17:52:30 +03:00
Gennady Azarenkov 45a0ece9b4 remove old entities 2017-05-16 20:13:57 +03:00
Alexander Garagatyi 21c4589086 Merge branch 'master' into spi
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-05-15 12:27:23 +03:00
Gennady Azarenkov 2e8ec36097 ServerStatus 2017-05-13 22:53:25 +03:00
Roman Iuvshin b3ae33acf5 RELEASE: Set next development version 2017-05-10 10:54:42 +00:00
Alexander Garagatyi 7877e47f6a Merge branch 'master' into spi
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-04-27 12:08:59 +03:00
Gennady Azarenkov de7fbc9c3c Fix javadocs 2017-04-25 21:42:39 +03:00
Roman Iuvshin 6d88cf8c73 [maven-release-plugin] prepare for next development iteration 2017-04-25 18:19:17 +00:00
Roman Iuvshin d7f023fd89 [maven-release-plugin] prepare release 5.9.0 2017-04-25 18:19:10 +00:00
Alexander Garagatyi 7e0ed03cf2 Merge branch 'master' into spi 2017-04-19 16:52:48 +03:00
Gennady Azarenkov 493e07ca95 Move NewProjectConfig from model to project-shared 2017-04-19 09:15:51 +03:00
Roman Iuvshin 7805c146e6 [maven-release-plugin] prepare for next development iteration 2017-04-13 11:07:13 +00:00
Roman Iuvshin e8107fd96c [maven-release-plugin] prepare release 5.8.0 2017-04-13 11:07:06 +00:00
Yevhenii Voevodin 791b898447 Merged with master 2017-04-12 16:18:56 +03:00
Roman Iuvshin 840ae853f8 Revert "RELEASE: set minor change version"
This reverts commit e23b9257a3.
2017-04-11 20:55:24 +03:00
Roman Iuvshin e23b9257a3 RELEASE: set minor change version 2017-04-11 18:10:45 +03:00
Roman Iuvshin 08d4d0f25c [maven-release-plugin] prepare for next development iteration 2017-04-06 14:28:39 +00:00
Roman Iuvshin 53a0325213 [maven-release-plugin] prepare release 5.7.0 2017-04-06 14:28:33 +00:00
Yevhenii Voevodin c1f53f0930 fix warnings doc 2017-04-04 16:15:10 +03:00
Yevhenii Voevodin af413059e3 Add warning to the Runtime & Environment model 2017-04-04 16:06:06 +03:00
Max Shaposhnik 62d32687c2 Factory migration (#4413) 2017-04-03 15:11:45 +03:00
Yevhenii Voevodin 5adeff8968 spi model sketch 2017-03-31 14:27:39 +03:00
Roman Iuvshin 342f103654 [maven-release-plugin] prepare for next development iteration 2017-03-30 12:25:35 +00:00
Roman Iuvshin e6e4a652cc [maven-release-plugin] prepare release 5.6.0 2017-03-30 12:25:28 +00:00
Roman Iuvshin e7588aa2b3 [maven-release-plugin] prepare for next development iteration 2017-03-15 14:59:35 +00:00
Roman Iuvshin 69cf9f5528 [maven-release-plugin] prepare release 5.5.0 2017-03-15 14:59:28 +00:00
Roman Iuvshin ceff3938ff [maven-release-plugin] prepare for next development iteration 2017-03-02 18:33:12 +00:00
Roman Iuvshin 8ed6e10476 [maven-release-plugin] prepare release 5.4.0 2017-03-02 18:33:06 +00:00
Roman Iuvshin e71c7b5671 [maven-release-plugin] prepare for next development iteration 2017-02-17 11:04:07 +00:00
Roman Iuvshin c071c65aa2 [maven-release-plugin] prepare release 5.3.0 2017-02-17 11:03:59 +00:00
Roman Iuvshin 0dd0dea686 [maven-release-plugin] prepare for next development iteration 2017-02-01 13:31:32 +00:00
Roman Iuvshin d138c3623f [maven-release-plugin] prepare release 5.2.0 2017-02-01 13:31:25 +00:00
Alexander Garagatyi 6b46f73c2c CHE-3686: fix docker machines addresses setting
Set internal machine address by CLI from CHE_IP.
Add and fix docs in che.env.
Change behavior of default machine server address evaluation
to be similar to the previous state.
Code cleanup.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-01-20 18:10:32 +02:00
Roman Iuvshin 05a7cd53b5 [maven-release-plugin] prepare for next development iteration 2017-01-18 16:33:24 +00:00
Roman Iuvshin 41d3739928 [maven-release-plugin] prepare release 5.1.0 2017-01-18 16:33:17 +00:00
Yevhenii Voevodin 1ede4845c4 Implement cancellation (#3701) 2017-01-16 18:05:45 +02:00
Roman Iuvshin 9904460818 [maven-release-plugin] prepare for next development iteration 2017-01-06 11:48:49 +00:00
Roman Iuvshin b5a7d04ca2 [maven-release-plugin] prepare release 5.0.0 2017-01-06 11:48:42 +00:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Roman Iuvshin abc1367c1d remove milestone from version 2016-12-23 15:04:56 +02:00
Roman Iuvshin 813d930275 change version to M10-SNAPSHOT 2016-12-22 11:48:31 +02:00
Roman Iuvshin 7850cc2908 [maven-release-plugin] prepare for next development iteration 2016-12-07 12:34:30 +00:00
Roman Iuvshin 1c15a44844 [maven-release-plugin] prepare release 5.0.0-M8 2016-12-07 12:34:25 +00:00
Roman Nikitenko 2339b0dd6e CHE-2937. Add ability to create batch of projects 2016-11-30 19:08:09 +02:00
Roman Iuvshin 52f84d9092 [maven-release-plugin] prepare for next development iteration 2016-11-10 11:37:24 +00:00
Roman Iuvshin 315056731e [maven-release-plugin] prepare release 5.0.0-M7 2016-11-10 11:37:20 +00:00
Roman Iuvshin 825af31a5d [maven-release-plugin] prepare for next development iteration 2016-10-26 09:37:49 +00:00
Roman Iuvshin 7da1d4a910 [maven-release-plugin] prepare release 5.0.0-M6 2016-10-26 09:37:45 +00:00
Yevhenii Voevodin e316ba7945 Add snapshotting status (#2829) 2016-10-20 15:01:47 +03:00
Roman Iuvshin b986091e4a [maven-release-plugin] prepare for next development iteration 2016-10-07 10:22:41 +00:00
Roman Iuvshin 8f799b4c28 [maven-release-plugin] prepare release 5.0.0-M5 2016-10-07 10:22:37 +00:00
Yevhenii Voevodin 3e0d1dceb1 Remove workspace.name from model (#2652) 2016-09-29 15:26:26 +03:00
Mario Loriedo dabb749777 Add property machine.docker.local_node_host.external. (#2402)
This property allows communications beetween browser and containers that are on different networks (eg. Docker for Mac or NAT)

Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2016-09-28 18:52:28 +02:00
Roman Iuvshin 33944c6ec1 set M5 version 2016-09-27 16:08:19 +03:00
Roman Iuvshin 152be21b4f [maven-release-plugin] prepare for next development iteration 2016-09-26 14:19:41 +00:00
Roman Iuvshin 89ab012035 [maven-release-plugin] prepare release 5.0.0-M3 2016-09-26 14:19:37 +00:00
Alexander Garagatyi 405422c6db CHE-2366: Fix volumes_from usage in compose environment (#2487)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-09-21 12:09:56 +03:00
Roman Iuvshin 900ccbb807 set M3 version 2016-09-20 17:31:42 +03:00
Anton Korneta d5fe8aed73 CHE-1790: Consolidate databases 2016-09-15 16:57:30 +03:00
Roman Iuvshin 3c1df2e4ad [maven-release-plugin] prepare for next development iteration 2016-09-14 15:50:20 +00:00
Roman Iuvshin b647b5eef7 [maven-release-plugin] prepare release 5.0.0-M1 2016-09-14 15:50:16 +00:00
Alexander Garagatyi 4612ca5fd0 CHE-2344: Fixes repetitive saving snapshot of workspace (#2413)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-09-12 16:59:16 +03:00
Alexander Garagatyi b2309ef345 CHE-2331: add all containers to Che master docker network (#2392)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-09-09 15:00:53 +03:00
Roman Iuvshin 8df0560ad3 set new version 2016-09-07 10:38:51 +03:00
Alexander Garagatyi f1b0c393cf CHE-1818: Add new WS environment types, machines attributes (#2315)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-09-02 16:59:04 +03:00
Alexander Garagatyi 2874265eb3 CHE-1818: change workspace environment model
Also adapt UD to new environment model by Anna Shumilova.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-09-02 14:52:41 +03:00
Roman Iuvshin ca14fc7470 [maven-release-plugin] prepare for next development iteration 2016-08-29 15:12:16 +00:00
Roman Iuvshin 36311ea4c8 [maven-release-plugin] prepare release 4.7.0 2016-08-29 15:12:12 +00:00
Alexander Garagatyi 0e9718e016 CHE-1370: refactor workspace environment bottstrapping and handling (#2108)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-08-16 16:23:08 +03:00
Roman Iuvshin 813b36851c [maven-release-plugin] prepare for next development iteration 2016-08-16 08:28:05 +00:00
Roman Iuvshin ef38dd5fb2 [maven-release-plugin] prepare release 4.7.0-RC1 2016-08-16 08:28:02 +00:00
Alexander Garagatyi a27b62df9f CHE-1368: rework machine's output/statuses events subscribing (#1600)
Rework output/status events of machine to be per workspace as a
part of implementation of new multi-machine environments.
Get rid of usage of machine manager in workspace service
Refactor code of machine manager.

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-08-03 13:22:04 +03:00
Roman Iuvshin 99b6beb356 [maven-release-plugin] prepare for next development iteration 2016-08-01 10:32:16 +00:00
Roman Iuvshin 3a0fd2a00c [maven-release-plugin] prepare release 4.6.0 2016-08-01 10:32:13 +00:00
Vitalii Parfonov b0049aab30 Remove classes comimted by mistake. Move Model.gwt.xml to correct place (#1869)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-19 18:48:46 +03:00
Vitalii Parfonov e3f78cd94b Revert "Move Model.gwt.xml to the ide-api module " (#1855) 2016-07-19 12:39:04 +03:00
Vitalii Parfonov e11c8e5406 Move Model.gwt.xml to the ide-api module (#1476)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-19 10:26:11 +03:00
Roman Iuvshin f9369146c1 [maven-release-plugin] prepare for next development iteration 2016-07-18 13:58:51 +00:00
Roman Iuvshin b6795f1a9a [maven-release-plugin] prepare release 4.5.0 2016-07-18 13:58:48 +00:00
Yevhenii Voevodin d1aa2cfed7 User structural refactoring 2016-07-05 11:27:58 +03:00
Roman Iuvshin 6a23f97700 [maven-release-plugin] prepare for next development iteration 2016-06-28 16:00:40 +00:00
Roman Iuvshin 400648e1db [maven-release-plugin] prepare release 4.4.0 2016-06-28 16:00:37 +00:00
Roman Iuvshin 5adff554bc [maven-release-plugin] prepare for next development iteration 2016-06-13 18:57:39 +00:00
Roman Iuvshin e9f5d4971e [maven-release-plugin] prepare release 4.3.0 2016-06-13 18:57:36 +00:00
Roman Iuvshin 140b09a9a0 [maven-release-plugin] prepare for next development iteration 2016-06-04 19:52:26 +00:00
Roman Iuvshin fbd9f95748 [maven-release-plugin] prepare release 4.3.0-RC1 2016-06-04 19:52:23 +00:00
Florent BENOIT ae4c5521bf CODENVY-560 : Introduce new type for providing docker recipes and remove InstanceKey
#1 new docker recipe type

currently we have type:"dockerfile", location: "http://path-to-recipe"

now we could provide
type:"dockerfile", content: "FROM codenvy/foo\nENV FLORENT=TRUE\"

and
type:"image", location or content: "codenvy/foo"

#2 InstanceKey
Up to now, InstanceKey was used to perform snapshot recovery.
But machine source is a way to provide this information.
So remove InstanceKey and replace it by MachineSource (and DockerMachineSource instead of DockerInstanceKey)

InstanceProvider:
void removeInstanceSnapshot(InstanceKey instanceKey)
--> void removeInstanceSnapshot(MachineSource machineSource)

Instance:
InstanceKey saveToSnapshot(String owner)
--> MachineSource saveToSnapshot(String owner)

#3 InstanceProvider model
To avoid also that MachineManager "knows" the inner type, the recipe handling is moved to the instance provider implementation
And as the snapshot handling is with MachineSource (included in MachineConfig included in Machine), no need to give extra InstanceKey parameter

Replace two previous methods

Instance createInstance(Recipe recipe,
                            Machine machine,
                            LineConsumer creationLogsOutput)

 Instance createInstance(InstanceKey instanceKey,
                            Machine machine,
                            LineConsumer creationLogsOutput) throws NotFoundException, InvalidInstanceSnapshotException, MachineException;

by only one:
   createInstance(Machine machine,
                            LineConsumer creationLogsOutput)

Change-Id: Ia7ea97bc1a44059b4892f5db387f54f2e1709fa3
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-05-30 14:51:41 +02:00
Roman Iuvshin 0978f5c655 [maven-release-plugin] prepare for next development iteration 2016-04-25 16:08:21 +00:00
Roman Iuvshin b0df01a0c1 [maven-release-plugin] prepare release 4.2.0 2016-04-25 16:08:18 +00:00
Alexander Garagatyi 3f89306d76 CHE-995: discover ssh machines architecture automatically
Discover ssh machines architecture automatically.
Remove beta field in machine conf that provides architecture.
Move server-side classes to appropriate package.
Removed workarounds in ssh client and properly wait until command finishes.

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-04-20 10:44:50 +03:00
Vitaly Parfonov 91f6a64e14 Remove usage of MachineExtensionProxyServlet
Add path to wsagent into wsagent server url to avoid doing that on client-side
Add class DevMachine on client-side what contain all needed information for communicate with wsagent and terminal
Remove @Named(cheExtensionPath)

Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-04-18 15:22:57 +03:00
Alexander Garagatyi 600a185cd2 CHE-995: mark architecture field as beta
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-04-14 15:45:56 +03:00
Alexander Garagatyi 4b155fa57a CHE-889: add ssh machine implementation
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-04-13 18:21:15 +03:00
Roman Iuvshin 0344d76167 [maven-release-plugin] prepare for next development iteration 2016-04-08 16:43:02 +00:00
Roman Iuvshin d66d35f08a [maven-release-plugin] prepare release 4.1.0 2016-04-08 16:42:59 +00:00
Yevhenii Voevodin d6b54abeba CHE-718: Remove runtime/users workspace, add new model objects 2016-04-01 18:42:53 +03:00
Roman Iuvshin fc58fffb23 [maven-release-plugin] prepare for next development iteration 2016-03-29 14:27:19 +00:00
Roman Iuvshin a7e3a0c71b [maven-release-plugin] prepare release 4.0.0 2016-03-29 14:27:16 +00:00
Roman Iuvshin 9c8213cd3e Remove GA label 2016-03-24 23:43:00 +02:00
Roman Iuvshin 7785d6e8d1 [maven-release-plugin] prepare for next development iteration 2016-03-23 14:12:01 +00:00
Roman Iuvshin adafe11189 [maven-release-plugin] prepare release 4.0.0-RC14 2016-03-23 14:11:58 +00:00
Vitaly Parfonov 03aa98f19d CHE-233:Rework Project API with new VFS 2016-03-21 18:11:54 +02:00
Alexander Garagatyi 2cf84acc87 CHE-741: change model of machine server conf and runtime server
Add field 'path' to machine server conf.
Add fields 'path', 'protocol' to runtime machine server.
Field 'url' of runtime machine server now includes path if path is
not null.

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-03-17 12:12:50 +02:00
Alexander Garagatyi 1cc53f05e4 CHE-457: add servers conf and env vars to model of machine config.
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-03-11 13:11:17 +02:00
Roman Iuvshin 725c149608 [maven-release-plugin] prepare for next development iteration 2016-03-09 19:31:24 +00:00
Roman Iuvshin f491a9692b [maven-release-plugin] prepare release 4.0.0-RC13 2016-03-09 19:31:22 +00:00
Roman Iuvshin 485da69940 [maven-release-plugin] prepare for next development iteration 2016-03-06 17:22:54 +00:00
Roman Iuvshin 15571e4039 [maven-release-plugin] prepare release 4.0.0-RC12 2016-03-06 17:22:50 +00:00
Roman Iuvshin 17c07f31b7 [maven-release-plugin] prepare for next development iteration 2016-03-03 20:06:01 +00:00
Roman Iuvshin 31194172ac [maven-release-plugin] prepare release 4.0.0-RC11 2016-03-03 20:05:58 +00:00
Roman Iuvshin 7cf7c09cc2 [maven-release-plugin] prepare for next development iteration 2016-03-02 20:25:05 +00:00
Roman Iuvshin 1981202585 [maven-release-plugin] prepare release 4.0.0-RC10 2016-03-02 20:25:02 +00:00
Roman Iuvshin bbeeb21bfe [maven-release-plugin] prepare for next development iteration 2016-03-01 19:42:14 +00:00
Roman Iuvshin 8ca2ca16bf [maven-release-plugin] prepare release 4.0.0-RC9 2016-03-01 19:42:11 +00:00
Roman Iuvshin 3190022814 [maven-release-plugin] prepare for next development iteration 2016-02-28 19:34:00 +00:00
Roman Iuvshin d8964d886b [maven-release-plugin] prepare release 4.0.0-RC8 2016-02-28 19:33:57 +00:00