From 1ce5761ca8b67b636d65d7ff99a8c9f68bbf7e98 Mon Sep 17 00:00:00 2001 From: Camelia Dumitru Date: Fri, 25 Oct 2024 15:36:19 +0100 Subject: [PATCH] Added the properties for test file --- .../main/resources/properties/test-scheduler.properties | 8 ++++++++ properties/development.properties | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/orcid-test/src/main/resources/properties/test-scheduler.properties b/orcid-test/src/main/resources/properties/test-scheduler.properties index f1d0663669..796e8862ba 100644 --- a/orcid-test/src/main/resources/properties/test-scheduler.properties +++ b/orcid-test/src/main/resources/properties/test-scheduler.properties @@ -54,3 +54,11 @@ org.orcid.core.utils.panoply.idleConnectionTimeout=3600 org.orcid.core.utils.panoply.connectionTimeout=36000 org.orcid.core.utils.panoply.jdbcUrl=xxx org.orcid.core.utils.panoply.username=xxx + +#Slack channel for papi limits +org.orcid.core.papiLimitReport.slackChannel=xxx +org.orcid.core.papiLimitReport.webhookUrl=xxx +rate.limit.anonymous.requests=1 +rate.limit.known.requests=2 +rate.limit.enabled=true +org.orcid.scheduler.papiLimitReport.process=0 18 15 * * * \ No newline at end of file diff --git a/properties/development.properties b/properties/development.properties index 8b1b9fc69c..a71f94da4f 100644 --- a/properties/development.properties +++ b/properties/development.properties @@ -273,8 +273,8 @@ org.orcid.core.utils.panoply.username=xxx #Slack channel for papi limits org.orcid.core.papiLimitReport.slackChannel=system-alerts-qa -org.orcid.core.papiLimitReport.webhookUrl=https://hooks.slack.com/services/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 +org.orcid.core.papiLimitReport.webhookUrl=xxx rate.limit.anonymous.requests=1 rate.limit.known.requests=2 rate.limit.enabled=true -org.orcid.scheduler.papiLimitReport.process=0 35 14 * * * \ No newline at end of file +org.orcid.scheduler.papiLimitReport.process=0 18 15 * * * \ No newline at end of file