X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fconfiguration%2Fconfiguration.go;h=f539c5d91407156be06ec034f5bdb2826e89af6c;hb=5de9b208a878150d4f991816d2283720fea36a1c;hp=791360ac7ceedea8fb8aee019dea17c4f61398c8;hpb=565a58f44b5a99f4088b5f0c7ef3f7b0498f2ced;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/configuration/configuration.go b/E2Manager/configuration/configuration.go index 791360a..f539c5d 100644 --- a/E2Manager/configuration/configuration.go +++ b/E2Manager/configuration/configuration.go @@ -53,6 +53,7 @@ type Configuration struct { Mcc string Mnc string } + StateChangeMessageChannel string } func ParseConfiguration() *Configuration { @@ -80,6 +81,7 @@ func ParseConfiguration() *Configuration { config.KeepAliveDelayMs = viper.GetInt("KeepAliveDelayMs") config.E2TInstanceDeletionTimeoutMs = viper.GetInt("e2tInstanceDeletionTimeoutMs") config.populateGlobalRicIdConfig(viper.Sub("globalRicId")) + config.StateChangeMessageChannel = viper.GetString("stateChangeMessageChannel") return &config } @@ -217,7 +219,7 @@ func (c *Configuration) String() string { return fmt.Sprintf("{logging.logLevel: %s, http.port: %d, rmr: { port: %d, maxMsgSize: %d}, routingManager.baseUrl: %s, "+ "notificationResponseBuffer: %d, bigRedButtonTimeoutSec: %d, maxRnibConnectionAttempts: %d, "+ "rnibRetryIntervalMs: %d, keepAliveResponseTimeoutMs: %d, keepAliveDelayMs: %d, e2tInstanceDeletionTimeoutMs: %d, "+ - "globalRicId: { ricId: %s, mcc: %s, mnc: %s}", + "globalRicId: { ricId: %s, mcc: %s, mnc: %s}, StateChangeMessageChannel: %s", c.Logging.LogLevel, c.Http.Port, c.Rmr.Port, @@ -233,5 +235,6 @@ func (c *Configuration) String() string { c.GlobalRicId.RicId, c.GlobalRicId.Mcc, c.GlobalRicId.Mnc, + c.StateChangeMessageChannel, ) }