From 6033721307b7f2a5ad517e51853843f007026ccc Mon Sep 17 00:00:00 2001 From: Ryan Amari Date: Mon, 9 Sep 2024 15:28:15 -0400 Subject: [PATCH 1/2] ALS-7242: Create per-environment spring profile for BDC --- ....properties => application-bdc-auth-dev.properties} | 0 .../resources/application-bdc-auth-prod.properties | 10 ++++++++++ 2 files changed, 10 insertions(+) rename service/src/main/resources/{application-bdc-auth.properties => application-bdc-auth-dev.properties} (100%) create mode 100644 service/src/main/resources/application-bdc-auth-prod.properties diff --git a/service/src/main/resources/application-bdc-auth.properties b/service/src/main/resources/application-bdc-auth-dev.properties similarity index 100% rename from service/src/main/resources/application-bdc-auth.properties rename to service/src/main/resources/application-bdc-auth-dev.properties diff --git a/service/src/main/resources/application-bdc-auth-prod.properties b/service/src/main/resources/application-bdc-auth-prod.properties new file mode 100644 index 00000000..824537c6 --- /dev/null +++ b/service/src/main/resources/application-bdc-auth-prod.properties @@ -0,0 +1,10 @@ +SMALL_JOB_LIMIT = 100 +SMALL_TASK_THREADS = 1 +LARGE_TASK_THREADS = 1 + +hpds.genomicProcessor.impl=localPatientDistributed +HPDS_GENOMIC_DATA_DIRECTORY=/opt/local/hpds/all/ + +data-export.s3.bucket-name=pic-sure-auth-prod-data-export +data-export.s3.region=us-east-1 +data-export.s3.signedUrl-expiry-minutes=30 \ No newline at end of file From 87d553aa653f8cf81a62bb51227e3078ec062b9e Mon Sep 17 00:00:00 2001 From: Ryan Amari Date: Tue, 10 Sep 2024 10:55:06 -0400 Subject: [PATCH 2/2] ALS-7242: Fix signed url ttl --- service/src/main/resources/application-bdc-auth-dev.properties | 2 +- service/src/main/resources/application-bdc-auth-prod.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/main/resources/application-bdc-auth-dev.properties b/service/src/main/resources/application-bdc-auth-dev.properties index 272b84ec..7b9dce89 100644 --- a/service/src/main/resources/application-bdc-auth-dev.properties +++ b/service/src/main/resources/application-bdc-auth-dev.properties @@ -7,4 +7,4 @@ HPDS_GENOMIC_DATA_DIRECTORY=/opt/local/hpds/all/ data-export.s3.bucket-name=pic-sure-auth-dev-data-export data-export.s3.region=us-east-1 -data-export.s3.signedUrl-expiry-minutes=30 \ No newline at end of file +data-export.s3.signedUrl-expiry-minutes=60 \ No newline at end of file diff --git a/service/src/main/resources/application-bdc-auth-prod.properties b/service/src/main/resources/application-bdc-auth-prod.properties index 824537c6..a63bc6e3 100644 --- a/service/src/main/resources/application-bdc-auth-prod.properties +++ b/service/src/main/resources/application-bdc-auth-prod.properties @@ -7,4 +7,4 @@ HPDS_GENOMIC_DATA_DIRECTORY=/opt/local/hpds/all/ data-export.s3.bucket-name=pic-sure-auth-prod-data-export data-export.s3.region=us-east-1 -data-export.s3.signedUrl-expiry-minutes=30 \ No newline at end of file +data-export.s3.signedUrl-expiry-minutes=60 \ No newline at end of file