bdit_data-sources icon indicating copy to clipboard operation
bdit_data-sources copied to clipboard

Road Restrictions - Set up Airflow job to download RR from CarteDBA into RDS

Open aharpalaniTO opened this issue 4 years ago • 3 comments

Road restrictions are available here: ROAD_DBA.RR_XML_IN in the Oracle database CARTEDBA (internal Oracle DB located at 703 DM).

The timestamps are in some modified UNIX format, where you have to divide the number by 1000 before using the TO_TIMESTAMP function in Postgres

The first character in ID determines if it is a:
R = road restriction (planned)
I = incident

aharpalaniTO avatar Nov 20 '20 16:11 aharpalaniTO

Airflow won't work because the EC2 can't access resources on the corporate network.

Would have to schedule using the Terminal Server

radumas avatar Nov 20 '20 16:11 radumas

Yeah I was thinking once we've moved to Canada East we could mimic what MOVE does

aharpalaniTO avatar Nov 20 '20 16:11 aharpalaniTO

oh like down the road. sorry nvm byeeeeeee

radumas avatar Nov 20 '20 16:11 radumas