Org Web Adapter

pages/mmpy_171_webhook_should_allow_updating_application_processor_status.org

ID
750c8c07-6509-480b-8e71-9177abc20285

MMPY-171 Webhook should allow updating Application Processor status

- source :: https://multimediallc.atlassian.net/browse/MMPY-171

- epic :: MMPY-198 Compliance Holds, Fraud Holds, and Banned Payees

- tags :: Falcon Nest Project Story Falcon Nest Project

- status :: Status - Complete

Requirements

DONE Add a bearer token for NewRelic webhooks to settings

workmultimediallcwebhookfeaturemmpy171
ID
23f69668-266f-e387-7e82-62522e2940de

DONE Add a webhook for NewRelic that checks for a valid bearer token

workmultimediallcwebhookmmpy171feature
ID
76803a2d-2be9-b740-74cc-90275e50d9d9

DONE Allow payload to set status of account from "Active But Not Processing" to "Active"

workmultimediallcfeaturemmpy171webhook
ID
92f45445-2ef9-cfec-efe6-767fc90d30cb

DONE Fix PR issues and make flow from active to active but not processing more explicit

workmultimediallcfeaturemmpy171webhook
ID
cbca7565-bfee-6447-4bf4-532ca4c22245

- Note taken on

Got most things cleaned up ... nice implementation of a generic token

decorator that ChatGPT helped me write. Sigh. It's just faster and considers

all the edge cases. Meanwhile, I'm a bit stuck burying the urls under the /api/

of the rest of the processor app. Not sure what I'm doing wrong.

GIVEN

An application processor is in the “Active but not processing” status

WHEN

An event arrives to a webhook for an application processor from NewRelic or another service

THEN

Set the application processor to “Active”

Secondary requirements

GIVEN

An application processor is in “Active” status

WHEN

An event arrives to a webhook for application processor from NewRelic (or another service)

THEN

Set the application processor to “Active but not processing”