diff --git a/Makefile b/Makefile index 4eb2a4c91..0bc5dac63 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ OCIS_MODULES = \ services/nats \ services/notifications \ services/ocdav \ + services/ocm \ services/ocs \ services/policies \ services/postprocessing \ diff --git a/changelog/unreleased/ocm.md b/changelog/unreleased/ocm.md new file mode 100644 index 000000000..c1bf6d459 --- /dev/null +++ b/changelog/unreleased/ocm.md @@ -0,0 +1,7 @@ +Enhancement: Add ocm and sciencemesh services + +We added sciencemesh and ocm services to enable federation. + +https://github.com/owncloud/ocis/pull/7576 +https://github.com/owncloud/ocis/pull/7464 +https://github.com/owncloud/ocis/pull/7463 diff --git a/ocis/pkg/command/services.go b/ocis/pkg/command/services.go index b745f5d25..448a0ff93 100644 --- a/ocis/pkg/command/services.go +++ b/ocis/pkg/command/services.go @@ -28,6 +28,7 @@ import ( nats "github.com/owncloud/ocis/v2/services/nats/pkg/command" notifications "github.com/owncloud/ocis/v2/services/notifications/pkg/command" ocdav "github.com/owncloud/ocis/v2/services/ocdav/pkg/command" + ocm "github.com/owncloud/ocis/v2/services/ocm/pkg/command" ocs "github.com/owncloud/ocis/v2/services/ocs/pkg/command" policies "github.com/owncloud/ocis/v2/services/policies/pkg/command" postprocessing "github.com/owncloud/ocis/v2/services/postprocessing/pkg/command" @@ -150,6 +151,11 @@ var svccmds = []register.Command{ cfg.OCDav.Commons = cfg.Commons }) }, + func(cfg *config.Config) *cli.Command { + return ServiceCommand(cfg, cfg.OCM.Service.Name, ocm.GetCommands(cfg.OCM), func(c *config.Config) { + cfg.OCM.Commons = cfg.Commons + }) + }, func(cfg *config.Config) *cli.Command { return ServiceCommand(cfg, cfg.OCS.Service.Name, ocs.GetCommands(cfg.OCS), func(c *config.Config) { cfg.OCS.Commons = cfg.Commons