-
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
Make it possible to have distributed ProjectRegistry #9848
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
279a8f4
Adding pipeline
gazarenkov 75110a8
Merge remote-tracking branch 'upstream/master'
303f689
del jenkinsfile
f9e5815
Merge remote-tracking branch 'upstream/master'
6fa7a55
Make exec agent not to use setsid for other than Linux envs
714aa1c
revert pom.xml
d778a01
goformat
95ee1cc
get projects folder from workkspace configuration
763848a
Merge remote-tracking branch 'upstream/master'
241390d
Merge remote-tracking branch 'upstream/master'
d625790
Merge with upstream
99abb5e
clean code
90b9167
clean code
127a79e
Fix calculation Projects Root so it wont cause NPE if there are no 'p…
gazarenkov 2b5c11c
Revert "Fix calculation Projects Root so it wont cause NPE if there a…
gazarenkov f69fd75
Merge remote-tracking branch 'upstream/master'
gazarenkov 1a407c0
Fix calculation Projects Root so it wont cause NPE if there are no 'p…
gazarenkov 4fff97c
Merge remote-tracking branch 'upstream/master'
gazarenkov 47faa53
replace provided attribute values with stored (src, out) in PlainJava…
gazarenkov e676928
Merge remote-tracking branch 'upstream/master'
gazarenkov 82e4c17
fix PlainJavaProjectType for getting rid and deprecate using Settable…
gazarenkov 3232ecc
remove comented code
65238e2
hide brouse source folder button, set source folder field as disabled
e6414e9
hide the browse source button, set source folder field to read only m…
d368a0d
adapt test for current changes on UI, set save button to enable state
7e56901
apply formatting
63eaf6e
fs cache PT
gazarenkov 1eb3cb7
merge upstream
gazarenkov cd193c0
Merge branch 'master' of https://github.com/gazarenkov/che
gazarenkov 32f0767
fix order of steps in the test
9139278
resolve conflicts, merge with master
98cba0d
Refactor RegisteredProject to make it possible to cache it (as DTO) t…
gazarenkov bef1d44
Merge branch 'master'
gazarenkov ad8f12d
resolve conflicts, merge with master
fa3b90a
Merge branch 'master' of https://github.com/gazarenkov/che
gazarenkov a59353d
Merge branch 'master'
gazarenkov 6568ca3
merge upstream
gazarenkov ca96a2b
cache Projects and PTs to files
gazarenkov d8a2b0f
Make it possible to have several impls for ProjectRegistry preparing …
gazarenkov dd358ff
merge upstream
gazarenkov 91606e4
merge upstream
gazarenkov be9433e
merge upstream
gazarenkov 3118652
merge upstream
gazarenkov 7a70bad
merge upstream
gazarenkov 6205d8f
merge upstream
gazarenkov 56a9348
Update MavenServerService.java
gazarenkov 3a680bc
clean code
gazarenkov 56377b8
small fix
gazarenkov 7a67aa9
small fix
gazarenkov 6266a5d
small fix
gazarenkov 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
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
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
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.
what if keep in constructor
@Named("che.workspaces.storage") String workspacePath
and will use provider for this property
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.
why to make this logic more complex?
what needed is to inject configuration object (called RootDirPathProvider)?
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.
If you do not mind, I'll put in my five cents. Though technically there is almost no difference between two cases, I find it more comfortable to remember, to navigate and to use (in IDE)
RootDirPathProvider
class instead of a variable named "che.workspaces.root.dir" or "che.workspace.storage", it's much easier to access provider class (or property) documentation and so on. Probably it is caused by the way object oriented programmer thinks - in objects and classes, not properties and values.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.
ок