-
Notifications
You must be signed in to change notification settings - Fork 182
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
reduce middleware complexity #859
Conversation
fschade
commented
Nov 16, 2020
- refactor middlewares and reduce technical complexity
- restructure server command and remove cfg.OIDC.Issuer switch, oidc middleware detects now if it should used or not
- fix cannot download a file with phoenix #761
proxy/pkg/command/server.go
Outdated
|
||
// the connection will be established in a non blocking fashion | ||
sc, err := cs3.GetGatewayServiceClient(cfg.Reva.Address) | ||
accountsClient := acc.NewAccountsService("com.owncloud.api.accounts", mclient.DefaultClient) |
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.
Afaict all occurrences of mclient.DefaultClient
should now be replaced with grpc.DefaultClient
, with the grpc package coming from "github.com/owncloud/ocis/ocis-pkg/service/grpc"
, as of #840
restructure server command and remove cfg.OIDC.Issuer switch, oidc middleware detects now if it should used or not fix #761
05870b1
to
9798b49
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs |