Allow configuring the gateway for dataproviders (#136)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-04-19 14:17:51 +02:00
committed by GitHub
parent a9f100b988
commit 879bf5e8a6
6 changed files with 48 additions and 15 deletions

View File

@@ -80,6 +80,7 @@ func StorageEOSData(cfg *config.Config) *cli.Command {
},
"shared": map[string]interface{}{
"jwt_secret": cfg.Reva.JWTSecret,
"gatewaysvc": cfg.Reva.Gateway.URL, // Todo or address?
},
"http": map[string]interface{}{
"network": cfg.Reva.StorageEOSData.Network,

View File

@@ -80,6 +80,7 @@ func StorageHomeData(cfg *config.Config) *cli.Command {
},
"shared": map[string]interface{}{
"jwt_secret": cfg.Reva.JWTSecret,
"gatewaysvc": cfg.Reva.Gateway.URL, // Todo or address?
},
"http": map[string]interface{}{
"network": cfg.Reva.StorageHomeData.Network,

View File

@@ -80,6 +80,7 @@ func StorageOCData(cfg *config.Config) *cli.Command {
},
"shared": map[string]interface{}{
"jwt_secret": cfg.Reva.JWTSecret,
"gatewaysvc": cfg.Reva.Gateway.URL, // Todo or address?
},
"http": map[string]interface{}{
"network": cfg.Reva.StorageOCData.Network,