-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a plus_system_scans
table to the database
#1554
Conversation
61c7b96
to
d914bf9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existence of said tables has been observed 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I can't approve until tests are passing...try merging main?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code looks good, just throwing in some existential questions 😬
src/fides/api/ctl/migrations/versions/6b9885e68cbb_add_plus_system_scans_table.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a test to confirm that this works as expected, even if it's something as simple as creating the object object in the database and then deleting it. Don't want to ship this and then realize it doesn't actually work when we try to use it in fidesctl-plus, unless there is some other way to prove it works?
I don't see any similar tests right now, and I'm not sure how it could be tested. It's just a model definition, and any APIs to interact with the model will exist in fidesctl-plus, so there's no logic to test. I would expect tests against the DB interactions to come with the code changes on a PR to address https://github.com/ethyca/fidesctl-plus/issues/195. |
Understood, still feels off not being able to test it at all, but I suppose the repo relationship is a bit wonky as it is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
75db992
to
c04e742
Compare
* Add a migration to create a `plus_system_scans` table * Annotate the `plus_system_scans` table * Update `CHANGELOG.md` * Add the `SystemScans` SQL model * Trigger CI after rebase * Fix broken link * Fix incorrectly sorted imports
* Add a migration to create a `plus_system_scans` table * Annotate the `plus_system_scans` table * Update `CHANGELOG.md` * Add the `SystemScans` SQL model * Trigger CI after rebase * Update `CHANGELOG.md` for patch release 1.9.5 * Add a `plus_system_scans` table to the database (#1554) * Add a migration to create a `plus_system_scans` table * Annotate the `plus_system_scans` table * Update `CHANGELOG.md` * Add the `SystemScans` SQL model * Trigger CI after rebase * Fix broken link * Fix incorrectly sorted imports
* fix parsing when the manifest dir is empty * allow the CLI to run without git * ui/dataset: Only reset collection index on actual dataset update * Add a `plus_system_scans` table to the database (#1554) * Add a migration to create a `plus_system_scans` table * Annotate the `plus_system_scans` table * Update `CHANGELOG.md` * Add the `SystemScans` SQL model * Trigger CI after rebase * Fix broken link * Fix incorrectly sorted imports * Remove extra added lines Co-authored-by: Thomas <[email protected]> Co-authored-by: Sebastian Sangervasi <[email protected]>
* fix parsing when the manifest dir is empty * allow the CLI to run without git * ui/dataset: Only reset collection index on actual dataset update * Add a `plus_system_scans` table to the database (#1554) * Add a migration to create a `plus_system_scans` table * Annotate the `plus_system_scans` table * Update `CHANGELOG.md` * Add the `SystemScans` SQL model * Trigger CI after rebase * Fix broken link * Fix incorrectly sorted imports * Update `CHANGELOG.md` for patch release 1.9.5 (#1582) * Add a migration to create a `plus_system_scans` table * Annotate the `plus_system_scans` table * Update `CHANGELOG.md` * Add the `SystemScans` SQL model * Trigger CI after rebase * Update `CHANGELOG.md` for patch release 1.9.5 * Add a `plus_system_scans` table to the database (#1554) * Add a migration to create a `plus_system_scans` table * Annotate the `plus_system_scans` table * Update `CHANGELOG.md` * Add the `SystemScans` SQL model * Trigger CI after rebase * Fix broken link * Fix incorrectly sorted imports * Show systems without privacy declarations on data map (#1603) * add failing test for system sans privacy declaration * handle systems without privacy declarations * changelog * [skip ci] Update tests/ctl/core/test_export.py Co-authored-by: Allison King <[email protected]> * improve naming, add comment for final column n/a Co-authored-by: Allison King <[email protected]> Co-authored-by: Sebastian Sangervasi <[email protected]> Co-authored-by: Phil Salant <[email protected]> Co-authored-by: Steve Murphy <[email protected]> Co-authored-by: Allison King <[email protected]>
Closes #1396
Code Changes
plus_system_scans
table to the databaseSystemScans
SQL modelSteps to Confirm
plus_system_scans
is includedPre-Merge Checklist
CHANGELOG.md
Description Of Changes
Adds the
plus_system_scans
relation to the fides database, and a correspondingSystemScans
model. Any associated APIs will be added in fidesctl-plus, as a part of ethyca/fidesctl-plus#195.