add gatewaysvc to all REVA services

This commit is contained in:
Willy Kloucek
2021-10-08 13:12:18 +02:00
parent 5f0cf077ca
commit 778197a3eb
5 changed files with 10 additions and 0 deletions
+1
View File
@@ -92,6 +92,7 @@ func appProviderConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]
},
"shared": map[string]interface{}{
"jwt_secret": cfg.Reva.JWTSecret,
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
},
"grpc": map[string]interface{}{
"network": cfg.Reva.AppProvider.GRPCNetwork,
+1
View File
@@ -103,6 +103,7 @@ func authBasicConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]in
},
"shared": map[string]interface{}{
"jwt_secret": cfg.Reva.JWTSecret,
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
},
"grpc": map[string]interface{}{
"network": cfg.Reva.AuthBasic.GRPCNetwork,
+1
View File
@@ -94,6 +94,7 @@ func authBearerConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]i
},
"shared": map[string]interface{}{
"jwt_secret": cfg.Reva.JWTSecret,
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
},
"grpc": map[string]interface{}{
"network": cfg.Reva.AuthBearer.GRPCNetwork,
+1
View File
@@ -110,6 +110,7 @@ func usersConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]interf
},
"shared": map[string]interface{}{
"jwt_secret": cfg.Reva.JWTSecret,
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
},
"grpc": map[string]interface{}{
"network": cfg.Reva.Users.GRPCNetwork,