-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to read from json environment
Updating to be able to save results to /tmp (configurable)
- Loading branch information
Showing
6 changed files
with
49 additions
and
53 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,2 @@ | ||
# Fill in your values for user, dbname and password! | ||
DSN_ucdm=dbname=entity_store host=192.168.0.1 user=user_readonly password=user_password connect_timeout=5 | ||
DSN_udw=dbname=entity_store host=192.168.0.1 user=user_readonly password=user_password connect_timeout=5 | ||
# This is the date on your SIS files. This is filledi n the {date} in the 'sis_file' value in dbqueries.py | ||
SIS_DATE=2018-09-03 | ||
#Select tables to read from | ||
SELECT_TABLES=person | ||
# Test this with python -m smtpd -n -c DebuggingServer localhost:1025 | ||
#Host name of SMTP to send mail | ||
SMTP_HOST=localhost | ||
#Port for SMTP | ||
SMTP_PORT=1025 | ||
#From address of SMTP for mail | ||
SMTP_FROM= | ||
#To address of SMTP for mail | ||
SMTP_TO= | ||
# The schedule for crontab | ||
CRONTAB_SCHEDULE=* * * * * | ||
# Location to env.json file | ||
ENV_FILE=/unizin-csv-validation/env.json |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.csv | ||
.env | ||
env.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"/* Fill in your values for user, dbname and password!": "*/", | ||
"DSN_ucdm": "dbname=entity_store host=192.168.0.1 user=user_readonly password=user_password connect_timeout=5", | ||
"DSN_udw": "dbname=entity_store host=192.168.0.1 user=user_readonly password=user_password connect_timeout=5", | ||
"/* This is the date on your SIS files. This is filledi n the {date} in the 'sis_file' value in dbqueries.py": "*/", | ||
"SIS_DATE": "2018-09-03", | ||
"/* Select tables to read from": "*/", | ||
"SELECT_TABLES": "person", | ||
"/* Test this with python -m smtpd -n -c DebuggingServer localhost:1025": "*/", | ||
"/* Host name of SMTP to send mail": "*/", | ||
"SMTP_HOST": "localhost", | ||
"/* Port for SMTP": "*/", | ||
"SMTP_PORT": 1025, | ||
"/* From address of SMTP for mail": "*/", | ||
"SMTP_FROM": "", | ||
"/* To address of SMTP for mail": "*/", | ||
"SMTP_TO": "" | ||
} |
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