Skip to content
Snippets Groups Projects
Commit 58b72680 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'Channel Konfiguration für File-Manager hinzufügen' (#35)...

Merge pull request 'Channel Konfiguration für File-Manager hinzufügen' (#35) from fix-antragraum-issue into master

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


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents 4fd314db 2a43e424
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,16 @@ public class OzgCloudClientAutoConfiguration {
.build();
}
@Bean
@ConditionalOnProperty("ozgcloud.file-manager.address")
GrpcChannelConfigurator fileManagerConfigurator() {
return GrpcChannelConfigurator.builder()
.clientName(CLIENT_NAME_FILE_MANAGER)
.address(fileManagerProperties.getAddress())
.negotiationType(fileManagerProperties.getNegotiationType())
.build();
}
@Bean
GrpcChannelsProperties clientProperties(Collection<GrpcChannelConfigurator> configurators) {
var properties = new GrpcChannelsProperties();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment