diff options
author | Jim Hahn <jrh3@att.com> | 2019-07-10 16:52:00 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-07-16 14:40:59 -0400 |
commit | 9558d17e24726d3794d80f2b4bdb6ce876bb58a1 (patch) | |
tree | 92f2c80ddbaf77cca9e4e77d4074df24caeb7d80 /policy-management | |
parent | 2fa10fe07132ee328fac7b46b6ef1530bcf590e5 (diff) |
Fix checkstyle issues in policy-utils
Also deleted the checkstyle suppression file.
Change-Id: I51c69bce644204435fa8131c14132e0384b4e886
Issue-ID: POLICY-1909
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'policy-management')
-rw-r--r-- | policy-management/src/main/java/org/onap/policy/drools/system/Main.java | 8 | ||||
-rw-r--r-- | policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/policy-management/src/main/java/org/onap/policy/drools/system/Main.java b/policy-management/src/main/java/org/onap/policy/drools/system/Main.java index d1cdc564..11ffd689 100644 --- a/policy-management/src/main/java/org/onap/policy/drools/system/Main.java +++ b/policy-management/src/main/java/org/onap/policy/drools/system/Main.java @@ -26,7 +26,7 @@ import org.onap.policy.drools.persistence.SystemPersistence; import org.onap.policy.drools.properties.DroolsProperties; import org.onap.policy.drools.utils.PropertyUtil; import org.onap.policy.drools.utils.logging.LoggerUtil; -import org.onap.policy.drools.utils.logging.MDCTransaction; +import org.onap.policy.drools.utils.logging.MdcTransaction; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -85,8 +85,8 @@ public class Main { /* 3. Start the Engine with the basic services only (no Policy Controllers) */ - MDCTransaction trans = - MDCTransaction.newTransaction(null, null) + MdcTransaction trans = + MdcTransaction.newTransaction(null, null) .setServiceName(Main.class.getSimpleName()) .setTargetEntity("engine") .setTargetServiceName("start"); @@ -136,7 +136,7 @@ public class Main { controllerProperties.getProperty(DroolsProperties.PROPERTY_CONTROLLER_NAME); try { trans = - MDCTransaction.newTransaction(null, null) + MdcTransaction.newTransaction(null, null) .setServiceName(Main.class.getSimpleName()) .setTargetEntity("controller:" + controllerName) .setTargetServiceName("start"); diff --git a/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java b/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java index 07202fb9..1c02d705 100644 --- a/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java +++ b/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java @@ -53,7 +53,7 @@ import org.onap.policy.drools.server.restful.RestManager; import org.onap.policy.drools.server.restful.aaf.AafTelemetryAuthFilter; import org.onap.policy.drools.utils.PropertyUtil; import org.onap.policy.drools.utils.logging.LoggerUtil; -import org.onap.policy.drools.utils.logging.MDCTransaction; +import org.onap.policy.drools.utils.logging.MdcTransaction; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -272,7 +272,7 @@ class PolicyEngineManager implements PolicyEngine { final String entity = config.getEntity(); - MDCTransaction mdcTrans = MDCTransaction.newTransaction(config.getRequestId(), "brmsgw"); + MdcTransaction mdcTrans = MdcTransaction.newTransaction(config.getRequestId(), "brmsgw"); if (this.getSources().size() == 1) { Topic topic = this.getSources().get(0); mdcTrans.setServiceName(topic.getTopic()).setRemoteHost(topic.getServers().toString()) @@ -352,7 +352,7 @@ class PolicyEngineManager implements PolicyEngine { } for (final ControllerConfiguration configController : configControllers) { - MDCTransaction mdcTrans = MDCTransaction.newSubTransaction(null).setTargetEntity(configController.getName()) + MdcTransaction mdcTrans = MdcTransaction.newSubTransaction(null).setTargetEntity(configController.getName()) .setTargetServiceName(configController.getOperation()) .setTargetVirtualEntity("" + configController.getDrools()); try { |