-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Multi tenant workspace cleaning #7243
Merged
davidfestal
merged 13 commits into
eclipse-che:master
from
davidfestal:multi-tenant-workspace-cleaning
Nov 10, 2017
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
6ae96f2
Add the ability to find the workspaceId from the machine token
davidfestal f651db8
Add a log when a synchronous che-server shutdown is requested
davidfestal 4dd5c7b
Add a mechanism that allows keeping track of workspace user informations
davidfestal 070035a
Make the `OpenshiftConnector` use the new `WorkspaceSubjectRegistry`...
davidfestal 56ee2ff
Adapt the OS workspace file cleaning to the multi-tenant use-case...
davidfestal f39184e
First stop the che server before deleting all the resources...
davidfestal 15642ff
Change log level to DEBUG
davidfestal 499a947
Add a test for the newly-created `getWorkspaceId()` method.
davidfestal 3b91135
Add JavaDoc to the `WorkspaceSubjectRegistry` class
davidfestal 9d94514
Throw when a workspace is started by the anonymous user...
davidfestal 4a4a4f0
Add unit tests for the `WorkspaceSubjectRegistry`
davidfestal cc96961
reduce the stop timeout to 3 minutes
davidfestal e7050f0
Also test users are cleaned when all the related workspaces are stopped
davidfestal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this method should be tested in multiuser/machine-auth/che-multiuser-machine-authentication/src/test/java/org/eclipse/che/multiuser/machine/authentication/server/MachineTokenRegistryTest.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't find where this method is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is used by the
rh-che
assembly, in order to get an up-to-date Keycloak token that we can inject into the Bayesian Language server when starting it.See PR redhat-developer/rh-che#417, and especially this line