From 551c4acef5ec99ecd9a8290d1033c7cee1f17e57 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Wed, 24 May 2023 14:49:29 +0300 Subject: [PATCH] Fix property naming missmatch. --- .../eu/openaire/urls_controller/components/BulkImport.java | 2 +- src/main/resources/application.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/openaire/urls_controller/components/BulkImport.java b/src/main/java/eu/openaire/urls_controller/components/BulkImport.java index 7b4f4c2..1d6e5ea 100644 --- a/src/main/java/eu/openaire/urls_controller/components/BulkImport.java +++ b/src/main/java/eu/openaire/urls_controller/components/BulkImport.java @@ -7,7 +7,7 @@ import org.springframework.stereotype.Component; import java.util.Map; @Component -@ConfigurationProperties(prefix = "bulkimport") +@ConfigurationProperties(prefix = "bulk-import") public class BulkImport { private String baseBulkImportLocation; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 13337cd..4279d4a 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -19,7 +19,7 @@ services: assignmentLimit: 10000 maxAttemptsPerRecord: 3 - baseFilesLocation: tmp/ + baseFilesLocation: /tmp/ workerReportsDirPath: /reports/workerReports/ parquetLocalDirectoryPath: ${services.pdfaggregation.controller.baseFilesLocation}parquetFiles/ s3: @@ -32,7 +32,7 @@ services: shouldShowAllS3Buckets: true -bulkImport: +bulk-import: baseBulkImportLocation: /mnt/bulk_import/ bulkImportReportLocation: /reports/bulkImportReports/ bulkImportSources: # These sources are accepted for bulk-import requests and are excluded from crawling.