Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[POLICY-117] Resolve the Policy Critical issues
[policy/engine.git]
/
PolicyEngineClient
/
src
/
main
/
java
/
org
/
openecomp
/
policyEngine
/
BrmsParamPolicyClient.java
diff --git
a/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java
b/PolicyEngineClient/src/main/java/org/openecomp/policyEngine/BrmsParamPolicyClient.java
index
790c8e8
..
5810106
100644
(file)
--- 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){
PolicyChangeResponse response = policyEngine.updatePolicy(policyParameters);
if(response.getResponseCode()==200){
-
System.out.println(response.getResponseMessage());
System.out.println(response.getResponseMessage());
-
System.out.println("Policy Created Successfully!");
System.out.println("Policy Created Successfully!");
-
}else{
}else{
-
System.out.println("Error! " + response.getResponseMessage());
System.out.println("Error! " + response.getResponseMessage());
-
}
}
-
} catch (Exception e) {
} catch (Exception e) {
-
- System.err.println(e.getMessage());
-
+ System.err.println(e.getMessage() + e);
}
}
}
}