remove service names

This commit is contained in:
Willy Kloucek
2021-12-16 14:59:55 +01:00
committed by Jörn Friedrich Dreyer
parent 0360b58587
commit ebfe8f069c
8 changed files with 0 additions and 34 deletions

View File

@@ -72,10 +72,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"ACCOUNTS_GRPC_ADDR"},
Destination: &cfg.GRPC.Addr,
},
{
EnvVars: []string{"ACCOUNTS_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{
EnvVars: []string{"ACCOUNTS_HASH_DIFFICULTY"},
Destination: &cfg.HashDifficulty,

View File

@@ -91,10 +91,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"IDP_HTTP_NAMESPACE"},
Destination: &cfg.HTTP.Namespace,
},
{
EnvVars: []string{"IDP_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{
EnvVars: []string{"IDP_IDENTITY_MANAGER"},
Destination: &cfg.IDP.IdentityManager,

View File

@@ -87,10 +87,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"OCS_HTTP_NAMESPACE"},
Destination: &cfg.HTTP.Namespace,
},
{
EnvVars: []string{"OCS_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{
EnvVars: []string{"OCS_HTTP_ROOT"},
Destination: &cfg.HTTP.Root,

View File

@@ -118,12 +118,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
Destination: &cfg.HTTP.TLS,
},
// Service
{
EnvVars: []string{"PROXY_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
// Other
{
EnvVars: []string{"OCIS_JWT_SECRET", "PROXY_JWT_SECRET"},

View File

@@ -103,10 +103,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"SETTINGS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
{
EnvVars: []string{"SETTINGS_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{
EnvVars: []string{"SETTINGS_DATA_PATH"},
Destination: &cfg.Service.DataPath,

View File

@@ -72,10 +72,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"STORE_GRPC_ADDR"},
Destination: &cfg.GRPC.Addr,
},
{
EnvVars: []string{"STORE_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{
EnvVars: []string{"STORE_DATA_PATH"},
Destination: &cfg.Datapath,

View File

@@ -79,10 +79,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"THUMBNAILS_DEBUG_ZPAGES"},
Destination: &cfg.Debug.Zpages,
},
{
EnvVars: []string{"THUMBNAILS_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{
EnvVars: []string{"THUMBNAILS_GRPC_ADDR"},
Destination: &cfg.GRPC.Addr,

View File

@@ -87,10 +87,6 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"WEBDAV_HTTP_NAMESPACE"},
Destination: &cfg.HTTP.Namespace,
},
{
EnvVars: []string{"WEBDAV_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{
EnvVars: []string{"WEBDAV_HTTP_ROOT"},
Destination: &cfg.HTTP.Root,