Skip to content

Commit

Permalink
Add Anaheim Transportation Network to LittlePay pipeline (#2928)
Browse files Browse the repository at this point in the history
  • Loading branch information
SorenSpicknall authored Aug 29, 2023
1 parent a6889f3 commit 42f78af
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/dags/parse_littlepay/atn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
operator: operators.LittlepayToJSONL
instance: atn
3 changes: 3 additions & 0 deletions airflow/dags/sync_littlepay/atn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
operator: operators.LittlepayRawSync
instance: atn
access_key_secret_name: LITTLEPAY_AWS_IAM_ANAHEIM_TRANSPORTATION_NETWORK_ACCESS_KEY
5 changes: 5 additions & 0 deletions warehouse/models/mart/payments/fct_payments_rides_v2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
filter_value = 'redwood-coast-transit',
principals = ['serviceAccount:[email protected]']
) }}",
" {{ create_row_access_policy(
filter_column = 'participant_id',
filter_value = 'atn',
principals = ['serviceAccount:[email protected]']
) }}",
" {{ create_row_access_policy(
principals = ['serviceAccount:[email protected]',
'serviceAccount:[email protected]',
Expand Down
1 change: 1 addition & 0 deletions warehouse/seeds/payments_gtfs_datasets.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ recGTiyx7VcxcUkRu,humboldt-transit-authority
rec7FygKkATPJZtFR,lake-transit-authority
recxvrgxNkScGIidy,mendocino-transit-authority
recWJJ4dRk4lHXaWX,redwood-coast-transit
recrxmzfLImgBGwUH,atn

0 comments on commit 42f78af

Please sign in to comment.