-
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
Google Cloud SQL MySQL Connector #4949
Merged
andres-torres-marroquin
merged 52 commits into
main
from
PROD-2084-Google-Cloud-SQL-Integration-DSRs
Jun 19, 2024
Merged
Changes from 39 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
7785f1e
Some steps forward integration Google Cloud SQL
andres-torres-marroquin 4e59a66
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin d52fb51
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin e0d0101
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin 40c0168
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin de71c40
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin b745c69
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin 3f3fa9a
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin 4e71a1c
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin 0dc27df
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin 6979b27
Updates Google Cloud SQL MySQL Integration
andres-torres-marroquin 2109ed3
Update noxfiles/setup_tests_nox.py
andres-torres-marroquin f19cfe8
Update src/fides/api/service/connectors/sql_connector.py
andres-torres-marroquin 60bd835
QA
andres-torres-marroquin 67fe4ea
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin 7de7c14
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin ab5c6a1
QA
andres-torres-marroquin 54aa62f
QA
andres-torres-marroquin b7bdc8e
QA
andres-torres-marroquin f856d1c
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin a24cad9
QA
andres-torres-marroquin 73530c8
QA
andres-torres-marroquin 77a8b4f
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin 6c16fdc
QA
andres-torres-marroquin 3c0e61b
QA
andres-torres-marroquin ca5943a
QA
andres-torres-marroquin 04110cc
QA
andres-torres-marroquin 0fb4f91
QA
andres-torres-marroquin 09c0a7a
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin 1c2a3c9
QA
andres-torres-marroquin cb46034
QA
andres-torres-marroquin 7f3bc61
QA
andres-torres-marroquin da682bf
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
galvana b59ee98
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
galvana e6ba1a3
Adding icon for Google Cloud SQL
galvana 4a5f3d4
Adding last test for GCP on the request runner
andres-torres-marroquin a9fec2a
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
andres-torres-marroquin 286afac
QA
andres-torres-marroquin f99cf3f
Last bits of QA
andres-torres-marroquin b0392a3
Update data/dataset/google_cloud_sql_mysql_example_test_dataset.yml
andres-torres-marroquin e62fcab
Last bits of QA
andres-torres-marroquin 5458b89
Update noxfiles/setup_tests_nox.py
andres-torres-marroquin 58f188c
Update noxfiles/setup_tests_nox.py
andres-torres-marroquin ace74df
QA
andres-torres-marroquin 4b0cce9
QA
andres-torres-marroquin bfb908a
Typo fix
galvana fb5f3ca
QA
andres-torres-marroquin 347dad0
Adding missing env variables for external tests
galvana 659f0cc
Fixing test markers
galvana 00d36bf
Adding missing imports
galvana 8e87792
Removing Google Cloud SQL tests from Safe-Tests and fixing dataset
galvana 43bea8e
Merge branch 'main' into PROD-2084-Google-Cloud-SQL-Integration-DSRs
galvana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
clients/admin-ui/public/images/connector-logos/google_cloud_sql.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
210 changes: 210 additions & 0 deletions
210
data/dataset/google_cloud_sql_mysql_example_test_dataset.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,210 @@ | ||
dataset: | ||
- fides_key: mysql_example_test_dataset | ||
name: MySQL Example Test Dataset | ||
description: Example of a MySQL dataset containing a variety of related tables like customers, products, addresses, etc. | ||
andres-torres-marroquin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
collections: | ||
- name: address | ||
fields: | ||
- name: city | ||
data_categories: [user.contact.address.city] | ||
- name: house | ||
data_categories: [user.contact.address.street] | ||
- name: id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
primary_key: True | ||
- name: state | ||
data_categories: [user.contact.address.state] | ||
- name: street | ||
data_categories: [user.contact.address.street] | ||
- name: zip | ||
data_categories: [user.contact.address.postal_code] | ||
|
||
- name: customer | ||
fields: | ||
- name: address_id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: address.id | ||
direction: to | ||
- name: created | ||
data_categories: [system.operations] | ||
- name: email | ||
data_categories: [user.contact.email] | ||
fides_meta: | ||
identity: email | ||
data_type: string | ||
- name: id | ||
data_categories: [user.unique_id] | ||
fides_meta: | ||
primary_key: True | ||
- name: name | ||
data_categories: [user.name] | ||
|
||
- name: employee | ||
fields: | ||
- name: address_id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: address.id | ||
direction: to | ||
- name: email | ||
data_categories: [user.contact.email] | ||
fides_meta: | ||
identity: email | ||
data_type: string | ||
- name: id | ||
data_categories: [user.unique_id] | ||
fides_meta: | ||
primary_key: True | ||
- name: name | ||
data_categories: [user.name] | ||
|
||
- name: login | ||
fields: | ||
- name: customer_id | ||
data_categories: [user.unique_id] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: customer.id | ||
direction: from | ||
- name: id | ||
data_categories: [system.operations] | ||
- name: time | ||
data_categories: [user.sensor] | ||
|
||
- name: orders | ||
fields: | ||
- name: customer_id | ||
data_categories: [user.unique_id] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: customer.id | ||
direction: from | ||
- name: id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
primary_key: True | ||
- name: shipping_address_id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: address.id | ||
direction: to | ||
|
||
# order_item | ||
- name: order_item | ||
fields: | ||
- name: order_id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: orders.id | ||
direction: from | ||
- name: product_id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: product.id | ||
direction: to | ||
- name: quantity | ||
data_categories: [system.operations] | ||
|
||
- name: payment_card | ||
fields: | ||
- name: billing_address_id | ||
data_categories: [system.operations] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: address.id | ||
direction: to | ||
- name: ccn | ||
data_categories: [user.financial.bank_account] | ||
- name: code | ||
data_categories: [user.financial] | ||
- name: customer_id | ||
data_categories: [user.unique_id] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: customer.id | ||
direction: from | ||
- name: id | ||
data_categories: [system.operations] | ||
- name: name | ||
data_categories: [user.financial] | ||
- name: preferred | ||
data_categories: [user] | ||
|
||
- name: product | ||
fields: | ||
- name: id | ||
data_categories: [system.operations] | ||
- name: name | ||
data_categories: [system.operations] | ||
- name: price | ||
data_categories: [system.operations] | ||
|
||
- name: report | ||
fields: | ||
- name: email | ||
data_categories: [user.contact.email] | ||
fides_meta: | ||
identity: email | ||
data_type: string | ||
- name: id | ||
data_categories: [system.operations] | ||
- name: month | ||
data_categories: [system.operations] | ||
- name: name | ||
data_categories: [system.operations] | ||
- name: total_visits | ||
data_categories: [system.operations] | ||
- name: year | ||
data_categories: [system.operations] | ||
|
||
- name: service_request | ||
fields: | ||
- name: alt_email | ||
data_categories: [user.contact.email] | ||
fides_meta: | ||
identity: email | ||
data_type: string | ||
- name: closed | ||
data_categories: [system.operations] | ||
- name: email | ||
data_categories: [system.operations] | ||
fides_meta: | ||
identity: email | ||
data_type: string | ||
- name: employee_id | ||
data_categories: [user.unique_id] | ||
fides_meta: | ||
references: | ||
- dataset: mysql_example_test_dataset | ||
field: employee.id | ||
direction: from | ||
- name: id | ||
data_categories: [system.operations] | ||
- name: opened | ||
data_categories: [system.operations] | ||
|
||
- name: visit | ||
fields: | ||
- name: email | ||
data_categories: [user.contact.email] | ||
fides_meta: | ||
identity: email | ||
data_type: string | ||
- name: last_visit | ||
data_categories: [system.operations] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 for sorting these values