add reva app provider
This commit is contained in:
@@ -62,7 +62,7 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.StringSliceFlag{
|
||||
Name: "service",
|
||||
Value: cli.NewStringSlice("gateway", "authregistry", "storageregistry"), // TODO appregistry
|
||||
Value: cli.NewStringSlice("gateway", "authregistry", "storageregistry", "appregistry"),
|
||||
Usage: "--service gateway [--service authregistry]",
|
||||
EnvVars: []string{"STORAGE_GATEWAY_SERVICES"},
|
||||
},
|
||||
@@ -193,6 +193,13 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
EnvVars: []string{"STORAGE_SHARING_ENDPOINT"},
|
||||
Destination: &cfg.Reva.Sharing.Endpoint,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "appprovider-endpoint",
|
||||
Value: flags.OverrideDefaultString(cfg.Reva.AppProvider.Endpoint, "localhost:9164"),
|
||||
Usage: "endpoint to use for the app provider",
|
||||
EnvVars: []string{"STORAGE_APPPROVIDER_ENDPOINT"},
|
||||
Destination: &cfg.Reva.AppProvider.Endpoint,
|
||||
},
|
||||
|
||||
// register home storage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user