Closed FranECross closed 8 months ago
Here is the first draft of the architecture.
VACMS-16885 Architecture - Scheduled (aging) Content Notifications Framework.pdf
@FranECross @jilladams I sent an invite for discussing the architecture within PW. Once done, we can send over or schedule the architecture for CMS to review.
We (myself, @FranECross, @Becapa, @jilladams) reviewed the architecture today and agreed to move forward with getting CMS approval.
Highlights of today's conversation (FYI @davidconlon ):
cc @FranECross
Breakdown of work/tickets expected if the framework is approved as designed:
Fields: View name, display, arguments (leverage the Views Action)
Depends on: n/a
Blocks: Create new ECA Model
Fields: Message template, message template variables (mapping), View, View Display, Recipient, Subject
Depends on: Custom Views Display Plugin
Blocks: Create new ECA Model
Subclass of Entity Reference Selection display plugin, perhaps.
Depends on:
Blocks: Create new ECA Model
Design/verbiage TBD - should take advantage of existing outdated content email templates
Depends on: Design
Blocks: Create new ECA Model
This is the "processor". It will run on cron. It needs to take each item, create a Message using provided template variables, and "Deliver" the email using the Message Notify module. Much like the 'va_gov_outdated_content_notification' queue.
Name: TBD
Using the new Display type
Depends on: Create Custom Views Display Plugin
Blocks:
Event: Cron daily (time tbd)
Action: Queue Email Message from Views Result Action Plugin for ECA
Condition: Views Result Condition Plugin for ECA
Depends on: ALL
Blocks:
CMS Collab cycle intake ticket: https://github.com/department-of-veterans-affairs/va.gov-cms/issues/17120
Closing. Next step will be whatever tickets come out of their review, whether to revise the plan or to cut our tickets to proceed with it.
Description
Draft Architecture Plan for Aging Content Notifications Configurable Framework and review with someone in CMS (either async or a formal CMS Collab Cycle Review).
User story
AS A PO/PM I WANT an architecture plan to be created and reviewed by the CMS team SO THAT we can then decompose into actionable Aging Content tickets
Engineering notes / background
Analytics considerations
Quality / testing notes
Acceptance criteria