Skip to content
Snippets Groups Projects
Commit 12f383b9 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

#5 send: Conditionally enable FacadeService

parent 0315fb99
No related branches found
No related tags found
1 merge request!5Resolve "Senden von Nachrichten"
Pipeline #1353 passed
...@@ -2,6 +2,7 @@ package de.ozgcloud.nachrichten.postfach.osiv2.transfer; ...@@ -2,6 +2,7 @@ package de.ozgcloud.nachrichten.postfach.osiv2.transfer;
import java.util.stream.Stream; import java.util.stream.Stream;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import de.ozgcloud.nachrichten.postfach.PostfachNachricht; import de.ozgcloud.nachrichten.postfach.PostfachNachricht;
...@@ -10,6 +11,7 @@ import lombok.extern.log4j.Log4j2; ...@@ -10,6 +11,7 @@ import lombok.extern.log4j.Log4j2;
@Log4j2 @Log4j2
@Service @Service
@ConditionalOnProperty("ozgcloud.osiv2-postfach.enabled")
public record PostfachApiFacadeService( public record PostfachApiFacadeService(
MessageExchangeApi messageExchangeApi, MessageExchangeApi messageExchangeApi,
RequestMapper requestMapper, RequestMapper requestMapper,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment