Skip to content

Commit

Permalink
Reverting most of the removal of primary keys + misc files
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed Dec 10, 2024
1 parent fb7e566 commit 647586f
Show file tree
Hide file tree
Showing 32 changed files with 322 additions and 56 deletions.
18 changes: 9 additions & 9 deletions clients/admin-ui/cypress/fixtures/connectors/datasetconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -125,7 +125,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -199,7 +199,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -258,7 +258,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -366,7 +366,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -466,7 +466,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -503,7 +503,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -555,7 +555,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down Expand Up @@ -664,7 +664,7 @@
"fides_meta": {
"references": null,
"identity": null,
"primary_key": null,
"primary_key": true,
"data_type": null,
"length": null,
"return_all_elements": null,
Expand Down
8 changes: 4 additions & 4 deletions data/dataset/bigquery_enterprise_test_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dataset:
fides_meta:
references: null
identity: null
primary_key: null
primary_key: true
data_type: integer
length: null
return_all_elements: null
Expand Down Expand Up @@ -102,7 +102,7 @@ dataset:
fides_meta:
references: null
identity: null
primary_key: null
primary_key: true
data_type: integer
length: null
return_all_elements: null
Expand Down Expand Up @@ -204,7 +204,7 @@ dataset:
fides_meta:
references: null
identity: null
primary_key: null
primary_key: true
data_type: integer
length: null
return_all_elements: null
Expand Down Expand Up @@ -347,7 +347,7 @@ dataset:
fides_meta:
references: null
identity: stackoverflow_user_id
primary_key: null
primary_key: true
data_type: integer
length: null
return_all_elements: null
Expand Down
18 changes: 18 additions & 0 deletions data/dataset/bigquery_example_test_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ dataset:
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
Expand Down Expand Up @@ -51,6 +53,8 @@ dataset:
data_type: string
- name: id
data_categories: [user.unique_id]
fides_meta:
primary_key: True
- name: name
data_categories: [user.name]
fides_meta:
Expand All @@ -76,6 +80,8 @@ dataset:
data_type: string
- name: id
data_categories: [user.unique_id]
fides_meta:
primary_key: True
- name: name
data_categories: [user.name]
fides_meta:
Expand All @@ -92,6 +98,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: time
data_categories: [user.sensor]

Expand All @@ -106,6 +114,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: shipping_address_id
data_categories: [system.operations]
fides_meta:
Expand Down Expand Up @@ -156,6 +166,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: name
data_categories: [user.financial]
- name: preferred
Expand All @@ -165,6 +177,8 @@ dataset:
fields:
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: name
data_categories: [system.operations]
- name: price
Expand All @@ -179,6 +193,8 @@ dataset:
data_type: string
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: month
data_categories: [system.operations]
- name: name
Expand Down Expand Up @@ -211,6 +227,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: opened
data_categories: [system.operations]

Expand Down
7 changes: 7 additions & 0 deletions data/dataset/dynamodb_example_test_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dataset:
- name: email
data_categories: [user.contact.email]
fides_meta:
primary_key: True
identity: email
data_type: string
- name: name
Expand All @@ -32,6 +33,8 @@ dataset:
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
Expand All @@ -56,12 +59,16 @@ dataset:
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:
primary_key: True
- name: login_date
data_categories: [system.operations]
- name: name
Expand Down
6 changes: 6 additions & 0 deletions data/dataset/email_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dataset:
fields:
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: true
- name: customer_id
data_categories: [user]
fides_meta:
Expand All @@ -20,6 +22,8 @@ dataset:
fields:
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: true
- name: first_name
data_categories: [user.childrens]
- name: last_name
Expand Down Expand Up @@ -50,6 +54,8 @@ dataset:
fields:
- name: id
data_categories: [ system.operations ]
fides_meta:
primary_key: true
- name: payer_email
data_categories: [ user.contact.email ]
fides_meta:
Expand Down
18 changes: 18 additions & 0 deletions data/dataset/example_field_masking_override_test_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ dataset:
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
Expand All @@ -36,6 +38,8 @@ dataset:
data_type: string
- name: id
data_categories: [user.unique_id]
fides_meta:
primary_key: True
- name: name
data_categories: [user.name]
fides_meta:
Expand Down Expand Up @@ -86,6 +90,8 @@ dataset:
data_type: string
- name: id
data_categories: [user.unique_id]
fides_meta:
primary_key: True
- name: name
data_categories: [user.name]
fides_meta:
Expand All @@ -102,6 +108,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: time
data_categories: [user.sensor]

Expand All @@ -116,6 +124,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: shipping_address_id
data_categories: [system.operations]
fides_meta:
Expand Down Expand Up @@ -166,6 +176,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: name
data_categories: [user.financial]
- name: preferred
Expand All @@ -175,6 +187,8 @@ dataset:
fields:
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: name
data_categories: [system.operations]
- name: price
Expand All @@ -189,6 +203,8 @@ dataset:
data_type: string
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: month
data_categories: [system.operations]
- name: name
Expand Down Expand Up @@ -221,6 +237,8 @@ dataset:
direction: from
- name: id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: opened
data_categories: [system.operations]
- name: visit
Expand Down
Loading

0 comments on commit 647586f

Please sign in to comment.