summaryrefslogtreecommitdiffstats
path: root/PolicyEngineClient
diff options
context:
space:
mode:
Diffstat (limited to 'PolicyEngineClient')
-rw-r--r--PolicyEngineClient/src/main/java/org/openecomp/policyEngine/ActionPolicyClient.java2
-rw-r--r--PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java10
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);
}
}