From 432ae7e50745bd43e359f7229dcd2c6d6832e5cc Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Wed, 23 Jul 2025 00:14:56 +0200 Subject: [PATCH] Reintroduce RestTemplateConfig --- .../common/rest/RestTemplateConfig.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 backend/common/src/main/java/dev/rheinsw/common/rest/RestTemplateConfig.java diff --git a/backend/common/src/main/java/dev/rheinsw/common/rest/RestTemplateConfig.java b/backend/common/src/main/java/dev/rheinsw/common/rest/RestTemplateConfig.java new file mode 100644 index 0000000..806cee8 --- /dev/null +++ b/backend/common/src/main/java/dev/rheinsw/common/rest/RestTemplateConfig.java @@ -0,0 +1,20 @@ +package dev.rheinsw.common.rest; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.web.client.RestTemplate; + +/** + * @author Thatsaphorn Atchariyaphap + * @since 23.07.25 + */ +@Configuration +public class RestTemplateConfig { + + @Bean + public RestTemplate plainRestTemplate() { + return new RestTemplate(); + } + +} +