Adding basic logging to CDS Simulator 07/113607/2
authora.sreekumar <ajith.sreekumar@bell.ca>
Wed, 7 Oct 2020 10:26:37 +0000 (11:26 +0100)
committera.sreekumar <ajith.sreekumar@bell.ca>
Wed, 7 Oct 2020 10:35:59 +0000 (11:35 +0100)
commitc3599bd58bc5e6738570f5737d6a3129573f0e8a
tree016a2921bb1568c91e0a0dcd5f6c10e9b8c289d0
parentf617d00767a6f137c0941b9ee531e3d9b1ef0196
Adding basic logging to CDS Simulator

1) Adding log statements to capture actions taken by CDS Simulator.
2) Fixing the way CDSRequest input is read from a String. StandardCoder
decode method cannot directly decode from a String to protobuf type.

Change-Id: I597c64ffb095f6a518b0b6c67c1617ca789ad7d6
Issue-ID: POLICY-2828
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/CdsSimulator.java
models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/CdsSimulatorTest.java