-
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
ScyllaDB Connector #4946
ScyllaDB Connector #4946
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 1 Ignored Deployment
|
Passing run #8300 βοΈ
Details:
Review all test suite changes for PR #4946 βοΈ |
- Still using default username/password. - Update replication_factor to 3 instead of 1 for example keyspaces - Increase number of vendor records in example data - Bump downrev - Make keyspace optional for Integration - Throw some more specific errors when testing the scylla connection around keyspace issues and password issues.
β¦s in the docker entrypoint directory. - Write tests for scylla connector > test connection
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4946 +/- ##
==========================================
- Coverage 86.82% 86.59% -0.24%
==========================================
Files 346 348 +2
Lines 21481 21611 +130
Branches 2843 2867 +24
==========================================
+ Hits 18650 18713 +63
- Misses 2328 2394 +66
- Partials 503 504 +1 β View full report in Codecov by Sentry. |
src/fides/api/alembic/migrations/versions/3304082a6cee_scylla_connection_type.py
Show resolved
Hide resolved
src/fides/api/schemas/connection_configuration/connection_secrets_scylla.py
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.
@pattisdr this side all looks solid to me! very thorough, nice job with everything.
as you said, let's just keep an eye on merge conflicts since we've got similar codepaths being updated from a few spots - thanks for calling that out π
src/fides/api/alembic/migrations/versions/3304082a6cee_scylla_connection_type.py
Show resolved
Hide resolved
src/fides/api/schemas/connection_configuration/connection_secrets_scylla.py
Show resolved
Hide resolved
request_task: RequestTask, | ||
input_data: Dict[str, List[Any]], | ||
) -> List[Row]: | ||
"""Retrieve scylla data - not yet implemented""" |
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.
nit: worth raising a NotImplementedError
here? that always feels like the most proper thing, just to make it transparent to anyone who somehow hits the codepath at runtime without reading the codebase, but maybe i'm overthinking it :)
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.
now i'm wondering whether raising the error may unexpectedly impact other DSR workflows and i shouldn't be doing 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.
If there are datasets for the connection config this could get picked up in a DSR I believe!
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.
yep confirmed a NotImplementedError will break DSR's if a dataset is also attached to the ConnectionConfig .
Passing run #8304 βοΈ
Details:
Review all test suite changes for PR #4946 βοΈ |
Closes #PROD-2148
β Contains connection type migration. Bump downrev before merge.
π Supports https://github.com/ethyca/fidesplus/pull/1447
Description Of Changes
Adds the infrastructure to run a local scylla db instance in Docker, and a simple integration to connect to it. Access and erasure requests are not yet supported for scylla. This first step is just supporting scylla detection and discovery in Fidesplus.
Code Changes
scylla-driver
Steps to Confirm
nox -s dev -- shell scylladb
turbo run dev
scylla_user
,scylla_pass
Pre-Merge Checklist
CHANGELOG.md
main
downgrade()
migration is correct and works