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> |
||
|---|---|---|
| .. | ||
| main | ||
| test | ||