Export Compliance: Lookup Service Webhook Ingestion
With https://mattermost.atlassian.net/browse/MM-33331, we will be parsing XML data from Descartes and forwarding it to CWS via an HTTP POST call. This User Story involves creating a new endpoint for this webhook to hit, as well as any processing that needs to be done to the payload.
When a payload is received, it will be processed in one of 2 ways, based on the result of the manual screen Jamie did in Descartes Visual Compliance.
Entity is cleared
If an entity is cleared, look up the pending subscription by the ID, and process it as if the screen never failed. This should send an email to the customer with their purchase confirmation and their license link.
Entity is closed
If an entity is closed, we must remove the pending subscription from the pendingsubscriptions table, and action the user to not be allowed to access CWS further.
QA Test Steps
This US is no longer needed.