Commit Graph

30 Commits (71f867536610bcbbb752a22768596ca9fbcc52c7)

Author SHA1 Message Date
Yevhenii Voevodin dc3395f9a2 Add generic String to the ArrayList creation 2016-02-25 19:15:27 +02:00
Sergii Leschenko cacfd19fe9 Merge pull request #510 from sleshchenko/eventService
Fix generic type for subscribe method of EventService
2016-02-25 15:46:13 +02:00
Yevhenii Voevodin 8ea9fcc169 Use list instead of null, when setting project attribute values 2016-02-25 15:32:11 +02:00
Sergii Leschenko a324943b0b Fix generic type for subscribe method of EventService
Events of type <T> can be accepted by EventSubscribers that can accept T and its super classes (not T and its child classes)
These changes are needed to avoid throwing of ClassCastException.

Signed-off-by: Sergii Leschenko <sleschenko@codenvy.com>
2016-02-25 15:08:28 +02:00
Yevhenii Voevodin 8b92440cc6 Exclude projects without location from the workspace 2016-02-25 14:42:31 +02:00
Anton Korneta 7b4cc2ece5 Fix finding of git remote branches
Signed-off-by: Anton Korneta <akorneta@codenvy.com>
2016-02-25 13:04:29 +02:00
Anton Korneta fb7d5591d6 CODENVY-31: Replaced messages from git importer on error codes
Also added git checkout event which goes through by websocket connection

Signed-off-by: Anton Korneta <akorneta@codenvy.com>
2016-02-24 09:35:36 +02:00
Valeriy Svydenko 7a2df06164 CHE-165: show move wizard after performing 'Cut' operation in project explorer for the java items 2016-02-22 15:13:19 +02:00
Max Shaposhnik 9465a574d9 Show auth window when performing import project from private repo or use factory with private repo
Signed-off-by: Max Shaposhnik <mshaposhnik@codenvy.com>
2016-02-22 11:52:45 +02: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
Alexander Garagatyi 2645d13738 improve exception messages in MachineManager
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-02-19 16:32:34 +02:00
Alexander Garagatyi 0b97dab7f1 CHE-371: improve ws-agent connection timeout message
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-02-19 12:05:20 +02:00
Mihail Kuznyetsov 6ff6b40d40 Get user by name instead of alias
Signed-off-by: Mihail Kuznyetsov <mkuznyetsov@codenvy.com>
2016-02-19 10:29:08 +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
Mihail Kuznyetsov 241cae4a92 Remove OAuth 1.0 api
Signed-off-by: Mihail Kuznyetsov <mkuznyetsov@codenvy.com>
2016-02-18 13:44:52 +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
Igor Vinokur 54dd81b444 CHE-51: Fix import project from ssh url
Signed-off-by: Igor Vinokur <ivinokur@codenvy.com>
2016-02-16 15:26:15 +02:00
Aleksandr Andrienko fa7eb17cdb IDEX-3913: Implement stack api
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-02-16 15:18:26 +02:00
Igor Vinokur 6b90eb2c93 CHE-51: Forbid commit if user name and email aren't set
Signed-off-by: Igor Vinokur <ivinokur@codenvy.com>
2016-02-16 13:19:07 +02: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
Anton Korneta 6a88c8d1e5 Add setup user email during the creation
Signed-off-by: Anton Korneta <akorneta@codenvy.com>
2016-02-15 15:16:58 +02:00
Sergii Kabashniuk 6d2a1c718e CHE-1 Fixed swagger service deployment
During migration to eclipse infrastructure I've changed a couple of things in swagger services in che-lib

1. Renamed property codenvy.json.ignored_classes to che.json.ignored_classes
2. I've made org.eclipse.che.swagger.deploy.BasicSwaggerConfigurationModule not a  Dynoamodule ( to remove dependency on commons-inject)

This pr contains changes to make che working with corresponding changes in che-lib

Signed-off-by: Sergii Kabashniuk <skabashnyuk@codenvy.com>
2016-02-15 14:11:10 +02:00
Max Shaposhnik f9c71cac2b Add error code and optional attributes to server errors.
Signed-off-by: Max Shaposhnik <mshaposhnik@codenvy.com>
2016-02-15 13:01:25 +02: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