From 46a8216aaba3f04a440b244cc3722350794661e1 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 16 Jan 2025 16:19:44 +0100 Subject: [PATCH] rebrand groups service --- services/groups/pkg/command/root.go | 4 ++-- services/groups/pkg/command/server.go | 2 +- services/groups/pkg/config/config.go | 4 ++-- services/groups/pkg/revaconfig/config.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/groups/pkg/command/root.go b/services/groups/pkg/command/root.go index bf2e7a0159..c8172e866d 100644 --- a/services/groups/pkg/command/root.go +++ b/services/groups/pkg/command/root.go @@ -22,11 +22,11 @@ func GetCommands(cfg *config.Config) cli.Commands { } } -// Execute is the entry point for the ocis-group command. +// Execute is the entry point for the opencloud group command. func Execute(cfg *config.Config) error { app := clihelper.DefaultApp(&cli.App{ Name: "group", - Usage: "Provide groups for oCIS", + Usage: "Provide groups for OpenCloud", Commands: GetCommands(cfg), }) diff --git a/services/groups/pkg/command/server.go b/services/groups/pkg/command/server.go index d87a834106..756f8bbe65 100644 --- a/services/groups/pkg/command/server.go +++ b/services/groups/pkg/command/server.go @@ -42,7 +42,7 @@ func Server(cfg *config.Config) *cli.Command { defer cancel() - // the reva runtime calls os.Exit in the case of a failure and there is no way for the oCIS + // the reva runtime calls os.Exit in the case of a failure and there is no way for the OpenCloud // runtime to catch it and restart a reva service. Therefore we need to ensure the service has // everything it needs, before starting the service. // In this case: CA certificates diff --git a/services/groups/pkg/config/config.go b/services/groups/pkg/config/config.go index a5ff5e2369..84406ca60e 100644 --- a/services/groups/pkg/config/config.go +++ b/services/groups/pkg/config/config.go @@ -55,8 +55,8 @@ type Drivers struct { LDAP LDAPDriver `yaml:"ldap"` OwnCloudSQL OwnCloudSQLDriver `yaml:"owncloudsql"` - JSON JSONDriver `yaml:"json,omitempty"` // not supported by the oCIS product, therefore not part of docs - REST RESTProvider `yaml:"rest,omitempty"` // not supported by the oCIS product, therefore not part of docs + JSON JSONDriver `yaml:"json,omitempty"` // not supported by OpenCloud, therefore not part of docs + REST RESTProvider `yaml:"rest,omitempty"` // not supported by OpenCloud, therefore not part of docs } type LDAPDriver struct { diff --git a/services/groups/pkg/revaconfig/config.go b/services/groups/pkg/revaconfig/config.go index 77d5ee7911..26a30640d5 100644 --- a/services/groups/pkg/revaconfig/config.go +++ b/services/groups/pkg/revaconfig/config.go @@ -4,7 +4,7 @@ import ( "github.com/opencloud-eu/opencloud/services/groups/pkg/config" ) -// GroupsConfigFromStruct will adapt an oCIS config struct into a reva mapstructure to start a reva service. +// GroupsConfigFromStruct will adapt an OpenCloud config struct into a reva mapstructure to start a reva service. func GroupsConfigFromStruct(cfg *config.Config) map[string]interface{} { return map[string]interface{}{ "core": map[string]interface{}{