Skip to content
Snippets Groups Projects
Commit 5612caa6 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6162 rename DocumentManager configuration

parent 751fc864
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ import de.ozgcloud.vorgang.grpc.command.CommandServiceGrpc; ...@@ -39,7 +39,7 @@ import de.ozgcloud.vorgang.grpc.command.CommandServiceGrpc;
import net.devh.boot.grpc.client.inject.GrpcClient; import net.devh.boot.grpc.client.inject.GrpcClient;
@Configuration @Configuration
public class BescheidManagerConfiguration { public class DocumentManagerConfiguration {
public static final String COMMAND_SERVICE_NAME = "bescheid_OzgCloudCommandService"; public static final String COMMAND_SERVICE_NAME = "bescheid_OzgCloudCommandService";
public static final String USER_PROFILE_SERVICE_NAME = "bescheid_OzgCloudUserProfileService"; public static final String USER_PROFILE_SERVICE_NAME = "bescheid_OzgCloudUserProfileService";
......
...@@ -26,6 +26,11 @@ import de.ozgcloud.apilib.common.command.OzgCloudCommand; ...@@ -26,6 +26,11 @@ import de.ozgcloud.apilib.common.command.OzgCloudCommand;
import de.ozgcloud.apilib.common.command.OzgCloudCommandService; import de.ozgcloud.apilib.common.command.OzgCloudCommandService;
import de.ozgcloud.apilib.common.command.OzgCloudCreateSubCommandsRequest; import de.ozgcloud.apilib.common.command.OzgCloudCreateSubCommandsRequest;
import de.ozgcloud.apilib.common.command.grpc.CommandMapper; import de.ozgcloud.apilib.common.command.grpc.CommandMapper;
import de.ozgcloud.command.Command;
import de.ozgcloud.common.binaryfile.FileId;
import de.ozgcloud.common.errorhandling.TechnicalException;
import de.ozgcloud.document.Document;
import de.ozgcloud.document.DocumentManagerConfiguration;
import de.ozgcloud.document.bescheid.administration.AdministrationService; import de.ozgcloud.document.bescheid.administration.AdministrationService;
import de.ozgcloud.document.bescheid.attributes.ClientAttributeService; import de.ozgcloud.document.bescheid.attributes.ClientAttributeService;
import de.ozgcloud.document.bescheid.common.freemarker.TemplateHandler; import de.ozgcloud.document.bescheid.common.freemarker.TemplateHandler;
...@@ -33,12 +38,8 @@ import de.ozgcloud.document.bescheid.common.user.UserProfileService; ...@@ -33,12 +38,8 @@ import de.ozgcloud.document.bescheid.common.user.UserProfileService;
import de.ozgcloud.document.bescheid.vorgang.Vorgang; import de.ozgcloud.document.bescheid.vorgang.Vorgang;
import de.ozgcloud.document.bescheid.vorgang.VorgangId; import de.ozgcloud.document.bescheid.vorgang.VorgangId;
import de.ozgcloud.document.bescheid.vorgang.VorgangService; import de.ozgcloud.document.bescheid.vorgang.VorgangService;
import de.ozgcloud.command.Command;
import de.ozgcloud.document.common.attached_item.AttachedItem; import de.ozgcloud.document.common.attached_item.AttachedItem;
import de.ozgcloud.document.common.attached_item.AttachedItemService; import de.ozgcloud.document.common.attached_item.AttachedItemService;
import de.ozgcloud.common.binaryfile.FileId;
import de.ozgcloud.common.errorhandling.TechnicalException;
import de.ozgcloud.document.Document;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
...@@ -68,7 +69,7 @@ public class BescheidService { ...@@ -68,7 +69,7 @@ public class BescheidService {
private final VorgangService vorgangService; private final VorgangService vorgangService;
private final AttachedItemService attachedItemService; private final AttachedItemService attachedItemService;
private final UserProfileService userProfileService; private final UserProfileService userProfileService;
@Qualifier(BescheidManagerConfiguration.COMMAND_SERVICE_NAME) @Qualifier(DocumentManagerConfiguration.COMMAND_SERVICE_NAME)
private final OzgCloudCommandService commandService; private final OzgCloudCommandService commandService;
private final AdministrationService administrationService; private final AdministrationService administrationService;
......
...@@ -37,15 +37,15 @@ import org.springframework.stereotype.Service; ...@@ -37,15 +37,15 @@ import org.springframework.stereotype.Service;
import de.ozgcloud.apilib.common.command.OzgCloudCommand; import de.ozgcloud.apilib.common.command.OzgCloudCommand;
import de.ozgcloud.apilib.common.command.OzgCloudCommandService; import de.ozgcloud.apilib.common.command.OzgCloudCommandService;
import de.ozgcloud.apilib.common.command.grpc.CommandMapper; import de.ozgcloud.apilib.common.command.grpc.CommandMapper;
import de.ozgcloud.command.Command;
import de.ozgcloud.common.errorhandling.TechnicalException;
import de.ozgcloud.document.Document;
import de.ozgcloud.document.DocumentManagerConfiguration;
import de.ozgcloud.document.bescheid.Bescheid; import de.ozgcloud.document.bescheid.Bescheid;
import de.ozgcloud.document.bescheid.Bescheid.Status; import de.ozgcloud.document.bescheid.Bescheid.Status;
import de.ozgcloud.document.bescheid.BescheidCallContextAttachingInterceptor; import de.ozgcloud.document.bescheid.BescheidCallContextAttachingInterceptor;
import de.ozgcloud.document.bescheid.BescheidManagerConfiguration;
import de.ozgcloud.document.bescheid.BescheidMapper; import de.ozgcloud.document.bescheid.BescheidMapper;
import de.ozgcloud.document.bescheid.vorgang.VorgangId; import de.ozgcloud.document.bescheid.vorgang.VorgangId;
import de.ozgcloud.command.Command;
import de.ozgcloud.common.errorhandling.TechnicalException;
import de.ozgcloud.document.Document;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
@Service @Service
...@@ -58,7 +58,7 @@ public class AttachedItemService { ...@@ -58,7 +58,7 @@ public class AttachedItemService {
static final String UPDATE_ATTACHED_ITEM_ORDER = "UPDATE_ATTACHED_ITEM"; static final String UPDATE_ATTACHED_ITEM_ORDER = "UPDATE_ATTACHED_ITEM";
static final String DELETE_ATTACHED_ITEM = "DELETE_ATTACHED_ITEM"; static final String DELETE_ATTACHED_ITEM = "DELETE_ATTACHED_ITEM";
@Qualifier(BescheidManagerConfiguration.COMMAND_SERVICE_NAME) @Qualifier(DocumentManagerConfiguration.COMMAND_SERVICE_NAME)
private final OzgCloudCommandService commandService; private final OzgCloudCommandService commandService;
private final VorgangAttachedItemRemoteService remoteService; private final VorgangAttachedItemRemoteService remoteService;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment