Skip to content

Commit

Permalink
Add instructions for replicating columns in DMS (#598)
Browse files Browse the repository at this point in the history
* Add link about notifying Team Agnes
  • Loading branch information
zachmargolis authored Aug 9, 2024
1 parent 7fe2075 commit 67fa341
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _articles/manage-50-50-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ The cases described below sound similar, but each situation has its own consider
existing data.
* After deploy (optional): Run the rake task to update existing data.
* Deploy 2: Read from the table/field
* **Optional**: If a new column is not PII and we want it to be available in the Data Warehouse:
* Add it to the [DMS config YML file][data-warehouse-config] in the devops repo
* Request a review from Team Agnes members (Data Enablement team). An easy way to notify the team
is to leave a link to the PR/MR in [#login-team-agnes-pull-requests][team-agnes-pulls]

[team-agnes-pulls]: https://gsa.enterprise.slack.com/archives/C06EQPURK6D

### Remove a table or field
* Deploy 1: Remove all reads in the code
Expand All @@ -47,6 +53,9 @@ existing data.
* Deploy 3: Remove the table/field
* If removing a field, the field can be removed from the ignored columns list
* If removing a table, the entire model file can be removed
* Devops Repo: Check if the table/column was replicated to the Data Warehouse via DMS (check the [DMS config YML file][data-warehouse-config]) and make a PR to remove.

[data-warehouse-config]: https://gitlab.login.gov/lg/identity-devops/-/blob/main/terraform/app/dms-filter-columns-transformation-rules.yml

[idp-explicit-config]: https://github.com/18F/identity-idp/blob/c4a0cc098867a209f8196c312024b24001b6fa9b/app/models/application_record.rb#L6-L7

Expand Down

0 comments on commit 67fa341

Please sign in to comment.