remove workspace id from services that deployed on wsagent
remove workspace Id usage in wsagent services in dashboard
Add init params for websocket endpoint and eventbus end point It allow has different format of URL on wsmaster with ws-id like path param and on wsagent without it
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
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>
Change client side for merging Settings and Preference widgets. Changed Settings widget for store java compiler preferences for the current workspace. Add methods to CompilerSetupService for storage error/warning java compile preferences in the workspace scope.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
If java project (not maven) has language attributem then we search source folder definition in attributes and if no one was found then dont mark folder as source folder.
Relevant issue: CHE-589 (Broken project tree).
Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@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>