Commit Graph

15 Commits (d557e732fa04c9ec98c4cb87d91b13c9c5bcb120)

Author SHA1 Message Date
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
Mykola Morhun 155ff602b8 CODENVY-211: Provide configuration parameter to enable docker privileged mode
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-04-11 15:46:20 +03:00
Yevhenii Voevodin 481c65f5cd CHE-718: Adapt all the infrastructure to the API changes 2016-04-01 18:44:31 +03:00
Mykola Morhun b6d509ea78 CHE-312: Remove existing docker snapshot when creating new one
Signed-off-by: Mykola Morhun <mmorhun@codenvy.com>
2016-03-23 12:12:11 +02:00
Alexander Garagatyi 4603f450c5 CHE-657: fix generation on docker container name
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-03-22 09:45:35 +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
Eugene Ivantsov f0015b46ed Add :Z suffix when mounting workspace project sources 2016-03-15 09:28:25 +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
Igor Vinokur de84bc7bc9 CHE-10: Set memory limits in build phase of Dockerfile
Signed-off-by: Igor Vinokur <ivinokur@codenvy.com>
2016-02-25 10:57:03 +02:00
Alexander Garagatyi b3b38f890a IDEX-4222: Change model of machine & workspace
Machine model changes:
- MachineState was removed, Machine should be used instead
- Machine states API was removed
- Machine includes MachineConfig as field instead of extending it
- All runtime information of machine is in runtime field of Machine.
- Now API call GET */api/machine?workspace=ws-id123456* returns all existing machines of workspace,
including machines with status CREATING, DESTROYING
- Machine channels was removed from. To get channels clients should check links of WorkspaceConfigDto.

Workspace model changes:
- EnvironmentState was removed
- UsersWorkspace includes WorkspaceConfig as field instead of extending it
- Start tmp workspace API returns RuntimeWorkspace instead of UsersWorkspace
- Machine channels are included in links of MachineConfigDto of WorkspaceConfig. Don't try to find them
in runtime machines of RuntimeWorkspaceDto.
- Field activeEnvName in RuntimeWorkspace was renamed to envName in accordance with defaultEnv field
of WorkspaceConfig.

Also:
- add static method cloneDto to DtoFactory
- add getParameter(paramName) method to DTO Link to simplify parameter retrieval

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-02-20 15:16:21 +02:00
Roman Iuvshin 884ffda155 fix lincense headers 2016-02-17 20:58:39 +02:00
Alexander Garagatyi e9308608ea Merge pull request #384 from eclipse/CHE-345
CHE-345: allow offline machine creation
2016-02-17 17:46:09 +02:00
Alexander Garagatyi 342248f909 CHE-345: allow offline machine creation
Do not fail docker machine creation if registry is not reachable but needed image exists locally

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-02-17 16:31:45 +02:00
Dmitry Shnurenko 671c46ff22 CHE-85: Fix identical machines names for different machines
Signed-off-by: Dmitry Shnurenko <dshnurenko@codenvy.com>
2016-02-16 17:48:29 +02:00
Eclipse Che Initial Contribution 867ec65242 Eclipse Che Initial Contribution 4.0.0-RC2 https://dev.eclipse.org/ipzilla/show_bug.cgi?id=9458
Signed-off-by: Sergii Kabashniuk <skabashnyuk@codenvy.com>
2016-02-12 09:47:36 +02:00