mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-23 22:29:59 -05:00
Add the ocm subcommand to ocis (#7576)
* Add the ocm subcommand to ocis * Add changelog
This commit is contained in:
1
Makefile
1
Makefile
@@ -39,6 +39,7 @@ OCIS_MODULES = \
|
||||
services/nats \
|
||||
services/notifications \
|
||||
services/ocdav \
|
||||
services/ocm \
|
||||
services/ocs \
|
||||
services/policies \
|
||||
services/postprocessing \
|
||||
|
||||
7
changelog/unreleased/ocm.md
Normal file
7
changelog/unreleased/ocm.md
Normal file
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user