Skip to content

Commit

Permalink
Fixes registration and naming of services (cs3org#4287)
Browse files Browse the repository at this point in the history
* removed unused code + fix ocm http service name

* register sql preference's driver

* add changelog

* fix ocm http service name

* renamed ocm service in integration tests
  • Loading branch information
gmgigi96 authored Oct 26, 2023
1 parent d38ed8b commit 9eab1e6
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 1,240 deletions.
3 changes: 3 additions & 0 deletions changelog/unreleased/public-share-owner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix: Fixes registration and naming of services

https://github.com/cs3org/reva/pull/4287
2 changes: 1 addition & 1 deletion internal/http/services/ocmd/ocm.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

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

type config struct {
Expand Down
1 change: 1 addition & 0 deletions pkg/preferences/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ package loader
import (
// Load preferences drivers.
_ "github.com/cs3org/reva/pkg/preferences/memory"
_ "github.com/cs3org/reva/pkg/preferences/sql"
// Add your own here.
)
1 change: 0 additions & 1 deletion pkg/share/manager/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ import (
// Load core share manager drivers.
_ "github.com/cs3org/reva/pkg/share/manager/json"
_ "github.com/cs3org/reva/pkg/share/manager/memory"
_ "github.com/cs3org/reva/pkg/share/manager/sql"
// Add your own here.
)
262 changes: 0 additions & 262 deletions pkg/share/manager/sql/conversions.go

This file was deleted.

78 changes: 0 additions & 78 deletions pkg/share/manager/sql/mocks/UserConverter.go

This file was deleted.

Loading

0 comments on commit 9eab1e6

Please sign in to comment.