This adds a helper function so that a user of sweet-liberty can return a HTTP response from any decision point. This is done by returning a ring-response from the decision function and then wrapping the decision function using the helper function force-response-through. I have tested this by both adding unit tests for it and using this functionality in the data-warehouse-service.
This adds a helper function so that a user of sweet-liberty can return a HTTP response from any decision point. This is done by returning a
ring-response
from the decision function and then wrapping the decision function using the helper functionforce-response-through
. I have tested this by both adding unit tests for it and using this functionality in the data-warehouse-service.