Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary configs #4471

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 0 additions & 74 deletions hmda-quarterly-data-service/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,78 +8,4 @@ server {
port: 8060
port: ${?BIND_PORT}
}

ask-timeout: 10

s3 {
environment = "dev"
environment = ${?AWS_ENVIRONMENT}
public-bucket = "cfpb-hmda-public"
public-bucket = ${?S3_PUBLIC_BUCKET}
url = "https://"${server.s3.public-bucket}".s3.amazonaws.com"
url = ${?S3_URL}
routes {
filtered-queries {
2017 = "data-browser/2017/filtered-queries"
2018 = "data-browser/filtered-queries"
2019 = "data-browser/2019/filtered-queries"
2020 = "data-browser/2020/filtered-queries"
}
// this is where s3 files with unique md5 hash strings are saved
}
}
}
// see keys dbconfig and db in common/src/main/resources/reference.conf
// we provide project overrides for development
dbconfig {
host = "127.0.0.1"
host = ${?PG_HOST}

port = 5432
port = ${?PG_PORT}

database = "hmda_user"
database = ${?PG_DATABASE}

table {
2020 = "modifiedlar2020_snapshot"
2020 = ${?DATABROWSER_PG_TABLE_2020}

2019 = "modifiedlar2019_snapshot"
2019 = ${?DATABROWSER_PG_TABLE_2019}

2018 = "modifiedlar2018_snapshot"
2018 = ${?DATABROWSER_PG_TABLE_2018}

2017 = "modifiedlar2017_ultimate"
2017 = ${?DATABROWSER_PG_TABLE_2017}
}

user = "hmda_user"
user = ${?PG_USER}

password = "mysecretpassword"
password = ${?PG_PASSWORD}

ssl = "disable"
ssl = ${?PG_SSL}

additionalConfig="ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory"
additionalConfig=${?PG_ADDCONFIG}
}

redis {
hostname: "localhost"
hostname: ${?REDIS_HOSTNAME}

port: 6379
port: ${?REDIS_PORT}

protocol: redis
protocol: ${?REDIS_PROTOCOL}

password: ""
password: ${?REDIS_PASS}

ttl: 8760 hours
}