-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
@conceptualshark would appreciate a look-see here as there might be some docs cleanup from the fideslang upgrade changes. Shouldn't be quite as much as on fidesctl but more than I trust myself to handle! |
@pattisdr it looks like you were the one who wrote the tests that are failing now, it looks like |
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.
Docs look covered - thank you! 👍
side note: I'm kind of surprised that this doesn't require a database migration given the additional fields for datasets but 🤷 |
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.
Understand this is still in draft, just did a quick skim while I was in here looking at the side effects of removing derived/provided categories. Will test more thoroughly when it's ready for review.
|
||
### Step Three: Run a Privacy Request to Access Data | ||
|
||
Finally, you can issue a Privacy Request using Policy `example_request_policy` across your test databases for `jane@example.com`. | ||
The following response will be uploaded to a local folder (for demo purposes). We've collected identifiable user-provided | ||
The following response will be uploaded to a local folder (for demo purposes). We've collected identifiable user | ||
information for Jane across tables in both the postgres and mongo databases. | ||
|
||
```json |
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.
I'd run the quickstart make quickstart
and make sure the response body in the readme is updated to match the quickstart response. I assume you'll have more id
-like variables.
src/fidesops/migrations/versions/55d61eb8ed12_add_default_policies.py
Outdated
Show resolved
Hide resolved
… changed, and policy has changed, so more fields are returned.
…/ethyca/fidesops into ThomasLaPiana-bump-fideslang-110
src/fidesops/migrations/versions/7abe778b7082_update_fideslang_data_categories.py
Outdated
Show resolved
Hide resolved
sessionlocal = get_db_session(config) | ||
with sessionlocal() as session: | ||
try: | ||
datasets = DatasetConfig.all(db=session) |
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.
Something I've found really useful with (potentially) large data migrations in the past is some sense of a progress indicator via logging. Now we've fetched the entire dataset it'd be good to log the count here, and current iteration below (or maybe every x
to avoid spamming the logs).
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.
Because of the recursion it could be tricky to give an accurate count. The only length we will know is the top level, but we won't know how deep each level goes. Thoughts on how to handle that?
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.
Great point. I don't have a good solution for that. As long as the user gets some input, anything is better than nothing.
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.
I added some more logging. How helpful it will be is going to depend on how deep vs how wide things are. See if you think it will be good enough.
src/fidesops/migrations/versions/7abe778b7082_update_fideslang_data_categories.py
Outdated
Show resolved
Hide resolved
src/fidesops/migrations/versions/7abe778b7082_update_fideslang_data_categories.py
Outdated
Show resolved
Hide resolved
marked all |
It looks like the migration order got messed up, will fix |
seems like a legit failure @sanders41 but I can't tell for sure |
The hubspot tests have been failing on and off. There is an open issue on this #992. Seeing if a restart passes. |
@adamsachs or @galvana does this looks like a real issue or is it a random hubspot failure? |
The failing tests for Hubspot are not caused by this change. There is a second round of work being done right now for Hubspot where we'll address the intermittent test failures. |
going to fix the merge conflicts and send for a final (final final final) review :D |
@seanpreston the rebase is done and the only failing test is the hubspot one so we are ready for final review now. |
@sanders41 ty ty 💯 |
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.
Thanks folks!
* Bump fideslang to 1.1.0 * find/replace user.provided.identifiable -> user * remove derived mentions * don't remove volumes on teardown * update address fields * replace user.derived and user.provided -> user * fix two more tests * fix pylint errors * fix integration tests * fix failing mongo tasks * update the changelog * fix the failing mongo task test * another mongo task fix * more mongo task fixes * Revert test back to two addresses being masked. * Update mongo array access test to reflect that underlying dataset has changed, and policy has changed, so more fields are returned. * add the noxfiles * update the dockerfile and get the nox docker commands working * Revert "update the dockerfile and get the nox docker commands working" This reverts commit 4b98c62. * remove noxfiles * updates from comments * Update test * Add migration * Update categories in test config files * Fix data categories * Fix more data categories * Change user.provided.nonidentifiable to user * Update migraiton with review suggestions * Run black * Add more logging to migration * Increment counter * fix migration conflict Co-authored-by: Dawn Pattison <pattisdr@users.noreply.github.com> Co-authored-by: Paul Sanders <pau@ethyca.com>
Purpose
Bump fideslang to version 1.1.0
Changes
requirements.txt
identifiable
,nonidentifiable
,derived
andprovided
sub levels (they all just becomeuser
Checklist
CHANGELOG.md
fileCHANGELOG.md
file is being appended toUnreleased
section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before mergingRun Unsafe PR Checks
label has been applied, and checks have passed, if this PR touches any external servicesTicket
Fixes #757