diff options
author | rb7147 <rb7147@att.com> | 2017-07-26 10:11:15 -0400 |
---|---|---|
committer | rb7147 <rb7147@att.com> | 2017-07-26 11:53:31 -0400 |
commit | d80880b097d08f9ab9dda54355216890a4b345dc (patch) | |
tree | 6c7b6caec61dbada2201f7ee14c8c1e027106d6d /PolicyEngineClient/src/main/java/org/openecomp | |
parent | e92ff832cf993db876f22b2d27562fedf59f5043 (diff) |
[POLICY-117] Resolve the Policy Critical issues
Change-Id: Ice72d7fa40151bff5db42f5dd632f04a3853b094
Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'PolicyEngineClient/src/main/java/org/openecomp')
-rw-r--r-- | PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ActionPolicyClient.java | 2 | ||||
-rw-r--r-- | PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java | 10 |
2 files changed, 2 insertions, 10 deletions
diff --git a/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ActionPolicyClient.java b/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ActionPolicyClient.java index 18de85bd4..d1081b106 100644 --- a/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ActionPolicyClient.java +++ b/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ActionPolicyClient.java @@ -102,7 +102,7 @@ public class ActionPolicyClient { System.out.println("Error! " + response.getResponseMessage()); } } catch (Exception e) { - System.err.println(e.getMessage()); + System.err.println(e.getMessage() + e); } } diff --git a/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java b/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java index 790c8e893..5810106c1 100644 --- a/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java +++ b/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java @@ -80,21 +80,13 @@ public class BrmsParamPolicyClient { PolicyChangeResponse response = policyEngine.updatePolicy(policyParameters); if(response.getResponseCode()==200){ - System.out.println(response.getResponseMessage()); - System.out.println("Policy Created Successfully!"); - }else{ - System.out.println("Error! " + response.getResponseMessage()); - } - } catch (Exception e) { - - System.err.println(e.getMessage()); - + System.err.println(e.getMessage() + e); } } |