Skip to content
Snippets Groups Projects

326 http gateway in front each golang microservice

2 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
3
@@ -8,9 +8,9 @@ import (
"code.vereign.com/code/viam-apis/authentication"
"github.com/spf13/viper"
)
import _ "github.com/spf13/viper/remote"
_ "github.com/spf13/viper/remote"
)
var SystemAuth = &authentication.Authentication{
Uuid: "undefined",
@@ -44,7 +44,7 @@ func SetConfigValues(configFile, etcdURL string) {
viper.SetDefault("restListenAddress", ":7878")
viper.SetDefault("dataStorageUrl", "data-storage-agent:7777")
viper.SetDefault("entitiesManagerUrl", "entities-management-agent:7779")
viper.SetDefault("grpcURL", "key-storage-agent:7877")
viper.SetDefault("grpcURL", "localhost:7877")
viper.SetDefault("replaceKey", false)
Loading