From 95dabd7750bf6c1dca60f25f322d26f3c1106e9d Mon Sep 17 00:00:00 2001 From: Konstantinos Dalianis <dean.dalianis@cern.ch> Date: Fri, 17 Nov 2023 15:30:25 +0100 Subject: [PATCH] groupId rename from `org` to `ch` --- pom.xml | 2 +- .../cern/nile/common/clients/KafkaStreamsClient.java | 11 ++++++----- .../cern/nile/common/configs/Configure.java | 2 +- .../cern/nile/common/configs/PropertiesCheck.java | 7 ++++--- .../cern/nile/common/configs/StreamConfig.java | 2 +- .../cern/nile/common/configs/StreamType.java | 2 +- .../nile/common/exceptions/DecodingException.java | 2 +- .../common/exceptions/InvalidStreamTypeException.java | 2 +- .../common/exceptions/MissingPropertyException.java | 2 +- .../common/exceptions/ReverseDnsLookupException.java | 2 +- .../common/exceptions/UnknownStreamTypeException.java | 2 +- .../cern/nile/common/json/JsonPojoDeserializer.java | 2 +- .../cern/nile/common/json/JsonPojoSerializer.java | 2 +- .../{org => ch}/cern/nile/common/json/JsonSerde.java | 2 +- .../cern/nile/common/models/Application.java | 2 +- .../{org => ch}/cern/nile/common/models/Topic.java | 2 +- .../{org => ch}/cern/nile/common/probes/Health.java | 2 +- .../{org => ch}/cern/nile/common/schema/JsonType.java | 2 +- .../cern/nile/common/schema/SchemaInjector.java | 2 +- .../cern/nile/common/streams/AbstractStream.java | 8 ++++---- .../java/ch/cern/nile/common/streams/Streaming.java | 10 ++++++++++ .../java/org/cern/nile/common/streams/Streaming.java | 10 ---------- .../cern/nile/common/configs/PropertiesCheckTest.java | 2 +- .../cern/nile/common/configs/StreamConfigTest.java | 2 +- .../cern/nile/common/configs/StreamTypeTest.java | 2 +- .../nile/common/json/JsonPojoDeserializerTest.java | 6 +++--- .../cern/nile/common/json/JsonPojoSerializerTest.java | 2 +- .../cern/nile/common/json/JsonSerdeTest.java | 2 +- .../cern/nile/common/schema/SchemaInjectorTest.java | 2 +- .../cern/nile/common/schema/SchemaTestBase.java | 2 +- 30 files changed, 51 insertions(+), 49 deletions(-) rename src/main/java/{org => ch}/cern/nile/common/clients/KafkaStreamsClient.java (93%) rename src/main/java/{org => ch}/cern/nile/common/configs/Configure.java (82%) rename src/main/java/{org => ch}/cern/nile/common/configs/PropertiesCheck.java (94%) rename src/main/java/{org => ch}/cern/nile/common/configs/StreamConfig.java (98%) rename src/main/java/{org => ch}/cern/nile/common/configs/StreamType.java (79%) rename src/main/java/{org => ch}/cern/nile/common/exceptions/DecodingException.java (84%) rename src/main/java/{org => ch}/cern/nile/common/exceptions/InvalidStreamTypeException.java (79%) rename src/main/java/{org => ch}/cern/nile/common/exceptions/MissingPropertyException.java (77%) rename src/main/java/{org => ch}/cern/nile/common/exceptions/ReverseDnsLookupException.java (80%) rename src/main/java/{org => ch}/cern/nile/common/exceptions/UnknownStreamTypeException.java (78%) rename src/main/java/{org => ch}/cern/nile/common/json/JsonPojoDeserializer.java (97%) rename src/main/java/{org => ch}/cern/nile/common/json/JsonPojoSerializer.java (96%) rename src/main/java/{org => ch}/cern/nile/common/json/JsonSerde.java (96%) rename src/main/java/{org => ch}/cern/nile/common/models/Application.java (85%) rename src/main/java/{org => ch}/cern/nile/common/models/Topic.java (84%) rename src/main/java/{org => ch}/cern/nile/common/probes/Health.java (96%) rename src/main/java/{org => ch}/cern/nile/common/schema/JsonType.java (96%) rename src/main/java/{org => ch}/cern/nile/common/schema/SchemaInjector.java (98%) rename src/main/java/{org => ch}/cern/nile/common/streams/AbstractStream.java (95%) create mode 100644 src/main/java/ch/cern/nile/common/streams/Streaming.java delete mode 100644 src/main/java/org/cern/nile/common/streams/Streaming.java rename src/test/java/{org => ch}/cern/nile/common/configs/PropertiesCheckTest.java (98%) rename src/test/java/{org => ch}/cern/nile/common/configs/StreamConfigTest.java (97%) rename src/test/java/{org => ch}/cern/nile/common/configs/StreamTypeTest.java (95%) rename src/test/java/{org => ch}/cern/nile/common/json/JsonPojoDeserializerTest.java (93%) rename src/test/java/{org => ch}/cern/nile/common/json/JsonPojoSerializerTest.java (97%) rename src/test/java/{org => ch}/cern/nile/common/json/JsonSerdeTest.java (93%) rename src/test/java/{org => ch}/cern/nile/common/schema/SchemaInjectorTest.java (98%) rename src/test/java/{org => ch}/cern/nile/common/schema/SchemaTestBase.java (94%) diff --git a/pom.xml b/pom.xml index 364c855..003c4f2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>org.cern.nile</groupId> + <groupId>ch.cern.nile</groupId> <artifactId>nile-common</artifactId> <version>1.0.0</version> diff --git a/src/main/java/org/cern/nile/common/clients/KafkaStreamsClient.java b/src/main/java/ch/cern/nile/common/clients/KafkaStreamsClient.java similarity index 93% rename from src/main/java/org/cern/nile/common/clients/KafkaStreamsClient.java rename to src/main/java/ch/cern/nile/common/clients/KafkaStreamsClient.java index 15ca994..74b490d 100644 --- a/src/main/java/org/cern/nile/common/clients/KafkaStreamsClient.java +++ b/src/main/java/ch/cern/nile/common/clients/KafkaStreamsClient.java @@ -1,8 +1,11 @@ -package org.cern.nile.common.clients; +package ch.cern.nile.common.clients; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Properties; + +import ch.cern.nile.common.configs.Configure; +import ch.cern.nile.common.exceptions.ReverseDnsLookupException; import org.apache.kafka.common.config.SaslConfigs; import org.apache.kafka.common.config.SslConfigs; import org.apache.kafka.common.serialization.Serdes; @@ -11,10 +14,8 @@ import org.apache.kafka.streams.StreamsConfig; import org.apache.kafka.streams.Topology; import org.apache.kafka.streams.errors.DefaultProductionExceptionHandler; import org.apache.kafka.streams.errors.LogAndContinueExceptionHandler; -import org.cern.nile.common.configs.Configure; -import org.cern.nile.common.configs.StreamConfig; -import org.cern.nile.common.exceptions.ReverseDnsLookupException; -import org.cern.nile.common.json.JsonSerde; +import ch.cern.nile.common.configs.StreamConfig; +import ch.cern.nile.common.json.JsonSerde; /** * This class is responsible for creating and configuring KafkaStreams instances. diff --git a/src/main/java/org/cern/nile/common/configs/Configure.java b/src/main/java/ch/cern/nile/common/configs/Configure.java similarity index 82% rename from src/main/java/org/cern/nile/common/configs/Configure.java rename to src/main/java/ch/cern/nile/common/configs/Configure.java index e7c9e08..b0b3c4d 100644 --- a/src/main/java/org/cern/nile/common/configs/Configure.java +++ b/src/main/java/ch/cern/nile/common/configs/Configure.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.configs; +package ch.cern.nile.common.configs; import java.util.Properties; diff --git a/src/main/java/org/cern/nile/common/configs/PropertiesCheck.java b/src/main/java/ch/cern/nile/common/configs/PropertiesCheck.java similarity index 94% rename from src/main/java/org/cern/nile/common/configs/PropertiesCheck.java rename to src/main/java/ch/cern/nile/common/configs/PropertiesCheck.java index 11d6f64..bb95779 100644 --- a/src/main/java/org/cern/nile/common/configs/PropertiesCheck.java +++ b/src/main/java/ch/cern/nile/common/configs/PropertiesCheck.java @@ -1,10 +1,11 @@ -package org.cern.nile.common.configs; +package ch.cern.nile.common.configs; import java.util.Objects; import java.util.Properties; import java.util.Set; -import org.cern.nile.common.exceptions.MissingPropertyException; -import org.cern.nile.common.exceptions.UnknownStreamTypeException; + +import ch.cern.nile.common.exceptions.MissingPropertyException; +import ch.cern.nile.common.exceptions.UnknownStreamTypeException; /** * A utility class to validate properties based on the type of stream. diff --git a/src/main/java/org/cern/nile/common/configs/StreamConfig.java b/src/main/java/ch/cern/nile/common/configs/StreamConfig.java similarity index 98% rename from src/main/java/org/cern/nile/common/configs/StreamConfig.java rename to src/main/java/ch/cern/nile/common/configs/StreamConfig.java index 515acf3..e0312f9 100644 --- a/src/main/java/org/cern/nile/common/configs/StreamConfig.java +++ b/src/main/java/ch/cern/nile/common/configs/StreamConfig.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.configs; +package ch.cern.nile.common.configs; import java.util.Arrays; import java.util.Set; diff --git a/src/main/java/org/cern/nile/common/configs/StreamType.java b/src/main/java/ch/cern/nile/common/configs/StreamType.java similarity index 79% rename from src/main/java/org/cern/nile/common/configs/StreamType.java rename to src/main/java/ch/cern/nile/common/configs/StreamType.java index 3421f89..b3b3565 100644 --- a/src/main/java/org/cern/nile/common/configs/StreamType.java +++ b/src/main/java/ch/cern/nile/common/configs/StreamType.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.configs; +package ch.cern.nile.common.configs; /** * Enum representing the types of streams supported by the application. diff --git a/src/main/java/org/cern/nile/common/exceptions/DecodingException.java b/src/main/java/ch/cern/nile/common/exceptions/DecodingException.java similarity index 84% rename from src/main/java/org/cern/nile/common/exceptions/DecodingException.java rename to src/main/java/ch/cern/nile/common/exceptions/DecodingException.java index 1eb689a..7b02130 100644 --- a/src/main/java/org/cern/nile/common/exceptions/DecodingException.java +++ b/src/main/java/ch/cern/nile/common/exceptions/DecodingException.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.exceptions; +package ch.cern.nile.common.exceptions; public class DecodingException extends RuntimeException { diff --git a/src/main/java/org/cern/nile/common/exceptions/InvalidStreamTypeException.java b/src/main/java/ch/cern/nile/common/exceptions/InvalidStreamTypeException.java similarity index 79% rename from src/main/java/org/cern/nile/common/exceptions/InvalidStreamTypeException.java rename to src/main/java/ch/cern/nile/common/exceptions/InvalidStreamTypeException.java index 8336157..47c5651 100644 --- a/src/main/java/org/cern/nile/common/exceptions/InvalidStreamTypeException.java +++ b/src/main/java/ch/cern/nile/common/exceptions/InvalidStreamTypeException.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.exceptions; +package ch.cern.nile.common.exceptions; public class InvalidStreamTypeException extends IllegalArgumentException { diff --git a/src/main/java/org/cern/nile/common/exceptions/MissingPropertyException.java b/src/main/java/ch/cern/nile/common/exceptions/MissingPropertyException.java similarity index 77% rename from src/main/java/org/cern/nile/common/exceptions/MissingPropertyException.java rename to src/main/java/ch/cern/nile/common/exceptions/MissingPropertyException.java index 63fa3bf..1765166 100644 --- a/src/main/java/org/cern/nile/common/exceptions/MissingPropertyException.java +++ b/src/main/java/ch/cern/nile/common/exceptions/MissingPropertyException.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.exceptions; +package ch.cern.nile.common.exceptions; public class MissingPropertyException extends RuntimeException { diff --git a/src/main/java/org/cern/nile/common/exceptions/ReverseDnsLookupException.java b/src/main/java/ch/cern/nile/common/exceptions/ReverseDnsLookupException.java similarity index 80% rename from src/main/java/org/cern/nile/common/exceptions/ReverseDnsLookupException.java rename to src/main/java/ch/cern/nile/common/exceptions/ReverseDnsLookupException.java index e9a53b8..e97b759 100644 --- a/src/main/java/org/cern/nile/common/exceptions/ReverseDnsLookupException.java +++ b/src/main/java/ch/cern/nile/common/exceptions/ReverseDnsLookupException.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.exceptions; +package ch.cern.nile.common.exceptions; public class ReverseDnsLookupException extends RuntimeException { diff --git a/src/main/java/org/cern/nile/common/exceptions/UnknownStreamTypeException.java b/src/main/java/ch/cern/nile/common/exceptions/UnknownStreamTypeException.java similarity index 78% rename from src/main/java/org/cern/nile/common/exceptions/UnknownStreamTypeException.java rename to src/main/java/ch/cern/nile/common/exceptions/UnknownStreamTypeException.java index 68a3d52..4de9951 100644 --- a/src/main/java/org/cern/nile/common/exceptions/UnknownStreamTypeException.java +++ b/src/main/java/ch/cern/nile/common/exceptions/UnknownStreamTypeException.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.exceptions; +package ch.cern.nile.common.exceptions; public class UnknownStreamTypeException extends RuntimeException { diff --git a/src/main/java/org/cern/nile/common/json/JsonPojoDeserializer.java b/src/main/java/ch/cern/nile/common/json/JsonPojoDeserializer.java similarity index 97% rename from src/main/java/org/cern/nile/common/json/JsonPojoDeserializer.java rename to src/main/java/ch/cern/nile/common/json/JsonPojoDeserializer.java index dc1188d..d54fe36 100644 --- a/src/main/java/org/cern/nile/common/json/JsonPojoDeserializer.java +++ b/src/main/java/ch/cern/nile/common/json/JsonPojoDeserializer.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.json; +package ch.cern.nile.common.json; import com.google.gson.Gson; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/org/cern/nile/common/json/JsonPojoSerializer.java b/src/main/java/ch/cern/nile/common/json/JsonPojoSerializer.java similarity index 96% rename from src/main/java/org/cern/nile/common/json/JsonPojoSerializer.java rename to src/main/java/ch/cern/nile/common/json/JsonPojoSerializer.java index 5c69dc8..b11221e 100644 --- a/src/main/java/org/cern/nile/common/json/JsonPojoSerializer.java +++ b/src/main/java/ch/cern/nile/common/json/JsonPojoSerializer.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.json; +package ch.cern.nile.common.json; import com.google.gson.Gson; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/org/cern/nile/common/json/JsonSerde.java b/src/main/java/ch/cern/nile/common/json/JsonSerde.java similarity index 96% rename from src/main/java/org/cern/nile/common/json/JsonSerde.java rename to src/main/java/ch/cern/nile/common/json/JsonSerde.java index e826e2b..1afd583 100644 --- a/src/main/java/org/cern/nile/common/json/JsonSerde.java +++ b/src/main/java/ch/cern/nile/common/json/JsonSerde.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.json; +package ch.cern.nile.common.json; import com.google.gson.JsonObject; import java.util.Map; diff --git a/src/main/java/org/cern/nile/common/models/Application.java b/src/main/java/ch/cern/nile/common/models/Application.java similarity index 85% rename from src/main/java/org/cern/nile/common/models/Application.java rename to src/main/java/ch/cern/nile/common/models/Application.java index 08c7859..b91c0af 100644 --- a/src/main/java/org/cern/nile/common/models/Application.java +++ b/src/main/java/ch/cern/nile/common/models/Application.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.models; +package ch.cern.nile.common.models; import lombok.Getter; import lombok.NoArgsConstructor; diff --git a/src/main/java/org/cern/nile/common/models/Topic.java b/src/main/java/ch/cern/nile/common/models/Topic.java similarity index 84% rename from src/main/java/org/cern/nile/common/models/Topic.java rename to src/main/java/ch/cern/nile/common/models/Topic.java index b3514cb..a65ec39 100644 --- a/src/main/java/org/cern/nile/common/models/Topic.java +++ b/src/main/java/ch/cern/nile/common/models/Topic.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.models; +package ch.cern.nile.common.models; import lombok.Getter; import lombok.NoArgsConstructor; diff --git a/src/main/java/org/cern/nile/common/probes/Health.java b/src/main/java/ch/cern/nile/common/probes/Health.java similarity index 96% rename from src/main/java/org/cern/nile/common/probes/Health.java rename to src/main/java/ch/cern/nile/common/probes/Health.java index 56adcd0..532cba0 100644 --- a/src/main/java/org/cern/nile/common/probes/Health.java +++ b/src/main/java/ch/cern/nile/common/probes/Health.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.probes; +package ch.cern.nile.common.probes; import com.sun.net.httpserver.HttpServer; import java.io.IOException; diff --git a/src/main/java/org/cern/nile/common/schema/JsonType.java b/src/main/java/ch/cern/nile/common/schema/JsonType.java similarity index 96% rename from src/main/java/org/cern/nile/common/schema/JsonType.java rename to src/main/java/ch/cern/nile/common/schema/JsonType.java index d4a4146..f157543 100644 --- a/src/main/java/org/cern/nile/common/schema/JsonType.java +++ b/src/main/java/ch/cern/nile/common/schema/JsonType.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.schema; +package ch.cern.nile.common.schema; import java.util.Date; diff --git a/src/main/java/org/cern/nile/common/schema/SchemaInjector.java b/src/main/java/ch/cern/nile/common/schema/SchemaInjector.java similarity index 98% rename from src/main/java/org/cern/nile/common/schema/SchemaInjector.java rename to src/main/java/ch/cern/nile/common/schema/SchemaInjector.java index 32df60b..be2b36e 100644 --- a/src/main/java/org/cern/nile/common/schema/SchemaInjector.java +++ b/src/main/java/ch/cern/nile/common/schema/SchemaInjector.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.schema; +package ch.cern.nile.common.schema; import java.util.Date; import java.util.HashMap; diff --git a/src/main/java/org/cern/nile/common/streams/AbstractStream.java b/src/main/java/ch/cern/nile/common/streams/AbstractStream.java similarity index 95% rename from src/main/java/org/cern/nile/common/streams/AbstractStream.java rename to src/main/java/ch/cern/nile/common/streams/AbstractStream.java index 0b6ed1b..2292c68 100644 --- a/src/main/java/org/cern/nile/common/streams/AbstractStream.java +++ b/src/main/java/ch/cern/nile/common/streams/AbstractStream.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.streams; +package ch.cern.nile.common.streams; import com.google.gson.JsonArray; import com.google.gson.JsonElement; @@ -14,9 +14,9 @@ import org.apache.kafka.streams.StreamsBuilder; import org.apache.kafka.streams.Topology; import org.apache.kafka.streams.kstream.ValueTransformer; import org.apache.kafka.streams.processor.ProcessorContext; -import org.cern.nile.common.clients.KafkaStreamsClient; -import org.cern.nile.common.configs.StreamConfig; -import org.cern.nile.common.probes.Health; +import ch.cern.nile.common.clients.KafkaStreamsClient; +import ch.cern.nile.common.configs.StreamConfig; +import ch.cern.nile.common.probes.Health; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/ch/cern/nile/common/streams/Streaming.java b/src/main/java/ch/cern/nile/common/streams/Streaming.java new file mode 100644 index 0000000..1aa171e --- /dev/null +++ b/src/main/java/ch/cern/nile/common/streams/Streaming.java @@ -0,0 +1,10 @@ +package ch.cern.nile.common.streams; + +import ch.cern.nile.common.configs.Configure; +import ch.cern.nile.common.clients.KafkaStreamsClient; + +public interface Streaming extends Configure { + + void stream(KafkaStreamsClient kafkaStreamsClient); + +} diff --git a/src/main/java/org/cern/nile/common/streams/Streaming.java b/src/main/java/org/cern/nile/common/streams/Streaming.java deleted file mode 100644 index 37a4dd8..0000000 --- a/src/main/java/org/cern/nile/common/streams/Streaming.java +++ /dev/null @@ -1,10 +0,0 @@ -package org.cern.nile.common.streams; - -import org.cern.nile.common.clients.KafkaStreamsClient; -import org.cern.nile.common.configs.Configure; - -public interface Streaming extends Configure { - - void stream(KafkaStreamsClient kafkaStreamsClient); - -} diff --git a/src/test/java/org/cern/nile/common/configs/PropertiesCheckTest.java b/src/test/java/ch/cern/nile/common/configs/PropertiesCheckTest.java similarity index 98% rename from src/test/java/org/cern/nile/common/configs/PropertiesCheckTest.java rename to src/test/java/ch/cern/nile/common/configs/PropertiesCheckTest.java index 57c0e51..523fa22 100644 --- a/src/test/java/org/cern/nile/common/configs/PropertiesCheckTest.java +++ b/src/test/java/ch/cern/nile/common/configs/PropertiesCheckTest.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.configs; +package ch.cern.nile.common.configs; import static org.junit.jupiter.api.Assertions.assertThrows; diff --git a/src/test/java/org/cern/nile/common/configs/StreamConfigTest.java b/src/test/java/ch/cern/nile/common/configs/StreamConfigTest.java similarity index 97% rename from src/test/java/org/cern/nile/common/configs/StreamConfigTest.java rename to src/test/java/ch/cern/nile/common/configs/StreamConfigTest.java index b9338fb..e2a7674 100644 --- a/src/test/java/org/cern/nile/common/configs/StreamConfigTest.java +++ b/src/test/java/ch/cern/nile/common/configs/StreamConfigTest.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.configs; +package ch.cern.nile.common.configs; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; diff --git a/src/test/java/org/cern/nile/common/configs/StreamTypeTest.java b/src/test/java/ch/cern/nile/common/configs/StreamTypeTest.java similarity index 95% rename from src/test/java/org/cern/nile/common/configs/StreamTypeTest.java rename to src/test/java/ch/cern/nile/common/configs/StreamTypeTest.java index 2915644..5dd6bf9 100644 --- a/src/test/java/org/cern/nile/common/configs/StreamTypeTest.java +++ b/src/test/java/ch/cern/nile/common/configs/StreamTypeTest.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.configs; +package ch.cern.nile.common.configs; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; diff --git a/src/test/java/org/cern/nile/common/json/JsonPojoDeserializerTest.java b/src/test/java/ch/cern/nile/common/json/JsonPojoDeserializerTest.java similarity index 93% rename from src/test/java/org/cern/nile/common/json/JsonPojoDeserializerTest.java rename to src/test/java/ch/cern/nile/common/json/JsonPojoDeserializerTest.java index 62982d2..f5f1261 100644 --- a/src/test/java/org/cern/nile/common/json/JsonPojoDeserializerTest.java +++ b/src/test/java/ch/cern/nile/common/json/JsonPojoDeserializerTest.java @@ -1,11 +1,11 @@ -package org.cern.nile.common.json; +package ch.cern.nile.common.json; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import java.util.Map; -import org.cern.nile.common.models.Application; -import org.cern.nile.common.models.Topic; +import ch.cern.nile.common.models.Application; +import ch.cern.nile.common.models.Topic; import org.junit.jupiter.api.Test; class JsonPojoDeserializerTest { diff --git a/src/test/java/org/cern/nile/common/json/JsonPojoSerializerTest.java b/src/test/java/ch/cern/nile/common/json/JsonPojoSerializerTest.java similarity index 97% rename from src/test/java/org/cern/nile/common/json/JsonPojoSerializerTest.java rename to src/test/java/ch/cern/nile/common/json/JsonPojoSerializerTest.java index d971b48..4f7d9b7 100644 --- a/src/test/java/org/cern/nile/common/json/JsonPojoSerializerTest.java +++ b/src/test/java/ch/cern/nile/common/json/JsonPojoSerializerTest.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.json; +package ch.cern.nile.common.json; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; diff --git a/src/test/java/org/cern/nile/common/json/JsonSerdeTest.java b/src/test/java/ch/cern/nile/common/json/JsonSerdeTest.java similarity index 93% rename from src/test/java/org/cern/nile/common/json/JsonSerdeTest.java rename to src/test/java/ch/cern/nile/common/json/JsonSerdeTest.java index f3f1a6c..228333c 100644 --- a/src/test/java/org/cern/nile/common/json/JsonSerdeTest.java +++ b/src/test/java/ch/cern/nile/common/json/JsonSerdeTest.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.json; +package ch.cern.nile.common.json; import static org.junit.jupiter.api.Assertions.assertNotNull; diff --git a/src/test/java/org/cern/nile/common/schema/SchemaInjectorTest.java b/src/test/java/ch/cern/nile/common/schema/SchemaInjectorTest.java similarity index 98% rename from src/test/java/org/cern/nile/common/schema/SchemaInjectorTest.java rename to src/test/java/ch/cern/nile/common/schema/SchemaInjectorTest.java index 1aad988..0b0ae4b 100644 --- a/src/test/java/org/cern/nile/common/schema/SchemaInjectorTest.java +++ b/src/test/java/ch/cern/nile/common/schema/SchemaInjectorTest.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.schema; +package ch.cern.nile.common.schema; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/cern/nile/common/schema/SchemaTestBase.java b/src/test/java/ch/cern/nile/common/schema/SchemaTestBase.java similarity index 94% rename from src/test/java/org/cern/nile/common/schema/SchemaTestBase.java rename to src/test/java/ch/cern/nile/common/schema/SchemaTestBase.java index abeb38c..9eca0fa 100644 --- a/src/test/java/org/cern/nile/common/schema/SchemaTestBase.java +++ b/src/test/java/ch/cern/nile/common/schema/SchemaTestBase.java @@ -1,4 +1,4 @@ -package org.cern.nile.common.schema; +package ch.cern.nile.common.schema; import java.util.Date; import java.util.HashMap; -- GitLab