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>
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>
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>
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>