Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Jan 20, 2023
1 parent 2b55772 commit cf446c9
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion internal/http/services/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
_ "github.com/cs3org/reva/internal/http/services/mentix"
_ "github.com/cs3org/reva/internal/http/services/meshdirectory"
_ "github.com/cs3org/reva/internal/http/services/metrics"
_ "github.com/cs3org/reva/internal/http/services/ocm"
_ "github.com/cs3org/reva/internal/http/services/ocmd"
_ "github.com/cs3org/reva/internal/http/services/owncloud/ocdav"
_ "github.com/cs3org/reva/internal/http/services/owncloud/ocs"
_ "github.com/cs3org/reva/internal/http/services/preferences"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
)

func init() {
global.Register("ocm", New)
global.Register("ocmd", New)
}

type config struct {
Expand Down
File renamed without changes.
9 changes: 7 additions & 2 deletions tests/integration/grpc/fixtures/ocm-server-cernbox-http.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ gatewaysvc = "{{cernboxgw_address}}"
[http]
address = "{{grpc_address}}"

[http.services.ocm]
prefix = "ocm"
[http.services.ocmd]

[http.services.sciencemesh]

[http.middlewares.cors]

[http.middlewares.providerauthorizer]
driver = "json"

[http.middlewares.providerauthorizer.drivers.json]
providers = "fixtures/ocm-providers.demo.json"
9 changes: 7 additions & 2 deletions tests/integration/grpc/fixtures/ocm-server-cesnet-http.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ gatewaysvc = "{{cesnetgw_address}}"
[http]
address = "{{grpc_address}}"

[http.services.ocm]
prefix = "ocm"
[http.services.ocmd]

[http.services.sciencemesh]

[http.middlewares.cors]

[http.middlewares.providerauthorizer]
driver = "json"

[http.middlewares.providerauthorizer.drivers.json]
providers = "fixtures/ocm-providers.demo.json"

0 comments on commit cf446c9

Please sign in to comment.