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

Extract storage layer + cs3impl #623

Merged
merged 29 commits into from
Oct 5, 2020
Merged

Extract storage layer + cs3impl #623

merged 29 commits into from
Oct 5, 2020

Conversation

IljaN
Copy link
Member

@IljaN IljaN commented Sep 28, 2020

No description provided.

@update-docs

This comment has been minimized.

@IljaN IljaN self-assigned this Sep 28, 2020
@IljaN IljaN changed the title [WIP] Extract storage layer + cs3impl Extract storage layer + cs3impl Sep 30, 2020
@kulmann kulmann requested review from butonic and refs October 2, 2020 07:58
@kulmann kulmann self-assigned this Oct 2, 2020
Copy link
Member

@refs refs left a comment

Choose a reason for hiding this comment

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

Just a couple changes. LGTM!

@@ -99,6 +99,62 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"ACCOUNTS_JWT_SECRET"},
Destination: &cfg.TokenManager.JWTSecret,
},
&cli.StringFlag{
Name: "storage-disk-path",
Value: "",
Copy link
Member

Choose a reason for hiding this comment

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

can we have a default value?

Copy link
Member

Choose a reason for hiding this comment

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

No. ;-) We have default values for the CS3 Repo implementation, since it's supposed to be the default. When any other storage is configured (we only have the disk implementation as "other storage") we switch over to that.

TL;DR: Setting a default here would switch back to using the local disk for persisting accounts. We want to use CS3 as default, so we can't have a default disk path.

accounts/pkg/service/v0/groups.go Outdated Show resolved Hide resolved
accounts/pkg/service/v0/groups.go Outdated Show resolved Hide resolved
accounts/pkg/service/v0/groups.go Outdated Show resolved Hide resolved
accounts/pkg/service/v0/groups.go Outdated Show resolved Hide resolved
accounts/pkg/storage/cs3.go Show resolved Hide resolved
accounts/pkg/storage/cs3.go Outdated Show resolved Hide resolved
accounts/pkg/storage/disk.go Outdated Show resolved Hide resolved
ocis/pkg/command/revastoragemetadata.go Outdated Show resolved Hide resolved
ocis/pkg/runtime/runtime.go Outdated Show resolved Hide resolved
@kulmann
Copy link
Member

kulmann commented Oct 5, 2020

@refs thanks for your input! Adjusted the PR and rebased to current master. Could you re-review please? :-)

@kulmann kulmann merged commit bb5ccae into master Oct 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the extract_storage_layer branch October 5, 2020 15:20
ownclouders pushed a commit that referenced this pull request Oct 5, 2020
Merge: fd3f0b7a ff4c802
Author: Benedikt Kulmann <benedikt@kulmann.biz>
Date:   Mon Oct 5 17:19:58 2020 +0200

    Merge pull request #623 from owncloud/extract_storage_layer

    Extract storage layer + cs3impl
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.

3 participants