Commit Graph

48 Commits (f8a22dbd362437efe8b6027df0b46ba83b5426bb)

Author SHA1 Message Date
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
Aleksandr Andrienko 0f712f232f Merge pull request #557 from eclipse/fixStackTypeAdaptersProvider
Fix use of the wrong gson adapter
2016-03-01 19:02:19 +02:00
Aleksandr Andrienko fa9b539eba Fix use of the wrong gson adapter
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-03-01 19:00:00 +02:00
Vladyslav Zhukovskii eed529369d Fetch module config directly from item reference
Get children operation (on the server side, project service) is returning item reference with project configuration for the module if such exists. Client based on this information may faster construct module node instead of making additional request for the configuration.

Note: temporary solution will be alive before new changes will be merged (related to new project type with server side vfs refactorings)

Related issue: CHE-660

Squashed commit of the following:

commit e86d058795c7bd1cb30221b6e79b376d662ad191
Merge: 32caa18 7b6bb02
Author: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
Date:   Tue Mar 1 17:42:55 2016 +0200

    Merge branch 'master' into CHE-660

commit 32caa185e3cd18cbe71fa644a733abaaacc9562a
Author: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
Date:   Tue Mar 1 17:37:36 2016 +0200

    Fetch module config directly from item reference

commit 04513ae3c58624028405e3b62edfacf7e13807ef
Author: Dmitry Shnurenko <dshnurenko@codenvy.com>
Date:   Tue Mar 1 17:06:12 2016 +0200

    CHE-660: Add java doc

commit 20e99f884e434b726cd2066b4f3663b86c77e455
Author: Dmitry Shnurenko <dshnurenko@codenvy.com>
Date:   Tue Mar 1 16:57:56 2016 +0200

    CHE-660: Improve server side code to less time of getting project

Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
2016-03-01 17:47:08 +02:00
Alexander Garagatyi 5dad4fe7b5 Merge pull request #518 from eclipse/CHE-22
CHE-22: check environment parameter on workspace start
2016-02-29 11:41:46 +02:00
Igor Vinokur 0af0f966ed CHE-521: Perform git init command without initial commit 2016-02-29 11:02:55 +02:00
Alexander Garagatyi 29865528df CHE-22: check environment parameter on workspace start
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-02-29 10:28:21 +02: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
Alexander Garagatyi 0239b5aba0 CHE-81: fix ws agent pinging
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-02-27 00:10:05 +02:00
Sergii Kabashniuk 6c5e80118f Merge pull request #489 from stour/CODENVY-106
adding setAuthorizationHeader method
2016-02-26 22:45:07 +02:00
Vitaly Parfonov f8c94e6b27 Improve handling of ws agent started event
Add checking on ready state for websocket connection.
Make it possible rout org.eclipse.che.api.core.rest.ApiInfoService on wsAgent form MachineExtensionProxyServlet.
Renamee package in assembly-machine-war to more accurate for it

Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-02-26 17:15:06 +02:00
Dmitry Shnurenko 1c45ad6e2f CHE-559: Fix output of creating new machine in existed workspace 2016-02-26 12:28:36 +02:00
Dmitry Shnurenko 2ccad0e7a5 CHE-12: Fix NPE when there is no tags 2016-02-26 09:10:47 +02: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
Yevhenii Voevodin dc3395f9a2 Add generic String to the ArrayList creation 2016-02-25 19:15:27 +02:00
Stéphane Tournié 7a1df9b677 adding setAuthorizationHeader method
Signed-off-by: Stéphane Tournié <stephane.tournie@serli.com>
2016-02-25 17:57:51 +01: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