migrate idp to the new config scheme

This commit is contained in:
A.Unger
2021-11-05 11:15:55 +01:00
parent da36ca8cde
commit ba1635165b
14 changed files with 449 additions and 539 deletions
-1
View File
@@ -18,7 +18,6 @@ func AccountsCommand(cfg *config.Config) *cli.Command {
Name: "accounts",
Usage: "Start accounts server",
Category: "Extensions",
//Flags: flagset.ServerWithConfig(cfg.Accounts),
Subcommands: []*cli.Command{
command.ListAccounts(cfg.Accounts),
command.AddAccount(cfg.Accounts),
-2
View File
@@ -3,7 +3,6 @@ package command
import (
"github.com/owncloud/ocis/idp/pkg/command"
svcconfig "github.com/owncloud/ocis/idp/pkg/config"
"github.com/owncloud/ocis/idp/pkg/flagset"
"github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/version"
"github.com/owncloud/ocis/ocis/pkg/register"
@@ -16,7 +15,6 @@ func IDPCommand(cfg *config.Config) *cli.Command {
Name: "idp",
Usage: "Start idp server",
Category: "Extensions",
Flags: flagset.ServerWithConfig(cfg.IDP),
Subcommands: []*cli.Command{
command.PrintVersion(cfg.IDP),
},