Commit Graph

48 Commits (1ae65daa509bfaf89cddd877ea896f8ccafa4682)

Author SHA1 Message Date
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
Roman Iuvshin 51c785523a [maven-release-plugin] prepare for next development iteration 2016-02-25 20:37:09 +00:00
Roman Iuvshin a3030e1c4d [maven-release-plugin] prepare release 4.0.0-RC7 2016-02-25 20:37:06 +00:00
Alexander Garagatyi fbba82fe9c Merge pull request #350 from eclipse/IDEX-4222
IDEX-4222: Change model of machine & workspace
2016-02-20 16:44:41 +02:00
Roman Iuvshin 63b08fab17 [maven-release-plugin] prepare for next development iteration 2016-02-20 14:03:35 +00:00
Roman Iuvshin aaf82c04f8 [maven-release-plugin] prepare release 4.0.0-RC6 2016-02-20 14:03:33 +00: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 ad56beaac6 [maven-release-plugin] prepare for next development iteration 2016-02-18 20:05:33 +00:00
Roman Iuvshin 5fb393830a [maven-release-plugin] prepare release 4.0.0-RC5 2016-02-18 20:05:30 +00:00
Roman Iuvshin 21ff9deb3d [maven-release-plugin] prepare for next development iteration 2016-02-15 21:12:20 +00:00
Roman Iuvshin 84a7e5af2b [maven-release-plugin] prepare release 4.0.0-RC4 2016-02-15 21:12:15 +00:00
Sergii Kabashniuk 2795099d2b Added difference between IC and master
Signed-off-by: Sergii Kabashniuk <skabashnyuk@codenvy.com>
2016-02-12 09:47:38 +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