Skip to content

Commit

Permalink
Merge pull request #51 from opencloud-eu/groups-rename
Browse files Browse the repository at this point in the history
rebrand groups service
  • Loading branch information
fschade authored Jan 16, 2025
2 parents 64ad309 + 46a8216 commit 5323be8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions services/groups/pkg/command/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})

Expand Down
2 changes: 1 addition & 1 deletion services/groups/pkg/command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions services/groups/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion services/groups/pkg/revaconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{
Expand Down

0 comments on commit 5323be8

Please sign in to comment.