aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcaegen2/services/sonhms/child/ChildThreadUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/dcaegen2/services/sonhms/child/ChildThreadUtils.java')
-rw-r--r--src/main/java/org/onap/dcaegen2/services/sonhms/child/ChildThreadUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dcaegen2/services/sonhms/child/ChildThreadUtils.java b/src/main/java/org/onap/dcaegen2/services/sonhms/child/ChildThreadUtils.java
index 5876d2b..6b60992 100644
--- a/src/main/java/org/onap/dcaegen2/services/sonhms/child/ChildThreadUtils.java
+++ b/src/main/java/org/onap/dcaegen2/services/sonhms/child/ChildThreadUtils.java
@@ -68,6 +68,7 @@ public class ChildThreadUtils {
private PnfUtils pnfUtils;
private PolicyDmaapClient policyDmaapClient;
private HoMetricsComponent hoMetricsComponent;
+ Configuration configuration = Configuration.getInstance();
/**
* Parameterized constructor.
@@ -98,7 +99,6 @@ public class ChildThreadUtils {
public Boolean triggerOrWait(Map<String, ArrayList<Integer>> collisionConfusionResult) {
// determine collision or confusion
- Configuration configuration = Configuration.getInstance();
int collisionSum = 0;
int confusionSum = 0;
@@ -226,7 +226,7 @@ public class ChildThreadUtils {
lteCell.setBlacklisted("true");
lteCell.setPlmnId(solutions.getNetworkId());
lteCell.setCid(removeableNeighbor);
- int pci = ConfigurationClient.configClient(Configuration.getInstance().getConfigClientType()).getPci(cellId);
+ int pci = configuration.getConfigurationClient().getPci(cellId);
lteCell.setPhyCellId(pci);
lteCell.setPnfName(pnfName);
lteCellList.add(lteCell);