diff options
author | Tej, Tarun <tt3868@att.com> | 2017-08-21 20:00:50 -0400 |
---|---|---|
committer | Tarun Tej Velaga <tt3868@att.com> | 2017-08-23 17:29:35 +0000 |
commit | 80f072f60509ef3a35369a60857fe05f6c2a993a (patch) | |
tree | 7dca6266b225be3f192623fdc859ca80f4d1d493 /PolicyEngineClient | |
parent | c53fa990ea27ec074859eb94bcb7ec6deaa2157b (diff) |
Fixes for sonar critical issues
Fixes for critical and blocker issues reported in sonar.
Issue-Id: POLICY-113
Change-Id: I50969fe93a94b0497f3fb30864a6c45e63208fe6
Signed-off-by: Tej, Tarun <tt3868@att.com>
Diffstat (limited to 'PolicyEngineClient')
-rw-r--r-- | PolicyEngineClient/pom.xml | 6 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ActionPolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ActionPolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/BrmsParamPolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/BrmsParamPolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/BrmsRawPolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/BrmsRawPolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ClosedLoopPolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ClosedLoopPolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ClosedLoopPolicyPerformanceMetricClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ClosedLoopPolicyPerformanceMetricClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ConfigBasePolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ConfigBasePolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ConfigFirewallPolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ConfigFirewallPolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/DecisionPolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/DecisionPolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/DeletePolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/DeletePolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/GeneralTestClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/GeneralTestClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/GetConfigSample.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/GetConfigSample.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/Handler.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/Handler.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ImportBRMSTemplate.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ImportBRMSTemplate.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ImportMicroServiceClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ImportMicroServiceClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/ListConfigPoliciesClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/ListConfigPoliciesClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/MainClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/MainClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/MicroServicesPolicyClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/MicroServicesPolicyClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/PolicyEngineTestClient.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/PolicyEngineTestClient.java) | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/test/java/org/onap/policyengine/PushPoliciesToPDP.java (renamed from PolicyEngineClient/src/main/java/org/onap/policyEngine/PushPoliciesToPDP.java) | 2 |
20 files changed, 22 insertions, 22 deletions
diff --git a/PolicyEngineClient/pom.xml b/PolicyEngineClient/pom.xml index 04be78565..8e0e5f4ec 100644 --- a/PolicyEngineClient/pom.xml +++ b/PolicyEngineClient/pom.xml @@ -40,9 +40,9 @@ <version>1.1</version> </dependency> <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpclient</artifactId> - <version>4.5</version> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>4.5</version> </dependency> </dependencies> <build> diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ActionPolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ActionPolicyClient.java index fa04668ca..94c6043c5 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ActionPolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ActionPolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.util.Arrays; import java.util.HashMap; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/BrmsParamPolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/BrmsParamPolicyClient.java index 04cfdb84a..33ceedf7f 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/BrmsParamPolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/BrmsParamPolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.text.SimpleDateFormat; import java.util.Date; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/BrmsRawPolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/BrmsRawPolicyClient.java index bf8fea59f..18d404dc2 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/BrmsRawPolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/BrmsRawPolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.BufferedReader; import java.io.File; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ClosedLoopPolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ClosedLoopPolicyClient.java index 2240f0b73..29a0f4363 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ClosedLoopPolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ClosedLoopPolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.File; import java.io.FileInputStream; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ClosedLoopPolicyPerformanceMetricClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ClosedLoopPolicyPerformanceMetricClient.java index e3b5fde60..eaee2a325 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ClosedLoopPolicyPerformanceMetricClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ClosedLoopPolicyPerformanceMetricClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.File; import java.io.FileInputStream; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ConfigBasePolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ConfigBasePolicyClient.java index 20a5bd359..b8dfdc1f6 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ConfigBasePolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ConfigBasePolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.text.SimpleDateFormat; import java.util.Date; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ConfigFirewallPolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ConfigFirewallPolicyClient.java index a261761f5..37ec9fabd 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ConfigFirewallPolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ConfigFirewallPolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.File; import java.io.FileInputStream; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/DecisionPolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/DecisionPolicyClient.java index 8c16e0e40..2ef2d3b1a 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/DecisionPolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/DecisionPolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.util.Arrays; import java.util.HashMap; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/DeletePolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/DeletePolicyClient.java index ec4959550..c66067942 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/DeletePolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/DeletePolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import org.onap.policy.api.DeletePolicyCondition; import org.onap.policy.api.DeletePolicyParameters; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/GeneralTestClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/GeneralTestClient.java index 423ade2c2..e81939be6 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/GeneralTestClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/GeneralTestClient.java @@ -28,7 +28,7 @@ * Unpublished and Not for Publication * All Rights Reserved */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.FileNotFoundException; import java.io.FileReader; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/GetConfigSample.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/GetConfigSample.java index 59225ce6f..94cc69fd7 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/GetConfigSample.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/GetConfigSample.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.util.Collection; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/Handler.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/Handler.java index 4a78db615..12fca6e93 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/Handler.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/Handler.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.util.Collection; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ImportBRMSTemplate.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ImportBRMSTemplate.java index 053c524b6..ef9ec3136 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ImportBRMSTemplate.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ImportBRMSTemplate.java @@ -1,4 +1,4 @@ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.File; import java.util.UUID; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ImportMicroServiceClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ImportMicroServiceClient.java index 671eb6c80..86439583a 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ImportMicroServiceClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ImportMicroServiceClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.util.UUID; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ListConfigPoliciesClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/ListConfigPoliciesClient.java index dd5c97ba1..9973ce70c 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/ListConfigPoliciesClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/ListConfigPoliciesClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.util.Collection; import java.util.HashMap; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/MainClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/MainClient.java index 0be702c13..210499ca1 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/MainClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/MainClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.IOException; import java.io.OutputStream; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/MicroServicesPolicyClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/MicroServicesPolicyClient.java index 99f9551cb..b05e44726 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/MicroServicesPolicyClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/MicroServicesPolicyClient.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.File; import java.io.FileInputStream; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/PolicyEngineTestClient.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/PolicyEngineTestClient.java index 4f782c8c9..39346eaea 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/PolicyEngineTestClient.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/PolicyEngineTestClient.java @@ -28,7 +28,7 @@ * Unpublished and Not for Publication * All Rights Reserved */ -package org.onap.policyEngine; +package org.onap.policyengine; import java.io.IOException; import java.util.ArrayList; diff --git a/PolicyEngineClient/src/main/java/org/onap/policyEngine/PushPoliciesToPDP.java b/PolicyEngineClient/src/test/java/org/onap/policyengine/PushPoliciesToPDP.java index 05d736464..880af0610 100644 --- a/PolicyEngineClient/src/main/java/org/onap/policyEngine/PushPoliciesToPDP.java +++ b/PolicyEngineClient/src/test/java/org/onap/policyengine/PushPoliciesToPDP.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.policyEngine; +package org.onap.policyengine; import org.onap.policy.api.PolicyChangeResponse; import org.onap.policy.api.PolicyEngine; |