From ef6e68b5b4dd1190d2b63f5414220e031d4fa37f Mon Sep 17 00:00:00 2001
From: Pavel Vetokhin
Date: Sat, 14 Oct 2023 13:35:13 +0300
Subject: [PATCH] Default property source
---
.../java/smecalculus/bezmen/construction/ValidationBeans.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libs/essentials/src/main/java/smecalculus/bezmen/construction/ValidationBeans.java b/libs/essentials/src/main/java/smecalculus/bezmen/construction/ValidationBeans.java
index 120c3775..7ec0dd19 100644
--- a/libs/essentials/src/main/java/smecalculus/bezmen/construction/ValidationBeans.java
+++ b/libs/essentials/src/main/java/smecalculus/bezmen/construction/ValidationBeans.java
@@ -8,6 +8,7 @@
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.PropertySource;
import smecalculus.bezmen.configuration.PropsKeeper;
import smecalculus.bezmen.configuration.ValidationProps;
import smecalculus.bezmen.configuration.ValidationPropsEdge;
@@ -16,6 +17,7 @@
import smecalculus.bezmen.validation.ValidationPropsMapper;
import smecalculus.bezmen.validation.ValidationPropsMapperImpl;
+@PropertySource("classpath:validation.properties")
@Configuration(proxyBeanMethods = false)
public class ValidationBeans {