aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java
diff options
context:
space:
mode:
authormalar <malarvizhi.44@wipro.com>2022-11-09 11:21:02 +0000
committermalar <malarvizhi.44@wipro.com>2022-11-22 06:22:25 +0000
commit4949855dff35b340038bffc489b1e68f340cf5ce (patch)
tree566a3f7e0bf019f25c6c24c04a9e1ebdccb5975a /src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java
parent55659eb8915a9107a55fc4ef56399734340a7a1a (diff)
Modify ANR Payload aligned to A1 schema in SDNR2.1.11-son-handler
Issue-ID: DCAEGEN2-3311 Signed-off-by: Malarvizhi Paramasivam <malarvizhi.44@wipro.com> Change-Id: I809f59972b207b1a9e68f0a2339514b6c7761bb7
Diffstat (limited to 'src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java')
-rw-r--r--src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java b/src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java
index ce8e016..a2ed3c0 100644
--- a/src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java
+++ b/src/main/java/org/onap/dcaegen2/services/sonhms/Configuration.java
@@ -53,6 +53,7 @@ public class Configuration {
private String getPciUrl;
private String getPnfUrl;
private String getRicIdUrl;
+ private String nearRtricUrl;
private String oofService;
private String oofEndpoint;
private String cg;
@@ -470,6 +471,14 @@ public class Configuration {
return getRicIdUrl;
}
+ public void setNearRtricUrl(String nearRtricUrl) {
+ this.nearRtricUrl = nearRtricUrl;
+ }
+
+ public String getNearRtricUrl() {
+ return nearRtricUrl;
+ }
+
public static void setInstance(Configuration instance) {
Configuration.instance = instance;
}
@@ -479,7 +488,7 @@ public class Configuration {
return "Configuration [pgHost=" + pgHost + ", pgPort=" + pgPort + ", pgUsername=" + pgUsername + ", pgPassword="
+ pgPassword + ", dmaapServers=" + dmaapServers + ", configDbService=" + configDbService
+ ", cpsServiceUrl=" + cpsServiceUrl + ", CpsUsername=" + CpsUsername + ",CpsPassword=" + CpsPassword + ",ConfigClientType=" + ConfigClientType + ", getCellDataUrl=" + getCellDataUrl + ", getNbrListUrl="
- + getNbrListUrl + ", getPciUrl=" + getPciUrl + ", getPnfUrl=" + getPnfUrl + ", getRicIdUrl=" + getRicIdUrl + ",oofService=" + oofService + ", oofEndpoint=" + oofEndpoint + ", cg=" + cg + ", cid=" + cid
+ + getNbrListUrl + ", getPciUrl=" + getPciUrl + ", getPnfUrl=" + getPnfUrl + ", getRicIdUrl=" + getRicIdUrl + ", nearRtricUrl=" + nearRtricUrl + ",oofService=" + oofService + ", oofEndpoint=" + oofEndpoint + ", cg=" + cg + ", cid=" + cid
+ ", pollingInterval=" + pollingInterval + ", pollingTimeout=" + pollingTimeout + ", minCollision="
+ minCollision + ", minConfusion=" + minConfusion + ", sourceId=" + sourceId + ", callbackUrl="
+ callbackUrl + ", pciOptimizer=" + pciOptimizer + ", pciAnrOptimizer=" + pciAnrOptimizer
@@ -557,6 +566,7 @@ public class Configuration {
getPnfUrl = jsonObject.get("cps.get.pnf.url").getAsString();
getPciUrl = jsonObject.get("cps.get.pci.url").getAsString();
getNbrListUrl = jsonObject.get("cps.get.nbr.list.url").getAsString();
+ nearRtricUrl = jsonObject.get("sonhandler.nearRtricUrl").getAsString();
ConfigClientType = jsonObject.get("sonhandler.clientType").getAsString();
log.info("configuration from CBS {}", this);