Remove sleep from DmaapMessageConsumer 32/3632/9
authorelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 5 May 2020 14:38:15 +0000 (16:38 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Fri, 8 May 2020 13:52:34 +0000 (15:52 +0200)
commit9c5cb8dff7e04d10141ce2b2d1c7fab2cf8ef508
tree982a57770a5cd3f82f172f9dd366e9a925e94fe8
parent341ee94ee4d8995e03c7886c96f9250c7d3901fe
Remove sleep from DmaapMessageConsumer

Now that the timeout parameter is used when polling MR, the consumer
doesn't have to sleep between polls.

Also fixes the MR simulator so it responds correctly to the responses
from the policy agent.

Change-Id: I56d8be6a762013503defcd4f7297daa90a0a293e
Issue-ID: NONRTRIC-209
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
policy-agent/src/main/java/org/oransc/policyagent/Application.java
policy-agent/src/main/java/org/oransc/policyagent/dmaap/DmaapMessageConsumer.java
policy-agent/src/main/java/org/oransc/policyagent/tasks/RefreshConfigTask.java
policy-agent/src/test/java/org/oransc/policyagent/dmaap/DmaapMessageConsumerTest.java
test/mrstub/mr.py