Skip to content
Snippets Groups Projects
Commit 7827100a authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'OZG-5681 Versand der Nachricht erfolgt nicht' (#20) from...

Merge pull request 'OZG-5681 Versand der Nachricht erfolgt nicht' (#20) from OZG-5681-Versand-der-Nachricht-erfolgt-nicht into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-lib/api-lib/pulls/20


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents 2e8ec48a 3fa0ce28
Branches
Tags
No related merge requests found
...@@ -12,6 +12,7 @@ import org.springframework.context.ApplicationContext; ...@@ -12,6 +12,7 @@ import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import; import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Primary;
import de.ozgcloud.apilib.alfa.AlfaService; import de.ozgcloud.apilib.alfa.AlfaService;
import de.ozgcloud.apilib.alfa.CommandAlfaService; import de.ozgcloud.apilib.alfa.CommandAlfaService;
...@@ -169,6 +170,7 @@ public class OzgCloudClientAutoConfiguration { ...@@ -169,6 +170,7 @@ public class OzgCloudClientAutoConfiguration {
@Bean @Bean
@ConditionalOnProperty("ozgcloud.command-manager.address") @ConditionalOnProperty("ozgcloud.command-manager.address")
@ConditionalOnMissingBean(OzgCloudCommandService.class)
OzgCloudCommandService grpcOzgCloudCommandService(CommandMapper commandMapper, OzgCloudCallContextProvider contextProvider) { OzgCloudCommandService grpcOzgCloudCommandService(CommandMapper commandMapper, OzgCloudCallContextProvider contextProvider) {
var channel = ManagedChannelBuilder.forTarget(commandManagerProperties.getAddress()).usePlaintext().build(); var channel = ManagedChannelBuilder.forTarget(commandManagerProperties.getAddress()).usePlaintext().build();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment