Export Compliance: Lookup Service Webhook Ingestion

Description

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

None

Activity

Show:
Nick Misasi
March 22, 2021, 7:28 PM

This US is no longer needed.

Won't Do

Mana

None

Assignee

Nick Misasi

QA Assignee

None

Reporter

Nick Misasi

Epic Link

None

Fix versions

None

Mattermost Team

Cloud Features

Sprint

None

Labels

None

QA Testing Areas

Customer Portal

GitHub Issue

None

Components

None