-
Notifications
You must be signed in to change notification settings - Fork 189
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
[full-ci] Store settings via metadata #3232
Merged
Merged
Changes from 48 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
59527e1
Settings: add metadata store
kobergj 534e561
Merge branch 'master' into StoreSettingsViaMetadata
kobergj 0d4f8df
Settings: activate metadata store to see tests failing
kobergj 297a006
add changelog
kobergj 25191fe
Merge branch 'master' into StoreSettingsViaMetadata
kobergj a762e3c
make assignment unittests green
kobergj 45c85f4
make bundle unit tests green
kobergj 7210266
make values unit tests green
kobergj 11a8b75
use cs3storage in metadatastorage
kobergj 2452d01
lazy initialize metadataclient
kobergj 588a731
delay creation of default roles
kobergj e23448f
return listaccounts permission when mdc is not yet set
kobergj 4c22c07
add test for appendSetting
kobergj 492419e
rework initialization logic
kobergj a873fdc
return default values when mdc is not initialized
kobergj 7fcf6f5
implement permission unit tests
kobergj f642801
refine initialization logic again
kobergj a647f56
unitests for list values
kobergj c80022b
ReadSetting unit test & implementation
kobergj 7731de9
create id for values if not given
kobergj fd78a66
Merge branch 'master' into StoreSettingsViaMetadata
kobergj 62ec3cf
add new defaults
kobergj 0d49316
downgrade reva temporarilly
kobergj 1cde2fa
use feature reva
kobergj 085dcd9
Merge branch 'master' into StoreSettingsViaMetadata
kobergj 15ac5d8
make it configurable
kobergj ba698aa
next reva version
kobergj 8f10226
next reva bump
kobergj da3fc4c
don't log fatal on startup
kobergj d7e48b8
Merge branch 'master' into StoreSettingsViaMetadata
kobergj 634c69e
bump web master
kobergj b8aaed6
tmp: use custom web branch to uncover the error
kobergj 2ae4959
sonarcloud suggestions
kobergj 6ff9df9
Merge branch 'master' into StoreSettingsViaMetadata
kobergj fc5a67c
sonarcloud part II
kobergj 1d98e48
add caching
kobergj 1205d34
illustrate the problem
kobergj 429ed2e
use different user
kobergj d824223
clean up
kobergj 0af1c98
Revert "tmp: use custom web branch to uncover the error"
kobergj 7bfeb16
use settings user
kobergj f4619db
make service user configurable
kobergj 9f8e7e8
TMP: use adminuser/disable service user
kobergj 2f55feb
Merge branch 'master' into StoreSettingsViaMetadata
kobergj 40cfa90
rebase to edge reva
kobergj 1a9d446
resolve conflicts
wkloucek 2d4d90a
Merge branch 'master' into StoreSettingsViaMetadata
kobergj 65b3c97
Merge branch 'master' into StoreSettingsViaMetadata
kobergj edf8452
Only add the service user to the index once (lazily)
aduffeck b7c934b
use service user / hardcode idp
kobergj d54f75d
don't store service user data in metadataservice
kobergj 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Change: settings service now stores its data via metadata service | ||
|
||
Instead of writing files to disk it will use metadata service to do so | ||
|
||
https://github.com/owncloud/ocis/pull/3232 |
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.
should we really use the admin user here? why can't we use a system user like for the accounts service (95cb8724-03b2-11eb-a0a6-c33ef8ef53ad)?
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.
The service user wasn't working properly before as it was creating 10k files on a simple acceptance test. It seems to be fixed though. Let's see what the pipeline says...
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.
Well. Seems like it still doesn't work 😞
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.
@wkloucek I found a way around it. Can you check again?