Commit Graph

57 Commits (3ebc3cdf34f281e2aef12bfdba61823ca6ed6ce7)

Author SHA1 Message Date
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
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