From 0a552cab842664d6e06495ff47b656551449a21f Mon Sep 17 00:00:00 2001 From: sjana Date: Mon, 8 Jun 2020 15:38:49 -0400 Subject: [PATCH] Configuration Change Issue-ID: RICAPP-115 Signed-off-by: sjana Change-Id: Ie2e68f5326a02b94df072909ad0d6111217cd078 --- container-tag.yaml | 2 +- docs/release-notes.rst | 2 +- init/config-file.json | 2 +- src/xapp-utils/xapp_config.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/container-tag.yaml b/container-tag.yaml index 951186d..fc58593 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -1,4 +1,4 @@ # this is used by CI jobs to apply a tag when it builds the image --- -tag: '1.0.4' +tag: '1.0.5' diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 4288c25..bf96134 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -21,7 +21,7 @@ Version history | **Date** | **Ver.** | **Author** | **Comment** | | | | | | +--------------------+--------------------+--------------------+--------------------+ -| 2020-06-06 | 1.0.4 | Shraboni Jana | Fourth draft | +| 2020-06-08 | 1.0.5 | Shraboni Jana | Fifth draft | | | | | | +--------------------+--------------------+--------------------+--------------------+ diff --git a/init/config-file.json b/init/config-file.json index 78f9a64..b9b23b2 100644 --- a/init/config-file.json +++ b/init/config-file.json @@ -7,7 +7,7 @@ "image": { "registry": "nexus3.o-ran-sc.org:10002", "name": "o-ran-sc/ric-app-hw", - "tag": "1.0.4" + "tag": "1.0.5" } } ], diff --git a/src/xapp-utils/xapp_config.cc b/src/xapp-utils/xapp_config.cc index 8f1ef67..251f503 100644 --- a/src/xapp-utils/xapp_config.cc +++ b/src/xapp-utils/xapp_config.cc @@ -119,7 +119,7 @@ void XappSettings::loadEnvVarSettings(){ theSettings[XAPP_NAME].assign(env_xname); mdclog_write(MDCLOG_INFO,"Xapp Name set to %s from environment variable", theSettings[XAPP_NAME].c_str()); } - if (const char *env_xid = std::getenv("XAPP_ID")){ + if (const char *env_xid = std::getenv("XAPP_NAME")){ theSettings[XAPP_ID].assign(env_xid); mdclog_write(MDCLOG_INFO,"Xapp ID set to %s from environment variable", theSettings[XAPP_ID].c_str()); } -- 2.16.6