This PR changes the communication method between TaskPlanner and ResourcePlanner from REST communication depending on the definition of the REST interface to the RabbitMQ Request pattern. The message is now sent using RabbitMQ and returned to the sender. This will improve resiliency and allow easier handling of future format changes.
Fixes #49
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
What has been changed?
This section lists what has been changed with this pull request. Each entry lists the type of change introduced in the following order:
Fix: changed the communication method between TaskPlanner and ResourcePlanner
How Has This Been Tested?
[ ] TaskPlanner asks for RecourcePlanner for the resource plan, and ResourcePlanner sends the created plan back to the TaskPlanner
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
This PR changes the communication method between TaskPlanner and ResourcePlanner from REST communication depending on the definition of the REST interface to the RabbitMQ Request pattern. The message is now sent using RabbitMQ and returned to the sender. This will improve resiliency and allow easier handling of future format changes.
Fixes #49
Type of change
What has been changed?
This section lists what has been changed with this pull request. Each entry lists the type of change introduced in the following order:
How Has This Been Tested?
Checklist: