diff --git a/internal/http/services/loader/loader.go b/internal/http/services/loader/loader.go index 4a8cfb898c5..87a96be029a 100644 --- a/internal/http/services/loader/loader.go +++ b/internal/http/services/loader/loader.go @@ -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" diff --git a/internal/http/services/ocm/config.go b/internal/http/services/ocmd/config.go similarity index 100% rename from internal/http/services/ocm/config.go rename to internal/http/services/ocmd/config.go diff --git a/internal/http/services/ocm/invites.go b/internal/http/services/ocmd/invites.go similarity index 100% rename from internal/http/services/ocm/invites.go rename to internal/http/services/ocmd/invites.go diff --git a/internal/http/services/ocm/notifications.go b/internal/http/services/ocmd/notifications.go similarity index 100% rename from internal/http/services/ocm/notifications.go rename to internal/http/services/ocmd/notifications.go diff --git a/internal/http/services/ocm/ocm.go b/internal/http/services/ocmd/ocm.go similarity index 99% rename from internal/http/services/ocm/ocm.go rename to internal/http/services/ocmd/ocm.go index 6bc3b7a7e41..2974320a0e4 100644 --- a/internal/http/services/ocm/ocm.go +++ b/internal/http/services/ocmd/ocm.go @@ -31,7 +31,7 @@ import ( ) func init() { - global.Register("ocm", New) + global.Register("ocmd", New) } type config struct { diff --git a/internal/http/services/ocm/shares.go b/internal/http/services/ocmd/shares.go similarity index 100% rename from internal/http/services/ocm/shares.go rename to internal/http/services/ocmd/shares.go diff --git a/tests/integration/grpc/fixtures/ocm-server-cernbox-http.toml b/tests/integration/grpc/fixtures/ocm-server-cernbox-http.toml index 9331e93884a..98d116080e8 100644 --- a/tests/integration/grpc/fixtures/ocm-server-cernbox-http.toml +++ b/tests/integration/grpc/fixtures/ocm-server-cernbox-http.toml @@ -4,8 +4,7 @@ gatewaysvc = "{{cernboxgw_address}}" [http] address = "{{grpc_address}}" -[http.services.ocm] -prefix = "ocm" +[http.services.ocmd] [http.services.sciencemesh] diff --git a/tests/integration/grpc/fixtures/ocm-server-cesnet-http.toml b/tests/integration/grpc/fixtures/ocm-server-cesnet-http.toml index 2c68364a7fc..c45dc71e194 100644 --- a/tests/integration/grpc/fixtures/ocm-server-cesnet-http.toml +++ b/tests/integration/grpc/fixtures/ocm-server-cesnet-http.toml @@ -4,8 +4,7 @@ gatewaysvc = "{{cesnetgw_address}}" [http] address = "{{grpc_address}}" -[http.services.ocm] -prefix = "ocm" +[http.services.ocmd] [http.services.sciencemesh]