From 919059348eec063ef1656106bde8cc7ccefeb307 Mon Sep 17 00:00:00 2001 From: lchen-2101 <73617864+lchen-2101@users.noreply.github.com> Date: Tue, 14 Jun 2022 14:11:37 -0400 Subject: [PATCH] remove unnecessary configs --- .../src/main/resources/application.conf | 74 ------------------- 1 file changed, 74 deletions(-) diff --git a/hmda-quarterly-data-service/src/main/resources/application.conf b/hmda-quarterly-data-service/src/main/resources/application.conf index f39a02d5b2..1c083bc980 100644 --- a/hmda-quarterly-data-service/src/main/resources/application.conf +++ b/hmda-quarterly-data-service/src/main/resources/application.conf @@ -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 } \ No newline at end of file