From 0727f68a2b899540fa951bfb22f9168bb1604b89 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Fri, 4 Oct 2019 11:17:48 +0200 Subject: Add @author Tag Where It Was Missing --- src/main/java/at/gv/egiz/moazs/MoaZS.java | 4 ++++ src/main/java/at/gv/egiz/moazs/MoaZSException.java | 4 ++++ src/main/java/at/gv/egiz/moazs/backend/DeliveryRequestBackend.java | 4 ++++ .../java/at/gv/egiz/moazs/backend/ForwardResponseToServiceSink.java | 4 ++++ src/main/java/at/gv/egiz/moazs/backend/LogResponseSink.java | 4 ++++ src/main/java/at/gv/egiz/moazs/backend/MsgResponseBackend.java | 4 ++++ src/main/java/at/gv/egiz/moazs/backend/MsgResponseSinkHub.java | 4 ++++ src/main/java/at/gv/egiz/moazs/backend/SaveResponseToFileSink.java | 4 ++++ src/main/java/at/gv/egiz/moazs/backend/SignatureVerifier.java | 4 ++++ src/main/java/at/gv/egiz/moazs/client/ClientFactory.java | 4 ++++ src/main/java/at/gv/egiz/moazs/client/SSLContextCreator.java | 3 ++- src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java | 4 ++++ src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java | 4 ++++ src/main/java/at/gv/egiz/moazs/config/MoaSigConfig.java | 5 ++++- src/main/java/at/gv/egiz/moazs/config/PreprocessConfig.java | 4 ++++ src/main/java/at/gv/egiz/moazs/config/RedisConfig.java | 4 ++++ src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java | 4 ++++ src/main/java/at/gv/egiz/moazs/config/ServicesConfig.java | 4 ++++ .../java/at/gv/egiz/moazs/preprocess/ConfigProfileGenerator.java | 4 ++++ src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java | 4 ++++ .../java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java | 4 ++++ .../at/gv/egiz/moazs/preprocess/MzsDeliveryRequestValidator.java | 4 ++++ .../java/at/gv/egiz/moazs/preprocess/SpringPropertiesFacade.java | 4 ++++ src/main/java/at/gv/egiz/moazs/repository/DeliveryRepository.java | 4 ++++ .../java/at/gv/egiz/moazs/repository/InMemoryDeliveryRepository.java | 4 ++++ .../java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java | 4 ++++ src/main/java/at/gv/egiz/moazs/scheme/MoaZSPrefixMapper.java | 4 ++++ src/main/java/at/gv/egiz/moazs/scheme/Msg2MzsConverter.java | 4 ++++ src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java | 1 + src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java | 4 ++++ src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java | 4 ++++ src/main/java/at/gv/egiz/moazs/scheme/NotificationResponse.java | 4 ++++ src/main/java/at/gv/egiz/moazs/scheme/RequestStatusResponse.java | 4 ++++ src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java | 5 ++++- src/main/java/at/gv/egiz/moazs/service/MsgService.java | 4 ++++ src/main/java/at/gv/egiz/moazs/service/MzsService.java | 4 ++++ src/main/java/at/gv/egiz/moazs/util/CXFMessageUtils.java | 4 ++++ src/main/java/at/gv/egiz/moazs/util/EndpointFactory.java | 4 ++++ src/main/java/at/gv/egiz/moazs/util/FileUtils.java | 4 ++++ src/main/java/at/gv/egiz/moazs/util/JAXBClassNotFoundFix.java | 4 ++++ .../egiz/moazs/util/StoreSOAPBodyBinaryInRepositoryInterceptor.java | 4 ++++ src/main/java/at/gv/egiz/moazs/util/StringUtils.java | 4 ++++ src/test/java/at/gv/egiz/moazs/ConfigProfileGeneratorTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/ConfigUtilTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/DeliveryRequestAugmenterTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/DeliveryRequestBackendTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/ITMzsServiceTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/ITSignatureVerifierTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/LogResponseSinkTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java | 4 ++++ src/test/java/at/gv/egiz/moazs/TnvzHelperTest.java | 4 ++++ 55 files changed, 215 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/java/at/gv/egiz/moazs/MoaZS.java b/src/main/java/at/gv/egiz/moazs/MoaZS.java index 4731524..7c19f7f 100644 --- a/src/main/java/at/gv/egiz/moazs/MoaZS.java +++ b/src/main/java/at/gv/egiz/moazs/MoaZS.java @@ -27,6 +27,10 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; +/** + * @author Christof Rabensteiner + * + */ @SpringBootApplication public class MoaZS extends SpringBootServletInitializer { diff --git a/src/main/java/at/gv/egiz/moazs/MoaZSException.java b/src/main/java/at/gv/egiz/moazs/MoaZSException.java index 02e9ffe..31cb531 100644 --- a/src/main/java/at/gv/egiz/moazs/MoaZSException.java +++ b/src/main/java/at/gv/egiz/moazs/MoaZSException.java @@ -24,6 +24,10 @@ package at.gv.egiz.moazs; import at.gv.zustellung.msg.xsd.PreAdviceNoteSentType; import org.springframework.lang.Nullable; +/** + * @author Christof Rabensteiner + * + */ public class MoaZSException extends RuntimeException { public static final String ERROR_MZS_MIMETYPE_MISSMATCH = "8001"; diff --git a/src/main/java/at/gv/egiz/moazs/backend/DeliveryRequestBackend.java b/src/main/java/at/gv/egiz/moazs/backend/DeliveryRequestBackend.java index cbf4d3e..eb51476 100644 --- a/src/main/java/at/gv/egiz/moazs/backend/DeliveryRequestBackend.java +++ b/src/main/java/at/gv/egiz/moazs/backend/DeliveryRequestBackend.java @@ -47,6 +47,10 @@ import static at.gv.egiz.moazs.scheme.RequestStatusResponse.getAnswer; import static at.gv.zustellung.msg.xsd.DeliveryRequestStatusType.Error.errorBuilder; import static java.lang.String.format; +/** + * @author Christof Rabensteiner + * + */ @Component @Profile("!cluster") public class DeliveryRequestBackend implements Consumer { diff --git a/src/main/java/at/gv/egiz/moazs/backend/ForwardResponseToServiceSink.java b/src/main/java/at/gv/egiz/moazs/backend/ForwardResponseToServiceSink.java index 4961888..26cf26e 100644 --- a/src/main/java/at/gv/egiz/moazs/backend/ForwardResponseToServiceSink.java +++ b/src/main/java/at/gv/egiz/moazs/backend/ForwardResponseToServiceSink.java @@ -34,6 +34,10 @@ import org.springframework.stereotype.Component; import java.util.concurrent.CompletableFuture; +/** + * @author Christof Rabensteiner + * + */ @Component public class ForwardResponseToServiceSink { diff --git a/src/main/java/at/gv/egiz/moazs/backend/LogResponseSink.java b/src/main/java/at/gv/egiz/moazs/backend/LogResponseSink.java index 1869675..277728e 100644 --- a/src/main/java/at/gv/egiz/moazs/backend/LogResponseSink.java +++ b/src/main/java/at/gv/egiz/moazs/backend/LogResponseSink.java @@ -31,6 +31,10 @@ import java.util.concurrent.CompletableFuture; import static java.util.concurrent.CompletableFuture.completedFuture; +/** + * @author Christof Rabensteiner + * + */ @Component public class LogResponseSink { diff --git a/src/main/java/at/gv/egiz/moazs/backend/MsgResponseBackend.java b/src/main/java/at/gv/egiz/moazs/backend/MsgResponseBackend.java index 4ea25b7..276fb67 100644 --- a/src/main/java/at/gv/egiz/moazs/backend/MsgResponseBackend.java +++ b/src/main/java/at/gv/egiz/moazs/backend/MsgResponseBackend.java @@ -36,6 +36,10 @@ import static at.gv.egiz.moazs.MoaZSException.*; import static java.lang.String.format; import static java.util.concurrent.CompletableFuture.supplyAsync; +/** + * @author Christof Rabensteiner + * + */ @Component public class MsgResponseBackend implements Consumer { diff --git a/src/main/java/at/gv/egiz/moazs/backend/MsgResponseSinkHub.java b/src/main/java/at/gv/egiz/moazs/backend/MsgResponseSinkHub.java index 8148c8c..61df4b2 100644 --- a/src/main/java/at/gv/egiz/moazs/backend/MsgResponseSinkHub.java +++ b/src/main/java/at/gv/egiz/moazs/backend/MsgResponseSinkHub.java @@ -30,6 +30,10 @@ import org.springframework.stereotype.Component; import static java.util.concurrent.CompletableFuture.supplyAsync; +/** + * @author Christof Rabensteiner + * + */ @Component public class MsgResponseSinkHub { diff --git a/src/main/java/at/gv/egiz/moazs/backend/SaveResponseToFileSink.java b/src/main/java/at/gv/egiz/moazs/backend/SaveResponseToFileSink.java index 7fe6c0d..c2652d9 100644 --- a/src/main/java/at/gv/egiz/moazs/backend/SaveResponseToFileSink.java +++ b/src/main/java/at/gv/egiz/moazs/backend/SaveResponseToFileSink.java @@ -42,6 +42,10 @@ import static java.lang.String.format; import static java.util.concurrent.CompletableFuture.allOf; import static java.util.concurrent.CompletableFuture.supplyAsync; +/** + * @author Christof Rabensteiner + * + */ @Component public class SaveResponseToFileSink { diff --git a/src/main/java/at/gv/egiz/moazs/backend/SignatureVerifier.java b/src/main/java/at/gv/egiz/moazs/backend/SignatureVerifier.java index bbe90a3..d48f225 100644 --- a/src/main/java/at/gv/egiz/moazs/backend/SignatureVerifier.java +++ b/src/main/java/at/gv/egiz/moazs/backend/SignatureVerifier.java @@ -33,6 +33,10 @@ import java.util.function.Consumer; import static at.gv.egiz.moazs.MoaZSException.moaZSException; import static java.lang.String.format; +/** + * @author Christof Rabensteiner + * + */ public class SignatureVerifier implements Consumer { private static final Logger log = LoggerFactory.getLogger(SignatureVerifier.class); diff --git a/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java b/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java index 5245d30..04eedab 100644 --- a/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java +++ b/src/main/java/at/gv/egiz/moazs/client/ClientFactory.java @@ -51,6 +51,10 @@ import javax.xml.ws.soap.SOAPBinding; import static at.gv.zustellung.app2mzs.xsd.KeyStoreType.keyStoreTypeBuilder; +/** + * @author Christof Rabensteiner + * + */ @Component public class ClientFactory { diff --git a/src/main/java/at/gv/egiz/moazs/client/SSLContextCreator.java b/src/main/java/at/gv/egiz/moazs/client/SSLContextCreator.java index 2a67508..a1d6912 100644 --- a/src/main/java/at/gv/egiz/moazs/client/SSLContextCreator.java +++ b/src/main/java/at/gv/egiz/moazs/client/SSLContextCreator.java @@ -37,10 +37,11 @@ import java.security.cert.X509Certificate; import static at.gv.egiz.moazs.MoaZSException.moaZSException; import static java.lang.String.format; -@Component /** * Adapted from at.asitplus.eidas.specific.modules.authmodule_eIDASv2.szr.SZRClient + * @author Christof Rabensteiner */ +@Component public class SSLContextCreator { private static final Logger log = LoggerFactory.getLogger(SSLContextCreator.class); diff --git a/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java b/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java index bebb1aa..0f6b9a2 100644 --- a/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java +++ b/src/main/java/at/gv/egiz/moazs/client/TnvzHelper.java @@ -52,6 +52,10 @@ import static at.gv.zustellung.tnvz.xsd.Sender.senderBuilder; import static java.lang.String.join; import static java.util.stream.Collectors.toSet; +/** + * @author Christof Rabensteiner + * + */ @Component public class TnvzHelper { diff --git a/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java b/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java index 621dd61..9fa8563 100644 --- a/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java +++ b/src/main/java/at/gv/egiz/moazs/config/MarshallerConfig.java @@ -25,6 +25,10 @@ import at.gv.egiz.moazs.scheme.Marshaller; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +/** + * @author Christof Rabensteiner + * + */ @Configuration public class MarshallerConfig { diff --git a/src/main/java/at/gv/egiz/moazs/config/MoaSigConfig.java b/src/main/java/at/gv/egiz/moazs/config/MoaSigConfig.java index 0f3b494..5924d9e 100644 --- a/src/main/java/at/gv/egiz/moazs/config/MoaSigConfig.java +++ b/src/main/java/at/gv/egiz/moazs/config/MoaSigConfig.java @@ -37,7 +37,10 @@ import java.io.FileNotFoundException; import java.io.IOException; import java.util.function.Consumer; - +/** + * @author Christof Rabensteiner + * + */ @Configuration public class MoaSigConfig { diff --git a/src/main/java/at/gv/egiz/moazs/config/PreprocessConfig.java b/src/main/java/at/gv/egiz/moazs/config/PreprocessConfig.java index 9c7679c..892afbb 100644 --- a/src/main/java/at/gv/egiz/moazs/config/PreprocessConfig.java +++ b/src/main/java/at/gv/egiz/moazs/config/PreprocessConfig.java @@ -33,6 +33,10 @@ import java.util.Map; import static at.gv.egiz.moazs.preprocess.ConfigProfileGenerator.configProfileGeneratorBuilder; +/** + * @author Christof Rabensteiner + * + */ @Configuration public class PreprocessConfig { diff --git a/src/main/java/at/gv/egiz/moazs/config/RedisConfig.java b/src/main/java/at/gv/egiz/moazs/config/RedisConfig.java index dcd2e29..9db4a7d 100644 --- a/src/main/java/at/gv/egiz/moazs/config/RedisConfig.java +++ b/src/main/java/at/gv/egiz/moazs/config/RedisConfig.java @@ -29,6 +29,10 @@ import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.serializer.StringRedisSerializer; +/** + * @author Christof Rabensteiner + * + */ @Configuration public class RedisConfig { diff --git a/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java b/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java index 63d23ea..7caa2da 100644 --- a/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java +++ b/src/main/java/at/gv/egiz/moazs/config/RepositoryConfig.java @@ -32,6 +32,10 @@ import org.springframework.context.annotation.Profile; import java.util.Map; import java.util.function.Function; +/** + * @author Christof Rabensteiner + * + */ @Configuration @Profile("!cluster") public class RepositoryConfig { diff --git a/src/main/java/at/gv/egiz/moazs/config/ServicesConfig.java b/src/main/java/at/gv/egiz/moazs/config/ServicesConfig.java index 84535db..f311fd6 100644 --- a/src/main/java/at/gv/egiz/moazs/config/ServicesConfig.java +++ b/src/main/java/at/gv/egiz/moazs/config/ServicesConfig.java @@ -34,6 +34,10 @@ import org.springframework.context.annotation.Configuration; import javax.xml.ws.Endpoint; +/** + * @author Christof Rabensteiner + * + */ @Configuration public class ServicesConfig { diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigProfileGenerator.java b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigProfileGenerator.java index 67f9f58..3191d92 100644 --- a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigProfileGenerator.java +++ b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigProfileGenerator.java @@ -36,6 +36,10 @@ import static at.gv.egiz.moazs.MoaZSException.moaZSException; import static java.lang.String.format; import static java.util.stream.Collectors.*; +/** + * @author Christof Rabensteiner + * + */ public class ConfigProfileGenerator { private static final Logger LOGGER = LoggerFactory.getLogger(ConfigProfileGenerator.class); diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java index d614296..11422b7 100644 --- a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java +++ b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java @@ -41,6 +41,10 @@ import static at.gv.zustellung.app2mzs.xsd.SaveResponseToFileType.saveResponseTo import static java.util.stream.Collectors.toList; import static java.util.stream.Collectors.toMap; +/** + * @author Christof Rabensteiner + * + */ @Component public class ConfigUtil { diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java b/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java index 78d482d..320b0c3 100644 --- a/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java +++ b/src/main/java/at/gv/egiz/moazs/preprocess/DeliveryRequestAugmenter.java @@ -37,6 +37,10 @@ import static at.gv.egiz.moazs.MoaZSException.moaZSException; import static at.gv.egiz.moazs.util.NullCoalesce.coalesce; import static at.gv.zustellung.app2mzs.xsd.DeliveryRequestType.deliveryRequestTypeBuilder; +/** + * @author Christof Rabensteiner + * + */ @Component public class DeliveryRequestAugmenter { diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/MzsDeliveryRequestValidator.java b/src/main/java/at/gv/egiz/moazs/preprocess/MzsDeliveryRequestValidator.java index 2068084..061bbdd 100644 --- a/src/main/java/at/gv/egiz/moazs/preprocess/MzsDeliveryRequestValidator.java +++ b/src/main/java/at/gv/egiz/moazs/preprocess/MzsDeliveryRequestValidator.java @@ -30,6 +30,10 @@ import static at.gv.egiz.moazs.MoaZSException.moaZSException; import static at.gv.egiz.moazs.scheme.NameSpace.*; import static java.lang.String.format; +/** + * @author Christof Rabensteiner + * + */ @Component public class MzsDeliveryRequestValidator { diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/SpringPropertiesFacade.java b/src/main/java/at/gv/egiz/moazs/preprocess/SpringPropertiesFacade.java index ebdb3a0..e4389fe 100644 --- a/src/main/java/at/gv/egiz/moazs/preprocess/SpringPropertiesFacade.java +++ b/src/main/java/at/gv/egiz/moazs/preprocess/SpringPropertiesFacade.java @@ -31,6 +31,10 @@ import java.util.Arrays; import java.util.stream.Stream; import java.util.stream.StreamSupport; +/** + * @author Christof Rabensteiner + * + */ @Component public class SpringPropertiesFacade { diff --git a/src/main/java/at/gv/egiz/moazs/repository/DeliveryRepository.java b/src/main/java/at/gv/egiz/moazs/repository/DeliveryRepository.java index 0745329..8928396 100644 --- a/src/main/java/at/gv/egiz/moazs/repository/DeliveryRepository.java +++ b/src/main/java/at/gv/egiz/moazs/repository/DeliveryRepository.java @@ -29,6 +29,10 @@ import org.springframework.stereotype.Repository; import java.util.Optional; +/** + * @author Christof Rabensteiner + * + */ @Repository public interface DeliveryRepository { diff --git a/src/main/java/at/gv/egiz/moazs/repository/InMemoryDeliveryRepository.java b/src/main/java/at/gv/egiz/moazs/repository/InMemoryDeliveryRepository.java index ee3e450..dedc3cc 100644 --- a/src/main/java/at/gv/egiz/moazs/repository/InMemoryDeliveryRepository.java +++ b/src/main/java/at/gv/egiz/moazs/repository/InMemoryDeliveryRepository.java @@ -36,6 +36,10 @@ import java.util.concurrent.TimeUnit; import static com.google.common.cache.CacheBuilder.newBuilder; import static java.util.Optional.ofNullable; +/** + * @author Christof Rabensteiner + * + */ @Repository @Profile("!cluster") public class InMemoryDeliveryRepository implements DeliveryRepository { diff --git a/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java b/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java index c7bc5b6..36bf2bf 100644 --- a/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java +++ b/src/main/java/at/gv/egiz/moazs/repository/RedisDeliveryRepository.java @@ -36,6 +36,10 @@ import org.springframework.stereotype.Repository; import javax.xml.bind.JAXBElement; import java.util.Optional; +/** + * @author Christof Rabensteiner + * + */ @Repository @Profile("cluster") public class RedisDeliveryRepository implements DeliveryRepository { diff --git a/src/main/java/at/gv/egiz/moazs/scheme/MoaZSPrefixMapper.java b/src/main/java/at/gv/egiz/moazs/scheme/MoaZSPrefixMapper.java index 41f9336..22e195d 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/MoaZSPrefixMapper.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/MoaZSPrefixMapper.java @@ -27,6 +27,10 @@ import org.springframework.stereotype.Component; import java.util.HashMap; import java.util.Map; +/** + * @author Christof Rabensteiner + * + */ @Component public class MoaZSPrefixMapper extends NamespacePrefixMapper { diff --git a/src/main/java/at/gv/egiz/moazs/scheme/Msg2MzsConverter.java b/src/main/java/at/gv/egiz/moazs/scheme/Msg2MzsConverter.java index 3e5a33c..953b420 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/Msg2MzsConverter.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/Msg2MzsConverter.java @@ -42,6 +42,10 @@ import static at.gv.zustellung.app2mzs.xsd.PartialSuccessType.partialSuccessType import static at.gv.zustellung.app2mzs.xsd.SuccessType.successTypeBuilder; import static java.util.stream.Collectors.toList; +/** + * @author Christof Rabensteiner + * + */ @Component public class Msg2MzsConverter { diff --git a/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java b/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java index c331ebe..e35d891 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java @@ -31,6 +31,7 @@ import java.util.concurrent.CompletableFuture; /** * Represents responses to DeliveryRequests that were received from the msg service. * @param The type of the response. + * @author Christof Rabensteiner */ public abstract class MsgResponse { diff --git a/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java b/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java index f2f6820..51606a0 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/Mzs2MsgConverter.java @@ -53,6 +53,10 @@ import static java.lang.String.format; import static java.util.stream.Collectors.toList; +/** + * @author Christof Rabensteiner + * + */ @Component public class Mzs2MsgConverter { diff --git a/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java b/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java index a940b71..1fcb248 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/NameSpace.java @@ -21,6 +21,10 @@ *******************************************************************************/ package at.gv.egiz.moazs.scheme; +/** + * @author Christof Rabensteiner + * + */ public class NameSpace { private NameSpace() {} diff --git a/src/main/java/at/gv/egiz/moazs/scheme/NotificationResponse.java b/src/main/java/at/gv/egiz/moazs/scheme/NotificationResponse.java index 8c4715a..c1a91c5 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/NotificationResponse.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/NotificationResponse.java @@ -35,6 +35,10 @@ import java.util.concurrent.CompletableFuture; import static at.gv.zustellung.msg.xsd.DeliveryErrorType.deliveryErrorTypeBuilder; import static at.gv.zustellung.msg.xsd.DeliveryNotificationType.deliveryNotificationTypeBuilder; +/** + * @author Christof Rabensteiner + * + */ public class NotificationResponse extends MsgResponse { private final DeliveryNotificationType notification; diff --git a/src/main/java/at/gv/egiz/moazs/scheme/RequestStatusResponse.java b/src/main/java/at/gv/egiz/moazs/scheme/RequestStatusResponse.java index d4cc83d..227e085 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/RequestStatusResponse.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/RequestStatusResponse.java @@ -39,6 +39,10 @@ import static at.gv.zustellung.msg.xsd.DeliveryRequestStatusType.Error.errorBuil import static at.gv.zustellung.msg.xsd.DeliveryRequestStatusType.deliveryRequestStatusTypeBuilder; import static at.gv.zustellung.msg.xsd.ErrorInfoType.errorInfoTypeBuilder; +/** + * @author Christof Rabensteiner + * + */ public class RequestStatusResponse extends MsgResponse { private final DeliveryRequestStatusType status; diff --git a/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java b/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java index 7a22c90..71df445 100644 --- a/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java +++ b/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java @@ -42,7 +42,10 @@ import java.util.List; import static at.gv.egiz.moazs.MoaZSException.moaZSException; - +/** + * @author Christof Rabensteiner + * + */ @Component public class SOAPUtils { diff --git a/src/main/java/at/gv/egiz/moazs/service/MsgService.java b/src/main/java/at/gv/egiz/moazs/service/MsgService.java index 7b8a3d5..8c71166 100644 --- a/src/main/java/at/gv/egiz/moazs/service/MsgService.java +++ b/src/main/java/at/gv/egiz/moazs/service/MsgService.java @@ -37,6 +37,10 @@ import static at.gv.zustellung.msg.xsd.DeliveryRequestStatusACKType.deliveryRequ import static at.gv.zustellung.msg.xsd.GetVersionResponse.getVersionResponseBuilder; import static java.util.concurrent.CompletableFuture.runAsync; +/** + * @author Christof Rabensteiner + * + */ @Service @SchemaValidation(type = SchemaValidation.SchemaValidationType.BOTH) @org.apache.cxf.feature.Features (features = "org.apache.cxf.ext.logging.LoggingFeature") diff --git a/src/main/java/at/gv/egiz/moazs/service/MzsService.java b/src/main/java/at/gv/egiz/moazs/service/MzsService.java index bd90f04..9d7cdb1 100644 --- a/src/main/java/at/gv/egiz/moazs/service/MzsService.java +++ b/src/main/java/at/gv/egiz/moazs/service/MzsService.java @@ -47,6 +47,10 @@ import static at.gv.zustellung.app2mzs.xsd.PartialSuccessType.partialSuccessType import static java.lang.String.format; import static java.util.concurrent.CompletableFuture.supplyAsync; +/** + * @author Christof Rabensteiner + * + */ @Service @SchemaValidation(type = SchemaValidation.SchemaValidationType.BOTH) @org.apache.cxf.feature.Features (features = "org.apache.cxf.ext.logging.LoggingFeature") diff --git a/src/main/java/at/gv/egiz/moazs/util/CXFMessageUtils.java b/src/main/java/at/gv/egiz/moazs/util/CXFMessageUtils.java index 21142c1..fd557bb 100644 --- a/src/main/java/at/gv/egiz/moazs/util/CXFMessageUtils.java +++ b/src/main/java/at/gv/egiz/moazs/util/CXFMessageUtils.java @@ -35,6 +35,10 @@ import java.io.InputStream; import java.io.Reader; import java.io.SequenceInputStream; +/** + * @author Christof Rabensteiner + * + */ @Component public class CXFMessageUtils { diff --git a/src/main/java/at/gv/egiz/moazs/util/EndpointFactory.java b/src/main/java/at/gv/egiz/moazs/util/EndpointFactory.java index f4e948b..9bbde5e 100644 --- a/src/main/java/at/gv/egiz/moazs/util/EndpointFactory.java +++ b/src/main/java/at/gv/egiz/moazs/util/EndpointFactory.java @@ -31,6 +31,10 @@ import javax.xml.ws.Endpoint; import javax.xml.ws.Service; +/** + * @author Christof Rabensteiner + * + */ @Component public class EndpointFactory { diff --git a/src/main/java/at/gv/egiz/moazs/util/FileUtils.java b/src/main/java/at/gv/egiz/moazs/util/FileUtils.java index 2e39053..2b46967 100644 --- a/src/main/java/at/gv/egiz/moazs/util/FileUtils.java +++ b/src/main/java/at/gv/egiz/moazs/util/FileUtils.java @@ -25,6 +25,10 @@ import org.springframework.stereotype.Component; import java.io.File; +/** + * @author Christof Rabensteiner + * + */ @Component public class FileUtils { diff --git a/src/main/java/at/gv/egiz/moazs/util/JAXBClassNotFoundFix.java b/src/main/java/at/gv/egiz/moazs/util/JAXBClassNotFoundFix.java index 763245b..35fc677 100644 --- a/src/main/java/at/gv/egiz/moazs/util/JAXBClassNotFoundFix.java +++ b/src/main/java/at/gv/egiz/moazs/util/JAXBClassNotFoundFix.java @@ -29,6 +29,10 @@ import java.util.function.Supplier; import static at.gv.egiz.moazs.MoaZSException.moaZSException; +/** + * @author Christof Rabensteiner + * + */ @Component public class JAXBClassNotFoundFix { diff --git a/src/main/java/at/gv/egiz/moazs/util/StoreSOAPBodyBinaryInRepositoryInterceptor.java b/src/main/java/at/gv/egiz/moazs/util/StoreSOAPBodyBinaryInRepositoryInterceptor.java index 00ddcdc..f05664e 100644 --- a/src/main/java/at/gv/egiz/moazs/util/StoreSOAPBodyBinaryInRepositoryInterceptor.java +++ b/src/main/java/at/gv/egiz/moazs/util/StoreSOAPBodyBinaryInRepositoryInterceptor.java @@ -42,6 +42,10 @@ import java.util.function.Function; import static at.gv.egiz.moazs.MoaZSException.moaZSException; +/** + * @author Christof Rabensteiner + * + */ @Component public class StoreSOAPBodyBinaryInRepositoryInterceptor extends AbstractPhaseInterceptor { diff --git a/src/main/java/at/gv/egiz/moazs/util/StringUtils.java b/src/main/java/at/gv/egiz/moazs/util/StringUtils.java index 03c18dd..62d8845 100644 --- a/src/main/java/at/gv/egiz/moazs/util/StringUtils.java +++ b/src/main/java/at/gv/egiz/moazs/util/StringUtils.java @@ -21,6 +21,10 @@ *******************************************************************************/ package at.gv.egiz.moazs.util; +/** + * @author Christof Rabensteiner + * + */ public class StringUtils { private StringUtils(){} diff --git a/src/test/java/at/gv/egiz/moazs/ConfigProfileGeneratorTest.java b/src/test/java/at/gv/egiz/moazs/ConfigProfileGeneratorTest.java index 0412d15..10670ff 100644 --- a/src/test/java/at/gv/egiz/moazs/ConfigProfileGeneratorTest.java +++ b/src/test/java/at/gv/egiz/moazs/ConfigProfileGeneratorTest.java @@ -38,6 +38,10 @@ import static org.mockito.ArgumentMatchers.any; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.*; +/** + * @author Christof Rabensteiner + * + */ @RunWith(MockitoJUnitRunner.class) public class ConfigProfileGeneratorTest { diff --git a/src/test/java/at/gv/egiz/moazs/ConfigUtilTest.java b/src/test/java/at/gv/egiz/moazs/ConfigUtilTest.java index 35ae77d..f75238b 100644 --- a/src/test/java/at/gv/egiz/moazs/ConfigUtilTest.java +++ b/src/test/java/at/gv/egiz/moazs/ConfigUtilTest.java @@ -33,6 +33,10 @@ import static at.gv.zustellung.app2mzs.xsd.ClientType.clientTypeBuilder; import static at.gv.zustellung.app2mzs.xsd.ConfigType.configTypeBuilder; import static org.assertj.core.api.Assertions.assertThat; +/** + * @author Christof Rabensteiner + * + */ public class ConfigUtilTest { private ConfigUtil configUtil; diff --git a/src/test/java/at/gv/egiz/moazs/DeliveryRequestAugmenterTest.java b/src/test/java/at/gv/egiz/moazs/DeliveryRequestAugmenterTest.java index a95344d..797b550 100644 --- a/src/test/java/at/gv/egiz/moazs/DeliveryRequestAugmenterTest.java +++ b/src/test/java/at/gv/egiz/moazs/DeliveryRequestAugmenterTest.java @@ -42,6 +42,10 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; +/** + * @author Christof Rabensteiner + * + */ @RunWith(MockitoJUnitRunner.class) public class DeliveryRequestAugmenterTest { diff --git a/src/test/java/at/gv/egiz/moazs/DeliveryRequestBackendTest.java b/src/test/java/at/gv/egiz/moazs/DeliveryRequestBackendTest.java index 258e8a9..ba7c1c8 100644 --- a/src/test/java/at/gv/egiz/moazs/DeliveryRequestBackendTest.java +++ b/src/test/java/at/gv/egiz/moazs/DeliveryRequestBackendTest.java @@ -53,6 +53,10 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.same; import static org.mockito.Mockito.*; +/** + * @author Christof Rabensteiner + * + */ @RunWith(MockitoJUnitRunner.class) public class DeliveryRequestBackendTest { diff --git a/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java b/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java index 11c2f37..76c0187 100644 --- a/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java +++ b/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java @@ -69,6 +69,10 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; import static org.mockito.Mockito.*; +/** + * @author Christof Rabensteiner + * + */ @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) public class ITEndToEndTest { diff --git a/src/test/java/at/gv/egiz/moazs/ITMzsServiceTest.java b/src/test/java/at/gv/egiz/moazs/ITMzsServiceTest.java index db8adb4..e33a9cd 100644 --- a/src/test/java/at/gv/egiz/moazs/ITMzsServiceTest.java +++ b/src/test/java/at/gv/egiz/moazs/ITMzsServiceTest.java @@ -52,6 +52,10 @@ import static at.gv.zustellung.msg.xsd.DeliveryRequestStatusType.deliveryRequest import static java.net.http.HttpClient.Version; import static org.assertj.core.api.Assertions.assertThat; +/** + * @author Christof Rabensteiner + * + */ @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT) diff --git a/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java b/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java index fcaccfa..f880ae3 100644 --- a/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java +++ b/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java @@ -46,6 +46,10 @@ import static at.gv.zustellung.app2mzs.xsd.KeyStoreType.keyStoreTypeBuilder; import static at.gv.zustellung.app2mzs.xsd.SSLType.SSLTypeBuilder; import static org.assertj.core.api.Assertions.assertThat; +/** + * @author Christof Rabensteiner + * + */ @RunWith(SpringRunner.class) @SpringBootTest public class ITSSLMsgClientTest { diff --git a/src/test/java/at/gv/egiz/moazs/ITSignatureVerifierTest.java b/src/test/java/at/gv/egiz/moazs/ITSignatureVerifierTest.java index bed62fc..ce9bbc9 100644 --- a/src/test/java/at/gv/egiz/moazs/ITSignatureVerifierTest.java +++ b/src/test/java/at/gv/egiz/moazs/ITSignatureVerifierTest.java @@ -44,6 +44,10 @@ import java.io.IOException; import java.nio.file.Files; import java.util.function.Consumer; +/** + * @author Christof Rabensteiner + * + */ //Note: Certificate that signed these delivery responses expires in 2023-09-27. @RunWith(SpringRunner.class) @SpringBootTest diff --git a/src/test/java/at/gv/egiz/moazs/LogResponseSinkTest.java b/src/test/java/at/gv/egiz/moazs/LogResponseSinkTest.java index 82f2888..fead397 100644 --- a/src/test/java/at/gv/egiz/moazs/LogResponseSinkTest.java +++ b/src/test/java/at/gv/egiz/moazs/LogResponseSinkTest.java @@ -38,6 +38,10 @@ import static at.gv.zustellung.msg.xsd.DeliveryNotificationType.deliveryNotifica import static org.mockito.ArgumentMatchers.argThat; import static org.mockito.Mockito.verify; +/** + * @author Christof Rabensteiner + * + */ @RunWith(MockitoJUnitRunner.class) public class LogResponseSinkTest { diff --git a/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java b/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java index 2896220..77654de 100644 --- a/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java +++ b/src/test/java/at/gv/egiz/moazs/Mzs2MsgConverterTest.java @@ -37,6 +37,10 @@ import java.io.IOException; import static org.assertj.core.api.Assertions.assertThat; +/** + * @author Christof Rabensteiner + * + */ public class Mzs2MsgConverterTest { private final String basePath = "src/test/resources/at/gv/egiz/moazs/Mzs2MsgConverterTest/"; diff --git a/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java b/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java index e6231da..e2bc1f2 100644 --- a/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java +++ b/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java @@ -31,6 +31,10 @@ import java.nio.charset.StandardCharsets; import static org.assertj.core.api.Assertions.assertThat; +/** + * @author Christof Rabensteiner + * + */ public class SOAPUtilsTest { SOAPUtils utils; diff --git a/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java b/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java index e8b440b..c1d742a 100644 --- a/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java +++ b/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java @@ -47,6 +47,10 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; +/** + * @author Christof Rabensteiner + * + */ @RunWith(MockitoJUnitRunner.class) public class SaveResponseToFileSinkTest { diff --git a/src/test/java/at/gv/egiz/moazs/TnvzHelperTest.java b/src/test/java/at/gv/egiz/moazs/TnvzHelperTest.java index c83e288..4b5448b 100644 --- a/src/test/java/at/gv/egiz/moazs/TnvzHelperTest.java +++ b/src/test/java/at/gv/egiz/moazs/TnvzHelperTest.java @@ -61,6 +61,10 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; +/** + * @author Christof Rabensteiner + * + */ @RunWith(MockitoJUnitRunner.class) public class TnvzHelperTest { -- cgit v1.2.3