Skip to content
Snippets Groups Projects
Commit 6c0ed9d0 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4185 OZG-4570 Rename properties in java configurations

parent 98855069
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ public class EmailGrpcService extends EmailServiceGrpc.EmailServiceImplBase {
@Autowired
private MailService mailService;
@Value("${kop.notification.mail-from}")
@Value("${ozgcloud.notification.mail-from}")
private String mailFrom;
@Override
......
......@@ -36,7 +36,7 @@ import lombok.Setter;
@ConfigurationProperties(prefix = OsiPostfachProperties.PROXY_API_PREFIX)
public class OsiPostfachProperties {
static final String PREFIX = "kop.osi.postfach";
static final String PREFIX = "ozgcloud.osi.postfach";
static final String PROXY_API_PREFIX = PREFIX + ".proxyapi";
private String url;
......
......@@ -13,7 +13,7 @@ import lombok.extern.log4j.Log4j2;
@Service
@Log4j2
class RegistryService {
@Value(value = "${kop.vorgangmanager.address:#{null}}")
@Value(value = "${ozgcloud.vorgang-manager.address:#{null}}")
private Optional<String> vorgangManagerAddress;
@Autowired
......
......@@ -39,8 +39,8 @@ public class AktenzeichenProviderConfiguration {
private static final String MSG_CLASSNOTFOUND_TEMPL = "Class '%s' for AktenzeichenProvider not found";
private static final String MSG_INSTANCE = "Error on getInstance for aktenzeichen provider.";
// TODO configruations-hirachie verwenden
@Value("${aktenzeichen:#{null}}")
// TODO configruations-hierachie verwenden
@Value("${ozgcloud.aktenzeichen:#{null}}")
private Optional<String> aktenzeichenCalculator;
@Bean
......
......@@ -109,11 +109,11 @@ public class ForwardingService {
@Autowired
private ApplicationEventPublisher publisher;
@Value("${pluto.redirect.mail-from}")
@Value("${ozgcloud.redirect.mail-from}")
private String mailFrom;
@Value("${pluto.forwarding.reply-to:#{null}}")
@Value("${ozgcloud.forwarding.reply-to:#{null}}")
private Optional<String> replyTo;
@Value("${kop.production}")
@Value("${ozgcloud.production}")
private boolean production;
public Vorgang forwardByCommand(Command command) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment