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

OZG-4097 Add bean qualifier to file service

parent 0014c942
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,6 @@ lombok.log.log4j.flagUsage = ERROR
lombok.data.flagUsage = ERROR
lombok.nonNull.exceptionType = IllegalArgumentException
lombok.nonNull.flagUsage = ERROR
lombok.addLombokGeneratedAnnotation = true
\ No newline at end of file
lombok.addLombokGeneratedAnnotation = true
lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier
lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Value
\ No newline at end of file
......@@ -2,7 +2,7 @@
set -e
VERSION=2.22.0-OZG-4094-SNAPSHOT-9
VERSION=2.23.0-OZG-4097-SNAPSHOT-12
docker tag docker.ozg-sh.de/vorgang-manager:build-latest docker.ozg-sh.de/vorgang-manager:$VERSION
docker push docker.ozg-sh.de/vorgang-manager:$VERSION
\ No newline at end of file
......@@ -6,6 +6,8 @@ import java.io.InputStream;
import java.util.Iterator;
import java.util.List;
import org.springframework.beans.factory.annotation.Qualifier;
import de.ozgcloud.apilib.common.callcontext.OzgCloudCallContextAttachingInterceptor;
import de.ozgcloud.apilib.common.callcontext.OzgCloudCallContextProvider;
import de.ozgcloud.apilib.file.OzgCloudFile;
......@@ -26,6 +28,7 @@ public class Osi2AttachmentFileService {
private BinaryFileServiceGrpc.BinaryFileServiceBlockingStub binaryFileServiceStub;
private final Osi2AttachmentFileMapper attachmentFileMapper;
@Qualifier(OZG_CLOUD_FILE_SERVICE_NAME)
private final OzgCloudFileService ozgCloudFileService;
private final OzgCloudCallContextProvider ozgCloudCallContextProvider;
......
......@@ -23,6 +23,8 @@ import lombok.Setter;
public class Osi2PostfachProperties {
// From de.ozgcloud.nachrichten.NachrichtenManagerConfiguration
public static final String GRPC_FILE_MANAGER_NAME = "file-manager";
// From de.ozgcloud.nachrichten.NachrichtenManagerConfiguration
public static final String OZG_CLOUD_FILE_SERVICE_NAME = "nachrichten_OzgCloudFileService";
public static final String PREFIX = "ozgcloud.osiv2";
......
......@@ -24,9 +24,6 @@ public class TestApplication {
public static final String NACHRICHTEN_MANAGER_CLIENT_NAME = "OzgCloud_NachrichtenManager";
public static final String NACHRICHTEN_MANAGER_SENDER_USER_ID = "system-nachrichten_manager-sender";
// From de.ozgcloud.nachrichten.NachrichtenManagerConfiguration
public static final String OZG_CLOUD_FILE_SERVICE_NAME = "nachrichten_OzgCloudFileService";
@GrpcClient(GRPC_FILE_MANAGER_NAME)
private BinaryFileServiceGrpc.BinaryFileServiceBlockingStub fileServiceBlockingStub;
@GrpcClient(GRPC_FILE_MANAGER_NAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment