I believe this must be the first time we've used this script in a local development context since the recent PR #1445 which broke the local testing mechanism. This PR restores that functionality.
Testing
Fire up your local database
Drop in a test extract from CRIS into atd-etl/cris_import/development_extracts. PM me, I'll wormhole you one if you'd like.
cd into atd-etl/cris_import
Ensure you have a env filled out with the 1PW trio (OP_API_TOKEN, OP_CONNECT, and OP_VAULT_ID). The new server's hostname is https://coa.1password.austinmobility.io.
docker compose run cris-import
Did the import run successfully?
Post Merge
Remove the following entries:
Vision Zero CRIS Import.Common.SFTP Endpoint
Vision Zero CRIS Import.{DEPLOYMENT_ENVIRONMENT}.S3 Archive Bucket Name
Vision Zero CRIS Import.{DEPLOYMENT_ENVIRONMENT}.S3 Archive Path
Associated issues
This PR is part of the solution for https://github.com/cityofaustin/atd-data-tech/issues/17321.
Additional Changes
I believe this must be the first time we've used this script in a local development context since the recent PR #1445 which broke the local testing mechanism. This PR restores that functionality.
Testing
atd-etl/cris_import/development_extracts
. PM me, I'll wormhole you one if you'd like.cd
intoatd-etl/cris_import
env
filled out with the 1PW trio (OP_API_TOKEN
,OP_CONNECT
, andOP_VAULT_ID
). The new server's hostname ishttps://coa.1password.austinmobility.io
.docker compose run cris-import
Post Merge
Vision Zero CRIS Import.Common.SFTP Endpoint
Vision Zero CRIS Import.{DEPLOYMENT_ENVIRONMENT}.S3 Archive Bucket Name
Vision Zero CRIS Import.{DEPLOYMENT_ENVIRONMENT}.S3 Archive Path
Ship list