Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHE-718: Simplify workspace model & API #954

Merged
merged 4 commits into from
Apr 1, 2016
Merged

CHE-718: Simplify workspace model & API #954

merged 4 commits into from
Apr 1, 2016

Conversation

voievodin
Copy link
Contributor

Model changes:
Removed - UsersWorkspace, RuntimeWorkspace
Added - Workspace, WorkspaceRuntime
Moved attributes from WorkspaceConfig to Workspace

API & SPI changes
Simplified API by removing methods related to the runtime workspace instance.
Improved workspace sub-entity update methods.
Added created and updated attributes which allow client to track recent workspace activity.
Improved Workspace starting and stopping by synchronizing machines start queue.
Simplified WorkspaceManager, events moved to the WorkspaceRuntimes.
BadRequestException scope changed to service.

@gazarenkov, @garagatyi, @skabashnyuk, @akorneta please review changes described above.

Dashboard Adaptation
@ashumilova, @benoitf please review the changes related to the dashboard.

@garagatyi
Copy link

LGTM

@garagatyi
Copy link

Code looks much better in many places. Nice job!

@akorneta
Copy link
Contributor

akorneta commented Apr 1, 2016

ok

BadRequestException {
public WorkspaceDto getByKey(@ApiParam(value = "Composite key",
examples = @Example({@ExampleProperty("workspace12345678"),
@ExampleProperty("username:workspace_name"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not clear what is username for workspace. Maybe you should rewrite this with namespace?

@voievodin voievodin force-pushed the CHE-718-2 branch 3 times, most recently from 2538b57 to 76df556 Compare April 1, 2016 15:02
@voievodin
Copy link
Contributor Author

ci-build

@voievodin voievodin merged commit 85b69e0 into master Apr 1, 2016
@voievodin voievodin deleted the CHE-718-2 branch April 1, 2016 16:19
@skabashnyuk
Copy link
Contributor

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants