Skip to content
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

HJ 181 - Datahub groundwork and UI #5666

Merged
merged 22 commits into from
Jan 15, 2025
Merged

HJ 181 - Datahub groundwork and UI #5666

merged 22 commits into from
Jan 15, 2025

Conversation

andres-torres-marroquin
Copy link
Contributor

@andres-torres-marroquin andres-torres-marroquin commented Jan 13, 2025

Closes #HJ-181

Description Of Changes

Datahub should be in fidesplus

Code Changes

  • Added Data Catalog tab to Integrations UI
  • Added Datahub to the Data Catalog tab
  • Added Data Catalog to the SystemType enum
  • Removed DatahubSchema.frequency, it is going to be added back on the new type of monitor
  • Updated tests to work without DatahubSchema.frequency

Steps to Confirm

  1. Go to About Fides and enable Datahub beta feature.
  2. Go to Integrations / Add Integration, Datahub should be there, and shouldn't be asking for frequency.

Pre-Merge Checklist

  • Issue requirements met
  • All CI pipelines succeeded
  • CHANGELOG.md updated
    • Add a db-migration This indicates that a change includes a database migration label to the entry if your change includes a DB migration
    • Add a high-risk This issue suggests changes that have a high-probability of breaking existing code label to the entry if your change includes a high-risk change (i.e. potential for performance impact or unexpected regression) that should be flagged
  • Followup issues:
    • Followup issues created (include link)
    • No followup issues
  • Database migrations:
    • Ensure that your downrev is up to date with the latest revision on main
    • Ensure that your downgrade() migration is correct and works
      • If a downgrade migration is not possible for this change, please call this out in the PR description!
    • No migrations
  • Documentation:
    • Documentation complete, PR opened in fidesdocs
    • Documentation issue created in fidesdocs
    • If there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
    • No documentation updates required

Copy link

vercel bot commented Jan 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fides-plus-nightly ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 6:58pm

Copy link

cypress bot commented Jan 13, 2025

fides    Run #11781

Run Properties:  status check passed Passed #11781  •  git commit 5d5b2b868d ℹ️: Merge 7631e25e4fa4a8b11a68d56a04a860e1dc73c502 into 39dbc4847cd01219ea84725370a3...
Project fides
Branch Review refs/pull/5666/merge
Run status status check passed Passed #11781
Run duration 00m 50s
Commit git commit 5d5b2b868d ℹ️: Merge 7631e25e4fa4a8b11a68d56a04a860e1dc73c502 into 39dbc4847cd01219ea84725370a3...
Committer Andres Torres
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 4
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 87.13%. Comparing base (31dcf58) to head (10cdca9).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/fides/api/models/connectionconfig.py 72.72% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5666      +/-   ##
==========================================
+ Coverage   84.94%   87.13%   +2.19%     
==========================================
  Files         388      388              
  Lines       24014    24018       +4     
  Branches     2593     2593              
==========================================
+ Hits        20399    20929     +530     
+ Misses       3051     2528     -523     
+ Partials      564      561       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andres-torres-marroquin andres-torres-marroquin changed the title HJ 181 - Datahub should be in fidesplus HJ 181 - Datahub groundwork and UI Jan 14, 2025
@@ -147,7 +147,15 @@ def test_connection_type_human_readable(self):

def test_connection_type_human_readable_invalid(self):
with pytest.raises(ValueError):
ConnectionType("nonmapped_type").human_readable()
ConnectionType("nonmapped_type").human_readable
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

human_readable is a property not a method

@andres-torres-marroquin andres-torres-marroquin merged commit 39ef14b into main Jan 15, 2025
23 checks passed
Copy link

cypress bot commented Jan 15, 2025

fides    Run #11783

Run Properties:  status check passed Passed #11783  •  git commit 39ef14b005: HJ 181 - Datahub groundwork and UI (#5666)
Project fides
Branch Review main
Run status status check passed Passed #11783
Run duration 00m 57s
Commit git commit 39ef14b005: HJ 181 - Datahub groundwork and UI (#5666)
Committer Andres Torres
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 4
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants