From 19cf7daee5e9e925b70ea56d4699e40c66f3c14d Mon Sep 17 00:00:00 2001 From: utas-raymondng Date: Mon, 22 Apr 2024 14:24:11 +1000 Subject: [PATCH] rename config parameter for appDeploy --- .../au/org/aodn/esindexer/utils/CacheArdcVocabsUtils.java | 2 +- indexer/src/main/resources/application.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/indexer/src/main/java/au/org/aodn/esindexer/utils/CacheArdcVocabsUtils.java b/indexer/src/main/java/au/org/aodn/esindexer/utils/CacheArdcVocabsUtils.java index 5c5aa111..ac542813 100644 --- a/indexer/src/main/java/au/org/aodn/esindexer/utils/CacheArdcVocabsUtils.java +++ b/indexer/src/main/java/au/org/aodn/esindexer/utils/CacheArdcVocabsUtils.java @@ -49,7 +49,7 @@ public class CacheArdcVocabsUtils { @Autowired ElasticsearchClient portalElasticsearchClient; - @Value("${elasticsearch.categories-index.name}") + @Value("${elasticsearch.index.categories.name}") String categoriesIndexName; @Autowired diff --git a/indexer/src/main/resources/application.yaml b/indexer/src/main/resources/application.yaml index bba7a8fb..011fdabc 100644 --- a/indexer/src/main/resources/application.yaml +++ b/indexer/src/main/resources/application.yaml @@ -35,8 +35,8 @@ management: elasticsearch: index: name: portal_records - categories-index: - name: discovery_category + categories: + name: discovery_category geonetwork: host: http://localhost:8080