High Level Purpose: Have CHEFS store enpoint urls/tokens in a postgres table where the tokens to call api endpoints in the CHEFS system that are event driven. The main event would be on submit of the form_submission from a subscribed form. CHEFS will use these endpoints to make restful call outs to approved systems. The ability to create subscriptions will be restricted to approved government systems.
Background: Transportation built a polling method to pick up form submissions through the use of API calls. It would be easier for government applications to instead subscribe to events where the CHEFS application would call out to the endpoint and pass the data after the event. In the case of form submissions the json of the form would be passed in the body.
Thoughts and concerns (Please add concerns here)
The main concern in building callouts may be around allowing communication external to the Openshift environment. The Grants system will also be hosted in the Openshift environment so communication on the backend api rest calls should be possible but should also maybe consider locking down routes.