config.sh.example 1.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#! /bin/bash

# Use this file as an example to create the config.sh file
# WARNING!!!!!!!!!!!!!!!!!!!
# NEVER USE THIS FILE AS CONFIG.SH BECAUSE THIS IS A VERSIONABLE FILE
# ANY CHANGE TO THIS FILE WILL BE UPLOADED TO A REMOTE GIT REPOSITORY
# AND WILL BE PUBLIC.
# ANY SENTIVE INFORMATION IN THIS FILE, LIKE PASSWORDS, WILL BE AVAILABLE
# TO ANY ONE USE. SO NEVER PUT SENSITIVE INFORMATION ON IT, ONLY EXAMPLES.

declare -A QUERY_OPTS
declare -A REPORTS

QUERY_OPTS=(
    [REJECT_INIT_DATE]="2018-05-01"
    [REJECT_END_DATE]="2018-08-01"
    [ACTIVE_INTERVAL]="30"
18 19 20 21
    [TIME_FILTER_INIT]="08:00:00"
    [TIME_FILTER_END]="18:00:00"
    [DATE_FILTER_INIT]="2014-01-01"
    [DATE_FILTER_END]="2018-01-01"
22 23 24 25 26 27 28 29
)

REPORTS=(
#[dc_pirate_exists.sql]="dc_pirate_exists.csv"
#[dc_turned_off.sql]="dc_turned_off.csv"
#[dc_active.sql]="dc_active.csv"
#[dc_pirate_lc.sql]="dc_pirate_lc.csv"
#[gesac_avail_by_code.sql]="gesac_avail_by_code.csv"
30 31 32 33 34 35
#[simmc_index.sql]="simmc_index.csv"
#[city.sql]="city.csv"
#[point.sql]="point.csv"
#[fnu.sql]="fnu.csv"
#[point_geolocation.sql]="point_geolocation.csv"
#[net_usage_percentage.sql]="net_usage_percentage.csv"
36 37 38 39 40
)
POSTGRES_USER="db_user"
POSTGRES_HOST="db_host"
POSTGRES_PORT="5432"
POSTGRES_DB="db_name"