Skip to content
Snippets Groups Projects
Commit 24f974c8 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'OZG-6162-resolve-bean-conflict-document-manager' (#501)...

Merge pull request 'OZG-6162-resolve-bean-conflict-document-manager' (#501) from OZG-6162-resolve-bean-conflict-document-manager into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-app/vorgang-manager/pulls/501


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents fa0c103d 194b8af4
Branches
Tags
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<properties> <properties>
<vorgang-manager.version>2.18.0-SNAPSHOT</vorgang-manager.version> <vorgang-manager.version>2.18.0-SNAPSHOT</vorgang-manager.version>
<nachrichten-manager.version>2.14.0</nachrichten-manager.version> <nachrichten-manager.version>2.14.0</nachrichten-manager.version>
<document-manager.version>1.0.0</document-manager.version> <document-manager.version>1.1.0-SNAPSHOT</document-manager.version>
<api-lib.version>0.13.0</api-lib.version> <api-lib.version>0.13.0</api-lib.version>
<spring-cloud-config-client.version>4.1.3</spring-cloud-config-client.version> <spring-cloud-config-client.version>4.1.3</spring-cloud-config-client.version>
</properties> </properties>
......
package de.ozgcloud.vorgang;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import de.ozgcloud.apilib.common.callcontext.OzgCloudCallContextProvider;
import de.ozgcloud.apilib.user.GrpcOzgCloudUserProfileService;
import de.ozgcloud.apilib.user.OzgCloudUserProfileService;
import de.ozgcloud.apilib.user.UserProfileMapper;
import de.ozgcloud.user.grpc.userprofile.UserProfileServiceGrpc.UserProfileServiceBlockingStub;
import net.devh.boot.grpc.client.inject.GrpcClient;
@Configuration
class VorgangProcessorConfiguration {
@GrpcClient("user-manager")
private UserProfileServiceBlockingStub userProfileServiceGrpc;
@Bean
OzgCloudUserProfileService ozgCloudUserProfileService(UserProfileMapper mapper, OzgCloudCallContextProvider contextProvider) {
return new GrpcOzgCloudUserProfileService(userProfileServiceGrpc, mapper, contextProvider);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment