Skip to content

Commit

Permalink
[EASI-3320] - Move Possible Solution Points of Contact to the backend (
Browse files Browse the repository at this point in the history
…#732)

* feat: move possible operational solution contacts to the backend.
Co-authored-by: Steven Wade <[email protected]>
Co-authored-by: Patrick  Segura <[email protected]>
  • Loading branch information
patrickseguraoddball authored Oct 9, 2023
1 parent 14b48ba commit aec9d31
Show file tree
Hide file tree
Showing 54 changed files with 2,509 additions and 5,331 deletions.
36 changes: 34 additions & 2 deletions MINT.postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"info": {
"_postman_id": "f8c48fb4-c317-409d-92c7-694ee6bfbd69",
"_postman_id": "040f04e1-e82a-4a0b-88f7-823fee84baa4",
"name": "MINT",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "20435042"
"_exporter_id": "20320964"
},
"item": [
{
Expand Down Expand Up @@ -1672,6 +1672,38 @@
},
"response": []
},
{
"name": "PossibleOperationalSoultionsGetAllWithContacts",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "graphql",
"graphql": {
"query": "query PossibleOperationalSolution{\n \n possibleOperationalSolutions{\n id\n name\n key\n treatAsOther \n pointsOfContact{\n id\n possibleOperationalSolutionID\n name\n email\n isTeam\n role\n } \n }\n}\n",
"variables": ""
}
},
"url": {
"raw": "{{url}}",
"host": [
"{{url}}"
]
}
},
"response": []
},
{
"name": "CreatePlanDocumentSolutionLinks",
"request": {
Expand Down
1 change: 1 addition & 0 deletions codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const config: CodegenConfig = {
UUID: 'UUID',
Upload: 'Upload'
},
nonOptionalTypename: true,
namingConvention: {
enumValues: 'change-case-all#upperCase#snakeCase'
}
Expand Down
21 changes: 21 additions & 0 deletions migrations/V107__Possible_Solution_Contact.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
CREATE TABLE possible_operational_solution_contact (
id UUID PRIMARY KEY NOT NULL,
possible_operational_solution_id int NOT NULL REFERENCES possible_operational_solution(id),
name zero_string NOT NULL,
email zero_string NOT NULL,
is_team BOOLEAN NOT NULL DEFAULT FALSE,
role zero_string NULL,


--META DATA
created_by UUID NOT NULL REFERENCES user_account(id),
created_dts TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP,
modified_by UUID REFERENCES user_account(id),
modified_dts TIMESTAMP WITH TIME ZONE
);

ALTER TABLE possible_operational_solution_contact
ADD CONSTRAINT role_required_when_is_team_false CHECK ( (is_team AND role IS NULL) OR (NOT is_team AND role IS NOT NULL));

ALTER TYPE operational_solution_key ADD VALUE 'ISP'; --acronym
ALTER TYPE operational_solution_key ADD VALUE 'MIDS'; --acronym
109 changes: 109 additions & 0 deletions migrations/V108__Possible_Solution_Contact_Entries.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@

INSERT INTO possible_operational_solution("id", "sol_name", "sol_key", "created_by") VALUES
(38, 'Innovation Support Platform', 'ISP', '00000001-0001-0001-0001-000000000001'),
(39, 'Measure and Instrument Development and Support', 'MIDS', '00000001-0001-0001-0001-000000000001');



WITH pocs(SolutionName, SolutionKey, Name, Email, Role, IsTeam) AS (
VALUES

('4innovation', 'INNOVATION', '4i/ACO-OS Team', '[email protected]', NULL, TRUE),
('4innovation', 'INNOVATION', 'Aparna Vyas', '[email protected]', 'Project Lead', FALSE),
('4innovation', 'INNOVATION', 'Ashley Corbin', '[email protected]', 'Subject Matter Expert', FALSE),
('4innovation', 'INNOVATION', 'Nora Fleming', '[email protected]', 'Subject Matter Expert', FALSE),
('Accountable Care Organization - Operational System', 'ACO_OS', '4i/ACO-OS Team', '[email protected]', NULL, TRUE),
('Accountable Care Organization - Operational System', 'ACO_OS', 'Aparna Vyas', '[email protected]', 'Project Lead', FALSE),
('Accountable Care Organization - Operational System', 'ACO_OS', 'Ashley Corbin', '[email protected]', 'Subject Matter Expert', FALSE),
('Accountable Care Organization - Operational System', 'ACO_OS', 'Nora Fleming', '[email protected]', 'Subject Matter Expert', FALSE),
('Automated Plan Payment System', 'APPS', 'Aliza Kim', '[email protected]', 'Project Lead', FALSE),
('Automated Plan Payment System', 'APPS', 'Edgar Howard', '[email protected]', 'Director, Division of Payment Operations', FALSE),
('Beneficiary Claims Data API', 'BCDA', 'BCDA Team', '[email protected]', NULL, TRUE),
('Beneficiary Claims Data API', 'BCDA', 'Nicole Pham', '[email protected]', 'Product Manager', FALSE),
('Centralized Data Exchange', 'CDX', 'Yolanda Villanova', '[email protected]', 'Product Owner', FALSE),
('Centralized Data Exchange', 'CDX', 'Hung Van', '[email protected]', 'Technical Lead', FALSE),
('Chronic Conditions Warehouse', 'CCW', 'Velda McGhee', '[email protected]', 'CMMI Government Task Lead', FALSE),
('CMS Box', 'CMS_BOX', 'MINT Team', '[email protected]', NULL, TRUE),
('CMS Qualtrics', 'CMS_QUALTRICS', 'MINT Team', '[email protected]', NULL, TRUE),
('Consolidated Business Operations Support Center', 'CBOSC', 'Richard Speights', '[email protected]', 'Contracting Officer Representative', FALSE),
('Consolidated Business Operations Support Center', 'CBOSC', 'Don Rocker', '[email protected]', 'Operations and Management Lead ', FALSE),
('CPI Vetting', 'CPI_VETTING', 'MINT Team', '[email protected]', NULL, TRUE),
('Electronic File Transfer', 'EFT', 'MINT Team', '[email protected]', NULL, TRUE),
('Expanded Data Feedback Reporting', 'EDFR', 'Zach Nall', '[email protected]', 'Product Owner', FALSE),
('GovDelivery', 'GOVDELIVERY', 'Andrew Rushton', '[email protected]', 'Administrator', FALSE),
('GovDelivery', 'GOVDELIVERY', 'Alison Rigby', '[email protected]', 'Administrator', FALSE),
('GrantSolutions', 'GS', 'Mary Greene', '[email protected]', 'Director, Division of Grants Management', FALSE),
('GrantSolutions', 'GS', 'Michelle Brown', '[email protected]', 'Deputy Director, Division of Grants Management', FALSE),
('Healthcare Integrated General Ledger Accounting System', 'HIGLAS', 'Donna Schmidt', '[email protected]', 'Director, Division of System Support, Operation and Security (DSSOS)', FALSE),
('Health Data Reporting', 'HDR', 'Hung Van', '[email protected]', 'Technical Lead', FALSE),
('Health Data Reporting', 'HDR', 'Curtis Naumann', '[email protected]', 'Product Owner', FALSE),
('Health Plan Management System', 'HPMS', 'MINT Team', '[email protected]', NULL, TRUE),
('Innovation Payment Contractor', 'IPC', 'Ron Topper', '[email protected]', 'Director, Division of Budget Operations & Management (DBOM)', FALSE),
('Innovation Payment Contractor', 'IPC', 'Sue Nonemaker', '[email protected]', 'Project Lead', FALSE),
('Innovation Payment Contractor', 'IPC', 'Alyssa Larson', '[email protected]', 'Subject Matter Expert', FALSE),
('Innovation Payment Contractor', 'IPC', 'Philip Tennant', '[email protected]', 'Subject Matter Expert', FALSE),
('Innovation Support Platform', 'ISP', 'Hung Van', '[email protected]', 'Technical Lead', FALSE),
('Innovation Support Platform', 'ISP', 'Joe Pusateri', '[email protected]', 'Contracting Officer Representative', FALSE),
('Integrated Data Repository', 'IDR', 'Jim Brogan', '[email protected]', 'Deputy Director, Division of Enterprise Information Management Services', FALSE),
('Integrated Data Repository', 'IDR', 'Murari Selvakesavan', '[email protected]', 'System Owner', FALSE),
('Learning and Diffusion Group', 'LDG', 'Andrew Philip', '[email protected]', 'Director, Division of Model Learning Systems (DMLS)', FALSE),
('Learning and Diffusion Group', 'LDG', 'Taiwanna Messam Lucienne', '[email protected]', 'Deputy Director, Division of Model Learning Systems (DMLS)', FALSE),
('Learning and Diffusion Group', 'LDG', 'Alexis Malfesi', '[email protected]', 'Beneficiary Listening Session Point of Contact', FALSE),
('Learning and Diffusion Group', 'LDG', 'Erin Carrillo', '[email protected]', 'Beneficiary Listening Session Point of Contact', FALSE),
('Legal Vertical', 'LV', 'Megan Hyde', '[email protected]', 'Co-team Lead', FALSE),
('Legal Vertical', 'LV', 'Erin Hagenbrok', '[email protected]', 'Co-team Lead', FALSE),
('Legal Vertical', 'LV', 'Ann Vrabel', '[email protected]', 'Division Director', FALSE),
('Legal Vertical', 'LV', 'Melanie Dang', '[email protected]', 'Deputy Division Director', FALSE),
('Master Data Management', 'MDM', 'Celia Shaunessy', '[email protected]', 'CMMI/BSG Point of Contact', FALSE),
('Master Data Management', 'MDM', 'Felicia Addai', '[email protected]', 'CMMI/BSG Project Support', FALSE),
('Master Data Management', 'MDM', 'Miyani Treva', '[email protected]', 'Overlaps Operations Support', FALSE),
('Master Data Management', 'MDM', 'Sameera Gudipati', '[email protected]', 'OIT Point of Contact', FALSE),
('Master Data Management', 'MDM', 'Glenn Eyler', '[email protected]', 'OIT Government Task Lead', FALSE),
('Measure and Instrument Development and Support', 'MIDS', 'Dustin Allison', '[email protected]', 'Quality Vertical Program Analyst', FALSE),
('Measure and Instrument Development and Support', 'MIDS', 'Teresa Winder-Wells', '[email protected]', 'Contracting Officer Representative, Division of Centralized Contracts and Services (DCCS)', FALSE),
('Measure and Instrument Development and Support', 'MIDS', 'Tim Day', '[email protected]', 'Quality Subject Matter Expert (QSME)', FALSE),
('Measure and Instrument Development and Support', 'MIDS', 'Jim Gerber', '[email protected]', 'Director, Division of Portfolio Management & Strategy', FALSE),
('Medicare Advantage Prescription Drug System', 'MARX', 'MINT Team', '[email protected]', NULL, TRUE),
('Outlook Mailbox', 'OUTLOOK_MAILBOX', 'MINT Team', '[email protected]', NULL, TRUE),
('Quality Vertical', 'QV', 'Susannah Bernheim', '[email protected]', 'Chief Quality Officer and Senior Advisor to the CMMI Front Office, Quality Vertical Lead', FALSE),
('Quality Vertical', 'QV', 'Dustin Allison', '[email protected]', 'Program Analyst', FALSE),
('Quality Vertical', 'QV', 'Sasha Gibbel', '[email protected]', 'Quality Analyst', FALSE),
('Quality Vertical', 'QV', 'Whitney Saint-Fleur', '[email protected]', 'Quality Analyst', FALSE),
('Research, Measurement, Assessment, Design, and Analysis', 'RMADA', 'Joe Pusateri', '[email protected]', 'Contracting Officer Representative', FALSE),
('Salesforce Application Review and Scoring', 'ARS', 'Elia Cossis', '[email protected]', 'Platform Lead', FALSE),
('Salesforce Application Review and Scoring', 'ARS', 'Chinelo Johnson', '[email protected]', 'Point of Contact', FALSE),
('Salesforce CONNECT', 'CONNECT', 'Elia Cossis', '[email protected]', 'Platform Lead', FALSE),
('Salesforce CONNECT', 'CONNECT', 'Chinelo Johnson', '[email protected]', 'Point of Contact', FALSE),
('Salesforce Letter of Intent', 'LOI', 'Elia Cossis', '[email protected]', 'Platform Lead', FALSE),
('Salesforce Letter of Intent', 'LOI', 'Chinelo Johnson', '[email protected]', 'Point of Contact', FALSE),
('Salesforce Project Officer Support Tool / Portal', 'POST_PORTAL', 'Elia Cossis', '[email protected]', 'Platform Lead', FALSE),
('Salesforce Project Officer Support Tool / Portal', 'POST_PORTAL', 'Chinelo Johnson', '[email protected]', 'Point of Contact', FALSE),
('Salesforce Request for Application', 'RFA', 'Elia Cossis', '[email protected]', 'Platform Lead', FALSE),
('Salesforce Request for Application', 'RFA', 'Chinelo Johnson', '[email protected]', 'Point of Contact', FALSE),
('Shared Systems', 'SHARED_SYSTEMS', 'Donna Schmidt', '[email protected]', 'Director, Division of System Support, Operation and Security (DSSOS)', FALSE),
('Shared Systems', 'SHARED_SYSTEMS', 'Madhu Annadata', '[email protected]', 'Subject Matter Expert', FALSE)
)

INSERT INTO possible_operational_solution_contact(
id,
possible_operational_solution_id,
name,
email,
role,
is_team,
created_by,
created_dts
)

SELECT
gen_random_uuid() AS id,
pos.id as possible_operational_solution_id,
pocs.name AS name,
pocs.email AS email,
pocs.role AS role,
pocs.IsTeam as is_team,
'00000001-0001-0001-0001-000000000001' AS created_by, --System account
current_timestamp AS created_dts

FROM pocs
JOIN possible_operational_solution pos on CAST(pos.sol_key as TEXT) = pocs.solutionkey
Loading

0 comments on commit aec9d31

Please sign in to comment.