diff --git a/apache-cxf-modules/README.md b/apache-cxf-modules/README.md
index 88edaf4e13..cd45c371fe 100644
--- a/apache-cxf-modules/README.md
+++ b/apache-cxf-modules/README.md
@@ -4,6 +4,4 @@ This module contains articles about Apache CXF
## Relevant Articles:
-- [Apache CXF Support for RESTful Web Services](https://www.baeldung.com/apache-cxf-rest-api)
-- [A Guide to Apache CXF with Spring](https://www.baeldung.com/apache-cxf-with-spring)
-- [Introduction to Apache CXF](https://www.baeldung.com/introduction-to-apache-cxf)
+- [Introduction to Apache CXF Aegis Data Binding](https://www.baeldung.com/aegis-data-binding-in-apache-cxf)
diff --git a/apache-cxf-modules/cxf-introduction/README.md b/apache-cxf-modules/cxf-introduction/README.md
index 9a076524b7..3eef167785 100644
--- a/apache-cxf-modules/cxf-introduction/README.md
+++ b/apache-cxf-modules/cxf-introduction/README.md
@@ -1,2 +1,2 @@
### Relevant Articles:
-- [Introduction to Apache CXF](http://www.baeldung.com/introduction-to-apache-cxf)
+- [Introduction to Apache CXF](https://www.baeldung.com/introduction-to-apache-cxf)
diff --git a/axon/pom.xml b/axon/pom.xml
index 00e3f0f4c5..f37344dc81 100644
--- a/axon/pom.xml
+++ b/axon/pom.xml
@@ -19,7 +19,7 @@
org.axonframework
axon-bom
- ${axon.version}
+ ${axon-bom.version}
pom
import
@@ -57,7 +57,7 @@
- 4.5.0
+ 4.5.13
\ No newline at end of file
diff --git a/core-java-modules/core-java-11-2/src/test/java/com/baeldung/httpclient/parameters/HttpClientParametersLiveTest.java b/core-java-modules/core-java-11-2/src/test/java/com/baeldung/httpclient/parameters/HttpClientParametersLiveTest.java
new file mode 100644
index 0000000000..429825c550
--- /dev/null
+++ b/core-java-modules/core-java-11-2/src/test/java/com/baeldung/httpclient/parameters/HttpClientParametersLiveTest.java
@@ -0,0 +1,45 @@
+package com.baeldung.httpclient.parameters;
+
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Test;
+
+import java.io.IOException;
+import java.net.URI;
+import java.net.http.HttpClient;
+import java.net.http.HttpRequest;
+import java.net.http.HttpResponse;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+public class HttpClientParametersLiveTest {
+
+ private static HttpClient client;
+
+ @BeforeAll
+ public static void setUp() {
+ client = HttpClient.newHttpClient();
+ }
+
+ @Test
+ public void givenQueryParams_whenGetRequest_thenResponseOk() throws IOException, InterruptedException {
+ HttpRequest request = HttpRequest.newBuilder()
+ .version(HttpClient.Version.HTTP_2)
+ .uri(URI.create("https://postman-echo.com/get?param1=value1¶m2=value2"))
+ .GET()
+ .build();
+ HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString());
+
+ assertEquals(response.statusCode(), 200);
+ }
+
+ @Test
+ public void givenQueryParams_whenGetRequestWithDefaultConfiguration_thenResponseOk() throws IOException, InterruptedException {
+ HttpRequest request = HttpRequest.newBuilder()
+ .uri(URI.create("https://postman-echo.com/get?param1=value1¶m2=value2"))
+ .build();
+ HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString());
+
+ assertEquals(response.statusCode(), 200);
+ }
+
+}
diff --git a/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/CleaningDemo.java b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/CleaningDemo.java
new file mode 100644
index 0000000000..bb7ba44e4a
--- /dev/null
+++ b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/CleaningDemo.java
@@ -0,0 +1,17 @@
+package com.bealdung.java9.finalizers;
+
+import java.lang.ref.Cleaner;
+
+class CleaningDemo {
+
+ public static void main(String[] args) {
+ final Cleaner cleaner = Cleaner.create();
+ try (Order order = new Order(cleaner)) {
+ for (int i = 0; i < 10; i++) {
+ order.register(new Product(i), i);
+ }
+ } catch (Exception e) {
+ System.err.println("Error: " + e);
+ }
+ }
+}
diff --git a/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Order.java b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Order.java
new file mode 100644
index 0000000000..82b43caf7d
--- /dev/null
+++ b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Order.java
@@ -0,0 +1,36 @@
+package com.bealdung.java9.finalizers;
+
+import java.lang.ref.Cleaner;
+
+class Order implements AutoCloseable {
+
+ private final Cleaner cleaner;
+ private Cleaner.Cleanable cleanable;
+
+ public Order(Cleaner cleaner) {
+ this.cleaner = cleaner;
+ }
+
+ public void register(Product product, int id) {
+ this.cleanable = cleaner.register(product, new CleaningAction(id));
+ }
+
+ public void close() {
+ cleanable.clean();
+ System.out.println("Cleanable closed");
+ }
+
+ static class CleaningAction implements Runnable {
+
+ private final int id;
+
+ public CleaningAction(int id) {
+ this.id = id;
+ }
+
+ @Override
+ public void run() {
+ System.out.printf("Object with id %s is garbage collected. %n", id);
+ }
+ }
+}
diff --git a/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Product.java b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Product.java
new file mode 100644
index 0000000000..7a2f95efad
--- /dev/null
+++ b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Product.java
@@ -0,0 +1,13 @@
+package com.bealdung.java9.finalizers;
+
+class Product {
+ private final int id;
+
+ public Product(int id) {
+ this.id = id;
+ }
+
+ public int getId() {
+ return id;
+ }
+}
\ No newline at end of file
diff --git a/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Resource.java b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Resource.java
new file mode 100644
index 0000000000..f4b348e796
--- /dev/null
+++ b/core-java-modules/core-java-9/src/main/java/com/baeldung/java9/finalizers/Resource.java
@@ -0,0 +1,25 @@
+package com.bealdung.java9.finalizers;
+
+import java.io.BufferedReader;
+import java.io.FileNotFoundException;
+import java.io.FileReader;
+
+class Resource implements AutoCloseable {
+
+ final BufferedReader reader;
+
+ public Resource(String filename) throws FileNotFoundException {
+ reader = new BufferedReader(new FileReader(filename));
+ }
+
+ public long getLineNumber() {
+ return reader.lines()
+ .count();
+ }
+
+ @Override
+ public void close() throws Exception {
+ reader.close();
+ System.out.println("BufferedReader resource closed");
+ }
+}
\ No newline at end of file
diff --git a/core-java-modules/core-java-9/src/test/java/com/baeldung/java9/finalizers/FinalizeUnitTest.java b/core-java-modules/core-java-9/src/test/java/com/baeldung/java9/finalizers/FinalizeUnitTest.java
new file mode 100644
index 0000000000..3ef1fc1192
--- /dev/null
+++ b/core-java-modules/core-java-9/src/test/java/com/baeldung/java9/finalizers/FinalizeUnitTest.java
@@ -0,0 +1,30 @@
+package com.bealdung.java9.finalizers;
+
+import org.junit.jupiter.api.Test;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+class FinalizeUnitTest {
+
+ @Test
+ void givenFilename_whenGetLineNumber_thenReturnCorrectNumber() throws IOException {
+ final File tmpFile = File.createTempFile("test", ".tmp");
+ final BufferedWriter writer = new BufferedWriter(new FileWriter(tmpFile));
+ writer.write("Baeldung");
+ writer.close();
+
+ long lineNumber = 0;
+ try (Resource resource = new Resource(tmpFile.getAbsolutePath())) {
+ lineNumber = resource.getLineNumber();
+ } catch (Exception e) {
+ System.err.println("Error " + e);
+ }
+
+ assertEquals(1, lineNumber);
+ }
+}
diff --git a/core-java-modules/core-java-collections-list-3/README.md b/core-java-modules/core-java-collections-list-3/README.md
index 6d0a3c7037..ecae0dda7d 100644
--- a/core-java-modules/core-java-collections-list-3/README.md
+++ b/core-java-modules/core-java-collections-list-3/README.md
@@ -13,5 +13,4 @@ This module contains articles about the Java List collection
- [Finding the Differences Between Two Lists in Java](https://www.baeldung.com/java-lists-difference)
- [List vs. ArrayList in Java](https://www.baeldung.com/java-list-vs-arraylist)
- [How to Store HashMap Inside a List](https://www.baeldung.com/java-hashmap-inside-list)
-- [Working With a List of Lists in Java](https://www.baeldung.com/java-list-of-lists)
- [[<-- Prev]](/core-java-modules/core-java-collections-list-2)
diff --git a/core-java-modules/core-java-collections-list-4/README.md b/core-java-modules/core-java-collections-list-4/README.md
index 09b61fa9b2..4c020969e3 100644
--- a/core-java-modules/core-java-collections-list-4/README.md
+++ b/core-java-modules/core-java-collections-list-4/README.md
@@ -5,4 +5,5 @@ This module contains articles about the Java List collection
### Relevant Articles:
- [Working With a List of Lists in Java](https://www.baeldung.com/java-list-of-lists)
- [Reverse an ArrayList in Java](https://www.baeldung.com/java-reverse-arraylist)
+- [Sort a List Alphabetically in Java](https://www.baeldung.com/java-sort-list-alphabetically)
- [[<-- Prev]](/core-java-modules/core-java-collections-list-3)
diff --git a/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyRunnable.java b/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyRunnable.java
deleted file mode 100644
index 06b587d0e0..0000000000
--- a/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyRunnable.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package com.baeldung.exceptions.sneakythrows;
-
-import lombok.SneakyThrows;
-
-public class SneakyRunnable implements Runnable {
-
- @SneakyThrows
- public void run() {
- try {
- throw new InterruptedException();
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- }
-
- public static void main(String[] args) {
- try {
- new SneakyRunnable().run();
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-}
diff --git a/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyThrows.java b/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyThrows.java
deleted file mode 100644
index e86ef53733..0000000000
--- a/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyThrows.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.baeldung.exceptions.sneakythrows;
-
-import java.io.IOException;
-
-public class SneakyThrows {
-
-
- public static void sneakyThrow(Throwable e) throws E {
- throw (E) e;
- }
-
- public static void throwsSneakyIOException() {
- sneakyThrow(new IOException("sneaky"));
- }
-
-
- public static void main(String[] args) {
- try {
- throwsSneakyIOException();
- } catch (Exception ex) {
- ex.printStackTrace();
- }
-
- }
-}
diff --git a/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsExamples.java b/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsExamples.java
new file mode 100644
index 0000000000..37f2e4ba9c
--- /dev/null
+++ b/core-java-modules/core-java-exceptions/src/main/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsExamples.java
@@ -0,0 +1,22 @@
+package com.baeldung.exceptions.sneakythrows;
+
+import java.io.IOException;
+
+import lombok.SneakyThrows;
+
+public class SneakyThrowsExamples {
+
+ public static void sneakyThrow(Throwable e) throws E {
+ throw (E) e;
+ }
+
+ public static void throwSneakyIOException() {
+ sneakyThrow(new IOException("sneaky"));
+ }
+
+ @SneakyThrows
+ public static void throwSneakyIOExceptionUsingLombok() {
+ throw new IOException("lombok sneaky");
+ }
+
+}
diff --git a/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyRunnableUnitTest.java b/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyRunnableUnitTest.java
deleted file mode 100644
index 086c4eaef0..0000000000
--- a/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyRunnableUnitTest.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.baeldung.exceptions.sneakythrows;
-
-import org.junit.Test;
-
-import static junit.framework.TestCase.assertEquals;
-
-public class SneakyRunnableUnitTest {
-
- @Test
- public void whenCallSneakyRunnableMethod_thenThrowException() {
- try {
- new SneakyRunnable().run();
- } catch (Exception e) {
- assertEquals(InterruptedException.class, e.getStackTrace());
- }
- }
-}
diff --git a/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsExamplesUnitTest.java b/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsExamplesUnitTest.java
new file mode 100644
index 0000000000..8809bf78d9
--- /dev/null
+++ b/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsExamplesUnitTest.java
@@ -0,0 +1,28 @@
+package com.baeldung.exceptions.sneakythrows;
+
+import static com.baeldung.exceptions.sneakythrows.SneakyThrowsExamples.throwSneakyIOException;
+import static com.baeldung.exceptions.sneakythrows.SneakyThrowsExamples.throwSneakyIOExceptionUsingLombok;
+import static org.assertj.core.api.Assertions.assertThatThrownBy;
+
+import java.io.IOException;
+
+import org.junit.Test;
+
+public class SneakyThrowsExamplesUnitTest {
+
+ @Test
+ public void throwSneakyIOException_IOExceptionShouldBeThrown() {
+ assertThatThrownBy(() -> throwSneakyIOException())
+ .isInstanceOf(IOException.class)
+ .hasMessage("sneaky")
+ .hasStackTraceContaining("SneakyThrowsExamples.throwSneakyIOException");
+ }
+
+ @Test
+ public void throwSneakyIOExceptionUsingLombok_IOExceptionShouldBeThrown() {
+ assertThatThrownBy(() -> throwSneakyIOExceptionUsingLombok())
+ .isInstanceOf(IOException.class)
+ .hasMessage("lombok sneaky")
+ .hasStackTraceContaining("SneakyThrowsExamples.throwSneakyIOExceptionUsingLombok");
+ }
+}
diff --git a/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsUnitTest.java b/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsUnitTest.java
deleted file mode 100644
index 3b70128a9b..0000000000
--- a/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/sneakythrows/SneakyThrowsUnitTest.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package com.baeldung.exceptions.sneakythrows;
-
-import org.junit.Test;
-
-import static junit.framework.TestCase.assertEquals;
-
-public class SneakyThrowsUnitTest {
-
- @Test
- public void whenCallSneakyMethod_thenThrowSneakyException() {
- try {
- SneakyThrows.throwsSneakyIOException();
- } catch (Exception ex) {
- assertEquals("sneaky", ex.getMessage().toString());
- }
- }
-
-}
diff --git a/core-java-modules/core-java-lang-operators-2/src/main/java/com/baeldung/threebool/ThreeBooleans.java b/core-java-modules/core-java-lang-operators-2/src/main/java/com/baeldung/threebool/ThreeBooleans.java
new file mode 100644
index 0000000000..e76f08d8dc
--- /dev/null
+++ b/core-java-modules/core-java-lang-operators-2/src/main/java/com/baeldung/threebool/ThreeBooleans.java
@@ -0,0 +1,45 @@
+package com.baeldung.threebool;
+
+import java.util.Arrays;
+
+public class ThreeBooleans {
+ public static boolean twoOrMoreAreTrueByLoop(boolean a, boolean b, boolean c) {
+ int count = 0;
+ for (boolean i : new Boolean[] { a, b, c }) {
+ count += i ? 1 : 0;
+ if (count >= 2)
+ return true;
+ }
+ return false;
+ }
+
+ public static boolean xOrMoreAreTrueByLoop(boolean[] booleans, int x) {
+ int count = 0;
+ for (boolean i : booleans) {
+ count += i ? 1 : 0;
+ if (count >= x)
+ return true;
+ }
+ return false;
+ }
+
+ public static boolean twoOrMoreAreTrueBySum(boolean a, boolean b, boolean c) {
+ return (a ? 1 : 0) + (b ? 1 : 0) + (c ? 1 : 0) >= 2;
+ }
+
+ public static boolean xOrMoreAreTrueBySum(Boolean[] booleans, int x) {
+ return Arrays.stream(booleans).mapToInt(b -> Boolean.TRUE.equals(b) ? 1 : 0).sum() >= x;
+ }
+
+ public static boolean twoorMoreAreTrueByKarnaughMap(boolean a, boolean b, boolean c) {
+ return (c && (a || b)) || (a && b);
+ }
+
+ public static boolean twoOrMoreAreTrueByOperators(boolean a, boolean b, boolean c) {
+ return (a && b) || (a && c) || (b && c);
+ }
+
+ public static boolean twoOrMoreAreTrueByXor(boolean a, boolean b, boolean c) {
+ return a ^ b ? c : a;
+ }
+}
diff --git a/core-java-modules/core-java-lang-operators-2/src/test/java/com/baeldung/threebool/ThreeBooleansUnitTest.java b/core-java-modules/core-java-lang-operators-2/src/test/java/com/baeldung/threebool/ThreeBooleansUnitTest.java
new file mode 100644
index 0000000000..96bd49678d
--- /dev/null
+++ b/core-java-modules/core-java-lang-operators-2/src/test/java/com/baeldung/threebool/ThreeBooleansUnitTest.java
@@ -0,0 +1,44 @@
+package com.baeldung.threebool;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+import com.google.common.collect.ImmutableMap;
+import java.util.Map;
+import org.junit.jupiter.api.Test;
+
+class ThreeBooleansUnitTest {
+ // @formatter:off
+ private static final Map TEST_CASES_AND_EXPECTED = ImmutableMap.of(
+ new boolean[]{true, true, true}, true,
+ new boolean[]{true, true, false}, true,
+ new boolean[]{true, false, false}, false,
+ new boolean[]{false, false, false}, false
+ );
+ // @formatter:on
+
+ @Test
+ void given3Booleans_whenCallingTwoOrMoreAreTrueByLoop_thenGetExpectedResult() {
+ TEST_CASES_AND_EXPECTED.forEach((array, expected) -> assertThat(ThreeBooleans.twoOrMoreAreTrueByLoop(array[0], array[1], array[2])).isEqualTo(expected));
+ }
+
+ @Test
+ void given3Booleans_whenCallingTwoOrMoreAreTrueByCounting_thenGetExpectedResult() {
+ TEST_CASES_AND_EXPECTED.forEach((array, expected) -> assertThat(ThreeBooleans.twoOrMoreAreTrueBySum(array[0], array[1], array[2])).isEqualTo(expected));
+ }
+
+ @Test
+ void given3Booleans_whenCallingTwoOrMoreAreTrueByKarnaughMap_thenGetExpectedResult() {
+ TEST_CASES_AND_EXPECTED.forEach((array, expected) -> assertThat(ThreeBooleans.twoorMoreAreTrueByKarnaughMap(array[0], array[1], array[2])).isEqualTo(expected));
+ }
+
+ @Test
+ void given3Booleans_whenCallingTwoOrMoreAreTrueByOperators_thenGetExpectedResult() {
+ TEST_CASES_AND_EXPECTED.forEach((array, expected) -> assertThat(ThreeBooleans.twoOrMoreAreTrueByOperators(array[0], array[1], array[2])).isEqualTo(expected));
+ }
+
+ @Test
+ void given3Booleans_whenCallingTwoOrMoreAreTrueByXor_thenGetExpectedResult() {
+ TEST_CASES_AND_EXPECTED.forEach((array, expected) -> assertThat(ThreeBooleans.twoOrMoreAreTrueByXor(array[0], array[1], array[2])).isEqualTo(expected));
+ }
+
+}
diff --git a/core-java-modules/core-java-reflection-2/pom.xml b/core-java-modules/core-java-reflection-2/pom.xml
index 2cb6d722a8..ee3eeee734 100644
--- a/core-java-modules/core-java-reflection-2/pom.xml
+++ b/core-java-modules/core-java-reflection-2/pom.xml
@@ -47,6 +47,25 @@
-parameters
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.8
+
+
+
+ prepare-agent
+
+
+
+ report
+ prepare-package
+
+ report
+
+
+
+
diff --git a/core-java-modules/core-java-reflection-2/src/main/java/com/baeldung/reflection/privatemethods/Utils.java b/core-java-modules/core-java-reflection-2/src/main/java/com/baeldung/reflection/privatemethods/Utils.java
new file mode 100644
index 0000000000..f3ff0b5cf5
--- /dev/null
+++ b/core-java-modules/core-java-reflection-2/src/main/java/com/baeldung/reflection/privatemethods/Utils.java
@@ -0,0 +1,19 @@
+package com.baeldung.reflection.privatemethods;
+
+public class Utils {
+
+ public static Integer validateAndDouble(Integer input) {
+ if (input == null) {
+ throw new IllegalArgumentException("input should not be null");
+ }
+ return doubleInteger(input);
+ }
+
+ private static Integer doubleInteger(Integer input) {
+ if (input == null) {
+ return null;
+ }
+ return 2 * input;
+ }
+
+}
diff --git a/core-java-modules/core-java-reflection-2/src/test/java/com/baeldung/reflection/privatemethods/UtilsUnitTest.java b/core-java-modules/core-java-reflection-2/src/test/java/com/baeldung/reflection/privatemethods/UtilsUnitTest.java
new file mode 100644
index 0000000000..59fa98c7d4
--- /dev/null
+++ b/core-java-modules/core-java-reflection-2/src/test/java/com/baeldung/reflection/privatemethods/UtilsUnitTest.java
@@ -0,0 +1,42 @@
+package com.baeldung.reflection.privatemethods;
+
+import static com.baeldung.reflection.privatemethods.Utils.validateAndDouble;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertThrows;
+
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+
+import org.junit.jupiter.api.Test;
+
+public class UtilsUnitTest {
+
+ // Let's start with the tests of the public API
+ @Test
+ void givenNull_WhenValidateAndDouble_ThenThrows() {
+ assertThrows(IllegalArgumentException.class, () -> validateAndDouble(null));
+ }
+
+ @Test
+ void givenANonNullInteger_WhenValidateAndDouble_ThenDoublesIt() {
+ assertEquals(4, validateAndDouble(2));
+ }
+
+ // Further on, let's test the private method
+ @Test
+ void givenNull_WhenDoubleInteger_ThenNull() throws InvocationTargetException, IllegalAccessException, NoSuchMethodException {
+ assertEquals(null, getDoubleIntegerMethod().invoke(null, new Integer[] { null }));
+ }
+
+ @Test
+ void givenANonNullInteger_WhenDoubleInteger_ThenDoubleIt() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
+ assertEquals(74, getDoubleIntegerMethod().invoke(null, 37));
+ }
+
+ private Method getDoubleIntegerMethod() throws NoSuchMethodException {
+ Method method = Utils.class.getDeclaredMethod("doubleInteger", Integer.class);
+ method.setAccessible(true);
+ return method;
+ }
+
+}
diff --git a/core-java-modules/core-java-string-conversions-2/src/test/java/com/baeldung/stringtointeger/StringToIntegerUnitTest.java b/core-java-modules/core-java-string-conversions-2/src/test/java/com/baeldung/stringtointeger/StringToIntegerUnitTest.java
new file mode 100644
index 0000000000..dbb32e3f1b
--- /dev/null
+++ b/core-java-modules/core-java-string-conversions-2/src/test/java/com/baeldung/stringtointeger/StringToIntegerUnitTest.java
@@ -0,0 +1,73 @@
+package com.baeldung.stringtointeger;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
+
+public class StringToIntegerUnitTest {
+
+ @Test
+ public void whenValidNumericStringIsPassed_thenShouldConvertToPrimitiveInt() {
+ assertEquals(11, Integer.parseInt("11"));
+ assertEquals(11, Integer.parseInt("+11"));
+ assertEquals(-11, Integer.parseInt("-11"));
+ }
+
+ @Test
+ public void whenValidNumericStringWithRadixIsPassed_thenShouldConvertToPrimitiveInt() {
+ assertEquals(17, Integer.parseInt("11", 16));
+ assertEquals(10, Integer.parseInt("A", 16));
+ assertEquals(7, Integer.parseInt("7", 8));
+ }
+
+// public static int parseInt(CharSequence s, int beginIndex, int endIndex, int radix) throws NumberFormatException
+// This method is available in JDK 9 and above
+// @Test
+// public void whenValidNumericStringWithRadixAndSubstringIsPassed_thenShouldConvertToPrimitiveInt() {
+// assertEquals(5, Integer.parseInt("100101", 3, 6, 2));
+// assertEquals(101, Integer.parseInt("100101", 3, 6, 10));
+// }
+
+ @Test(expected = NumberFormatException.class)
+ public void whenInValidNumericStringIsPassed_thenShouldThrowNumberFormatException() {
+ int number = Integer.parseInt("abcd");
+ }
+
+ @Test
+ public void whenValidNumericStringIsPassed_thenShouldConvertToInteger() {
+ Integer expectedNumber = 11;
+ Integer expectedNegativeNumber = -11;
+
+ assertEquals(expectedNumber, Integer.valueOf("11"));
+ assertEquals(expectedNumber, Integer.valueOf("+11"));
+ assertEquals(expectedNegativeNumber, Integer.valueOf("-11"));
+ }
+
+ @Test
+ public void whenNumberIsPassed_thenShouldConvertToInteger() {
+ Integer expectedNumber = 11;
+ Integer expectedNegativeNumber = -11;
+ Integer expectedUnicodeValue = 65;
+
+ assertEquals(expectedNumber, Integer.valueOf(11));
+ assertEquals(expectedNumber, Integer.valueOf(+11));
+ assertEquals(expectedNegativeNumber, Integer.valueOf(-11));
+ assertEquals(expectedUnicodeValue, Integer.valueOf('A'));
+ }
+
+ @Test
+ public void whenValidNumericStringWithRadixIsPassed_thenShouldConvertToInetger() {
+ Integer expectedNumber1 = 17;
+ Integer expectedNumber2 = 10;
+ Integer expectedNumber3 = 7;
+
+ assertEquals(expectedNumber1, Integer.valueOf("11", 16));
+ assertEquals(expectedNumber2, Integer.valueOf("A", 16));
+ assertEquals(expectedNumber3, Integer.valueOf("7", 8));
+ }
+
+ @Test(expected = NumberFormatException.class)
+ public void whenInvalidValueOfNumericStringPassed_thenShouldThrowException() {
+ Integer number = Integer.valueOf("abcd");
+ }
+}
\ No newline at end of file
diff --git a/java-numbers-2/README.md b/core-java-modules/java-numbers-2/README.md
similarity index 92%
rename from java-numbers-2/README.md
rename to core-java-modules/java-numbers-2/README.md
index 1d996e32cc..1a680183be 100644
--- a/java-numbers-2/README.md
+++ b/core-java-modules/java-numbers-2/README.md
@@ -13,4 +13,4 @@ This module contains articles about numbers in Java.
- [Binary Numbers in Java](https://www.baeldung.com/java-binary-numbers)
- [Finding the Least Common Multiple in Java](https://www.baeldung.com/java-least-common-multiple)
- [Binary Numbers in Java](https://www.baeldung.com/java-binary-numbers)
-- More articles: [[<-- prev]](/java-numbers) [[next -->]](/java-numbers-3)
+- More articles: [[<-- prev]](../java-numbers) [[next -->]](../java-numbers-3)
diff --git a/java-numbers-2/pom.xml b/core-java-modules/java-numbers-2/pom.xml
similarity index 90%
rename from java-numbers-2/pom.xml
rename to core-java-modules/java-numbers-2/pom.xml
index 466d040b13..b41348e375 100644
--- a/java-numbers-2/pom.xml
+++ b/core-java-modules/java-numbers-2/pom.xml
@@ -9,10 +9,9 @@
jar
- com.baeldung
- parent-java
+ com.baeldung.core-java-modules
+ core-java-modules
0.0.1-SNAPSHOT
- ../parent-java
diff --git a/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BigIntegerPrimeChecker.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BigIntegerPrimeChecker.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BigIntegerPrimeChecker.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BigIntegerPrimeChecker.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BruteForcePrimeChecker.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BruteForcePrimeChecker.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BruteForcePrimeChecker.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/BruteForcePrimeChecker.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/OptimisedPrimeChecker.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/OptimisedPrimeChecker.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/OptimisedPrimeChecker.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/OptimisedPrimeChecker.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimeChecker.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimeChecker.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimeChecker.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimeChecker.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimesPrimeChecker.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimesPrimeChecker.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimesPrimeChecker.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/algorithms/primechecker/PrimesPrimeChecker.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/area/circle/Circle.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/area/circle/Circle.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/area/circle/Circle.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/area/circle/Circle.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/area/circle/CircleArea.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/area/circle/CircleArea.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/area/circle/CircleArea.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/area/circle/CircleArea.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/binarynumbers/BinaryNumbers.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/binarynumbers/BinaryNumbers.java
similarity index 96%
rename from java-numbers-2/src/main/java/com/baeldung/binarynumbers/BinaryNumbers.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/binarynumbers/BinaryNumbers.java
index 62cead726f..07d846df4a 100644
--- a/java-numbers-2/src/main/java/com/baeldung/binarynumbers/BinaryNumbers.java
+++ b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/binarynumbers/BinaryNumbers.java
@@ -1,140 +1,140 @@
-package com.baeldung.binarynumbers;
-
-public class BinaryNumbers {
-
- /**
- * This method takes a decimal number and convert it into a binary number.
- * example:- input:10, output:1010
- *
- * @param decimalNumber
- * @return binary number
- */
- public Integer convertDecimalToBinary(Integer decimalNumber) {
-
- if (decimalNumber == 0) {
- return decimalNumber;
- }
-
- StringBuilder binaryNumber = new StringBuilder();
- Integer quotient = decimalNumber;
-
- while (quotient > 0) {
-
- int remainder = quotient % 2;
- binaryNumber.append(remainder);
- quotient /= 2;
- }
-
- binaryNumber = binaryNumber.reverse();
- return Integer.valueOf(binaryNumber.toString());
- }
-
- /**
- * This method takes a binary number and convert it into a decimal number.
- * example:- input:101, output:5
- *
- * @param binary number
- * @return decimal Number
- */
- public Integer convertBinaryToDecimal(Integer binaryNumber) {
-
- Integer decimalNumber = 0;
- Integer base = 1;
-
- while (binaryNumber > 0) {
-
- int lastDigit = binaryNumber % 10;
- binaryNumber = binaryNumber / 10;
-
- decimalNumber += lastDigit * base;
- base = base * 2;
- }
- return decimalNumber;
- }
-
- /**
- * This method accepts two binary numbers and returns sum of input numbers.
- * Example:- firstNum: 101, secondNum: 100, output: 1001
- *
- * @param firstNum
- * @param secondNum
- * @return addition of input numbers
- */
- public Integer addBinaryNumber(Integer firstNum, Integer secondNum) {
-
- StringBuilder output = new StringBuilder();
-
- int carry = 0;
- int temp;
-
- while (firstNum != 0 || secondNum != 0) {
-
- temp = (firstNum % 10 + secondNum % 10 + carry) % 2;
- output.append(temp);
-
- carry = (firstNum % 10 + secondNum % 10 + carry) / 2;
-
- firstNum = firstNum / 10;
- secondNum = secondNum / 10;
- }
-
- if (carry != 0) {
- output.append(carry);
- }
-
- return Integer.valueOf(output.reverse()
- .toString());
- }
-
- /**
- * This method takes two binary number as input and subtract second number from the first number.
- * example:- firstNum: 1000, secondNum: 11, output: 101
- * @param firstNum
- * @param secondNum
- * @return Result of subtraction of secondNum from first
- */
- public Integer substractBinaryNumber(Integer firstNum, Integer secondNum) {
-
- int onesComplement = Integer.valueOf(getOnesComplement(secondNum));
- StringBuilder output = new StringBuilder();
- int carry = 0;
- int temp;
-
- while (firstNum != 0 || onesComplement != 0) {
-
- temp = (firstNum % 10 + onesComplement % 10 + carry) % 2;
- output.append(temp);
-
- carry = (firstNum % 10 + onesComplement % 10 + carry) / 2;
-
- firstNum = firstNum / 10;
- onesComplement = onesComplement / 10;
- }
-
- String additionOfFirstNumAndOnesComplement = output.reverse()
- .toString();
-
- if (carry == 1) {
- return addBinaryNumber(Integer.valueOf(additionOfFirstNumAndOnesComplement), carry);
- } else {
- return getOnesComplement(Integer.valueOf(additionOfFirstNumAndOnesComplement));
- }
- }
-
- public Integer getOnesComplement(Integer num) {
-
- StringBuilder onesComplement = new StringBuilder();
- while (num > 0) {
- int lastDigit = num % 10;
- if (lastDigit == 0) {
- onesComplement.append(1);
- } else {
- onesComplement.append(0);
- }
- num = num / 10;
- }
- return Integer.valueOf(onesComplement.reverse()
- .toString());
- }
-
+package com.baeldung.binarynumbers;
+
+public class BinaryNumbers {
+
+ /**
+ * This method takes a decimal number and convert it into a binary number.
+ * example:- input:10, output:1010
+ *
+ * @param decimalNumber
+ * @return binary number
+ */
+ public Integer convertDecimalToBinary(Integer decimalNumber) {
+
+ if (decimalNumber == 0) {
+ return decimalNumber;
+ }
+
+ StringBuilder binaryNumber = new StringBuilder();
+ Integer quotient = decimalNumber;
+
+ while (quotient > 0) {
+
+ int remainder = quotient % 2;
+ binaryNumber.append(remainder);
+ quotient /= 2;
+ }
+
+ binaryNumber = binaryNumber.reverse();
+ return Integer.valueOf(binaryNumber.toString());
+ }
+
+ /**
+ * This method takes a binary number and convert it into a decimal number.
+ * example:- input:101, output:5
+ *
+ * @param binary number
+ * @return decimal Number
+ */
+ public Integer convertBinaryToDecimal(Integer binaryNumber) {
+
+ Integer decimalNumber = 0;
+ Integer base = 1;
+
+ while (binaryNumber > 0) {
+
+ int lastDigit = binaryNumber % 10;
+ binaryNumber = binaryNumber / 10;
+
+ decimalNumber += lastDigit * base;
+ base = base * 2;
+ }
+ return decimalNumber;
+ }
+
+ /**
+ * This method accepts two binary numbers and returns sum of input numbers.
+ * Example:- firstNum: 101, secondNum: 100, output: 1001
+ *
+ * @param firstNum
+ * @param secondNum
+ * @return addition of input numbers
+ */
+ public Integer addBinaryNumber(Integer firstNum, Integer secondNum) {
+
+ StringBuilder output = new StringBuilder();
+
+ int carry = 0;
+ int temp;
+
+ while (firstNum != 0 || secondNum != 0) {
+
+ temp = (firstNum % 10 + secondNum % 10 + carry) % 2;
+ output.append(temp);
+
+ carry = (firstNum % 10 + secondNum % 10 + carry) / 2;
+
+ firstNum = firstNum / 10;
+ secondNum = secondNum / 10;
+ }
+
+ if (carry != 0) {
+ output.append(carry);
+ }
+
+ return Integer.valueOf(output.reverse()
+ .toString());
+ }
+
+ /**
+ * This method takes two binary number as input and subtract second number from the first number.
+ * example:- firstNum: 1000, secondNum: 11, output: 101
+ * @param firstNum
+ * @param secondNum
+ * @return Result of subtraction of secondNum from first
+ */
+ public Integer substractBinaryNumber(Integer firstNum, Integer secondNum) {
+
+ int onesComplement = Integer.valueOf(getOnesComplement(secondNum));
+ StringBuilder output = new StringBuilder();
+ int carry = 0;
+ int temp;
+
+ while (firstNum != 0 || onesComplement != 0) {
+
+ temp = (firstNum % 10 + onesComplement % 10 + carry) % 2;
+ output.append(temp);
+
+ carry = (firstNum % 10 + onesComplement % 10 + carry) / 2;
+
+ firstNum = firstNum / 10;
+ onesComplement = onesComplement / 10;
+ }
+
+ String additionOfFirstNumAndOnesComplement = output.reverse()
+ .toString();
+
+ if (carry == 1) {
+ return addBinaryNumber(Integer.valueOf(additionOfFirstNumAndOnesComplement), carry);
+ } else {
+ return getOnesComplement(Integer.valueOf(additionOfFirstNumAndOnesComplement));
+ }
+ }
+
+ public Integer getOnesComplement(Integer num) {
+
+ StringBuilder onesComplement = new StringBuilder();
+ while (num > 0) {
+ int lastDigit = num % 10;
+ if (lastDigit == 0) {
+ onesComplement.append(1);
+ } else {
+ onesComplement.append(0);
+ }
+ num = num / 10;
+ }
+ return Integer.valueOf(onesComplement.reverse()
+ .toString());
+ }
+
}
\ No newline at end of file
diff --git a/java-numbers-2/src/main/java/com/baeldung/lcm/BigIntegerLCM.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/BigIntegerLCM.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/lcm/BigIntegerLCM.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/BigIntegerLCM.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/lcm/EuclideanAlgorithm.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/EuclideanAlgorithm.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/lcm/EuclideanAlgorithm.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/EuclideanAlgorithm.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/lcm/PrimeFactorizationAlgorithm.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/PrimeFactorizationAlgorithm.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/lcm/PrimeFactorizationAlgorithm.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/PrimeFactorizationAlgorithm.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/lcm/SimpleAlgorithm.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/SimpleAlgorithm.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/lcm/SimpleAlgorithm.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/lcm/SimpleAlgorithm.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/nan/NaNExample.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/nan/NaNExample.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/nan/NaNExample.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/nan/NaNExample.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/pow/PowerExample.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/pow/PowerExample.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/pow/PowerExample.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/pow/PowerExample.java
diff --git a/java-numbers-2/src/main/java/com/baeldung/prime/PrimeGenerator.java b/core-java-modules/java-numbers-2/src/main/java/com/baeldung/prime/PrimeGenerator.java
similarity index 100%
rename from java-numbers-2/src/main/java/com/baeldung/prime/PrimeGenerator.java
rename to core-java-modules/java-numbers-2/src/main/java/com/baeldung/prime/PrimeGenerator.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/algorithms/primechecker/PrimeCheckerUnitTest.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/binarynumbers/BinaryNumbersUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/binarynumbers/BinaryNumbersUnitTest.java
similarity index 96%
rename from java-numbers-2/src/test/java/com/baeldung/binarynumbers/BinaryNumbersUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/binarynumbers/BinaryNumbersUnitTest.java
index ca6022261d..794f58a0a2 100644
--- a/java-numbers-2/src/test/java/com/baeldung/binarynumbers/BinaryNumbersUnitTest.java
+++ b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/binarynumbers/BinaryNumbersUnitTest.java
@@ -1,73 +1,73 @@
-package com.baeldung.binarynumbers;
-
-import static org.junit.Assert.assertEquals;
-
-import org.junit.Test;
-
-public class BinaryNumbersUnitTest {
-
- private BinaryNumbers binaryNumbers = new BinaryNumbers();
-
- @Test
- public void given_decimalNumber_then_returnBinaryNumber() {
- assertEquals(Integer.valueOf(1000), binaryNumbers.convertDecimalToBinary(8));
- assertEquals(Integer.valueOf(10100), binaryNumbers.convertDecimalToBinary(20));
- }
-
- @Test
- public void given_decimalNumber_then_convertToBinaryNumber() {
- assertEquals("1000", Integer.toBinaryString(8));
- assertEquals("10100", Integer.toBinaryString(20));
- }
-
- @Test
- public void given_binaryNumber_then_ConvertToDecimalNumber() {
- assertEquals(8, Integer.parseInt("1000", 2));
- assertEquals(20, Integer.parseInt("10100", 2));
- }
-
- @Test
- public void given_binaryNumber_then_returnDecimalNumber() {
- assertEquals(Integer.valueOf(8), binaryNumbers.convertBinaryToDecimal(1000));
- assertEquals(Integer.valueOf(20), binaryNumbers.convertBinaryToDecimal(10100));
- }
-
- @Test
- public void given_twoBinaryNumber_then_returnAddition() {
- // adding 4 and 10
- assertEquals(Integer.valueOf(1110), binaryNumbers.addBinaryNumber(100, 1010));
-
- // adding 26 and 14
- assertEquals(Integer.valueOf(101000), binaryNumbers.addBinaryNumber(11010, 1110));
- }
-
- @Test
- public void given_twoBinaryNumber_then_returnSubtraction() {
- // subtracting 16 from 25
- assertEquals(Integer.valueOf(1001), binaryNumbers.substractBinaryNumber(11001, 10000));
-
- // subtracting 29 from 16, the output here is negative
- assertEquals(Integer.valueOf(1101), binaryNumbers.substractBinaryNumber(10000, 11101));
- }
-
- @Test
- public void given_binaryLiteral_thenReturnDecimalValue() {
-
- byte five = 0b101;
- assertEquals((byte) 5, five);
-
- short three = 0b11;
- assertEquals((short) 3, three);
-
- int nine = 0B1001;
- assertEquals(9, nine);
-
- long twentyNine = 0B11101;
- assertEquals(29, twentyNine);
-
- int minusThirtySeven = -0B100101;
- assertEquals(-37, minusThirtySeven);
-
- }
-
-}
+package com.baeldung.binarynumbers;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
+
+public class BinaryNumbersUnitTest {
+
+ private BinaryNumbers binaryNumbers = new BinaryNumbers();
+
+ @Test
+ public void given_decimalNumber_then_returnBinaryNumber() {
+ assertEquals(Integer.valueOf(1000), binaryNumbers.convertDecimalToBinary(8));
+ assertEquals(Integer.valueOf(10100), binaryNumbers.convertDecimalToBinary(20));
+ }
+
+ @Test
+ public void given_decimalNumber_then_convertToBinaryNumber() {
+ assertEquals("1000", Integer.toBinaryString(8));
+ assertEquals("10100", Integer.toBinaryString(20));
+ }
+
+ @Test
+ public void given_binaryNumber_then_ConvertToDecimalNumber() {
+ assertEquals(8, Integer.parseInt("1000", 2));
+ assertEquals(20, Integer.parseInt("10100", 2));
+ }
+
+ @Test
+ public void given_binaryNumber_then_returnDecimalNumber() {
+ assertEquals(Integer.valueOf(8), binaryNumbers.convertBinaryToDecimal(1000));
+ assertEquals(Integer.valueOf(20), binaryNumbers.convertBinaryToDecimal(10100));
+ }
+
+ @Test
+ public void given_twoBinaryNumber_then_returnAddition() {
+ // adding 4 and 10
+ assertEquals(Integer.valueOf(1110), binaryNumbers.addBinaryNumber(100, 1010));
+
+ // adding 26 and 14
+ assertEquals(Integer.valueOf(101000), binaryNumbers.addBinaryNumber(11010, 1110));
+ }
+
+ @Test
+ public void given_twoBinaryNumber_then_returnSubtraction() {
+ // subtracting 16 from 25
+ assertEquals(Integer.valueOf(1001), binaryNumbers.substractBinaryNumber(11001, 10000));
+
+ // subtracting 29 from 16, the output here is negative
+ assertEquals(Integer.valueOf(1101), binaryNumbers.substractBinaryNumber(10000, 11101));
+ }
+
+ @Test
+ public void given_binaryLiteral_thenReturnDecimalValue() {
+
+ byte five = 0b101;
+ assertEquals((byte) 5, five);
+
+ short three = 0b11;
+ assertEquals((short) 3, three);
+
+ int nine = 0B1001;
+ assertEquals(9, nine);
+
+ long twentyNine = 0B11101;
+ assertEquals(29, twentyNine);
+
+ int minusThirtySeven = -0B100101;
+ assertEquals(-37, minusThirtySeven);
+
+ }
+
+}
diff --git a/java-numbers-2/src/test/java/com/baeldung/java/math/MathUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/java/math/MathUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/java/math/MathUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/java/math/MathUnitTest.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/lcm/BigIntegerLCMUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/BigIntegerLCMUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/lcm/BigIntegerLCMUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/BigIntegerLCMUnitTest.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/lcm/EuclideanAlgorithmUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/EuclideanAlgorithmUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/lcm/EuclideanAlgorithmUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/EuclideanAlgorithmUnitTest.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/lcm/PrimeFactorizationAlgorithmUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/PrimeFactorizationAlgorithmUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/lcm/PrimeFactorizationAlgorithmUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/PrimeFactorizationAlgorithmUnitTest.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/lcm/SimpleAlgorithmUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/SimpleAlgorithmUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/lcm/SimpleAlgorithmUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/lcm/SimpleAlgorithmUnitTest.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/lossyconversion/ConversionTechniquesUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/lossyconversion/ConversionTechniquesUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/lossyconversion/ConversionTechniquesUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/lossyconversion/ConversionTechniquesUnitTest.java
diff --git a/java-numbers-2/src/test/java/com/baeldung/prime/PrimeGeneratorUnitTest.java b/core-java-modules/java-numbers-2/src/test/java/com/baeldung/prime/PrimeGeneratorUnitTest.java
similarity index 100%
rename from java-numbers-2/src/test/java/com/baeldung/prime/PrimeGeneratorUnitTest.java
rename to core-java-modules/java-numbers-2/src/test/java/com/baeldung/prime/PrimeGeneratorUnitTest.java
diff --git a/java-numbers-3/README.md b/core-java-modules/java-numbers-3/README.md
similarity index 93%
rename from java-numbers-3/README.md
rename to core-java-modules/java-numbers-3/README.md
index 2cec5d52cd..c588b46d9b 100644
--- a/java-numbers-3/README.md
+++ b/core-java-modules/java-numbers-3/README.md
@@ -14,4 +14,4 @@ This module contains articles about numbers in Java.
- [Print an Integer in Binary Format in Java](https://www.baeldung.com/java-print-integer-binary)
- [Number Formatting in Java](https://www.baeldung.com/java-number-formatting)
- [Division by Zero in Java: Exception, Infinity, or Not a Number](https://www.baeldung.com/java-division-by-zero)
-- More articles: [[<-- prev]](/java-numbers-2)
+- More articles: [[<-- prev]](../java-numbers-2) [[next -->]](../java-numbers-4)
diff --git a/java-numbers-3/pom.xml b/core-java-modules/java-numbers-3/pom.xml
similarity index 91%
rename from java-numbers-3/pom.xml
rename to core-java-modules/java-numbers-3/pom.xml
index 68c2ac98de..2c2006e303 100644
--- a/java-numbers-3/pom.xml
+++ b/core-java-modules/java-numbers-3/pom.xml
@@ -7,10 +7,9 @@
jar
- com.baeldung
- parent-java
+ com.baeldung.core-java-modules
+ core-java-modules
0.0.1-SNAPSHOT
- ../parent-java
diff --git a/java-numbers-3/src/main/java/com/baeldung/fibonacci/FibonacciSeriesUtils.java b/core-java-modules/java-numbers-3/src/main/java/com/baeldung/fibonacci/FibonacciSeriesUtils.java
similarity index 100%
rename from java-numbers-3/src/main/java/com/baeldung/fibonacci/FibonacciSeriesUtils.java
rename to core-java-modules/java-numbers-3/src/main/java/com/baeldung/fibonacci/FibonacciSeriesUtils.java
diff --git a/java-numbers-3/src/main/java/com/baeldung/formatNumber/FormatNumber.java b/core-java-modules/java-numbers-3/src/main/java/com/baeldung/formatNumber/FormatNumber.java
similarity index 100%
rename from java-numbers-3/src/main/java/com/baeldung/formatNumber/FormatNumber.java
rename to core-java-modules/java-numbers-3/src/main/java/com/baeldung/formatNumber/FormatNumber.java
diff --git a/java-numbers-3/src/main/java/com/baeldung/integerToBinary/IntegerToBinary.java b/core-java-modules/java-numbers-3/src/main/java/com/baeldung/integerToBinary/IntegerToBinary.java
similarity index 100%
rename from java-numbers-3/src/main/java/com/baeldung/integerToBinary/IntegerToBinary.java
rename to core-java-modules/java-numbers-3/src/main/java/com/baeldung/integerToBinary/IntegerToBinary.java
diff --git a/java-numbers-3/src/main/java/com/baeldung/numbersinrange/NumbersInARange.java b/core-java-modules/java-numbers-3/src/main/java/com/baeldung/numbersinrange/NumbersInARange.java
similarity index 100%
rename from java-numbers-3/src/main/java/com/baeldung/numbersinrange/NumbersInARange.java
rename to core-java-modules/java-numbers-3/src/main/java/com/baeldung/numbersinrange/NumbersInARange.java
diff --git a/java-numbers-3/src/main/java/com/baeldung/numbersinrange/RandomNumbersInARange.java b/core-java-modules/java-numbers-3/src/main/java/com/baeldung/numbersinrange/RandomNumbersInARange.java
similarity index 100%
rename from java-numbers-3/src/main/java/com/baeldung/numbersinrange/RandomNumbersInARange.java
rename to core-java-modules/java-numbers-3/src/main/java/com/baeldung/numbersinrange/RandomNumbersInARange.java
diff --git a/java-numbers-3/src/main/java/com/baeldung/randomnumbers/RandomNumbersGenerator.java b/core-java-modules/java-numbers-3/src/main/java/com/baeldung/randomnumbers/RandomNumbersGenerator.java
similarity index 100%
rename from java-numbers-3/src/main/java/com/baeldung/randomnumbers/RandomNumbersGenerator.java
rename to core-java-modules/java-numbers-3/src/main/java/com/baeldung/randomnumbers/RandomNumbersGenerator.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/abstractnumber/AbstractNumberUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/abstractnumber/AbstractNumberUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/abstractnumber/AbstractNumberUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/abstractnumber/AbstractNumberUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/divisionbyzero/DivisionByZeroUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/divisionbyzero/DivisionByZeroUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/divisionbyzero/DivisionByZeroUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/divisionbyzero/DivisionByZeroUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/doubletolong/DoubleToLongUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/doubletolong/DoubleToLongUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/doubletolong/DoubleToLongUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/doubletolong/DoubleToLongUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/fibonacci/FibonacciSeriesUtilsUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/fibonacci/FibonacciSeriesUtilsUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/fibonacci/FibonacciSeriesUtilsUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/fibonacci/FibonacciSeriesUtilsUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/formatNumber/FormatNumberUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/integerToBinary/IntegerToBinaryUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/integerToBinary/IntegerToBinaryUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/integerToBinary/IntegerToBinaryUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/integerToBinary/IntegerToBinaryUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/numbersinrange/NumbersInARangeUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/numbersinrange/NumbersInARangeUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/numbersinrange/NumbersInARangeUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/numbersinrange/NumbersInARangeUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/numbersinrange/RandomNumbersInARangeUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/numbersinrange/RandomNumbersInARangeUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/numbersinrange/RandomNumbersInARangeUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/numbersinrange/RandomNumbersInARangeUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/parsedouble/StringToDoubleParserUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/parsedouble/StringToDoubleParserUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/parsedouble/StringToDoubleParserUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/parsedouble/StringToDoubleParserUnitTest.java
diff --git a/java-numbers-3/src/test/java/com/baeldung/randomnumbers/RandomNumbersGeneratorUnitTest.java b/core-java-modules/java-numbers-3/src/test/java/com/baeldung/randomnumbers/RandomNumbersGeneratorUnitTest.java
similarity index 100%
rename from java-numbers-3/src/test/java/com/baeldung/randomnumbers/RandomNumbersGeneratorUnitTest.java
rename to core-java-modules/java-numbers-3/src/test/java/com/baeldung/randomnumbers/RandomNumbersGeneratorUnitTest.java
diff --git a/java-numbers-4/README.md b/core-java-modules/java-numbers-4/README.md
similarity index 86%
rename from java-numbers-4/README.md
rename to core-java-modules/java-numbers-4/README.md
index 2a77992c8f..2a7578dbb0 100644
--- a/java-numbers-4/README.md
+++ b/core-java-modules/java-numbers-4/README.md
@@ -9,3 +9,5 @@
- [Convert boolean to int in Java](https://www.baeldung.com/java-boolean-to-int)
- [Generate a Random Value From an Enum](https://www.baeldung.com/java-enum-random-value)
- [Reverse a Number in Java](https://www.baeldung.com/java-reverse-number)
+- [Check if BigDecimal Value Is Zero](https://www.baeldung.com/java-bigdecimal-zero)
+- More articles: [[<-- prev]](../java-numbers-3)
\ No newline at end of file
diff --git a/java-numbers-4/pom.xml b/core-java-modules/java-numbers-4/pom.xml
similarity index 90%
rename from java-numbers-4/pom.xml
rename to core-java-modules/java-numbers-4/pom.xml
index 4750b58511..b3ecb3be42 100644
--- a/java-numbers-4/pom.xml
+++ b/core-java-modules/java-numbers-4/pom.xml
@@ -7,10 +7,9 @@
jar
- com.baeldung
- parent-java
+ com.baeldung.core-java-modules
+ core-java-modules
0.0.1-SNAPSHOT
- ../parent-java
diff --git a/java-numbers-4/src/main/java/com/baeldung/automorphicnumber/AutomorphicNumber.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/automorphicnumber/AutomorphicNumber.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/automorphicnumber/AutomorphicNumber.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/automorphicnumber/AutomorphicNumber.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/booleantoint/BooleanToInt.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/booleantoint/BooleanToInt.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/booleantoint/BooleanToInt.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/booleantoint/BooleanToInt.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/convertLongToInt/ConvertLongToInt.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/convertLongToInt/ConvertLongToInt.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/convertLongToInt/ConvertLongToInt.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/convertLongToInt/ConvertLongToInt.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/humanreadablebytes/FileSizeFormatUtil.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/humanreadablebytes/FileSizeFormatUtil.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/humanreadablebytes/FileSizeFormatUtil.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/humanreadablebytes/FileSizeFormatUtil.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/number_0xff/Number0xff.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/number_0xff/Number0xff.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/number_0xff/Number0xff.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/number_0xff/Number0xff.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/perfectsquare/PerfectSquareUtil.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/perfectsquare/PerfectSquareUtil.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/perfectsquare/PerfectSquareUtil.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/perfectsquare/PerfectSquareUtil.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/probability/MaleHeightGenerator.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/probability/MaleHeightGenerator.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/probability/MaleHeightGenerator.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/probability/MaleHeightGenerator.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/probability/RandomInvoker.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/probability/RandomInvoker.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/probability/RandomInvoker.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/probability/RandomInvoker.java
diff --git a/java-numbers-4/src/main/java/com/baeldung/reversenumber/ReverseNumber.java b/core-java-modules/java-numbers-4/src/main/java/com/baeldung/reversenumber/ReverseNumber.java
similarity index 100%
rename from java-numbers-4/src/main/java/com/baeldung/reversenumber/ReverseNumber.java
rename to core-java-modules/java-numbers-4/src/main/java/com/baeldung/reversenumber/ReverseNumber.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/automorphicnumber/AutomorphicNumberUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/automorphicnumber/AutomorphicNumberUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/automorphicnumber/AutomorphicNumberUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/automorphicnumber/AutomorphicNumberUnitTest.java
diff --git a/core-java-modules/java-numbers-4/src/test/java/com/baeldung/bigdecimalzero/BigDecimalZeroChkUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/bigdecimalzero/BigDecimalZeroChkUnitTest.java
new file mode 100644
index 0000000000..a61bfe1dd7
--- /dev/null
+++ b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/bigdecimalzero/BigDecimalZeroChkUnitTest.java
@@ -0,0 +1,34 @@
+package com.baeldung.bigdecimalzero;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+import java.math.BigDecimal;
+
+import org.junit.jupiter.api.Test;
+
+class BigDecimalZeroChkUnitTest {
+ private static final BigDecimal BD1 = new BigDecimal("0");
+ private static final BigDecimal BD2 = new BigDecimal("0.0000");
+
+ @Test
+ void givenBD_whenCheckedWithEquals_shouldCheckedAsZero() {
+ assertThat(BigDecimal.ZERO.equals(BD1)).isTrue();
+
+ // in the article, we show the failure of the assertion below
+ // assertThat(BigDecimal.ZERO.equals(BD2)).isTrue();
+
+ assertThat(BigDecimal.ZERO.equals(BD2)).isFalse();
+ }
+
+ @Test
+ void givenBD_whenCheckedWithCompareTo_shouldCheckedAsZero() {
+ assertThat(BigDecimal.ZERO.compareTo(BD1)).isSameAs(0);
+ assertThat(BigDecimal.ZERO.compareTo(BD2)).isSameAs(0);
+ }
+
+ @Test
+ void givenBD_whenCheckedWithSignum_shouldCheckedAsZero() {
+ assertThat(BD1.signum()).isSameAs(0);
+ assertThat(BD2.signum()).isSameAs(0);
+ }
+}
diff --git a/java-numbers-4/src/test/java/com/baeldung/biginteger/BigIntegerUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/biginteger/BigIntegerUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/biginteger/BigIntegerUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/biginteger/BigIntegerUnitTest.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/booleantoint/BooleanToIntUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/booleantoint/BooleanToIntUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/booleantoint/BooleanToIntUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/booleantoint/BooleanToIntUnitTest.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/convertLongToInt/ConvertLongToIntUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/convertLongToInt/ConvertLongToIntUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/convertLongToInt/ConvertLongToIntUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/convertLongToInt/ConvertLongToIntUnitTest.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/humanreadablebytes/FileSizeFormatUtilUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/humanreadablebytes/FileSizeFormatUtilUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/humanreadablebytes/FileSizeFormatUtilUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/humanreadablebytes/FileSizeFormatUtilUnitTest.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/number_0xff/Number0xffUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/number_0xff/Number0xffUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/number_0xff/Number0xffUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/number_0xff/Number0xffUnitTest.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/perfectsquare/PerfectSquareUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/perfectsquare/PerfectSquareUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/perfectsquare/PerfectSquareUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/perfectsquare/PerfectSquareUnitTest.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/probability/RandomInvokerUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/probability/RandomInvokerUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/probability/RandomInvokerUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/probability/RandomInvokerUnitTest.java
diff --git a/java-numbers-4/src/test/java/com/baeldung/reversenumber/ReverseNumberUnitTest.java b/core-java-modules/java-numbers-4/src/test/java/com/baeldung/reversenumber/ReverseNumberUnitTest.java
similarity index 100%
rename from java-numbers-4/src/test/java/com/baeldung/reversenumber/ReverseNumberUnitTest.java
rename to core-java-modules/java-numbers-4/src/test/java/com/baeldung/reversenumber/ReverseNumberUnitTest.java
diff --git a/java-numbers/.gitignore b/core-java-modules/java-numbers/.gitignore
similarity index 100%
rename from java-numbers/.gitignore
rename to core-java-modules/java-numbers/.gitignore
diff --git a/java-numbers/README.md b/core-java-modules/java-numbers/README.md
similarity index 95%
rename from java-numbers/README.md
rename to core-java-modules/java-numbers/README.md
index 3007e1746c..772d09869e 100644
--- a/java-numbers/README.md
+++ b/core-java-modules/java-numbers/README.md
@@ -13,4 +13,4 @@ This module contains articles about numbers in Java.
- [Convert Double to String, Removing Decimal Places](https://www.baeldung.com/java-double-to-string)
- [Changing the Order in a Sum Operation Can Produce Different Results?](https://www.baeldung.com/java-floating-point-sum-order)
- [Using Math.sin with Degrees](https://www.baeldung.com/java-math-sin-degrees)
-- More articles: [[next -->]](/../java-numbers-2)
+- More articles: [[next -->]](../java-numbers-2)
diff --git a/java-numbers/pom.xml b/core-java-modules/java-numbers/pom.xml
similarity index 91%
rename from java-numbers/pom.xml
rename to core-java-modules/java-numbers/pom.xml
index c06bc48c5d..9bd0f33a85 100644
--- a/java-numbers/pom.xml
+++ b/core-java-modules/java-numbers/pom.xml
@@ -9,10 +9,9 @@
jar
- com.baeldung
- parent-java
+ com.baeldung.core-java-modules
+ core-java-modules
0.0.1-SNAPSHOT
- ../parent-java
diff --git a/java-numbers/src/main/java/com/baeldung/maths/BigDecimalDemo.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/maths/BigDecimalDemo.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/maths/BigDecimalDemo.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/maths/BigDecimalDemo.java
diff --git a/java-numbers/src/main/java/com/baeldung/maths/FloatingPointArithmetic.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/maths/FloatingPointArithmetic.java
similarity index 96%
rename from java-numbers/src/main/java/com/baeldung/maths/FloatingPointArithmetic.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/maths/FloatingPointArithmetic.java
index 4163adcf09..aa1aa57339 100644
--- a/java-numbers/src/main/java/com/baeldung/maths/FloatingPointArithmetic.java
+++ b/core-java-modules/java-numbers/src/main/java/com/baeldung/maths/FloatingPointArithmetic.java
@@ -1,51 +1,51 @@
-package com.baeldung.maths;
-
-import java.math.BigDecimal;
-
-public class FloatingPointArithmetic {
- public static void main(String[] args) {
-
- double a = 13.22;
- double b = 4.88;
- double c = 21.45;
-
- System.out.println("a = " + a);
- System.out.println("b = " + b);
- System.out.println("c = " + c);
-
- double sum_ab = a + b;
- System.out.println("a + b = " + sum_ab);
-
- double abc = a + b + c;
- System.out.println("a + b + c = " + abc);
-
- double ab_c = sum_ab + c;
- System.out.println("ab + c = " + ab_c);
-
- double sum_ac = a + c;
- System.out.println("a + c = " + sum_ac);
-
- double acb = a + c + b;
- System.out.println("a + c + b = " + acb);
-
- double ac_b = sum_ac + b;
- System.out.println("ac + b = " + ac_b);
-
- double ab = 18.1;
- double ac = 34.67;
- double sum_ab_c = ab + c;
- double sum_ac_b = ac + b;
- System.out.println("ab + c = " + sum_ab_c);
- System.out.println("ac + b = " + sum_ac_b);
-
- BigDecimal d = new BigDecimal(String.valueOf(a));
- BigDecimal e = new BigDecimal(String.valueOf(b));
- BigDecimal f = new BigDecimal(String.valueOf(c));
-
- BigDecimal def = d.add(e).add(f);
- BigDecimal dfe = d.add(f).add(e);
-
- System.out.println("d + e + f = " + def);
- System.out.println("d + f + e = " + dfe);
- }
-}
+package com.baeldung.maths;
+
+import java.math.BigDecimal;
+
+public class FloatingPointArithmetic {
+ public static void main(String[] args) {
+
+ double a = 13.22;
+ double b = 4.88;
+ double c = 21.45;
+
+ System.out.println("a = " + a);
+ System.out.println("b = " + b);
+ System.out.println("c = " + c);
+
+ double sum_ab = a + b;
+ System.out.println("a + b = " + sum_ab);
+
+ double abc = a + b + c;
+ System.out.println("a + b + c = " + abc);
+
+ double ab_c = sum_ab + c;
+ System.out.println("ab + c = " + ab_c);
+
+ double sum_ac = a + c;
+ System.out.println("a + c = " + sum_ac);
+
+ double acb = a + c + b;
+ System.out.println("a + c + b = " + acb);
+
+ double ac_b = sum_ac + b;
+ System.out.println("ac + b = " + ac_b);
+
+ double ab = 18.1;
+ double ac = 34.67;
+ double sum_ab_c = ab + c;
+ double sum_ac_b = ac + b;
+ System.out.println("ab + c = " + sum_ab_c);
+ System.out.println("ac + b = " + sum_ac_b);
+
+ BigDecimal d = new BigDecimal(String.valueOf(a));
+ BigDecimal e = new BigDecimal(String.valueOf(b));
+ BigDecimal f = new BigDecimal(String.valueOf(c));
+
+ BigDecimal def = d.add(e).add(f);
+ BigDecimal dfe = d.add(f).add(e);
+
+ System.out.println("d + e + f = " + def);
+ System.out.println("d + f + e = " + dfe);
+ }
+}
diff --git a/java-numbers/src/main/java/com/baeldung/maths/Round.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/maths/Round.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/maths/Round.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/maths/Round.java
diff --git a/java-numbers/src/main/java/com/baeldung/nth/root/calculator/NthRootCalculator.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/nth/root/calculator/NthRootCalculator.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/nth/root/calculator/NthRootCalculator.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/nth/root/calculator/NthRootCalculator.java
diff --git a/java-numbers/src/main/java/com/baeldung/nth/root/main/Main.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/nth/root/main/Main.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/nth/root/main/Main.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/nth/root/main/Main.java
diff --git a/java-numbers/src/main/java/com/baeldung/numberofdigits/Benchmarking.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/Benchmarking.java
old mode 100755
new mode 100644
similarity index 97%
rename from java-numbers/src/main/java/com/baeldung/numberofdigits/Benchmarking.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/Benchmarking.java
index 737654ccf5..b12e6141f7
--- a/java-numbers/src/main/java/com/baeldung/numberofdigits/Benchmarking.java
+++ b/core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/Benchmarking.java
@@ -1,67 +1,67 @@
-package com.baeldung.numberofdigits;
-
-import java.io.IOException;
-import java.util.concurrent.TimeUnit;
-
-import org.openjdk.jmh.annotations.Benchmark;
-import org.openjdk.jmh.annotations.BenchmarkMode;
-import org.openjdk.jmh.annotations.Mode;
-import org.openjdk.jmh.annotations.OutputTimeUnit;
-import org.openjdk.jmh.annotations.Scope;
-import org.openjdk.jmh.annotations.State;
-import org.openjdk.jmh.runner.RunnerException;
-
-public class Benchmarking {
- public static void main(String[] args) throws RunnerException, IOException {
- org.openjdk.jmh.Main.main(args);
- }
-
- @State(Scope.Thread)
- public static class ExecutionPlan {
- public int number = Integer.MAX_VALUE;
- public int length = 0;
- public NumberOfDigits numberOfDigits= new NumberOfDigits();
- }
-
- @Benchmark
- @BenchmarkMode(Mode.AverageTime)
- @OutputTimeUnit(TimeUnit.NANOSECONDS)
- public void stringBasedSolution(ExecutionPlan plan) {
- plan.length = plan.numberOfDigits.stringBasedSolution(plan.number);
- }
-
- @Benchmark
- @BenchmarkMode(Mode.AverageTime)
- @OutputTimeUnit(TimeUnit.NANOSECONDS)
- public void logarithmicApproach(ExecutionPlan plan) {
- plan.length = plan.numberOfDigits.logarithmicApproach(plan.number);
- }
-
- @Benchmark
- @BenchmarkMode(Mode.AverageTime)
- @OutputTimeUnit(TimeUnit.NANOSECONDS)
- public void repeatedMultiplication(ExecutionPlan plan) {
- plan.length = plan.numberOfDigits.repeatedMultiplication(plan.number);
- }
-
- @Benchmark
- @BenchmarkMode(Mode.AverageTime)
- @OutputTimeUnit(TimeUnit.NANOSECONDS)
- public void shiftOperators(ExecutionPlan plan) {
- plan.length = plan.numberOfDigits.shiftOperators(plan.number);
- }
-
- @Benchmark
- @BenchmarkMode(Mode.AverageTime)
- @OutputTimeUnit(TimeUnit.NANOSECONDS)
- public void dividingWithPowersOf2(ExecutionPlan plan) {
- plan.length = plan.numberOfDigits.dividingWithPowersOf2(plan.number);
- }
-
- @Benchmark
- @BenchmarkMode(Mode.AverageTime)
- @OutputTimeUnit(TimeUnit.NANOSECONDS)
- public void divideAndConquer(ExecutionPlan plan) {
- plan.length = plan.numberOfDigits.divideAndConquer(plan.number);
- }
-}
+package com.baeldung.numberofdigits;
+
+import java.io.IOException;
+import java.util.concurrent.TimeUnit;
+
+import org.openjdk.jmh.annotations.Benchmark;
+import org.openjdk.jmh.annotations.BenchmarkMode;
+import org.openjdk.jmh.annotations.Mode;
+import org.openjdk.jmh.annotations.OutputTimeUnit;
+import org.openjdk.jmh.annotations.Scope;
+import org.openjdk.jmh.annotations.State;
+import org.openjdk.jmh.runner.RunnerException;
+
+public class Benchmarking {
+ public static void main(String[] args) throws RunnerException, IOException {
+ org.openjdk.jmh.Main.main(args);
+ }
+
+ @State(Scope.Thread)
+ public static class ExecutionPlan {
+ public int number = Integer.MAX_VALUE;
+ public int length = 0;
+ public NumberOfDigits numberOfDigits= new NumberOfDigits();
+ }
+
+ @Benchmark
+ @BenchmarkMode(Mode.AverageTime)
+ @OutputTimeUnit(TimeUnit.NANOSECONDS)
+ public void stringBasedSolution(ExecutionPlan plan) {
+ plan.length = plan.numberOfDigits.stringBasedSolution(plan.number);
+ }
+
+ @Benchmark
+ @BenchmarkMode(Mode.AverageTime)
+ @OutputTimeUnit(TimeUnit.NANOSECONDS)
+ public void logarithmicApproach(ExecutionPlan plan) {
+ plan.length = plan.numberOfDigits.logarithmicApproach(plan.number);
+ }
+
+ @Benchmark
+ @BenchmarkMode(Mode.AverageTime)
+ @OutputTimeUnit(TimeUnit.NANOSECONDS)
+ public void repeatedMultiplication(ExecutionPlan plan) {
+ plan.length = plan.numberOfDigits.repeatedMultiplication(plan.number);
+ }
+
+ @Benchmark
+ @BenchmarkMode(Mode.AverageTime)
+ @OutputTimeUnit(TimeUnit.NANOSECONDS)
+ public void shiftOperators(ExecutionPlan plan) {
+ plan.length = plan.numberOfDigits.shiftOperators(plan.number);
+ }
+
+ @Benchmark
+ @BenchmarkMode(Mode.AverageTime)
+ @OutputTimeUnit(TimeUnit.NANOSECONDS)
+ public void dividingWithPowersOf2(ExecutionPlan plan) {
+ plan.length = plan.numberOfDigits.dividingWithPowersOf2(plan.number);
+ }
+
+ @Benchmark
+ @BenchmarkMode(Mode.AverageTime)
+ @OutputTimeUnit(TimeUnit.NANOSECONDS)
+ public void divideAndConquer(ExecutionPlan plan) {
+ plan.length = plan.numberOfDigits.divideAndConquer(plan.number);
+ }
+}
diff --git a/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigits.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigits.java
old mode 100755
new mode 100644
similarity index 96%
rename from java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigits.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigits.java
index 1abf74d405..80f6b6c5c5
--- a/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigits.java
+++ b/core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigits.java
@@ -1,97 +1,97 @@
-package com.baeldung.numberofdigits;
-
-public class NumberOfDigits {
- public int stringBasedSolution(int number) {
- int length = String.valueOf(number).length();
- return length;
- }
-
- public int logarithmicApproach(int number) {
- int length = (int) Math.log10(number) + 1;
- return length;
- }
-
- public int repeatedMultiplication(int number) {
- int length = 0;
- long temp = 1;
- while(temp <= number) {
- length++;
- temp *= 10;
- }
- return length;
- }
-
- public int shiftOperators(int number) {
- int length = 0;
- long temp = 1;
- while(temp <= number) {
- length++;
- temp = (temp << 3) + (temp << 1);
- }
- return length;
- }
-
- public int dividingWithPowersOf2(int number) {
- int length = 1;
- if (number >= 100000000) {
- length += 8;
- number /= 100000000;
- }
- if (number >= 10000) {
- length += 4;
- number /= 10000;
- }
- if (number >= 100) {
- length += 2;
- number /= 100;
- }
- if (number >= 10) {
- length += 1;
- }
- return length;
- }
-
- public int divideAndConquer(int number) {
- if (number < 100000){
- // 5 digits or less
- if (number < 100){
- // 1 or 2
- if (number < 10)
- return 1;
- else
- return 2;
- }else{
- // 3 to 5 digits
- if (number < 1000)
- return 3;
- else{
- // 4 or 5 digits
- if (number < 10000)
- return 4;
- else
- return 5;
- }
- }
- } else {
- // 6 digits or more
- if (number < 10000000) {
- // 6 or 7 digits
- if (number < 1000000)
- return 6;
- else
- return 7;
- } else {
- // 8 to 10 digits
- if (number < 100000000)
- return 8;
- else {
- // 9 or 10 digits
- if (number < 1000000000)
- return 9;
- else
- return 10;
- }
- }
- }
- }
-}
+package com.baeldung.numberofdigits;
+
+public class NumberOfDigits {
+ public int stringBasedSolution(int number) {
+ int length = String.valueOf(number).length();
+ return length;
+ }
+
+ public int logarithmicApproach(int number) {
+ int length = (int) Math.log10(number) + 1;
+ return length;
+ }
+
+ public int repeatedMultiplication(int number) {
+ int length = 0;
+ long temp = 1;
+ while(temp <= number) {
+ length++;
+ temp *= 10;
+ }
+ return length;
+ }
+
+ public int shiftOperators(int number) {
+ int length = 0;
+ long temp = 1;
+ while(temp <= number) {
+ length++;
+ temp = (temp << 3) + (temp << 1);
+ }
+ return length;
+ }
+
+ public int dividingWithPowersOf2(int number) {
+ int length = 1;
+ if (number >= 100000000) {
+ length += 8;
+ number /= 100000000;
+ }
+ if (number >= 10000) {
+ length += 4;
+ number /= 10000;
+ }
+ if (number >= 100) {
+ length += 2;
+ number /= 100;
+ }
+ if (number >= 10) {
+ length += 1;
+ }
+ return length;
+ }
+
+ public int divideAndConquer(int number) {
+ if (number < 100000){
+ // 5 digits or less
+ if (number < 100){
+ // 1 or 2
+ if (number < 10)
+ return 1;
+ else
+ return 2;
+ }else{
+ // 3 to 5 digits
+ if (number < 1000)
+ return 3;
+ else{
+ // 4 or 5 digits
+ if (number < 10000)
+ return 4;
+ else
+ return 5;
+ }
+ }
+ } else {
+ // 6 digits or more
+ if (number < 10000000) {
+ // 6 or 7 digits
+ if (number < 1000000)
+ return 6;
+ else
+ return 7;
+ } else {
+ // 8 to 10 digits
+ if (number < 100000000)
+ return 8;
+ else {
+ // 9 or 10 digits
+ if (number < 1000000000)
+ return 9;
+ else
+ return 10;
+ }
+ }
+ }
+ }
+}
diff --git a/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigitsDriver.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigitsDriver.java
old mode 100755
new mode 100644
similarity index 96%
rename from java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigitsDriver.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigitsDriver.java
index 4f98992e98..bdb1693724
--- a/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigitsDriver.java
+++ b/core-java-modules/java-numbers/src/main/java/com/baeldung/numberofdigits/NumberOfDigitsDriver.java
@@ -1,35 +1,35 @@
-package com.baeldung.numberofdigits;
-
-import org.apache.log4j.Logger;
-
-public class NumberOfDigitsDriver {
- private static NumberOfDigits numberOfDigits;
-
- private static Logger LOG = Logger.getLogger(NumberOfDigitsDriver.class);
-
- static {
- numberOfDigits = new NumberOfDigits();
- }
-
- public static void main(String[] args) {
- LOG.info("Testing all methods...");
-
- long length = numberOfDigits.stringBasedSolution(602);
- LOG.info("String Based Solution : " + length);
-
- length = numberOfDigits.logarithmicApproach(602);
- LOG.info("Logarithmic Approach : " + length);
-
- length = numberOfDigits.repeatedMultiplication(602);
- LOG.info("Repeated Multiplication : " + length);
-
- length = numberOfDigits.shiftOperators(602);
- LOG.info("Shift Operators : " + length);
-
- length = numberOfDigits.dividingWithPowersOf2(602);
- LOG.info("Dividing with Powers of 2 : " + length);
-
- length = numberOfDigits.divideAndConquer(602);
- LOG.info("Divide And Conquer : " + length);
- }
+package com.baeldung.numberofdigits;
+
+import org.apache.log4j.Logger;
+
+public class NumberOfDigitsDriver {
+ private static NumberOfDigits numberOfDigits;
+
+ private static Logger LOG = Logger.getLogger(NumberOfDigitsDriver.class);
+
+ static {
+ numberOfDigits = new NumberOfDigits();
+ }
+
+ public static void main(String[] args) {
+ LOG.info("Testing all methods...");
+
+ long length = numberOfDigits.stringBasedSolution(602);
+ LOG.info("String Based Solution : " + length);
+
+ length = numberOfDigits.logarithmicApproach(602);
+ LOG.info("Logarithmic Approach : " + length);
+
+ length = numberOfDigits.repeatedMultiplication(602);
+ LOG.info("Repeated Multiplication : " + length);
+
+ length = numberOfDigits.shiftOperators(602);
+ LOG.info("Shift Operators : " + length);
+
+ length = numberOfDigits.dividingWithPowersOf2(602);
+ LOG.info("Dividing with Powers of 2 : " + length);
+
+ length = numberOfDigits.divideAndConquer(602);
+ LOG.info("Divide And Conquer : " + length);
+ }
}
\ No newline at end of file
diff --git a/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/DifferentPairs.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/DifferentPairs.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/pairsaddupnumber/DifferentPairs.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/DifferentPairs.java
diff --git a/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/ExistingPairs.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/ExistingPairs.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/pairsaddupnumber/ExistingPairs.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/ExistingPairs.java
diff --git a/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/FindPairs.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/FindPairs.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/pairsaddupnumber/FindPairs.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/pairsaddupnumber/FindPairs.java
diff --git a/java-numbers/src/main/java/com/baeldung/random/SecureRandomDemo.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/random/SecureRandomDemo.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/random/SecureRandomDemo.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/random/SecureRandomDemo.java
diff --git a/java-numbers/src/main/java/com/baeldung/string/DoubleToString.java b/core-java-modules/java-numbers/src/main/java/com/baeldung/string/DoubleToString.java
similarity index 100%
rename from java-numbers/src/main/java/com/baeldung/string/DoubleToString.java
rename to core-java-modules/java-numbers/src/main/java/com/baeldung/string/DoubleToString.java
diff --git a/java-numbers/src/main/resources/log4j.properties b/core-java-modules/java-numbers/src/main/resources/log4j.properties
similarity index 100%
rename from java-numbers/src/main/resources/log4j.properties
rename to core-java-modules/java-numbers/src/main/resources/log4j.properties
diff --git a/graphql/graphql-java/src/main/resources/logback.xml b/core-java-modules/java-numbers/src/main/resources/logback.xml
similarity index 100%
rename from graphql/graphql-java/src/main/resources/logback.xml
rename to core-java-modules/java-numbers/src/main/resources/logback.xml
diff --git a/java-numbers/src/test/java/com/baeldung/decimalformat/DecimalFormatExamplesUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/decimalformat/DecimalFormatExamplesUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/decimalformat/DecimalFormatExamplesUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/decimalformat/DecimalFormatExamplesUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/maths/BigDecimalDemoUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigDecimalDemoUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/maths/BigDecimalDemoUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigDecimalDemoUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/maths/BigDecimalImplUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigDecimalImplUnitTest.java
similarity index 96%
rename from java-numbers/src/test/java/com/baeldung/maths/BigDecimalImplUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigDecimalImplUnitTest.java
index 786e5af312..b6799ce0d8 100644
--- a/java-numbers/src/test/java/com/baeldung/maths/BigDecimalImplUnitTest.java
+++ b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigDecimalImplUnitTest.java
@@ -1,25 +1,25 @@
-package com.baeldung.maths;
-
-import org.junit.Assert;
-import org.junit.Test;
-
-import java.math.BigDecimal;
-import java.math.RoundingMode;
-
-public class BigDecimalImplUnitTest {
-
- @Test
- public void givenBigDecimalNumbers_whenAddedTogether_thenGetExpectedResult() {
- BigDecimal serviceTax = new BigDecimal("56.0084578639");
- serviceTax = serviceTax.setScale(2, RoundingMode.CEILING);
-
- BigDecimal entertainmentTax = new BigDecimal("23.00689");
- entertainmentTax = entertainmentTax.setScale(2, RoundingMode.FLOOR);
-
- BigDecimal totalTax = serviceTax.add(entertainmentTax);
- BigDecimal result = BigDecimal.valueOf(79.01);
-
- Assert.assertEquals(result, totalTax);
-
- }
-}
+package com.baeldung.maths;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+import java.math.BigDecimal;
+import java.math.RoundingMode;
+
+public class BigDecimalImplUnitTest {
+
+ @Test
+ public void givenBigDecimalNumbers_whenAddedTogether_thenGetExpectedResult() {
+ BigDecimal serviceTax = new BigDecimal("56.0084578639");
+ serviceTax = serviceTax.setScale(2, RoundingMode.CEILING);
+
+ BigDecimal entertainmentTax = new BigDecimal("23.00689");
+ entertainmentTax = entertainmentTax.setScale(2, RoundingMode.FLOOR);
+
+ BigDecimal totalTax = serviceTax.add(entertainmentTax);
+ BigDecimal result = BigDecimal.valueOf(79.01);
+
+ Assert.assertEquals(result, totalTax);
+
+ }
+}
diff --git a/java-numbers/src/test/java/com/baeldung/maths/BigIntegerDemoUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigIntegerDemoUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/maths/BigIntegerDemoUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigIntegerDemoUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/maths/BigIntegerImplUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigIntegerImplUnitTest.java
similarity index 96%
rename from java-numbers/src/test/java/com/baeldung/maths/BigIntegerImplUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigIntegerImplUnitTest.java
index 4c45f69090..9a9ac963e0 100644
--- a/java-numbers/src/test/java/com/baeldung/maths/BigIntegerImplUnitTest.java
+++ b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/BigIntegerImplUnitTest.java
@@ -1,21 +1,21 @@
-package com.baeldung.maths;
-
-import org.junit.Assert;
-import org.junit.Test;
-
-import java.math.BigInteger;
-
-public class BigIntegerImplUnitTest {
-
- @Test
- public void givenBigIntegerNumbers_whenAddedTogether_thenGetExpectedResult() {
- BigInteger numStarsMilkyWay = new BigInteger("8731409320171337804361260816606476");
- BigInteger numStarsAndromeda = new BigInteger("5379309320171337804361260816606476");
-
- BigInteger totalStars = numStarsMilkyWay.add(numStarsAndromeda);
- BigInteger result = new BigInteger("14110718640342675608722521633212952");
-
- Assert.assertEquals(result, totalStars);
- }
-
-}
+package com.baeldung.maths;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+import java.math.BigInteger;
+
+public class BigIntegerImplUnitTest {
+
+ @Test
+ public void givenBigIntegerNumbers_whenAddedTogether_thenGetExpectedResult() {
+ BigInteger numStarsMilkyWay = new BigInteger("8731409320171337804361260816606476");
+ BigInteger numStarsAndromeda = new BigInteger("5379309320171337804361260816606476");
+
+ BigInteger totalStars = numStarsMilkyWay.add(numStarsAndromeda);
+ BigInteger result = new BigInteger("14110718640342675608722521633212952");
+
+ Assert.assertEquals(result, totalStars);
+ }
+
+}
diff --git a/java-numbers/src/test/java/com/baeldung/maths/FloatingPointArithmeticUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/FloatingPointArithmeticUnitTest.java
similarity index 96%
rename from java-numbers/src/test/java/com/baeldung/maths/FloatingPointArithmeticUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/maths/FloatingPointArithmeticUnitTest.java
index 6812a8f588..bbd06dbf75 100644
--- a/java-numbers/src/test/java/com/baeldung/maths/FloatingPointArithmeticUnitTest.java
+++ b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/FloatingPointArithmeticUnitTest.java
@@ -1,45 +1,45 @@
-package com.baeldung.maths;
-
-import java.math.BigDecimal;
-
-import org.junit.Assert;
-import org.junit.Test;
-
-public class FloatingPointArithmeticUnitTest {
-
- @Test
- public void givenDecimalNumbers_whenAddedTogether_thenGetExpectedResult() {
- double a = 13.22;
- double b = 4.88;
- double c = 21.45;
- double result = 39.55;
-
- double abc = a + b + c;
- double acb = a + c + b;
-
- Assert.assertEquals(result, abc, 0);
- Assert.assertNotEquals(result, acb, 0);
-
- double ab = 18.1;
- double ac = 34.67;
-
- double ab_c = ab + c;
- double ac_b = ac + b;
-
- Assert.assertEquals(result, ab_c, 0);
- Assert.assertNotEquals(result, ac_b, 0);
-
- BigDecimal d = new BigDecimal(String.valueOf(a));
- BigDecimal e = new BigDecimal(String.valueOf(b));
- BigDecimal f = new BigDecimal(String.valueOf(c));
- BigDecimal sum = new BigDecimal("39.55");
-
- BigDecimal def = d.add(e).add(f);
- BigDecimal dfe = d.add(f).add(e);
-
- Assert.assertEquals(0, def.compareTo(sum));
- Assert.assertEquals(0, dfe.compareTo(sum));
-
- Assert.assertNotEquals(0, sum.compareTo(new BigDecimal(String.valueOf(acb))));
- }
-}
+package com.baeldung.maths;
+
+import java.math.BigDecimal;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class FloatingPointArithmeticUnitTest {
+
+ @Test
+ public void givenDecimalNumbers_whenAddedTogether_thenGetExpectedResult() {
+ double a = 13.22;
+ double b = 4.88;
+ double c = 21.45;
+ double result = 39.55;
+
+ double abc = a + b + c;
+ double acb = a + c + b;
+
+ Assert.assertEquals(result, abc, 0);
+ Assert.assertNotEquals(result, acb, 0);
+
+ double ab = 18.1;
+ double ac = 34.67;
+
+ double ab_c = ab + c;
+ double ac_b = ac + b;
+
+ Assert.assertEquals(result, ab_c, 0);
+ Assert.assertNotEquals(result, ac_b, 0);
+
+ BigDecimal d = new BigDecimal(String.valueOf(a));
+ BigDecimal e = new BigDecimal(String.valueOf(b));
+ BigDecimal f = new BigDecimal(String.valueOf(c));
+ BigDecimal sum = new BigDecimal("39.55");
+
+ BigDecimal def = d.add(e).add(f);
+ BigDecimal dfe = d.add(f).add(e);
+
+ Assert.assertEquals(0, def.compareTo(sum));
+ Assert.assertEquals(0, dfe.compareTo(sum));
+
+ Assert.assertNotEquals(0, sum.compareTo(new BigDecimal(String.valueOf(acb))));
+ }
+}
diff --git a/java-numbers/src/test/java/com/baeldung/maths/MathSinUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/MathSinUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/maths/MathSinUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/maths/MathSinUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/maths/RoundUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/RoundUnitTest.java
similarity index 98%
rename from java-numbers/src/test/java/com/baeldung/maths/RoundUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/maths/RoundUnitTest.java
index 7e3f5d6c63..19f4797e91 100644
--- a/java-numbers/src/test/java/com/baeldung/maths/RoundUnitTest.java
+++ b/core-java-modules/java-numbers/src/test/java/com/baeldung/maths/RoundUnitTest.java
@@ -1,71 +1,71 @@
-package com.baeldung.maths;
-
-import org.apache.commons.math3.util.Precision;
-import org.decimal4j.util.DoubleRounder;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class RoundUnitTest {
- private double value = 2.03456d;
- private int places = 2;
- private double delta = 0.0d;
- private double expected = 2.03d;
-
- @Test
- public void givenDecimalNumber_whenRoundToNDecimalPlaces_thenGetExpectedResult() {
- Assert.assertEquals(expected, Round.round(value, places), delta);
- Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
- Assert.assertEquals(expected, Round.roundAvoid(value, places), delta);
- Assert.assertEquals(expected, Precision.round(value, places), delta);
- Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
-
- places = 3;
- expected = 2.035d;
-
- Assert.assertEquals(expected, Round.round(value, places), delta);
- Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
- Assert.assertEquals(expected, Round.roundAvoid(value, places), delta);
- Assert.assertEquals(expected, Precision.round(value, places), delta);
- Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
-
- value = 1000.0d;
- places = 17;
- expected = 1000.0d;
-
- Assert.assertEquals(expected, Round.round(value, places), delta);
- Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
- Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 92.23372036854776 !
- Assert.assertEquals(expected, Precision.round(value, places), delta);
- Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
-
- value = 256.025d;
- places = 2;
- expected = 256.03d;
-
- Assert.assertEquals(expected, Round.round(value, places), delta);
- Assert.assertNotEquals(expected, Round.roundNotPrecise(value, places), delta); // Returns: 256.02 !
- Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 256.02 !
- Assert.assertEquals(expected, Precision.round(value, places), delta);
- Assert.assertNotEquals(expected, DoubleRounder.round(value, places), delta); // Returns: 256.02 !
-
- value = 260.775d;
- places = 2;
- expected = 260.78d;
-
- Assert.assertEquals(expected, Round.round(value, places), delta);
- Assert.assertNotEquals(expected, Round.roundNotPrecise(value, places), delta); // Returns: 260.77 !
- Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 260.77 !
- Assert.assertEquals(expected, Precision.round(value, places), delta);
- Assert.assertNotEquals(expected, DoubleRounder.round(value, places), delta); // Returns: 260.77 !
-
- value = 90080070060.1d;
- places = 9;
- expected = 90080070060.1d;
-
- Assert.assertEquals(expected, Round.round(value, places), delta);
- Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
- Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 9.223372036854776E9 !
- Assert.assertEquals(expected, Precision.round(value, places), delta);
- Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
- }
-}
+package com.baeldung.maths;
+
+import org.apache.commons.math3.util.Precision;
+import org.decimal4j.util.DoubleRounder;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class RoundUnitTest {
+ private double value = 2.03456d;
+ private int places = 2;
+ private double delta = 0.0d;
+ private double expected = 2.03d;
+
+ @Test
+ public void givenDecimalNumber_whenRoundToNDecimalPlaces_thenGetExpectedResult() {
+ Assert.assertEquals(expected, Round.round(value, places), delta);
+ Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
+ Assert.assertEquals(expected, Round.roundAvoid(value, places), delta);
+ Assert.assertEquals(expected, Precision.round(value, places), delta);
+ Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
+
+ places = 3;
+ expected = 2.035d;
+
+ Assert.assertEquals(expected, Round.round(value, places), delta);
+ Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
+ Assert.assertEquals(expected, Round.roundAvoid(value, places), delta);
+ Assert.assertEquals(expected, Precision.round(value, places), delta);
+ Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
+
+ value = 1000.0d;
+ places = 17;
+ expected = 1000.0d;
+
+ Assert.assertEquals(expected, Round.round(value, places), delta);
+ Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
+ Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 92.23372036854776 !
+ Assert.assertEquals(expected, Precision.round(value, places), delta);
+ Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
+
+ value = 256.025d;
+ places = 2;
+ expected = 256.03d;
+
+ Assert.assertEquals(expected, Round.round(value, places), delta);
+ Assert.assertNotEquals(expected, Round.roundNotPrecise(value, places), delta); // Returns: 256.02 !
+ Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 256.02 !
+ Assert.assertEquals(expected, Precision.round(value, places), delta);
+ Assert.assertNotEquals(expected, DoubleRounder.round(value, places), delta); // Returns: 256.02 !
+
+ value = 260.775d;
+ places = 2;
+ expected = 260.78d;
+
+ Assert.assertEquals(expected, Round.round(value, places), delta);
+ Assert.assertNotEquals(expected, Round.roundNotPrecise(value, places), delta); // Returns: 260.77 !
+ Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 260.77 !
+ Assert.assertEquals(expected, Precision.round(value, places), delta);
+ Assert.assertNotEquals(expected, DoubleRounder.round(value, places), delta); // Returns: 260.77 !
+
+ value = 90080070060.1d;
+ places = 9;
+ expected = 90080070060.1d;
+
+ Assert.assertEquals(expected, Round.round(value, places), delta);
+ Assert.assertEquals(expected, Round.roundNotPrecise(value, places), delta);
+ Assert.assertNotEquals(expected, Round.roundAvoid(value, places), delta); // Returns: 9.223372036854776E9 !
+ Assert.assertEquals(expected, Precision.round(value, places), delta);
+ Assert.assertEquals(expected, DoubleRounder.round(value, places), delta);
+ }
+}
diff --git a/java-numbers/src/test/java/com/baeldung/nth/root/calculator/NthRootCalculatorUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/nth/root/calculator/NthRootCalculatorUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/nth/root/calculator/NthRootCalculatorUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/nth/root/calculator/NthRootCalculatorUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/numberofdigits/NumberOfDigitsIntegrationTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/numberofdigits/NumberOfDigitsIntegrationTest.java
similarity index 96%
rename from java-numbers/src/test/java/com/baeldung/numberofdigits/NumberOfDigitsIntegrationTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/numberofdigits/NumberOfDigitsIntegrationTest.java
index b348fe01ef..bfd5ae485b 100644
--- a/java-numbers/src/test/java/com/baeldung/numberofdigits/NumberOfDigitsIntegrationTest.java
+++ b/core-java-modules/java-numbers/src/test/java/com/baeldung/numberofdigits/NumberOfDigitsIntegrationTest.java
@@ -1,106 +1,106 @@
-package com.baeldung.numberofdigits;
-
-import org.junit.Assert;
-import org.junit.Assume;
-import org.junit.experimental.theories.DataPoints;
-import org.junit.experimental.theories.Theories;
-import org.junit.experimental.theories.Theory;
-import org.junit.runner.RunWith;
-
-@RunWith(Theories.class)
-public class NumberOfDigitsIntegrationTest {
-
- private static NumberOfDigits numberOfDigits;
-
- static {
- numberOfDigits = new NumberOfDigits();
- }
-
- @DataPoints
- public static int[][] lowestIntegers()
- {
- return new int[][]{
- {1, 1},
- {2, 10},
- {3, 100},
- {4, 1000},
- {5, 10000},
- {6, 100000},
- {7, 1000000},
- {8, 10000000},
- {9, 100000000},
- {10, 1000000000}
- };
- }
-
- @DataPoints
- public static int[][] highestIntegers()
- {
- return new int[][]{
- {1, 9},
- {2, 99},
- {3, 999},
- {4, 9999},
- {5, 99999},
- {6, 999999},
- {7, 9999999},
- {8, 99999999},
- {9, 999999999},
- {10, Integer.MAX_VALUE}
- };
- }
-
- @DataPoints
- public static int[][] randomIntegers()
- {
- return new int[][]{
- {1, 1},
- {2, 14},
- {3, 549},
- {4, 1136},
- {5, 25340},
- {6, 134321},
- {7, 1435432},
- {8, 54234129},
- {9, 113683912},
- {10, 1534031982}
- };
- }
-
- @Theory
- public void givenDataPoints_whenStringBasedSolutionInvoked_thenAllPointsMatch(final int[] entry) {
- Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
- Assert.assertEquals(entry[0], numberOfDigits.stringBasedSolution(entry[1]));
- }
-
- @Theory
- public void givenDataPoints_whenLogarithmicApproachInvoked_thenAllPointsMatch(final int[] entry) {
- Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
- Assert.assertEquals(entry[0], numberOfDigits.logarithmicApproach(entry[1]));
- }
-
- @Theory
- public void givenDataPoints_whenRepeatedMultiplicationInvoked_thenAllPointsMatch(final int[] entry) {
- Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
- Assert.assertEquals(entry[0], numberOfDigits.repeatedMultiplication(entry[1]));
- }
-
- @Theory
- public void givenDataPoints_whenShiftOperatorsInvoked_thenAllPointsMatch(final int[] entry) {
- Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
- Assert.assertEquals(entry[0], numberOfDigits.shiftOperators(entry[1]));
- }
-
- @Theory
- public void givenDataPoints_whenDividingWithPowersOf2Invoked_thenAllPointsMatch(final int[] entry) {
- Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
- Assert.assertEquals(entry[0], numberOfDigits.dividingWithPowersOf2(entry[1]));
- }
-
- @Theory
- public void givenDataPoints_whenDivideAndConquerInvoked_thenAllPointsMatch(final int[] entry) {
- Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
- Assert.assertEquals(entry[0], numberOfDigits.divideAndConquer(entry[1]));
- }
-
+package com.baeldung.numberofdigits;
+
+import org.junit.Assert;
+import org.junit.Assume;
+import org.junit.experimental.theories.DataPoints;
+import org.junit.experimental.theories.Theories;
+import org.junit.experimental.theories.Theory;
+import org.junit.runner.RunWith;
+
+@RunWith(Theories.class)
+public class NumberOfDigitsIntegrationTest {
+
+ private static NumberOfDigits numberOfDigits;
+
+ static {
+ numberOfDigits = new NumberOfDigits();
+ }
+
+ @DataPoints
+ public static int[][] lowestIntegers()
+ {
+ return new int[][]{
+ {1, 1},
+ {2, 10},
+ {3, 100},
+ {4, 1000},
+ {5, 10000},
+ {6, 100000},
+ {7, 1000000},
+ {8, 10000000},
+ {9, 100000000},
+ {10, 1000000000}
+ };
+ }
+
+ @DataPoints
+ public static int[][] highestIntegers()
+ {
+ return new int[][]{
+ {1, 9},
+ {2, 99},
+ {3, 999},
+ {4, 9999},
+ {5, 99999},
+ {6, 999999},
+ {7, 9999999},
+ {8, 99999999},
+ {9, 999999999},
+ {10, Integer.MAX_VALUE}
+ };
+ }
+
+ @DataPoints
+ public static int[][] randomIntegers()
+ {
+ return new int[][]{
+ {1, 1},
+ {2, 14},
+ {3, 549},
+ {4, 1136},
+ {5, 25340},
+ {6, 134321},
+ {7, 1435432},
+ {8, 54234129},
+ {9, 113683912},
+ {10, 1534031982}
+ };
+ }
+
+ @Theory
+ public void givenDataPoints_whenStringBasedSolutionInvoked_thenAllPointsMatch(final int[] entry) {
+ Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
+ Assert.assertEquals(entry[0], numberOfDigits.stringBasedSolution(entry[1]));
+ }
+
+ @Theory
+ public void givenDataPoints_whenLogarithmicApproachInvoked_thenAllPointsMatch(final int[] entry) {
+ Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
+ Assert.assertEquals(entry[0], numberOfDigits.logarithmicApproach(entry[1]));
+ }
+
+ @Theory
+ public void givenDataPoints_whenRepeatedMultiplicationInvoked_thenAllPointsMatch(final int[] entry) {
+ Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
+ Assert.assertEquals(entry[0], numberOfDigits.repeatedMultiplication(entry[1]));
+ }
+
+ @Theory
+ public void givenDataPoints_whenShiftOperatorsInvoked_thenAllPointsMatch(final int[] entry) {
+ Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
+ Assert.assertEquals(entry[0], numberOfDigits.shiftOperators(entry[1]));
+ }
+
+ @Theory
+ public void givenDataPoints_whenDividingWithPowersOf2Invoked_thenAllPointsMatch(final int[] entry) {
+ Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
+ Assert.assertEquals(entry[0], numberOfDigits.dividingWithPowersOf2(entry[1]));
+ }
+
+ @Theory
+ public void givenDataPoints_whenDivideAndConquerInvoked_thenAllPointsMatch(final int[] entry) {
+ Assume.assumeTrue(entry[0] > 0 && entry[1] > 0);
+ Assert.assertEquals(entry[0], numberOfDigits.divideAndConquer(entry[1]));
+ }
+
}
\ No newline at end of file
diff --git a/java-numbers/src/test/java/com/baeldung/pairsaddupnumber/DifferentPairsUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/pairsaddupnumber/DifferentPairsUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/pairsaddupnumber/DifferentPairsUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/pairsaddupnumber/DifferentPairsUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/pairsaddupnumber/ExistingPairsUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/pairsaddupnumber/ExistingPairsUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/pairsaddupnumber/ExistingPairsUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/pairsaddupnumber/ExistingPairsUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/random/JavaRandomUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/random/JavaRandomUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/random/JavaRandomUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/random/JavaRandomUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsManualTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsManualTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsManualTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsManualTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/removingdecimals/RemovingDecimalsUnitTest.java
diff --git a/java-numbers/src/test/java/com/baeldung/string/DoubleToStringUnitTest.java b/core-java-modules/java-numbers/src/test/java/com/baeldung/string/DoubleToStringUnitTest.java
similarity index 100%
rename from java-numbers/src/test/java/com/baeldung/string/DoubleToStringUnitTest.java
rename to core-java-modules/java-numbers/src/test/java/com/baeldung/string/DoubleToStringUnitTest.java
diff --git a/core-java-modules/pom.xml b/core-java-modules/pom.xml
index 15347d0fe9..8d30c545e2 100644
--- a/core-java-modules/pom.xml
+++ b/core-java-modules/pom.xml
@@ -123,6 +123,10 @@
java-collections-conversions-2
java-collections-maps-3
pre-jpms
+ java-numbers
+ java-numbers-2
+ java-numbers-3
+ java-numbers-4
diff --git a/docker/README.md b/docker-modules/README.md
similarity index 86%
rename from docker/README.md
rename to docker-modules/README.md
index b2ae5d56c9..f5daa19b08 100644
--- a/docker/README.md
+++ b/docker-modules/README.md
@@ -2,7 +2,6 @@
- [Introduction to Docker Compose](https://www.baeldung.com/ops/docker-compose)
- [Reusing Docker Layers with Spring Boot](https://www.baeldung.com/docker-layers-spring-boot)
-- [Running Spring Boot with PostgreSQL in Docker Compose](https://www.baeldung.com/spring-boot-postgresql-docker)
- [How To Configure Java Heap Size Inside a Docker Container](https://www.baeldung.com/ops/docker-jvm-heap-size)
- [Dockerfile Strategies for Git](https://www.baeldung.com/ops/dockerfile-git-strategies)
- [How to Get Docker-Compose to Always Use the Latest Image](https://www.baeldung.com/ops/docker-compose-latest-image)
diff --git a/docker/docker-caching/multi-module-caching/Dockerfile b/docker-modules/docker-caching/multi-module-caching/Dockerfile
similarity index 100%
rename from docker/docker-caching/multi-module-caching/Dockerfile
rename to docker-modules/docker-caching/multi-module-caching/Dockerfile
diff --git a/docker/docker-caching/multi-module-caching/Dockerfile-Buildkit b/docker-modules/docker-caching/multi-module-caching/Dockerfile-Buildkit
similarity index 100%
rename from docker/docker-caching/multi-module-caching/Dockerfile-Buildkit
rename to docker-modules/docker-caching/multi-module-caching/Dockerfile-Buildkit
diff --git a/docker/docker-caching/multi-module-caching/core/pom.xml b/docker-modules/docker-caching/multi-module-caching/core/pom.xml
similarity index 100%
rename from docker/docker-caching/multi-module-caching/core/pom.xml
rename to docker-modules/docker-caching/multi-module-caching/core/pom.xml
diff --git a/docker/docker-caching/multi-module-caching/core/src/main/java/com/baeldung/maven_caching/CoreClass.java b/docker-modules/docker-caching/multi-module-caching/core/src/main/java/com/baeldung/maven_caching/CoreClass.java
similarity index 100%
rename from docker/docker-caching/multi-module-caching/core/src/main/java/com/baeldung/maven_caching/CoreClass.java
rename to docker-modules/docker-caching/multi-module-caching/core/src/main/java/com/baeldung/maven_caching/CoreClass.java
diff --git a/docker/docker-caching/multi-module-caching/pom.xml b/docker-modules/docker-caching/multi-module-caching/pom.xml
similarity index 100%
rename from docker/docker-caching/multi-module-caching/pom.xml
rename to docker-modules/docker-caching/multi-module-caching/pom.xml
diff --git a/docker/docker-caching/multi-module-caching/runner/pom.xml b/docker-modules/docker-caching/multi-module-caching/runner/pom.xml
similarity index 100%
rename from docker/docker-caching/multi-module-caching/runner/pom.xml
rename to docker-modules/docker-caching/multi-module-caching/runner/pom.xml
diff --git a/docker/docker-caching/multi-module-caching/runner/src/main/java/com/baeldung/maven_caching/MavenCachingApplication.java b/docker-modules/docker-caching/multi-module-caching/runner/src/main/java/com/baeldung/maven_caching/MavenCachingApplication.java
similarity index 100%
rename from docker/docker-caching/multi-module-caching/runner/src/main/java/com/baeldung/maven_caching/MavenCachingApplication.java
rename to docker-modules/docker-caching/multi-module-caching/runner/src/main/java/com/baeldung/maven_caching/MavenCachingApplication.java
diff --git a/docker/docker-caching/single-module-caching/Dockerfile b/docker-modules/docker-caching/single-module-caching/Dockerfile
similarity index 100%
rename from docker/docker-caching/single-module-caching/Dockerfile
rename to docker-modules/docker-caching/single-module-caching/Dockerfile
diff --git a/docker/docker-caching/single-module-caching/Dockerfile-Buildkit b/docker-modules/docker-caching/single-module-caching/Dockerfile-Buildkit
similarity index 100%
rename from docker/docker-caching/single-module-caching/Dockerfile-Buildkit
rename to docker-modules/docker-caching/single-module-caching/Dockerfile-Buildkit
diff --git a/docker/docker-caching/single-module-caching/pom.xml b/docker-modules/docker-caching/single-module-caching/pom.xml
similarity index 100%
rename from docker/docker-caching/single-module-caching/pom.xml
rename to docker-modules/docker-caching/single-module-caching/pom.xml
diff --git a/docker/docker-caching/single-module-caching/src/main/java/com/baeldung/maven_caching/MavenCachingMain.java b/docker-modules/docker-caching/single-module-caching/src/main/java/com/baeldung/maven_caching/MavenCachingMain.java
similarity index 100%
rename from docker/docker-caching/single-module-caching/src/main/java/com/baeldung/maven_caching/MavenCachingMain.java
rename to docker-modules/docker-caching/single-module-caching/src/main/java/com/baeldung/maven_caching/MavenCachingMain.java
diff --git a/docker/docker-compose.yml b/docker-modules/docker-compose.yml
similarity index 100%
rename from docker/docker-compose.yml
rename to docker-modules/docker-compose.yml
diff --git a/docker/docker-include-outside-build-context/projects/config/Dockerfile b/docker-modules/docker-include-outside-build-context/projects/config/Dockerfile
similarity index 100%
rename from docker/docker-include-outside-build-context/projects/config/Dockerfile
rename to docker-modules/docker-include-outside-build-context/projects/config/Dockerfile
diff --git a/docker/docker-include-outside-build-context/projects/config/nginx.conf b/docker-modules/docker-include-outside-build-context/projects/config/nginx.conf
similarity index 100%
rename from docker/docker-include-outside-build-context/projects/config/nginx.conf
rename to docker-modules/docker-include-outside-build-context/projects/config/nginx.conf
diff --git a/docker/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile b/docker-modules/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile
similarity index 100%
rename from docker/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile
rename to docker-modules/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile
diff --git a/docker/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-from-base b/docker-modules/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-from-base
similarity index 100%
rename from docker/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-from-base
rename to docker-modules/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-from-base
diff --git a/docker/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-script b/docker-modules/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-script
similarity index 100%
rename from docker/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-script
rename to docker-modules/docker-include-outside-build-context/projects/sample-site/docker/Dockerfile-script
diff --git a/docker/docker-include-outside-build-context/projects/sample-site/docker/build-docker.sh b/docker-modules/docker-include-outside-build-context/projects/sample-site/docker/build-docker.sh
similarity index 100%
rename from docker/docker-include-outside-build-context/projects/sample-site/docker/build-docker.sh
rename to docker-modules/docker-include-outside-build-context/projects/sample-site/docker/build-docker.sh
diff --git a/docker/docker-include-outside-build-context/projects/sample-site/html/index.html b/docker-modules/docker-include-outside-build-context/projects/sample-site/html/index.html
similarity index 100%
rename from docker/docker-include-outside-build-context/projects/sample-site/html/index.html
rename to docker-modules/docker-include-outside-build-context/projects/sample-site/html/index.html
diff --git a/docker/docker-internal-dto/pom.xml b/docker-modules/docker-internal-dto/pom.xml
similarity index 91%
rename from docker/docker-internal-dto/pom.xml
rename to docker-modules/docker-internal-dto/pom.xml
index 09013d2fc3..467d46e7ae 100644
--- a/docker/docker-internal-dto/pom.xml
+++ b/docker-modules/docker-internal-dto/pom.xml
@@ -8,7 +8,7 @@
com.baeldung.docker
- docker
+ docker-modules
0.0.1
diff --git a/docker/docker-internal-dto/src/main/java/com/baeldung/docker/dto/VariableDto.java b/docker-modules/docker-internal-dto/src/main/java/com/baeldung/docker/dto/VariableDto.java
similarity index 100%
rename from docker/docker-internal-dto/src/main/java/com/baeldung/docker/dto/VariableDto.java
rename to docker-modules/docker-internal-dto/src/main/java/com/baeldung/docker/dto/VariableDto.java
diff --git a/docker/docker-push-to-private-repo/.gitignore b/docker-modules/docker-push-to-private-repo/.gitignore
similarity index 100%
rename from docker/docker-push-to-private-repo/.gitignore
rename to docker-modules/docker-push-to-private-repo/.gitignore
diff --git a/docker/docker-push-to-private-repo/Dockerfile b/docker-modules/docker-push-to-private-repo/Dockerfile
similarity index 100%
rename from docker/docker-push-to-private-repo/Dockerfile
rename to docker-modules/docker-push-to-private-repo/Dockerfile
diff --git a/docker/docker-push-to-private-repo/README.md b/docker-modules/docker-push-to-private-repo/README.md
similarity index 100%
rename from docker/docker-push-to-private-repo/README.md
rename to docker-modules/docker-push-to-private-repo/README.md
diff --git a/docker/docker-push-to-private-repo/pom.xml b/docker-modules/docker-push-to-private-repo/pom.xml
similarity index 96%
rename from docker/docker-push-to-private-repo/pom.xml
rename to docker-modules/docker-push-to-private-repo/pom.xml
index 19be098794..c45baa65c3 100644
--- a/docker/docker-push-to-private-repo/pom.xml
+++ b/docker-modules/docker-push-to-private-repo/pom.xml
@@ -10,7 +10,7 @@
com.baeldung.docker
- docker
+ docker-modules
0.0.1
diff --git a/docker/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/HelloWorldController.java b/docker-modules/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/HelloWorldController.java
similarity index 100%
rename from docker/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/HelloWorldController.java
rename to docker-modules/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/HelloWorldController.java
diff --git a/docker/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/PushToPrivateRepoApplication.java b/docker-modules/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/PushToPrivateRepoApplication.java
similarity index 100%
rename from docker/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/PushToPrivateRepoApplication.java
rename to docker-modules/docker-push-to-private-repo/src/main/java/com/baeldung/docker/push/PushToPrivateRepoApplication.java
diff --git a/docker/docker-push-to-private-repo/src/main/resources/application.properties b/docker-modules/docker-push-to-private-repo/src/main/resources/application.properties
similarity index 100%
rename from docker/docker-push-to-private-repo/src/main/resources/application.properties
rename to docker-modules/docker-push-to-private-repo/src/main/resources/application.properties
diff --git a/docker/docker-sample-app/Dockerfile b/docker-modules/docker-sample-app/Dockerfile
similarity index 100%
rename from docker/docker-sample-app/Dockerfile
rename to docker-modules/docker-sample-app/Dockerfile
diff --git a/docker/docker-sample-app/docker-compose-build-image.yaml b/docker-modules/docker-sample-app/docker-compose-build-image.yaml
similarity index 100%
rename from docker/docker-sample-app/docker-compose-build-image.yaml
rename to docker-modules/docker-sample-app/docker-compose-build-image.yaml
diff --git a/docker/docker-sample-app/docker-compose-with-image.yaml b/docker-modules/docker-sample-app/docker-compose-with-image.yaml
similarity index 100%
rename from docker/docker-sample-app/docker-compose-with-image.yaml
rename to docker-modules/docker-sample-app/docker-compose-with-image.yaml
diff --git a/docker/docker-sample-app/pom.xml b/docker-modules/docker-sample-app/pom.xml
similarity index 96%
rename from docker/docker-sample-app/pom.xml
rename to docker-modules/docker-sample-app/pom.xml
index 24fede56fd..893fb4ebe2 100644
--- a/docker/docker-sample-app/pom.xml
+++ b/docker-modules/docker-sample-app/pom.xml
@@ -9,7 +9,7 @@
com.baeldung.docker
- docker
+ docker-modules
0.0.1
diff --git a/docker/docker-sample-app/src/main/java/com/baeldung/docker/app/DockAppApplication.java b/docker-modules/docker-sample-app/src/main/java/com/baeldung/docker/app/DockAppApplication.java
similarity index 100%
rename from docker/docker-sample-app/src/main/java/com/baeldung/docker/app/DockAppApplication.java
rename to docker-modules/docker-sample-app/src/main/java/com/baeldung/docker/app/DockAppApplication.java
diff --git a/docker/docker-sample-app/src/main/java/com/baeldung/docker/app/endpoint/MyController.java b/docker-modules/docker-sample-app/src/main/java/com/baeldung/docker/app/endpoint/MyController.java
similarity index 100%
rename from docker/docker-sample-app/src/main/java/com/baeldung/docker/app/endpoint/MyController.java
rename to docker-modules/docker-sample-app/src/main/java/com/baeldung/docker/app/endpoint/MyController.java
diff --git a/docker/docker-sample-app/src/main/resources/application.properties b/docker-modules/docker-sample-app/src/main/resources/application.properties
similarity index 100%
rename from docker/docker-sample-app/src/main/resources/application.properties
rename to docker-modules/docker-sample-app/src/main/resources/application.properties
diff --git a/docker/docker-sample-app/src/test/java/com/baeldung/docker/app/DockAppApplicationUnitTest.java b/docker-modules/docker-sample-app/src/test/java/com/baeldung/docker/app/DockAppApplicationUnitTest.java
similarity index 100%
rename from docker/docker-sample-app/src/test/java/com/baeldung/docker/app/DockAppApplicationUnitTest.java
rename to docker-modules/docker-sample-app/src/test/java/com/baeldung/docker/app/DockAppApplicationUnitTest.java
diff --git a/docker/docker-spring-boot-postgres/.gitignore b/docker-modules/docker-spring-boot-postgres/.gitignore
similarity index 100%
rename from docker/docker-spring-boot-postgres/.gitignore
rename to docker-modules/docker-spring-boot-postgres/.gitignore
diff --git a/docker/docker-spring-boot-postgres/.mvn/wrapper/MavenWrapperDownloader.java b/docker-modules/docker-spring-boot-postgres/.mvn/wrapper/MavenWrapperDownloader.java
similarity index 100%
rename from docker/docker-spring-boot-postgres/.mvn/wrapper/MavenWrapperDownloader.java
rename to docker-modules/docker-spring-boot-postgres/.mvn/wrapper/MavenWrapperDownloader.java
diff --git a/docker/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.jar b/docker-modules/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from docker/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.jar
rename to docker-modules/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.jar
diff --git a/docker/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.properties b/docker-modules/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from docker/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.properties
rename to docker-modules/docker-spring-boot-postgres/.mvn/wrapper/maven-wrapper.properties
diff --git a/docker-modules/docker-spring-boot-postgres/README.md b/docker-modules/docker-spring-boot-postgres/README.md
new file mode 100644
index 0000000000..c7e83a2e7c
--- /dev/null
+++ b/docker-modules/docker-spring-boot-postgres/README.md
@@ -0,0 +1,3 @@
+### Relevant Articles:
+
+- [Running Spring Boot with PostgreSQL in Docker Compose](https://www.baeldung.com/spring-boot-postgresql-docker)
diff --git a/docker/docker-spring-boot-postgres/mvnw b/docker-modules/docker-spring-boot-postgres/mvnw
similarity index 100%
rename from docker/docker-spring-boot-postgres/mvnw
rename to docker-modules/docker-spring-boot-postgres/mvnw
diff --git a/docker/docker-spring-boot-postgres/mvnw.cmd b/docker-modules/docker-spring-boot-postgres/mvnw.cmd
similarity index 100%
rename from docker/docker-spring-boot-postgres/mvnw.cmd
rename to docker-modules/docker-spring-boot-postgres/mvnw.cmd
diff --git a/docker/docker-spring-boot-postgres/pom.xml b/docker-modules/docker-spring-boot-postgres/pom.xml
similarity index 100%
rename from docker/docker-spring-boot-postgres/pom.xml
rename to docker-modules/docker-spring-boot-postgres/pom.xml
diff --git a/docker/docker-spring-boot-postgres/src/main/docker/Dockerfile b/docker-modules/docker-spring-boot-postgres/src/main/docker/Dockerfile
similarity index 100%
rename from docker/docker-spring-boot-postgres/src/main/docker/Dockerfile
rename to docker-modules/docker-spring-boot-postgres/src/main/docker/Dockerfile
diff --git a/docker/docker-spring-boot-postgres/src/main/docker/docker-compose.yml b/docker-modules/docker-spring-boot-postgres/src/main/docker/docker-compose.yml
similarity index 100%
rename from docker/docker-spring-boot-postgres/src/main/docker/docker-compose.yml
rename to docker-modules/docker-spring-boot-postgres/src/main/docker/docker-compose.yml
diff --git a/docker/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/Customer.java b/docker-modules/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/Customer.java
similarity index 100%
rename from docker/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/Customer.java
rename to docker-modules/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/Customer.java
diff --git a/docker/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/CustomerRepository.java b/docker-modules/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/CustomerRepository.java
similarity index 100%
rename from docker/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/CustomerRepository.java
rename to docker-modules/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/CustomerRepository.java
diff --git a/docker/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/DemoApplication.java b/docker-modules/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/DemoApplication.java
similarity index 100%
rename from docker/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/DemoApplication.java
rename to docker-modules/docker-spring-boot-postgres/src/main/java/com/baeldung/docker/DemoApplication.java
diff --git a/docker/docker-spring-boot-postgres/src/main/resources/application.properties b/docker-modules/docker-spring-boot-postgres/src/main/resources/application.properties
similarity index 100%
rename from docker/docker-spring-boot-postgres/src/main/resources/application.properties
rename to docker-modules/docker-spring-boot-postgres/src/main/resources/application.properties
diff --git a/docker/docker-spring-boot-postgres/src/test/java/com/baeldung/docker/DemoApplicationTests.java b/docker-modules/docker-spring-boot-postgres/src/test/java/com/baeldung/docker/DemoApplicationTests.java
similarity index 100%
rename from docker/docker-spring-boot-postgres/src/test/java/com/baeldung/docker/DemoApplicationTests.java
rename to docker-modules/docker-spring-boot-postgres/src/test/java/com/baeldung/docker/DemoApplicationTests.java
diff --git a/docker/docker-spring-boot/README.md b/docker-modules/docker-spring-boot/README.md
similarity index 100%
rename from docker/docker-spring-boot/README.md
rename to docker-modules/docker-spring-boot/README.md
diff --git a/docker/docker-spring-boot/pom.xml b/docker-modules/docker-spring-boot/pom.xml
similarity index 97%
rename from docker/docker-spring-boot/pom.xml
rename to docker-modules/docker-spring-boot/pom.xml
index 69d25e374b..22a5e254fe 100644
--- a/docker/docker-spring-boot/pom.xml
+++ b/docker-modules/docker-spring-boot/pom.xml
@@ -9,7 +9,7 @@
com.baeldung.docker
- docker
+ docker-modules
0.0.1
diff --git a/docker/docker-spring-boot/src/layers.xml b/docker-modules/docker-spring-boot/src/layers.xml
similarity index 100%
rename from docker/docker-spring-boot/src/layers.xml
rename to docker-modules/docker-spring-boot/src/layers.xml
diff --git a/docker/docker-spring-boot/src/main/docker/Dockerfile b/docker-modules/docker-spring-boot/src/main/docker/Dockerfile
similarity index 100%
rename from docker/docker-spring-boot/src/main/docker/Dockerfile
rename to docker-modules/docker-spring-boot/src/main/docker/Dockerfile
diff --git a/docker/docker-spring-boot/src/main/docker/springprofile/Dockerfile b/docker-modules/docker-spring-boot/src/main/docker/springprofile/Dockerfile
similarity index 100%
rename from docker/docker-spring-boot/src/main/docker/springprofile/Dockerfile
rename to docker-modules/docker-spring-boot/src/main/docker/springprofile/Dockerfile
diff --git a/docker/docker-spring-boot/src/main/docker/springprofile/docker-compose-prod.yml b/docker-modules/docker-spring-boot/src/main/docker/springprofile/docker-compose-prod.yml
similarity index 100%
rename from docker/docker-spring-boot/src/main/docker/springprofile/docker-compose-prod.yml
rename to docker-modules/docker-spring-boot/src/main/docker/springprofile/docker-compose-prod.yml
diff --git a/docker/docker-spring-boot/src/main/docker/springprofile/docker-compose-test.yml b/docker-modules/docker-spring-boot/src/main/docker/springprofile/docker-compose-test.yml
similarity index 100%
rename from docker/docker-spring-boot/src/main/docker/springprofile/docker-compose-test.yml
rename to docker-modules/docker-spring-boot/src/main/docker/springprofile/docker-compose-test.yml
diff --git a/docker/docker-spring-boot/src/main/java/com/baeldung/docker/spring/DemoApplication.java b/docker-modules/docker-spring-boot/src/main/java/com/baeldung/docker/spring/DemoApplication.java
similarity index 100%
rename from docker/docker-spring-boot/src/main/java/com/baeldung/docker/spring/DemoApplication.java
rename to docker-modules/docker-spring-boot/src/main/java/com/baeldung/docker/spring/DemoApplication.java
diff --git a/docker/docker-spring-boot/src/main/java/com/baeldung/docker/spring/HelloController.java b/docker-modules/docker-spring-boot/src/main/java/com/baeldung/docker/spring/HelloController.java
similarity index 100%
rename from docker/docker-spring-boot/src/main/java/com/baeldung/docker/spring/HelloController.java
rename to docker-modules/docker-spring-boot/src/main/java/com/baeldung/docker/spring/HelloController.java
diff --git a/docker/docker-spring-boot/src/main/resources/application.properties b/docker-modules/docker-spring-boot/src/main/resources/application.properties
similarity index 100%
rename from docker/docker-spring-boot/src/main/resources/application.properties
rename to docker-modules/docker-spring-boot/src/main/resources/application.properties
diff --git a/docker/dockerfile-with-git/.gitmodules b/docker-modules/dockerfile-with-git/.gitmodules
similarity index 100%
rename from docker/dockerfile-with-git/.gitmodules
rename to docker-modules/dockerfile-with-git/.gitmodules
diff --git a/docker/dockerfile-with-git/Dockerfile b/docker-modules/dockerfile-with-git/Dockerfile
similarity index 100%
rename from docker/dockerfile-with-git/Dockerfile
rename to docker-modules/dockerfile-with-git/Dockerfile
diff --git a/docker/heap-sizing/Dockerfile b/docker-modules/heap-sizing/Dockerfile
similarity index 100%
rename from docker/heap-sizing/Dockerfile
rename to docker-modules/heap-sizing/Dockerfile
diff --git a/docker-modules/heap-sizing/README.md b/docker-modules/heap-sizing/README.md
new file mode 100644
index 0000000000..aa5167cc16
--- /dev/null
+++ b/docker-modules/heap-sizing/README.md
@@ -0,0 +1,3 @@
+### Relevant Articles:
+
+- [How To Configure Java Heap Size Inside a Docker Container](https://www.baeldung.com/ops/docker-jvm-heap-size)
diff --git a/docker/heap-sizing/pom.xml b/docker-modules/heap-sizing/pom.xml
similarity index 100%
rename from docker/heap-sizing/pom.xml
rename to docker-modules/heap-sizing/pom.xml
diff --git a/docker/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/HeapSizingApplication.java b/docker-modules/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/HeapSizingApplication.java
similarity index 100%
rename from docker/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/HeapSizingApplication.java
rename to docker-modules/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/HeapSizingApplication.java
diff --git a/docker/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/PrintXmxXms.java b/docker-modules/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/PrintXmxXms.java
similarity index 100%
rename from docker/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/PrintXmxXms.java
rename to docker-modules/heap-sizing/src/main/java/com/baeldung/docker/heapsizing/PrintXmxXms.java
diff --git a/docker/pom.xml b/docker-modules/pom.xml
similarity index 93%
rename from docker/pom.xml
rename to docker-modules/pom.xml
index f46ceac963..87c7960a7f 100644
--- a/docker/pom.xml
+++ b/docker-modules/pom.xml
@@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
com.baeldung.docker
- docker
+ docker-modules
0.0.1
- docker
+ docker-modules
Demo project showing Spring Boot and Docker
pom
diff --git a/docker/docker-sample-app/README.md b/docker/docker-sample-app/README.md
deleted file mode 100644
index 6aeaa1d2a3..0000000000
--- a/docker/docker-sample-app/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-### Relevant Articles:
-
-- How to Get Docker-Compose to Always Use the Latest Image
diff --git a/graphql/graphql-dgs/README.md b/graphql-modules/graphql-dgs/README.md
similarity index 100%
rename from graphql/graphql-dgs/README.md
rename to graphql-modules/graphql-dgs/README.md
diff --git a/graphql/graphql-dgs/pom.xml b/graphql-modules/graphql-dgs/pom.xml
similarity index 98%
rename from graphql/graphql-dgs/pom.xml
rename to graphql-modules/graphql-dgs/pom.xml
index 56e261f14d..051785b4b8 100644
--- a/graphql/graphql-dgs/pom.xml
+++ b/graphql-modules/graphql-dgs/pom.xml
@@ -9,7 +9,7 @@
com.baeldung.graphql
- graphql
+ graphql-modules
1.0.0-SNAPSHOT
diff --git a/graphql/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Album.java b/graphql-modules/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Album.java
similarity index 100%
rename from graphql/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Album.java
rename to graphql-modules/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Album.java
diff --git a/graphql/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/AlbumsDataFetcher.java b/graphql-modules/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/AlbumsDataFetcher.java
similarity index 100%
rename from graphql/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/AlbumsDataFetcher.java
rename to graphql-modules/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/AlbumsDataFetcher.java
diff --git a/graphql/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Application.java b/graphql-modules/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Application.java
similarity index 100%
rename from graphql/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Application.java
rename to graphql-modules/graphql-dgs/src/main/java/com/bealdung/graphqlDGS/Application.java
diff --git a/graphql/graphql-dgs/src/main/resources/application.properties b/graphql-modules/graphql-dgs/src/main/resources/application.properties
similarity index 100%
rename from graphql/graphql-dgs/src/main/resources/application.properties
rename to graphql-modules/graphql-dgs/src/main/resources/application.properties
diff --git a/graphql/graphql-dgs/src/main/resources/schema/schema.graphqls b/graphql-modules/graphql-dgs/src/main/resources/schema/schema.graphqls
similarity index 100%
rename from graphql/graphql-dgs/src/main/resources/schema/schema.graphqls
rename to graphql-modules/graphql-dgs/src/main/resources/schema/schema.graphqls
diff --git a/graphql/graphql-error-handling/README.md b/graphql-modules/graphql-error-handling/README.md
similarity index 100%
rename from graphql/graphql-error-handling/README.md
rename to graphql-modules/graphql-error-handling/README.md
diff --git a/graphql/graphql-error-handling/pom.xml b/graphql-modules/graphql-error-handling/pom.xml
similarity index 98%
rename from graphql/graphql-error-handling/pom.xml
rename to graphql-modules/graphql-error-handling/pom.xml
index 92696d8ed7..f10bb524fb 100644
--- a/graphql/graphql-error-handling/pom.xml
+++ b/graphql-modules/graphql-error-handling/pom.xml
@@ -10,7 +10,7 @@
com.baeldung.graphql
- graphql
+ graphql-modules
1.0.0-SNAPSHOT
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplication.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplication.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplication.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplication.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Location.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Location.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Location.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Location.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Vehicle.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Vehicle.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Vehicle.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/domain/Vehicle.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/AbstractGraphQLException.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/AbstractGraphQLException.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/AbstractGraphQLException.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/AbstractGraphQLException.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/GraphQLErrorAdapter.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/GraphQLErrorAdapter.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/GraphQLErrorAdapter.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/GraphQLErrorAdapter.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/InvalidInputException.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/InvalidInputException.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/InvalidInputException.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/InvalidInputException.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleAlreadyPresentException.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleAlreadyPresentException.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleAlreadyPresentException.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleAlreadyPresentException.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleNotFoundException.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleNotFoundException.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleNotFoundException.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/exception/VehicleNotFoundException.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/InventoryRepository.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/InventoryRepository.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/InventoryRepository.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/InventoryRepository.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/LocationRepository.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/LocationRepository.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/LocationRepository.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/repository/LocationRepository.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Mutation.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Mutation.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Mutation.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Mutation.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Query.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Query.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Query.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/resolver/Query.java
diff --git a/graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/service/InventoryService.java b/graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/service/InventoryService.java
similarity index 100%
rename from graphql/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/service/InventoryService.java
rename to graphql-modules/graphql-error-handling/src/main/java/com/baeldung/graphql/error/handling/service/InventoryService.java
diff --git a/graphql/graphql-error-handling/src/main/resources/application.yml b/graphql-modules/graphql-error-handling/src/main/resources/application.yml
similarity index 100%
rename from graphql/graphql-error-handling/src/main/resources/application.yml
rename to graphql-modules/graphql-error-handling/src/main/resources/application.yml
diff --git a/graphql/graphql-error-handling/src/main/resources/graphql/inventory.graphqls b/graphql-modules/graphql-error-handling/src/main/resources/graphql/inventory.graphqls
similarity index 100%
rename from graphql/graphql-error-handling/src/main/resources/graphql/inventory.graphqls
rename to graphql-modules/graphql-error-handling/src/main/resources/graphql/inventory.graphqls
diff --git a/graphql/graphql-error-handling/src/main/resources/import.sql b/graphql-modules/graphql-error-handling/src/main/resources/import.sql
similarity index 100%
rename from graphql/graphql-error-handling/src/main/resources/import.sql
rename to graphql-modules/graphql-error-handling/src/main/resources/import.sql
diff --git a/graphql/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplicationIntegrationTest.java b/graphql-modules/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplicationIntegrationTest.java
similarity index 100%
rename from graphql/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplicationIntegrationTest.java
rename to graphql-modules/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/GraphQLErrorHandlerApplicationIntegrationTest.java
diff --git a/graphql/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/TestUtils.java b/graphql-modules/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/TestUtils.java
similarity index 100%
rename from graphql/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/TestUtils.java
rename to graphql-modules/graphql-error-handling/src/test/java/com/baeldung/graphql/error/handling/TestUtils.java
diff --git a/graphql/graphql-error-handling/src/test/resources/graphql/request/field_error_request_non_null_fields_partial_response.graphql b/graphql-modules/graphql-error-handling/src/test/resources/graphql/request/field_error_request_non_null_fields_partial_response.graphql
similarity index 100%
rename from graphql/graphql-error-handling/src/test/resources/graphql/request/field_error_request_non_null_fields_partial_response.graphql
rename to graphql-modules/graphql-error-handling/src/test/resources/graphql/request/field_error_request_non_null_fields_partial_response.graphql
diff --git a/graphql/graphql-error-handling/src/test/resources/graphql/request/request_error_invalid_request_syntax.graphql b/graphql-modules/graphql-error-handling/src/test/resources/graphql/request/request_error_invalid_request_syntax.graphql
similarity index 100%
rename from graphql/graphql-error-handling/src/test/resources/graphql/request/request_error_invalid_request_syntax.graphql
rename to graphql-modules/graphql-error-handling/src/test/resources/graphql/request/request_error_invalid_request_syntax.graphql
diff --git a/graphql/graphql-error-handling/src/test/resources/graphql/request/request_error_unknown_operation.graphql b/graphql-modules/graphql-error-handling/src/test/resources/graphql/request/request_error_unknown_operation.graphql
similarity index 100%
rename from graphql/graphql-error-handling/src/test/resources/graphql/request/request_error_unknown_operation.graphql
rename to graphql-modules/graphql-error-handling/src/test/resources/graphql/request/request_error_unknown_operation.graphql
diff --git a/graphql/graphql-error-handling/src/test/resources/graphql/response/field_error_request_non_null_fields_partial_response.json b/graphql-modules/graphql-error-handling/src/test/resources/graphql/response/field_error_request_non_null_fields_partial_response.json
similarity index 100%
rename from graphql/graphql-error-handling/src/test/resources/graphql/response/field_error_request_non_null_fields_partial_response.json
rename to graphql-modules/graphql-error-handling/src/test/resources/graphql/response/field_error_request_non_null_fields_partial_response.json
diff --git a/graphql/graphql-error-handling/src/test/resources/graphql/response/request_error_invalid_request_syntax.json b/graphql-modules/graphql-error-handling/src/test/resources/graphql/response/request_error_invalid_request_syntax.json
similarity index 100%
rename from graphql/graphql-error-handling/src/test/resources/graphql/response/request_error_invalid_request_syntax.json
rename to graphql-modules/graphql-error-handling/src/test/resources/graphql/response/request_error_invalid_request_syntax.json
diff --git a/graphql/graphql-error-handling/src/test/resources/graphql/response/request_error_unknown_operation.json b/graphql-modules/graphql-error-handling/src/test/resources/graphql/response/request_error_unknown_operation.json
similarity index 100%
rename from graphql/graphql-error-handling/src/test/resources/graphql/response/request_error_unknown_operation.json
rename to graphql-modules/graphql-error-handling/src/test/resources/graphql/response/request_error_unknown_operation.json
diff --git a/graphql/graphql-error-handling/src/test/resources/init_script.sql b/graphql-modules/graphql-error-handling/src/test/resources/init_script.sql
similarity index 100%
rename from graphql/graphql-error-handling/src/test/resources/init_script.sql
rename to graphql-modules/graphql-error-handling/src/test/resources/init_script.sql
diff --git a/graphql/graphql-java/README.md b/graphql-modules/graphql-java/README.md
similarity index 100%
rename from graphql/graphql-java/README.md
rename to graphql-modules/graphql-java/README.md
diff --git a/graphql/graphql-java/payload-examples/createUser.json b/graphql-modules/graphql-java/payload-examples/createUser.json
similarity index 100%
rename from graphql/graphql-java/payload-examples/createUser.json
rename to graphql-modules/graphql-java/payload-examples/createUser.json
diff --git a/graphql/graphql-java/payload-examples/deleteUser.json b/graphql-modules/graphql-java/payload-examples/deleteUser.json
similarity index 100%
rename from graphql/graphql-java/payload-examples/deleteUser.json
rename to graphql-modules/graphql-java/payload-examples/deleteUser.json
diff --git a/graphql/graphql-java/payload-examples/listUsers.json b/graphql-modules/graphql-java/payload-examples/listUsers.json
similarity index 100%
rename from graphql/graphql-java/payload-examples/listUsers.json
rename to graphql-modules/graphql-java/payload-examples/listUsers.json
diff --git a/graphql/graphql-java/payload-examples/retrieveUser.json b/graphql-modules/graphql-java/payload-examples/retrieveUser.json
similarity index 100%
rename from graphql/graphql-java/payload-examples/retrieveUser.json
rename to graphql-modules/graphql-java/payload-examples/retrieveUser.json
diff --git a/graphql/graphql-java/payload-examples/searchName.json b/graphql-modules/graphql-java/payload-examples/searchName.json
similarity index 100%
rename from graphql/graphql-java/payload-examples/searchName.json
rename to graphql-modules/graphql-java/payload-examples/searchName.json
diff --git a/graphql/graphql-java/payload-examples/updateUser.json b/graphql-modules/graphql-java/payload-examples/updateUser.json
similarity index 100%
rename from graphql/graphql-java/payload-examples/updateUser.json
rename to graphql-modules/graphql-java/payload-examples/updateUser.json
diff --git a/graphql/graphql-java/pom.xml b/graphql-modules/graphql-java/pom.xml
similarity index 99%
rename from graphql/graphql-java/pom.xml
rename to graphql-modules/graphql-java/pom.xml
index b0b2c15359..1993130b12 100644
--- a/graphql/graphql-java/pom.xml
+++ b/graphql-modules/graphql-java/pom.xml
@@ -1,3 +1,4 @@
+
com.baeldung.graphql
- graphql
+ graphql-modules
1.0.0-SNAPSHOT
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/Application.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/Application.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/Application.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/Application.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/clients/AmericanExpressNodes.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/clients/AmericanExpressNodes.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/clients/AmericanExpressNodes.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/clients/AmericanExpressNodes.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/clients/ApacheHttpClient.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/clients/ApacheHttpClient.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/clients/ApacheHttpClient.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/clients/ApacheHttpClient.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Author.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Author.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Author.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Author.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Book.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Book.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Book.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Book.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/data/BookRepository.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/BookRepository.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/data/BookRepository.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/BookRepository.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Data.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Data.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Data.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Data.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Response.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Response.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/data/Response.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/data/Response.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/entity/User.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/entity/User.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/entity/User.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/entity/User.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/handler/UserHandler.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/handler/UserHandler.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/handler/UserHandler.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/handler/UserHandler.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/mutation/UserMutation.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/mutation/UserMutation.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/mutation/UserMutation.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/mutation/UserMutation.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/query/UserQuery.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/query/UserQuery.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/query/UserQuery.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/query/UserQuery.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/schema/UserSchema.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/schema/UserSchema.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/schema/UserSchema.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/schema/UserSchema.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLEndpoint.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLEndpoint.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLEndpoint.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLEndpoint.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLQuery.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLQuery.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLQuery.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/server/GraphQLQuery.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphql/utils/SchemaUtils.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/utils/SchemaUtils.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphql/utils/SchemaUtils.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphql/utils/SchemaUtils.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/AppHandler.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/AppHandler.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/AppHandler.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/AppHandler.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/ExtendedGraphQLScalarType.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/ExtendedGraphQLScalarType.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/ExtendedGraphQLScalarType.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/ExtendedGraphQLScalarType.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/GraphqlReturnMap.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/GraphqlReturnMap.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/GraphqlReturnMap.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/GraphqlReturnMap.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Attribute.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Attribute.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Attribute.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Attribute.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Product.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Product.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Product.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/entity/Product.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/model/AttributeKeyValueModel.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/model/AttributeKeyValueModel.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/model/AttributeKeyValueModel.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/model/AttributeKeyValueModel.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/ProductRepository.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/ProductRepository.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/ProductRepository.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/ProductRepository.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/impl/ProductRepositoryImpl.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/impl/ProductRepositoryImpl.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/impl/ProductRepositoryImpl.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/repository/impl/ProductRepositoryImpl.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/ProductResolver.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/ProductResolver.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/ProductResolver.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/ProductResolver.java
diff --git a/graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/Query.java b/graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/Query.java
similarity index 100%
rename from graphql/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/Query.java
rename to graphql-modules/graphql-java/src/main/java/com/baeldung/graphqlreturnmap/resolver/Query.java
diff --git a/java-numbers/src/main/resources/logback.xml b/graphql-modules/graphql-java/src/main/resources/logback.xml
similarity index 100%
rename from java-numbers/src/main/resources/logback.xml
rename to graphql-modules/graphql-java/src/main/resources/logback.xml
diff --git a/graphql/graphql-java/src/main/resources/schema.graphqls b/graphql-modules/graphql-java/src/main/resources/schema.graphqls
similarity index 100%
rename from graphql/graphql-java/src/main/resources/schema.graphqls
rename to graphql-modules/graphql-java/src/main/resources/schema.graphqls
diff --git a/graphql/graphql-java/src/test/java/com/baeldung/graphql/GraphQLMockServer.java b/graphql-modules/graphql-java/src/test/java/com/baeldung/graphql/GraphQLMockServer.java
similarity index 100%
rename from graphql/graphql-java/src/test/java/com/baeldung/graphql/GraphQLMockServer.java
rename to graphql-modules/graphql-java/src/test/java/com/baeldung/graphql/GraphQLMockServer.java
diff --git a/graphql/graphql-java/src/test/java/com/baeldung/graphql/clients/AmericanExpressNodesUnitTest.java b/graphql-modules/graphql-java/src/test/java/com/baeldung/graphql/clients/AmericanExpressNodesUnitTest.java
similarity index 100%
rename from graphql/graphql-java/src/test/java/com/baeldung/graphql/clients/AmericanExpressNodesUnitTest.java
rename to graphql-modules/graphql-java/src/test/java/com/baeldung/graphql/clients/AmericanExpressNodesUnitTest.java
diff --git a/graphql/graphql-java/src/test/java/com/baeldung/graphql/clients/ApacheHttpClientUnitTest.java b/graphql-modules/graphql-java/src/test/java/com/baeldung/graphql/clients/ApacheHttpClientUnitTest.java
similarity index 100%
rename from graphql/graphql-java/src/test/java/com/baeldung/graphql/clients/ApacheHttpClientUnitTest.java
rename to graphql-modules/graphql-java/src/test/java/com/baeldung/graphql/clients/ApacheHttpClientUnitTest.java
diff --git a/graphql/graphql-spqr/README.md b/graphql-modules/graphql-spqr/README.md
similarity index 100%
rename from graphql/graphql-spqr/README.md
rename to graphql-modules/graphql-spqr/README.md
diff --git a/graphql/graphql-spqr/pom.xml b/graphql-modules/graphql-spqr/pom.xml
similarity index 95%
rename from graphql/graphql-spqr/pom.xml
rename to graphql-modules/graphql-spqr/pom.xml
index 75a1b5d79b..7bc450036a 100644
--- a/graphql/graphql-spqr/pom.xml
+++ b/graphql-modules/graphql-spqr/pom.xml
@@ -9,7 +9,7 @@
com.baeldung.graphql
- graphql
+ graphql-modules
1.0.0-SNAPSHOT
diff --git a/graphql/graphql-spqr/src/main/java/com/baeldung/SpringBootApp.java b/graphql-modules/graphql-spqr/src/main/java/com/baeldung/SpringBootApp.java
similarity index 100%
rename from graphql/graphql-spqr/src/main/java/com/baeldung/SpringBootApp.java
rename to graphql-modules/graphql-spqr/src/main/java/com/baeldung/SpringBootApp.java
diff --git a/graphql/graphql-spqr/src/main/java/com/baeldung/spqr/Book.java b/graphql-modules/graphql-spqr/src/main/java/com/baeldung/spqr/Book.java
similarity index 100%
rename from graphql/graphql-spqr/src/main/java/com/baeldung/spqr/Book.java
rename to graphql-modules/graphql-spqr/src/main/java/com/baeldung/spqr/Book.java
diff --git a/graphql/graphql-spqr/src/main/java/com/baeldung/spqr/BookService.java b/graphql-modules/graphql-spqr/src/main/java/com/baeldung/spqr/BookService.java
similarity index 100%
rename from graphql/graphql-spqr/src/main/java/com/baeldung/spqr/BookService.java
rename to graphql-modules/graphql-spqr/src/main/java/com/baeldung/spqr/BookService.java
diff --git a/graphql/graphql-spqr/src/main/java/com/baeldung/spqr/IBookService.java b/graphql-modules/graphql-spqr/src/main/java/com/baeldung/spqr/IBookService.java
similarity index 100%
rename from graphql/graphql-spqr/src/main/java/com/baeldung/spqr/IBookService.java
rename to graphql-modules/graphql-spqr/src/main/java/com/baeldung/spqr/IBookService.java
diff --git a/graphql/pom.xml b/graphql-modules/pom.xml
similarity index 90%
rename from graphql/pom.xml
rename to graphql-modules/pom.xml
index aec097752a..7a77e3ff0c 100644
--- a/graphql/pom.xml
+++ b/graphql-modules/pom.xml
@@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
com.baeldung.graphql
- graphql
+ graphql-modules
1.0.0-SNAPSHOT
- graphql
+ graphql-modules
pom
@@ -23,4 +23,4 @@
graphql-spqr
-
\ No newline at end of file
+
diff --git a/javax-servlets-2/README.md b/javax-servlets-2/README.md
index 9a7ad02d39..cd599890ad 100644
--- a/javax-servlets-2/README.md
+++ b/javax-servlets-2/README.md
@@ -4,3 +4,4 @@ This module contains articles about Servlets.
### Relevant Articles:
- [Check if a User Is Logged-in With Servlets and JSP](https://www.baeldung.com/servlets-jsp-check-user-login)
+- [How to Mock HttpServletRequest](https://www.baeldung.com/java-httpservletrequest-mock)
diff --git a/javax-servlets-2/pom.xml b/javax-servlets-2/pom.xml
index 5d8310f2b2..6469c66db6 100644
--- a/javax-servlets-2/pom.xml
+++ b/javax-servlets-2/pom.xml
@@ -39,6 +39,18 @@
jstl
${jstl.version}
+
+ org.jmockit
+ jmockit
+ ${jmockit.version}
+ test
+
+
+ org.springframework
+ spring-test
+ ${spring-test.version}
+ test
+
org.apache.httpcomponents
httpclient
@@ -53,9 +65,26 @@
+
+
+
+ maven-surefire-plugin
+ ${maven-surefire-plugin.version}
+
+
+ -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
+
+
+
+
+
+
4.5.13
4.0.1
+ 1.49
+ 5.3.20
+ 2.22.2
\ No newline at end of file
diff --git a/javax-servlets-2/src/main/java/com/baeldung/servlets/UserServlet.java b/javax-servlets-2/src/main/java/com/baeldung/servlets/UserServlet.java
new file mode 100644
index 0000000000..a71a4da8e4
--- /dev/null
+++ b/javax-servlets-2/src/main/java/com/baeldung/servlets/UserServlet.java
@@ -0,0 +1,24 @@
+package com.baeldung.servlets;
+
+import java.io.IOException;
+
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+@WebServlet(name = "UserServlet", urlPatterns = "/user")
+public class UserServlet extends HttpServlet {
+
+ private static final long serialVersionUID = 2923732283720972121L;
+
+ @Override
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
+ String firstName = request.getParameter("firstName");
+ String lastName = request.getParameter("lastName");
+
+ response.getWriter()
+ .append("Full Name: " + firstName + " " + lastName);
+ }
+
+}
diff --git a/javax-servlets-2/src/test/java/com/baeldung/servlets/TestUtil.java b/javax-servlets-2/src/test/java/com/baeldung/servlets/TestUtil.java
new file mode 100644
index 0000000000..e010de3a55
--- /dev/null
+++ b/javax-servlets-2/src/test/java/com/baeldung/servlets/TestUtil.java
@@ -0,0 +1,678 @@
+package com.baeldung.servlets;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.io.UnsupportedEncodingException;
+import java.security.Principal;
+import java.util.Collection;
+import java.util.Enumeration;
+import java.util.Locale;
+import java.util.Map;
+
+import javax.servlet.AsyncContext;
+import javax.servlet.DispatcherType;
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
+import javax.servlet.ServletInputStream;
+import javax.servlet.ServletOutputStream;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+import javax.servlet.http.Cookie;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpUpgradeHandler;
+import javax.servlet.http.Part;
+
+public class TestUtil {
+
+ public static HttpServletRequest getRequest(Map params) {
+ return new HttpServletRequest() {
+
+ @Override
+ public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public AsyncContext startAsync() throws IllegalStateException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void setCharacterEncoding(String env) throws UnsupportedEncodingException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setAttribute(String name, Object o) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void removeAttribute(String name) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public boolean isSecure() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public boolean isAsyncSupported() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public boolean isAsyncStarted() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public ServletContext getServletContext() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public int getServerPort() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public String getServerName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getScheme() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public RequestDispatcher getRequestDispatcher(String path) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public int getRemotePort() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public String getRemoteHost() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getRemoteAddr() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getRealPath(String path) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public BufferedReader getReader() throws IOException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getProtocol() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String[] getParameterValues(String name) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Enumeration getParameterNames() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Map getParameterMap() {
+ return params;
+ }
+
+ @Override
+ public String getParameter(String name) {
+ String[] values = params.get(name);
+ if (values == null || values.length == 0)
+ return null;
+ return values[0];
+ }
+
+ @Override
+ public Enumeration getLocales() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Locale getLocale() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public int getLocalPort() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public String getLocalName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getLocalAddr() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public ServletInputStream getInputStream() throws IOException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public DispatcherType getDispatcherType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getContentType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public long getContentLengthLong() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public int getContentLength() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public String getCharacterEncoding() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Enumeration getAttributeNames() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Object getAttribute(String name) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public AsyncContext getAsyncContext() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public T upgrade(Class handlerClass) throws IOException, ServletException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void logout() throws ServletException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void login(String username, String password) throws ServletException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public boolean isUserInRole(String role) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public boolean isRequestedSessionIdValid() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public boolean isRequestedSessionIdFromUrl() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public boolean isRequestedSessionIdFromURL() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public boolean isRequestedSessionIdFromCookie() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public Principal getUserPrincipal() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public HttpSession getSession(boolean create) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public HttpSession getSession() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getServletPath() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getRequestedSessionId() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public StringBuffer getRequestURL() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getRequestURI() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getRemoteUser() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getQueryString() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getPathTranslated() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getPathInfo() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Collection getParts() throws IOException, ServletException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Part getPart(String name) throws IOException, ServletException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getMethod() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public int getIntHeader(String name) {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public Enumeration getHeaders(String name) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Enumeration getHeaderNames() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getHeader(String name) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public long getDateHeader(String name) {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public Cookie[] getCookies() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getContextPath() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getAuthType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String changeSessionId() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public boolean authenticate(HttpServletResponse response) throws IOException, ServletException {
+ // TODO Auto-generated method stub
+ return false;
+ }
+ };
+ }
+
+ public static HttpServletResponse getResponse(StringWriter writer) {
+
+ return new HttpServletResponse() {
+
+ @Override
+ public void setLocale(Locale loc) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setContentType(String type) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setContentLengthLong(long len) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setContentLength(int len) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setCharacterEncoding(String charset) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setBufferSize(int size) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void resetBuffer() {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void reset() {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public boolean isCommitted() {
+ return true;
+ }
+
+ @Override
+ public PrintWriter getWriter() throws IOException {
+ return new PrintWriter(writer, isCommitted());
+ }
+
+ @Override
+ public ServletOutputStream getOutputStream() throws IOException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Locale getLocale() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getContentType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getCharacterEncoding() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public int getBufferSize() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public void flushBuffer() throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setStatus(int sc, String sm) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setStatus(int sc) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setIntHeader(String name, int value) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setHeader(String name, String value) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setDateHeader(String name, long date) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void sendRedirect(String location) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void sendError(int sc, String msg) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void sendError(int sc) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public int getStatus() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public Collection getHeaders(String name) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Collection getHeaderNames() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String getHeader(String name) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String encodeUrl(String url) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String encodeURL(String url) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String encodeRedirectUrl(String url) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public String encodeRedirectURL(String url) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public boolean containsHeader(String name) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public void addIntHeader(String name, int value) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void addHeader(String name, String value) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void addDateHeader(String name, long date) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void addCookie(Cookie cookie) {
+ // TODO Auto-generated method stub
+
+ }
+ };
+
+ }
+}
\ No newline at end of file
diff --git a/javax-servlets-2/src/test/java/com/baeldung/servlets/UserServletUnitTest.java b/javax-servlets-2/src/test/java/com/baeldung/servlets/UserServletUnitTest.java
new file mode 100644
index 0000000000..7c207d5be3
--- /dev/null
+++ b/javax-servlets-2/src/test/java/com/baeldung/servlets/UserServletUnitTest.java
@@ -0,0 +1,93 @@
+package com.baeldung.servlets;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.springframework.mock.web.MockHttpServletRequest;
+import org.springframework.mock.web.MockHttpServletResponse;
+
+import mockit.Expectations;
+import mockit.Mocked;
+
+class UserServletUnitTest {
+
+ private UserServlet servlet;
+ private StringWriter writer;
+
+ @Mocked
+ HttpServletRequest mockRequest;
+ @Mocked
+ HttpServletResponse mockResponse;
+
+ @BeforeEach
+ public void setUp() throws IOException {
+ servlet = new UserServlet();
+ writer = new StringWriter();
+ }
+
+ @Test
+ void givenHttpServletRequest_whenUsingAnonymousClass_thenReturnsParameterValues() throws IOException {
+ final Map params = new HashMap<>();
+ params.put("firstName", new String[] { "Anonymous Class" });
+ params.put("lastName", new String[] { "Test" });
+
+ servlet.doGet(TestUtil.getRequest(params), TestUtil.getResponse(writer));
+
+ assertThat(writer.toString()).isEqualTo("Full Name: Anonymous Class Test");
+ }
+
+ @Test
+ void givenHttpServletRequest_whenMockedWithMockito_thenReturnsParameterValues() throws IOException {
+ // mock HttpServletRequest & HttpServletResponse
+ HttpServletRequest request = mock(HttpServletRequest.class);
+ HttpServletResponse response = mock(HttpServletResponse.class);
+
+ // mock the returned value of request.getParameterMap()
+ when(request.getParameter("firstName")).thenReturn("Mockito");
+ when(request.getParameter("lastName")).thenReturn("Test");
+ when(response.getWriter()).thenReturn(new PrintWriter(writer));
+
+ servlet.doGet(request, response);
+
+ assertThat(writer.toString()).isEqualTo("Full Name: Mockito Test");
+ }
+
+ @Test
+ void givenHttpServletRequest_whenMockedWithJMockit_thenReturnsParameterValues() throws IOException {
+
+ new Expectations() {{
+ mockRequest.getParameter("firstName"); result = "JMockit";
+ mockRequest.getParameter("lastName"); result = "Test";
+ mockResponse.getWriter(); result = new PrintWriter(writer);
+ }};
+
+ servlet.doGet(mockRequest, mockResponse);
+
+ assertThat(writer.toString()).isEqualTo("Full Name: JMockit Test");
+ }
+
+ @Test
+ void givenHttpServletRequest_whenUsingMockHttpServletRequest_thenReturnsParameterValues() throws IOException {
+ MockHttpServletRequest request = new MockHttpServletRequest();
+ request.setParameter("firstName", "Spring");
+ request.setParameter("lastName", "Test");
+ MockHttpServletResponse response = new MockHttpServletResponse();
+
+ servlet.doGet(request, response);
+
+ assertThat(response.getContentAsString()).isEqualTo("Full Name: Spring Test");
+ }
+
+}
diff --git a/javax-servlets/src/main/java/com/baeldung/servlets/FormServlet.java b/javax-servlets/src/main/java/com/baeldung/servlets/FormServlet.java
index c78129a9cf..72a2b39a67 100644
--- a/javax-servlets/src/main/java/com/baeldung/servlets/FormServlet.java
+++ b/javax-servlets/src/main/java/com/baeldung/servlets/FormServlet.java
@@ -1,6 +1,7 @@
package com.baeldung.servlets;
import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
@@ -11,30 +12,25 @@ import java.io.IOException;
public class FormServlet extends HttpServlet {
@Override
- protected void doPost(HttpServletRequest request, HttpServletResponse response)
- throws IOException {
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
String height = request.getParameter("height");
String weight = request.getParameter("weight");
-
try {
double bmi = calculateBMI(Double.parseDouble(weight), Double.parseDouble(height));
-
request.setAttribute("bmi", bmi);
response.setHeader("Test", "Success");
response.setHeader("BMI", String.valueOf(bmi));
-
- RequestDispatcher dispatcher = request.getRequestDispatcher("/WEB-INF/jsp/index.jsp");
- dispatcher.forward(request, response);
+ request.getRequestDispatcher("/WEB-INF/jsp/index.jsp").forward(request, response);
} catch (Exception e) {
- response.sendRedirect("index.jsp");
+ request.getRequestDispatcher("/WEB-INF/jsp/index.jsp").forward(request, response);
}
}
@Override
- protected void doGet(HttpServletRequest request, HttpServletResponse response) {
-
- // do something else here
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+ RequestDispatcher dispatcher = request.getRequestDispatcher("/WEB-INF/jsp/index.jsp");
+ dispatcher.forward(request, response);
}
private Double calculateBMI(Double weight, Double height) {
diff --git a/javax-servlets/src/main/java/com/baeldung/servlets/MainServlet.java b/javax-servlets/src/main/java/com/baeldung/servlets/MainServlet.java
index d4417b0b4e..12c75444bb 100644
--- a/javax-servlets/src/main/java/com/baeldung/servlets/MainServlet.java
+++ b/javax-servlets/src/main/java/com/baeldung/servlets/MainServlet.java
@@ -12,8 +12,7 @@ public class MainServlet extends HttpServlet {
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
-
- response.sendRedirect("main.jsp");
+ request.getRequestDispatcher("/WEB-INF/jsp/main.jsp").forward(request, response);
}
diff --git a/javax-servlets/src/main/java/com/baeldung/servlets/MyHttpServlet.java b/javax-servlets/src/main/java/com/baeldung/servlets/MyHttpServlet.java
index b4d80db0ab..92530c2887 100644
--- a/javax-servlets/src/main/java/com/baeldung/servlets/MyHttpServlet.java
+++ b/javax-servlets/src/main/java/com/baeldung/servlets/MyHttpServlet.java
@@ -2,6 +2,8 @@ package com.baeldung.servlets;
import java.io.IOException;
import java.io.PrintWriter;
+import java.util.Arrays;
+import java.util.Collections;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
@@ -20,7 +22,7 @@ public class MyHttpServlet extends HttpServlet {
writer.println(request.getLocalAddr());
} else if ("getLocalName".equals(request.getParameter("function"))) {
writer.println(request.getLocalName());
- } else if ("getLocalAPort".equals(request.getParameter("function"))) {
+ } else if ("getLocalPort".equals(request.getParameter("function"))) {
writer.println(request.getLocalPort());
} else if ("getMethod".equals(request.getParameter("function"))) {
writer.println(request.getMethod());
diff --git a/javax-servlets/src/main/java/com/baeldung/servlets/UpdateServlet.java b/javax-servlets/src/main/java/com/baeldung/servlets/UpdateServlet.java
index 35c9819a6f..721e3afe6b 100644
--- a/javax-servlets/src/main/java/com/baeldung/servlets/UpdateServlet.java
+++ b/javax-servlets/src/main/java/com/baeldung/servlets/UpdateServlet.java
@@ -25,9 +25,7 @@ public class UpdateServlet extends HttpServlet {
request.setAttribute("sessionData", session);
}
- RequestDispatcher requestDispather = request.getRequestDispatcher("update.jsp");
-
- requestDispather.forward(request, response);
+ request.getRequestDispatcher("/WEB-INF/jsp/update.jsp").forward(request, response);
}
}
diff --git a/javax-servlets/src/main/java/com/baeldung/servlets/UserLoginServlet.java b/javax-servlets/src/main/java/com/baeldung/servlets/UserLoginServlet.java
index 6becf04a0c..fd732ef89d 100644
--- a/javax-servlets/src/main/java/com/baeldung/servlets/UserLoginServlet.java
+++ b/javax-servlets/src/main/java/com/baeldung/servlets/UserLoginServlet.java
@@ -21,9 +21,7 @@ public class UserLoginServlet extends HttpServlet {
request.setAttribute("id", session.getAttribute("userId"));
- RequestDispatcher requestDispather = request.getRequestDispatcher("userlogin.jsp");
-
- requestDispather.forward(request, response);
+ request.getRequestDispatcher("/WEB-INF/jsp/userlogin.jsp").forward(request, response);
}
diff --git a/javax-servlets/src/main/java/com/baeldung/servlets/UserServlet.java b/javax-servlets/src/main/java/com/baeldung/servlets/UserServlet.java
index 269cee3922..24f2500aa4 100644
--- a/javax-servlets/src/main/java/com/baeldung/servlets/UserServlet.java
+++ b/javax-servlets/src/main/java/com/baeldung/servlets/UserServlet.java
@@ -8,7 +8,7 @@ import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-@WebServlet(name = "UserServlet", urlPatterns = {"/userServlet"}, initParams={
+@WebServlet(name = "UserServlet", urlPatterns = "/userServlet", initParams={
@WebInitParam(name="name", value="Not provided"),
@WebInitParam(name="email", value="Not provided")})
public class UserServlet extends HttpServlet {
@@ -16,13 +16,13 @@ public class UserServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
+ processRequest(request, response);
+ forwardRequest(request, response, "/WEB-INF/jsp/result.jsp");
}
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
- processRequest(request, response);
- forwardRequest(request, response, "/WEB-INF/jsp/result.jsp");
}
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
diff --git a/javax-servlets/src/main/webapp/WEB-INF/jsp/result.jsp b/javax-servlets/src/main/webapp/WEB-INF/jsp/result.jsp
index 01cc54858e..7259b96ed0 100644
--- a/javax-servlets/src/main/webapp/WEB-INF/jsp/result.jsp
+++ b/javax-servlets/src/main/webapp/WEB-INF/jsp/result.jsp
@@ -1,4 +1,3 @@
-<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page contentType="text/html" pageEncoding="UTF-8"%>
diff --git a/javax-servlets/src/main/webapp/user.jsp b/javax-servlets/src/main/webapp/user.jsp
index c6e1bb69f9..2139052a3a 100644
--- a/javax-servlets/src/main/webapp/user.jsp
+++ b/javax-servlets/src/main/webapp/user.jsp
@@ -1,4 +1,3 @@
-<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page contentType="text/html" pageEncoding="UTF-8"%>
diff --git a/jhipster/README.md b/jhipster-modules/README.md
similarity index 100%
rename from jhipster/README.md
rename to jhipster-modules/README.md
diff --git a/jhipster/jhipster-microservice/README.md b/jhipster-modules/jhipster-microservice/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/README.md
rename to jhipster-modules/jhipster-microservice/README.md
diff --git a/jhipster/jhipster-microservice/car-app/.editorconfig b/jhipster-modules/jhipster-microservice/car-app/.editorconfig
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/.editorconfig
rename to jhipster-modules/jhipster-microservice/car-app/.editorconfig
diff --git a/jhipster/jhipster-microservice/car-app/.gitattributes b/jhipster-modules/jhipster-microservice/car-app/.gitattributes
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/.gitattributes
rename to jhipster-modules/jhipster-microservice/car-app/.gitattributes
diff --git a/jhipster/jhipster-microservice/car-app/.gitignore b/jhipster-modules/jhipster-microservice/car-app/.gitignore
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/.gitignore
rename to jhipster-modules/jhipster-microservice/car-app/.gitignore
diff --git a/jhipster/jhipster-microservice/car-app/.jhipster/Car.json b/jhipster-modules/jhipster-microservice/car-app/.jhipster/Car.json
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/.jhipster/Car.json
rename to jhipster-modules/jhipster-microservice/car-app/.jhipster/Car.json
diff --git a/jhipster/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.jar b/jhipster-modules/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.jar
rename to jhipster-modules/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.jar
diff --git a/jhipster/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.properties b/jhipster-modules/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.properties
rename to jhipster-modules/jhipster-microservice/car-app/.mvn/wrapper/maven-wrapper.properties
diff --git a/jhipster/jhipster-microservice/car-app/.yo-rc.json b/jhipster-modules/jhipster-microservice/car-app/.yo-rc.json
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/.yo-rc.json
rename to jhipster-modules/jhipster-microservice/car-app/.yo-rc.json
diff --git a/jhipster/jhipster-microservice/car-app/README.md b/jhipster-modules/jhipster-microservice/car-app/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/README.md
rename to jhipster-modules/jhipster-microservice/car-app/README.md
diff --git a/jhipster/jhipster-microservice/car-app/mvnw b/jhipster-modules/jhipster-microservice/car-app/mvnw
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/mvnw
rename to jhipster-modules/jhipster-microservice/car-app/mvnw
diff --git a/jhipster/jhipster-microservice/car-app/mvnw.cmd b/jhipster-modules/jhipster-microservice/car-app/mvnw.cmd
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/mvnw.cmd
rename to jhipster-modules/jhipster-microservice/car-app/mvnw.cmd
diff --git a/jhipster/jhipster-microservice/car-app/package.json b/jhipster-modules/jhipster-microservice/car-app/package.json
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/package.json
rename to jhipster-modules/jhipster-microservice/car-app/package.json
diff --git a/jhipster/jhipster-microservice/car-app/pom.xml b/jhipster-modules/jhipster-microservice/car-app/pom.xml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/pom.xml
rename to jhipster-modules/jhipster-microservice/car-app/pom.xml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/Dockerfile b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/Dockerfile
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/Dockerfile
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/Dockerfile
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/app.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/app.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/app.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/app.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/central-server-config/README.md b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/central-server-config/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/central-server-config/README.md
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/central-server-config/README.md
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/central-server-config/docker-config/application.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/central-server-config/docker-config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/central-server-config/docker-config/application.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/central-server-config/docker-config/application.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/central-server-config/localhost-config/application.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/central-server-config/localhost-config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/central-server-config/localhost-config/application.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/central-server-config/localhost-config/application.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/jhipster-registry.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/jhipster-registry.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/jhipster-registry.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/jhipster-registry.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/mysql.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/mysql.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/mysql.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/mysql.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/docker/sonar.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/docker/sonar.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/docker/sonar.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/docker/sonar.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/ApplicationWebXml.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/ApplicationWebXml.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/ApplicationWebXml.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/ApplicationWebXml.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/CarappApp.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/CarappApp.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/CarappApp.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/CarappApp.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/aop/logging/LoggingAspect.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/aop/logging/LoggingAspect.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/aop/logging/LoggingAspect.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/aop/logging/LoggingAspect.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/ApplicationProperties.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/ApplicationProperties.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/ApplicationProperties.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/ApplicationProperties.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/AsyncConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/AsyncConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/AsyncConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/AsyncConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/CacheConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/CacheConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/CacheConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/CacheConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/CloudDatabaseConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/CloudDatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/CloudDatabaseConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/CloudDatabaseConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/Constants.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/Constants.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/Constants.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/Constants.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/DatabaseConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/DatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/DatabaseConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/DatabaseConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/DateTimeFormatConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/DateTimeFormatConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/DateTimeFormatConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/DateTimeFormatConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/DefaultProfileUtil.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/DefaultProfileUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/DefaultProfileUtil.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/DefaultProfileUtil.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/LocaleConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/LocaleConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/LocaleConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/LocaleConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingAspectConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingAspectConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingAspectConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingAspectConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/LoggingConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/MetricsConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/MetricsConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/MetricsConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/MetricsConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/MicroserviceSecurityConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/MicroserviceSecurityConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/MicroserviceSecurityConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/MicroserviceSecurityConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/ThymeleafConfiguration.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/ThymeleafConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/ThymeleafConfiguration.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/ThymeleafConfiguration.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/WebConfigurer.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/WebConfigurer.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/WebConfigurer.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/WebConfigurer.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/AuditEventConverter.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/AuditEventConverter.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/AuditEventConverter.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/AuditEventConverter.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/package-info.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/package-info.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/audit/package-info.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/package-info.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/config/package-info.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/config/package-info.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/AbstractAuditingEntity.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/AbstractAuditingEntity.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/AbstractAuditingEntity.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/AbstractAuditingEntity.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/Car.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/Car.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/Car.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/Car.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/PersistentAuditEvent.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/PersistentAuditEvent.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/PersistentAuditEvent.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/PersistentAuditEvent.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/package-info.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/domain/package-info.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/domain/package-info.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/repository/CarRepository.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/repository/CarRepository.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/repository/CarRepository.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/repository/CarRepository.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/repository/package-info.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/repository/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/repository/package-info.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/repository/package-info.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/AuthoritiesConstants.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/AuthoritiesConstants.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/AuthoritiesConstants.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/AuthoritiesConstants.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/SecurityUtils.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/SecurityUtils.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/SecurityUtils.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/SecurityUtils.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/SpringSecurityAuditorAware.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/SpringSecurityAuditorAware.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/SpringSecurityAuditorAware.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/SpringSecurityAuditorAware.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTConfigurer.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTConfigurer.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTConfigurer.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTConfigurer.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTFilter.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTFilter.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTFilter.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/JWTFilter.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/TokenProvider.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/TokenProvider.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/TokenProvider.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/security/jwt/TokenProvider.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/service/package-info.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/service/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/service/package-info.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/service/package-info.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/CarResource.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/CarResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/CarResource.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/CarResource.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/LogsResource.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/LogsResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/LogsResource.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/LogsResource.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/ProfileInfoResource.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/ProfileInfoResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/ProfileInfoResource.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/ProfileInfoResource.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/CustomParameterizedException.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/CustomParameterizedException.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/CustomParameterizedException.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/CustomParameterizedException.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorConstants.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorConstants.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorConstants.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorConstants.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorVM.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorVM.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ErrorVM.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ExceptionTranslator.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ExceptionTranslator.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ExceptionTranslator.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ExceptionTranslator.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/FieldErrorVM.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/FieldErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/FieldErrorVM.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/FieldErrorVM.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ParameterizedErrorVM.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ParameterizedErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ParameterizedErrorVM.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/errors/ParameterizedErrorVM.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/package-info.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/package-info.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/package-info.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/HeaderUtil.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/HeaderUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/HeaderUtil.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/HeaderUtil.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/PaginationUtil.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/PaginationUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/PaginationUtil.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/util/PaginationUtil.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/LoggerVM.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/LoggerVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/LoggerVM.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/LoggerVM.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/package-info.java b/jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/package-info.java
rename to jhipster-modules/jhipster-microservice/car-app/src/main/java/com/car/app/web/rest/vm/package-info.java
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/.h2.server.properties b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/.h2.server.properties
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/.h2.server.properties
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/.h2.server.properties
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/banner.txt b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/banner.txt
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/banner.txt
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/banner.txt
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/application-dev.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/application-dev.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/application-dev.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/application-dev.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/application-prod.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/application-prod.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/application-prod.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/application-prod.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/application.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/application.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/application.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/bootstrap-prod.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/bootstrap-prod.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/bootstrap-prod.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/bootstrap-prod.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/bootstrap.yml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/20170503041524_added_entity_Car.xml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/20170503041524_added_entity_Car.xml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/20170503041524_added_entity_Car.xml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/liquibase/changelog/20170503041524_added_entity_Car.xml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/config/liquibase/master.xml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/liquibase/master.xml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/config/liquibase/master.xml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/config/liquibase/master.xml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/i18n/messages.properties b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/i18n/messages.properties
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/i18n/messages.properties
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/i18n/messages.properties
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/logback-spring.xml b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/logback-spring.xml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/logback-spring.xml
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/logback-spring.xml
diff --git a/jhipster/jhipster-microservice/car-app/src/main/resources/templates/error.html b/jhipster-modules/jhipster-microservice/car-app/src/main/resources/templates/error.html
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/main/resources/templates/error.html
rename to jhipster-modules/jhipster-microservice/car-app/src/main/resources/templates/error.html
diff --git a/jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntegrationTest.java b/jhipster-modules/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/CarResourceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/TestUtil.java b/jhipster-modules/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/TestUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/TestUtil.java
rename to jhipster-modules/jhipster-microservice/car-app/src/test/java/com/car/app/web/rest/TestUtil.java
diff --git a/jhipster/jhipster-microservice/car-app/src/test/resources/config/application.yml b/jhipster-modules/jhipster-microservice/car-app/src/test/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/test/resources/config/application.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/test/resources/config/application.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/test/resources/config/bootstrap.yml b/jhipster-modules/jhipster-microservice/car-app/src/test/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/test/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-microservice/car-app/src/test/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-microservice/car-app/src/test/resources/logback-test.xml b/jhipster-modules/jhipster-microservice/car-app/src/test/resources/logback-test.xml
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/src/test/resources/logback-test.xml
rename to jhipster-modules/jhipster-microservice/car-app/src/test/resources/logback-test.xml
diff --git a/jhipster/jhipster-microservice/car-app/yarn.lock b/jhipster-modules/jhipster-microservice/car-app/yarn.lock
similarity index 100%
rename from jhipster/jhipster-microservice/car-app/yarn.lock
rename to jhipster-modules/jhipster-microservice/car-app/yarn.lock
diff --git a/jhipster/jhipster-microservice/dealer-app/.editorconfig b/jhipster-modules/jhipster-microservice/dealer-app/.editorconfig
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/.editorconfig
rename to jhipster-modules/jhipster-microservice/dealer-app/.editorconfig
diff --git a/jhipster/jhipster-microservice/dealer-app/.gitattributes b/jhipster-modules/jhipster-microservice/dealer-app/.gitattributes
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/.gitattributes
rename to jhipster-modules/jhipster-microservice/dealer-app/.gitattributes
diff --git a/jhipster/jhipster-microservice/dealer-app/.gitignore b/jhipster-modules/jhipster-microservice/dealer-app/.gitignore
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/.gitignore
rename to jhipster-modules/jhipster-microservice/dealer-app/.gitignore
diff --git a/jhipster/jhipster-microservice/dealer-app/.jhipster/Dealer.json b/jhipster-modules/jhipster-microservice/dealer-app/.jhipster/Dealer.json
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/.jhipster/Dealer.json
rename to jhipster-modules/jhipster-microservice/dealer-app/.jhipster/Dealer.json
diff --git a/jhipster/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.jar b/jhipster-modules/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.jar
rename to jhipster-modules/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.jar
diff --git a/jhipster/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.properties b/jhipster-modules/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.properties
rename to jhipster-modules/jhipster-microservice/dealer-app/.mvn/wrapper/maven-wrapper.properties
diff --git a/jhipster/jhipster-microservice/dealer-app/.yo-rc.json b/jhipster-modules/jhipster-microservice/dealer-app/.yo-rc.json
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/.yo-rc.json
rename to jhipster-modules/jhipster-microservice/dealer-app/.yo-rc.json
diff --git a/jhipster/jhipster-microservice/dealer-app/README.md b/jhipster-modules/jhipster-microservice/dealer-app/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/README.md
rename to jhipster-modules/jhipster-microservice/dealer-app/README.md
diff --git a/jhipster/jhipster-microservice/dealer-app/mvnw b/jhipster-modules/jhipster-microservice/dealer-app/mvnw
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/mvnw
rename to jhipster-modules/jhipster-microservice/dealer-app/mvnw
diff --git a/jhipster/jhipster-microservice/dealer-app/mvnw.cmd b/jhipster-modules/jhipster-microservice/dealer-app/mvnw.cmd
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/mvnw.cmd
rename to jhipster-modules/jhipster-microservice/dealer-app/mvnw.cmd
diff --git a/jhipster/jhipster-microservice/dealer-app/package.json b/jhipster-modules/jhipster-microservice/dealer-app/package.json
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/package.json
rename to jhipster-modules/jhipster-microservice/dealer-app/package.json
diff --git a/jhipster/jhipster-microservice/dealer-app/pom.xml b/jhipster-modules/jhipster-microservice/dealer-app/pom.xml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/pom.xml
rename to jhipster-modules/jhipster-microservice/dealer-app/pom.xml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/Dockerfile b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/Dockerfile
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/Dockerfile
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/Dockerfile
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/app.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/app.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/app.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/app.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/central-server-config/README.md b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/central-server-config/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/central-server-config/README.md
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/central-server-config/README.md
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/central-server-config/docker-config/application.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/central-server-config/docker-config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/central-server-config/docker-config/application.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/central-server-config/docker-config/application.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/central-server-config/localhost-config/application.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/central-server-config/localhost-config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/central-server-config/localhost-config/application.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/central-server-config/localhost-config/application.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/jhipster-registry.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/jhipster-registry.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/jhipster-registry.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/jhipster-registry.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/mysql.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/mysql.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/mysql.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/mysql.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/docker/sonar.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/sonar.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/docker/sonar.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/docker/sonar.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/ApplicationWebXml.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/ApplicationWebXml.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/ApplicationWebXml.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/ApplicationWebXml.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/DealerappApp.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/DealerappApp.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/DealerappApp.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/DealerappApp.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/aop/logging/LoggingAspect.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/aop/logging/LoggingAspect.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/aop/logging/LoggingAspect.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/aop/logging/LoggingAspect.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ApplicationProperties.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ApplicationProperties.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ApplicationProperties.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ApplicationProperties.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/AsyncConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/AsyncConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/AsyncConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/AsyncConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CacheConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CacheConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CacheConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CacheConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CloudDatabaseConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CloudDatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CloudDatabaseConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/CloudDatabaseConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/Constants.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/Constants.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/Constants.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/Constants.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DatabaseConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DatabaseConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DatabaseConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DateTimeFormatConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DateTimeFormatConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DateTimeFormatConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DateTimeFormatConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DefaultProfileUtil.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DefaultProfileUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DefaultProfileUtil.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/DefaultProfileUtil.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LocaleConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LocaleConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LocaleConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LocaleConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingAspectConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingAspectConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingAspectConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingAspectConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/LoggingConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MetricsConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MetricsConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MetricsConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MetricsConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MicroserviceSecurityConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MicroserviceSecurityConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MicroserviceSecurityConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/MicroserviceSecurityConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ThymeleafConfiguration.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ThymeleafConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ThymeleafConfiguration.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/ThymeleafConfiguration.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/WebConfigurer.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/WebConfigurer.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/WebConfigurer.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/WebConfigurer.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/AuditEventConverter.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/AuditEventConverter.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/AuditEventConverter.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/AuditEventConverter.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/package-info.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/package-info.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/audit/package-info.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/package-info.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/package-info.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/config/package-info.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/AbstractAuditingEntity.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/AbstractAuditingEntity.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/AbstractAuditingEntity.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/AbstractAuditingEntity.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/Dealer.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/Dealer.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/Dealer.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/Dealer.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/PersistentAuditEvent.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/PersistentAuditEvent.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/PersistentAuditEvent.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/PersistentAuditEvent.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/package-info.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/package-info.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/domain/package-info.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/DealerRepository.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/DealerRepository.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/DealerRepository.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/DealerRepository.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/package-info.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/package-info.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/repository/package-info.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/AuthoritiesConstants.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/AuthoritiesConstants.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/AuthoritiesConstants.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/AuthoritiesConstants.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SecurityUtils.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SecurityUtils.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SecurityUtils.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SecurityUtils.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SpringSecurityAuditorAware.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SpringSecurityAuditorAware.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SpringSecurityAuditorAware.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/SpringSecurityAuditorAware.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTConfigurer.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTConfigurer.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTConfigurer.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTConfigurer.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTFilter.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTFilter.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTFilter.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/JWTFilter.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/TokenProvider.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/TokenProvider.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/TokenProvider.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/security/jwt/TokenProvider.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/service/package-info.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/service/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/service/package-info.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/service/package-info.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/DealerResource.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/DealerResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/DealerResource.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/DealerResource.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/LogsResource.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/LogsResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/LogsResource.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/LogsResource.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/ProfileInfoResource.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/ProfileInfoResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/ProfileInfoResource.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/ProfileInfoResource.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/CustomParameterizedException.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/CustomParameterizedException.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/CustomParameterizedException.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/CustomParameterizedException.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorConstants.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorConstants.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorConstants.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorConstants.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorVM.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorVM.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ErrorVM.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ExceptionTranslator.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ExceptionTranslator.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ExceptionTranslator.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ExceptionTranslator.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/FieldErrorVM.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/FieldErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/FieldErrorVM.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/FieldErrorVM.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ParameterizedErrorVM.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ParameterizedErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ParameterizedErrorVM.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/errors/ParameterizedErrorVM.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/package-info.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/package-info.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/package-info.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/HeaderUtil.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/HeaderUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/HeaderUtil.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/HeaderUtil.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/PaginationUtil.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/PaginationUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/PaginationUtil.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/util/PaginationUtil.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/LoggerVM.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/LoggerVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/LoggerVM.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/LoggerVM.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/package-info.java b/jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/package-info.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/java/com/dealer/app/web/rest/vm/package-info.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/.h2.server.properties b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/.h2.server.properties
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/.h2.server.properties
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/.h2.server.properties
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/banner.txt b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/banner.txt
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/banner.txt
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/banner.txt
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/application-dev.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/application-dev.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/application-dev.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/application-dev.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/application-prod.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/application-prod.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/application-prod.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/application-prod.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/application.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/application.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/application.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap-prod.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap-prod.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap-prod.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap-prod.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/20170503044952_added_entity_Dealer.xml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/20170503044952_added_entity_Dealer.xml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/20170503044952_added_entity_Dealer.xml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/changelog/20170503044952_added_entity_Dealer.xml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/master.xml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/master.xml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/master.xml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/config/liquibase/master.xml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/i18n/messages.properties b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/i18n/messages.properties
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/i18n/messages.properties
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/i18n/messages.properties
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/logback-spring.xml b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/logback-spring.xml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/logback-spring.xml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/logback-spring.xml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/main/resources/templates/error.html b/jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/templates/error.html
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/main/resources/templates/error.html
rename to jhipster-modules/jhipster-microservice/dealer-app/src/main/resources/templates/error.html
diff --git a/jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntegrationTest.java b/jhipster-modules/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/DealerResourceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/TestUtil.java b/jhipster-modules/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/TestUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/TestUtil.java
rename to jhipster-modules/jhipster-microservice/dealer-app/src/test/java/com/dealer/app/web/rest/TestUtil.java
diff --git a/jhipster/jhipster-microservice/dealer-app/src/test/resources/config/application.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/test/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/test/resources/config/application.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/test/resources/config/application.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/test/resources/config/bootstrap.yml b/jhipster-modules/jhipster-microservice/dealer-app/src/test/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/test/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/test/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-microservice/dealer-app/src/test/resources/logback-test.xml b/jhipster-modules/jhipster-microservice/dealer-app/src/test/resources/logback-test.xml
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/src/test/resources/logback-test.xml
rename to jhipster-modules/jhipster-microservice/dealer-app/src/test/resources/logback-test.xml
diff --git a/jhipster/jhipster-microservice/dealer-app/yarn.lock b/jhipster-modules/jhipster-microservice/dealer-app/yarn.lock
similarity index 100%
rename from jhipster/jhipster-microservice/dealer-app/yarn.lock
rename to jhipster-modules/jhipster-microservice/dealer-app/yarn.lock
diff --git a/jhipster/jhipster-microservice/gateway-app/.bowerrc b/jhipster-modules/jhipster-microservice/gateway-app/.bowerrc
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.bowerrc
rename to jhipster-modules/jhipster-microservice/gateway-app/.bowerrc
diff --git a/jhipster/jhipster-microservice/gateway-app/.editorconfig b/jhipster-modules/jhipster-microservice/gateway-app/.editorconfig
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.editorconfig
rename to jhipster-modules/jhipster-microservice/gateway-app/.editorconfig
diff --git a/jhipster/jhipster-microservice/gateway-app/.eslintignore b/jhipster-modules/jhipster-microservice/gateway-app/.eslintignore
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.eslintignore
rename to jhipster-modules/jhipster-microservice/gateway-app/.eslintignore
diff --git a/jhipster/jhipster-microservice/gateway-app/.eslintrc.json b/jhipster-modules/jhipster-microservice/gateway-app/.eslintrc.json
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.eslintrc.json
rename to jhipster-modules/jhipster-microservice/gateway-app/.eslintrc.json
diff --git a/jhipster/jhipster-microservice/gateway-app/.gitattributes b/jhipster-modules/jhipster-microservice/gateway-app/.gitattributes
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.gitattributes
rename to jhipster-modules/jhipster-microservice/gateway-app/.gitattributes
diff --git a/jhipster/jhipster-microservice/gateway-app/.gitignore b/jhipster-modules/jhipster-microservice/gateway-app/.gitignore
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.gitignore
rename to jhipster-modules/jhipster-microservice/gateway-app/.gitignore
diff --git a/jhipster/jhipster-microservice/gateway-app/.jhipster/Car.json b/jhipster-modules/jhipster-microservice/gateway-app/.jhipster/Car.json
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.jhipster/Car.json
rename to jhipster-modules/jhipster-microservice/gateway-app/.jhipster/Car.json
diff --git a/jhipster/jhipster-microservice/gateway-app/.jhipster/Dealer.json b/jhipster-modules/jhipster-microservice/gateway-app/.jhipster/Dealer.json
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.jhipster/Dealer.json
rename to jhipster-modules/jhipster-microservice/gateway-app/.jhipster/Dealer.json
diff --git a/jhipster/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.jar b/jhipster-modules/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.jar
rename to jhipster-modules/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.jar
diff --git a/jhipster/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.properties b/jhipster-modules/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.properties
rename to jhipster-modules/jhipster-microservice/gateway-app/.mvn/wrapper/maven-wrapper.properties
diff --git a/jhipster/jhipster-microservice/gateway-app/.yo-rc.json b/jhipster-modules/jhipster-microservice/gateway-app/.yo-rc.json
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/.yo-rc.json
rename to jhipster-modules/jhipster-microservice/gateway-app/.yo-rc.json
diff --git a/jhipster/jhipster-microservice/gateway-app/README.md b/jhipster-modules/jhipster-microservice/gateway-app/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/README.md
rename to jhipster-modules/jhipster-microservice/gateway-app/README.md
diff --git a/jhipster/jhipster-microservice/gateway-app/bower.json b/jhipster-modules/jhipster-microservice/gateway-app/bower.json
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/bower.json
rename to jhipster-modules/jhipster-microservice/gateway-app/bower.json
diff --git a/jhipster/jhipster-microservice/gateway-app/gulp/build.js b/jhipster-modules/jhipster-microservice/gateway-app/gulp/build.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulp/build.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulp/build.js
diff --git a/jhipster/jhipster-microservice/gateway-app/gulp/config.js b/jhipster-modules/jhipster-microservice/gateway-app/gulp/config.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulp/config.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulp/config.js
diff --git a/jhipster/jhipster-microservice/gateway-app/gulp/copy.js b/jhipster-modules/jhipster-microservice/gateway-app/gulp/copy.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulp/copy.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulp/copy.js
diff --git a/jhipster/jhipster-microservice/gateway-app/gulp/handle-errors.js b/jhipster-modules/jhipster-microservice/gateway-app/gulp/handle-errors.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulp/handle-errors.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulp/handle-errors.js
diff --git a/jhipster/jhipster-microservice/gateway-app/gulp/inject.js b/jhipster-modules/jhipster-microservice/gateway-app/gulp/inject.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulp/inject.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulp/inject.js
diff --git a/jhipster/jhipster-microservice/gateway-app/gulp/serve.js b/jhipster-modules/jhipster-microservice/gateway-app/gulp/serve.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulp/serve.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulp/serve.js
diff --git a/jhipster/jhipster-microservice/gateway-app/gulp/utils.js b/jhipster-modules/jhipster-microservice/gateway-app/gulp/utils.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulp/utils.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulp/utils.js
diff --git a/jhipster/jhipster-microservice/gateway-app/gulpfile.js b/jhipster-modules/jhipster-microservice/gateway-app/gulpfile.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/gulpfile.js
rename to jhipster-modules/jhipster-microservice/gateway-app/gulpfile.js
diff --git a/jhipster/jhipster-microservice/gateway-app/mvnw b/jhipster-modules/jhipster-microservice/gateway-app/mvnw
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/mvnw
rename to jhipster-modules/jhipster-microservice/gateway-app/mvnw
diff --git a/jhipster/jhipster-microservice/gateway-app/mvnw.cmd b/jhipster-modules/jhipster-microservice/gateway-app/mvnw.cmd
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/mvnw.cmd
rename to jhipster-modules/jhipster-microservice/gateway-app/mvnw.cmd
diff --git a/jhipster/jhipster-microservice/gateway-app/package.json b/jhipster-modules/jhipster-microservice/gateway-app/package.json
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/package.json
rename to jhipster-modules/jhipster-microservice/gateway-app/package.json
diff --git a/jhipster/jhipster-microservice/gateway-app/pom.xml b/jhipster-modules/jhipster-microservice/gateway-app/pom.xml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/pom.xml
rename to jhipster-modules/jhipster-microservice/gateway-app/pom.xml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/Dockerfile b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/Dockerfile
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/Dockerfile
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/Dockerfile
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/app.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/app.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/app.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/app.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra-cluster.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra-cluster.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra-cluster.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra-cluster.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra-migration.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra-migration.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra-migration.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra-migration.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra/Cassandra-Migration.Dockerfile b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra/Cassandra-Migration.Dockerfile
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra/Cassandra-Migration.Dockerfile
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra/Cassandra-Migration.Dockerfile
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/autoMigrate.sh b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/autoMigrate.sh
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/autoMigrate.sh
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/autoMigrate.sh
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/execute-cql.sh b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/execute-cql.sh
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/execute-cql.sh
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/cassandra/scripts/execute-cql.sh
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/central-server-config/README.md b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/central-server-config/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/central-server-config/README.md
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/central-server-config/README.md
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/central-server-config/docker-config/application.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/central-server-config/docker-config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/central-server-config/docker-config/application.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/central-server-config/docker-config/application.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/central-server-config/localhost-config/application.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/central-server-config/localhost-config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/central-server-config/localhost-config/application.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/central-server-config/localhost-config/application.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/jhipster-registry.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/jhipster-registry.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/jhipster-registry.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/jhipster-registry.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/mysql.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/mysql.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/mysql.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/mysql.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/docker/sonar.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/sonar.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/docker/sonar.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/docker/sonar.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/ApplicationWebXml.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/ApplicationWebXml.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/ApplicationWebXml.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/ApplicationWebXml.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/GatewayApp.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/GatewayApp.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/GatewayApp.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/GatewayApp.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/aop/logging/LoggingAspect.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/aop/logging/LoggingAspect.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/aop/logging/LoggingAspect.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/aop/logging/LoggingAspect.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ApplicationProperties.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ApplicationProperties.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ApplicationProperties.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ApplicationProperties.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/AsyncConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/AsyncConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/AsyncConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/AsyncConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CacheConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CacheConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CacheConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CacheConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CloudDatabaseConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CloudDatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CloudDatabaseConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/CloudDatabaseConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/Constants.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/Constants.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/Constants.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/Constants.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DatabaseConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DatabaseConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DatabaseConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DateTimeFormatConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DateTimeFormatConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DateTimeFormatConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DateTimeFormatConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DefaultProfileUtil.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DefaultProfileUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DefaultProfileUtil.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/DefaultProfileUtil.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/GatewayConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/GatewayConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/GatewayConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/GatewayConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LocaleConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LocaleConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LocaleConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LocaleConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingAspectConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingAspectConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingAspectConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingAspectConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/LoggingConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/MetricsConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/MetricsConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/MetricsConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/MetricsConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/SecurityConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/SecurityConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/SecurityConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/SecurityConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ThymeleafConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ThymeleafConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ThymeleafConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/ThymeleafConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/WebConfigurer.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/WebConfigurer.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/WebConfigurer.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/WebConfigurer.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/AuditEventConverter.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/AuditEventConverter.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/AuditEventConverter.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/AuditEventConverter.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/audit/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CassandraConfiguration.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CassandraConfiguration.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CassandraConfiguration.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CassandraConfiguration.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CustomZonedDateTimeCodec.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CustomZonedDateTimeCodec.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CustomZonedDateTimeCodec.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/CustomZonedDateTimeCodec.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/cassandra/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/config/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/AbstractAuditingEntity.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/AbstractAuditingEntity.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/AbstractAuditingEntity.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/AbstractAuditingEntity.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/Authority.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/Authority.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/Authority.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/Authority.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/PersistentAuditEvent.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/PersistentAuditEvent.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/PersistentAuditEvent.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/PersistentAuditEvent.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/User.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/User.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/User.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/User.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/domain/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/TokenRelayFilter.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/TokenRelayFilter.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/TokenRelayFilter.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/TokenRelayFilter.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/accesscontrol/AccessControlFilter.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/accesscontrol/AccessControlFilter.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/accesscontrol/AccessControlFilter.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/accesscontrol/AccessControlFilter.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingFilter.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingFilter.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingFilter.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingFilter.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingRepository.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingRepository.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingRepository.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/ratelimiting/RateLimitingRepository.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/AuthorityRepository.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/AuthorityRepository.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/AuthorityRepository.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/AuthorityRepository.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/CustomAuditEventRepository.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/CustomAuditEventRepository.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/CustomAuditEventRepository.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/CustomAuditEventRepository.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/PersistenceAuditEventRepository.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/PersistenceAuditEventRepository.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/PersistenceAuditEventRepository.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/PersistenceAuditEventRepository.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/UserRepository.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/UserRepository.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/UserRepository.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/UserRepository.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/repository/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/AuthoritiesConstants.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/AuthoritiesConstants.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/AuthoritiesConstants.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/AuthoritiesConstants.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/DomainUserDetailsService.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/DomainUserDetailsService.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/DomainUserDetailsService.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/DomainUserDetailsService.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SecurityUtils.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SecurityUtils.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SecurityUtils.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SecurityUtils.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SpringSecurityAuditorAware.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SpringSecurityAuditorAware.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SpringSecurityAuditorAware.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/SpringSecurityAuditorAware.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/UserNotActivatedException.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/UserNotActivatedException.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/UserNotActivatedException.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/UserNotActivatedException.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTConfigurer.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTConfigurer.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTConfigurer.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTConfigurer.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTFilter.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTFilter.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTFilter.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTFilter.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/TokenProvider.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/TokenProvider.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/TokenProvider.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/jwt/TokenProvider.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/security/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/AuditEventService.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/AuditEventService.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/AuditEventService.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/AuditEventService.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/MailService.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/MailService.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/MailService.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/MailService.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/UserService.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/UserService.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/UserService.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/UserService.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/UserDTO.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/UserDTO.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/UserDTO.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/UserDTO.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/dto/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/UserMapper.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/UserMapper.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/UserMapper.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/UserMapper.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/mapper/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/util/RandomUtil.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/util/RandomUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/util/RandomUtil.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/service/util/RandomUtil.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AccountResource.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AccountResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AccountResource.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AccountResource.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuditResource.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuditResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuditResource.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuditResource.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/GatewayResource.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/GatewayResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/GatewayResource.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/GatewayResource.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/JWTToken.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/JWTToken.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/JWTToken.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/JWTToken.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/LogsResource.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/LogsResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/LogsResource.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/LogsResource.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/ProfileInfoResource.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/ProfileInfoResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/ProfileInfoResource.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/ProfileInfoResource.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserJWTController.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserJWTController.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserJWTController.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserJWTController.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserResource.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserResource.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserResource.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserResource.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/CustomParameterizedException.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/CustomParameterizedException.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/CustomParameterizedException.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/CustomParameterizedException.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorConstants.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorConstants.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorConstants.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorConstants.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ExceptionTranslator.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ExceptionTranslator.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ExceptionTranslator.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ExceptionTranslator.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/FieldErrorVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/FieldErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/FieldErrorVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/FieldErrorVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ParameterizedErrorVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ParameterizedErrorVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ParameterizedErrorVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ParameterizedErrorVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/HeaderUtil.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/HeaderUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/HeaderUtil.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/HeaderUtil.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/PaginationUtil.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/PaginationUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/PaginationUtil.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/util/PaginationUtil.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/KeyAndPasswordVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/KeyAndPasswordVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/KeyAndPasswordVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/KeyAndPasswordVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoggerVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoggerVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoggerVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoggerVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoginVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoginVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoginVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoginVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/ManagedUserVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/ManagedUserVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/ManagedUserVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/ManagedUserVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/RouteVM.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/RouteVM.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/RouteVM.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/RouteVM.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/package-info.java b/jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/package-info.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/package-info.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/package-info.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/.h2.server.properties b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/.h2.server.properties
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/.h2.server.properties
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/.h2.server.properties
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/banner.txt b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/banner.txt
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/banner.txt
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/banner.txt
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/application-dev.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/application-dev.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/application-dev.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/application-dev.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/application-prod.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/application-prod.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/application-prod.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/application-prod.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/application.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/application.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/application.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap-prod.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap-prod.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap-prod.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap-prod.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/changelog/README.md b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/changelog/README.md
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/changelog/README.md
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/changelog/README.md
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace-prod.cql b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace-prod.cql
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace-prod.cql
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace-prod.cql
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace.cql b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace.cql
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace.cql
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/create-keyspace.cql
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/drop-keyspace.cql b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/drop-keyspace.cql
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/cql/drop-keyspace.cql
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/cql/drop-keyspace.cql
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/authorities.csv b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/authorities.csv
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/authorities.csv
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/authorities.csv
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/master.xml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/master.xml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/master.xml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/master.xml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users.csv b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users.csv
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users.csv
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users.csv
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users_authorities.csv b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users_authorities.csv
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users_authorities.csv
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/config/liquibase/users_authorities.csv
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/i18n/messages.properties b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/i18n/messages.properties
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/i18n/messages.properties
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/i18n/messages.properties
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/logback-spring.xml b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/logback-spring.xml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/logback-spring.xml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/logback-spring.xml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/mails/activationEmail.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/mails/activationEmail.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/mails/activationEmail.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/mails/activationEmail.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/mails/creationEmail.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/mails/creationEmail.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/mails/creationEmail.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/mails/creationEmail.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/mails/passwordResetEmail.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/mails/passwordResetEmail.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/mails/passwordResetEmail.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/mails/passwordResetEmail.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/resources/templates/error.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/templates/error.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/resources/templates/error.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/resources/templates/error.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/404.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/404.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/404.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/404.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/account.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/account.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/account.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/account.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/activate/activate.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password-strength-bar.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password-strength-bar.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password-strength-bar.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password-strength-bar.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/password/password.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/register/register.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/finish/reset.finish.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/reset/request/reset.request.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/account/settings/settings.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/admin.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/admin.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/admin.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/admin.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/audits/audits.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/configuration/configuration.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/docs/docs.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway-routes.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway-routes.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway-routes.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway-routes.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/gateway/gateway.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.modal.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/health/health.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/logs/logs.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.modal.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/metrics/metrics.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-delete-dialog.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-detail.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management-dialog.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/admin/user-management/user-management.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/app.constants.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/app.constants.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/app.constants.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/app.constants.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/app.module.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/app.module.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/app.module.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/app.module.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/app.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/app.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/app.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/app.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/alert.config.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/alert.config.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/alert.config.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/alert.config.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/compile.config.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/compile.config.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/compile.config.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/compile.config.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/http.config.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/http.config.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/http.config.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/http.config.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/localstorage.config.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/localstorage.config.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/localstorage.config.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/localstorage.config.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pager.config.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pager.config.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pager.config.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pager.config.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pagination.config.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pagination.config.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pagination.config.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/config/uib-pagination.config.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/handlers/state.handler.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/handlers/state.handler.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/handlers/state.handler.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/handlers/state.handler.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth.interceptor.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth.interceptor.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth.interceptor.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/auth.interceptor.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/notification.interceptor.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/notification.interceptor.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/notification.interceptor.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/blocks/interceptor/notification.interceptor.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert-error.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert-error.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert-error.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert-error.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/alert/alert.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/maxbytes.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/maxbytes.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/maxbytes.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/maxbytes.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/minbytes.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/minbytes.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/minbytes.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/minbytes.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/pagination.constants.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/pagination.constants.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/pagination.constants.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/pagination.constants.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/show-validation.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/show-validation.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/show-validation.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/form/show-validation.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/base64.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/base64.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/base64.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/base64.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/capitalize.filter.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/capitalize.filter.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/capitalize.filter.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/capitalize.filter.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/data-util.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/data-util.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/data-util.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/data-util.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/date-util.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/date-util.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/date-util.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/date-util.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/jhi-item-count.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/jhi-item-count.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/jhi-item-count.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/jhi-item-count.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/pagination-util.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/pagination-util.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/pagination-util.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/pagination-util.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/parse-links.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/parse-links.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/parse-links.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/parse-links.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort-by.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort-by.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort-by.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort-by.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/sort.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-characters.filter.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-characters.filter.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-characters.filter.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-characters.filter.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-words.filter.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-words.filter.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-words.filter.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/components/util/truncate-words.filter.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-delete-dialog.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-dialog.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/cars.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/cars.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/cars.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/cars.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-delete-dialog.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-detail.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer-dialog.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealer.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealers.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealers.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealers.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/dealer/dealers.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/entity.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/entity.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/entity.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/entities/entity.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/home/home.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/accessdenied.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/accessdenied.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/accessdenied.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/accessdenied.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.state.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.state.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.state.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/error/error.state.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.controller.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.controller.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.controller.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.controller.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/layouts/navbar/navbar.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/account.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/account.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/account.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/account.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/activate.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/activate.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/activate.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/activate.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.jwt.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.jwt.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.jwt.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.jwt.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/auth.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-any-authority.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-any-authority.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-any-authority.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-any-authority.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-authority.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-authority.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-authority.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/has-authority.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-finish.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-finish.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-finish.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-finish.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-init.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-init.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-init.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password-reset-init.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/password.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/principal.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/principal.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/principal.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/principal.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/register.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/register.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/register.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/auth/register.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/page-ribbon.directive.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/page-ribbon.directive.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/page-ribbon.directive.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/page-ribbon.directive.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/profile.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/profile.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/profile.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/profiles/profile.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/user/user.service.js b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/user/user.service.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/services/user/user.service.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/app/services/user/user.service.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/css/documentation.css b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/css/documentation.css
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/css/documentation.css
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/css/documentation.css
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/css/main.css b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/css/main.css
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/css/main.css
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/css/main.css
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster.png b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster.png
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster.png
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster.png
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster2x.png b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster2x.png
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster2x.png
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/images/hipster2x.png
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/images/logo-jhipster.png b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/images/logo-jhipster.png
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/content/images/logo-jhipster.png
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/content/images/logo-jhipster.png
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/favicon.ico b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/favicon.ico
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/favicon.ico
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/favicon.ico
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/index.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/index.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/index.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/index.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/robots.txt b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/robots.txt
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/robots.txt
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/robots.txt
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/images/throbber.gif b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/images/throbber.gif
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/images/throbber.gif
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/images/throbber.gif
diff --git a/jhipster/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/index.html b/jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/index.html
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/index.html
rename to jhipster-modules/jhipster-microservice/gateway-app/src/main/webapp/swagger-ui/index.html
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/SecurityUtilsUnitTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/SecurityUtilsUnitTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/SecurityUtilsUnitTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/SecurityUtilsUnitTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenProviderIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuditResourceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/LogsResourceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/ProfileInfoResourceIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/ProfileInfoResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/ProfileInfoResourceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/ProfileInfoResourceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/TestUtil.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/TestUtil.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/TestUtil.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/TestUtil.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntegrationTest.java b/jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntegrationTest.java
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIntegrationTest.java
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/karma.conf.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/karma.conf.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/karma.conf.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/karma.conf.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/activate/activate.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/activate/activate.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/activate/activate.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/activate/activate.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password-strength-bar.directive.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password-strength-bar.directive.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password-strength-bar.directive.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password-strength-bar.directive.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/password/password.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/register/register.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/register/register.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/register/register.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/register/register.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/request/reset.request.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/request/reset.request.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/request/reset.request.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/reset/request/reset.request.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/settings/settings.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/settings/settings.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/settings/settings.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/account/settings/settings.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/admin/health/health.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/admin/health/health.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/admin/health/health.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/admin/health/health.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/components/login/login.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/components/login/login.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/components/login/login.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/components/login/login.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/car/car-detail.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/car/car-detail.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/car/car-detail.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/car/car-detail.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/dealer/dealer-detail.controller.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/dealer/dealer-detail.controller.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/dealer/dealer-detail.controller.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/entities/dealer/dealer-detail.controller.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/services/auth/auth.services.spec.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/services/auth/auth.services.spec.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/app/services/auth/auth.services.spec.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/app/services/auth/auth.services.spec.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/httpBackend.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/httpBackend.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/httpBackend.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/httpBackend.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/module.js b/jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/module.js
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/module.js
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/javascript/spec/helpers/module.js
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/resources/config/application.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/test/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/resources/config/application.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/resources/config/application.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/resources/config/bootstrap.yml b/jhipster-modules/jhipster-microservice/gateway-app/src/test/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-microservice/gateway-app/src/test/resources/logback-test.xml b/jhipster-modules/jhipster-microservice/gateway-app/src/test/resources/logback-test.xml
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/src/test/resources/logback-test.xml
rename to jhipster-modules/jhipster-microservice/gateway-app/src/test/resources/logback-test.xml
diff --git a/jhipster/jhipster-microservice/gateway-app/yarn.lock b/jhipster-modules/jhipster-microservice/gateway-app/yarn.lock
similarity index 100%
rename from jhipster/jhipster-microservice/gateway-app/yarn.lock
rename to jhipster-modules/jhipster-microservice/gateway-app/yarn.lock
diff --git a/jhipster/jhipster-microservice/pom.xml b/jhipster-modules/jhipster-microservice/pom.xml
similarity index 100%
rename from jhipster/jhipster-microservice/pom.xml
rename to jhipster-modules/jhipster-microservice/pom.xml
diff --git a/jhipster/jhipster-monolithic/.editorconfig b/jhipster-modules/jhipster-monolithic/.editorconfig
similarity index 100%
rename from jhipster/jhipster-monolithic/.editorconfig
rename to jhipster-modules/jhipster-monolithic/.editorconfig
diff --git a/jhipster/jhipster-monolithic/.gitattributes b/jhipster-modules/jhipster-monolithic/.gitattributes
similarity index 100%
rename from jhipster/jhipster-monolithic/.gitattributes
rename to jhipster-modules/jhipster-monolithic/.gitattributes
diff --git a/jhipster/jhipster-monolithic/.gitignore b/jhipster-modules/jhipster-monolithic/.gitignore
similarity index 100%
rename from jhipster/jhipster-monolithic/.gitignore
rename to jhipster-modules/jhipster-monolithic/.gitignore
diff --git a/jhipster/jhipster-monolithic/.gitlab-ci.yml b/jhipster-modules/jhipster-monolithic/.gitlab-ci.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/.gitlab-ci.yml
rename to jhipster-modules/jhipster-monolithic/.gitlab-ci.yml
diff --git a/jhipster/jhipster-monolithic/.jhipster/Comment.json b/jhipster-modules/jhipster-monolithic/.jhipster/Comment.json
similarity index 100%
rename from jhipster/jhipster-monolithic/.jhipster/Comment.json
rename to jhipster-modules/jhipster-monolithic/.jhipster/Comment.json
diff --git a/jhipster/jhipster-monolithic/.jhipster/Post.json b/jhipster-modules/jhipster-monolithic/.jhipster/Post.json
similarity index 100%
rename from jhipster/jhipster-monolithic/.jhipster/Post.json
rename to jhipster-modules/jhipster-monolithic/.jhipster/Post.json
diff --git a/jhipster/jhipster-monolithic/.mvn/wrapper/maven-wrapper.jar b/jhipster-modules/jhipster-monolithic/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from jhipster/jhipster-monolithic/.mvn/wrapper/maven-wrapper.jar
rename to jhipster-modules/jhipster-monolithic/.mvn/wrapper/maven-wrapper.jar
diff --git a/jhipster/jhipster-monolithic/.mvn/wrapper/maven-wrapper.properties b/jhipster-modules/jhipster-monolithic/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from jhipster/jhipster-monolithic/.mvn/wrapper/maven-wrapper.properties
rename to jhipster-modules/jhipster-monolithic/.mvn/wrapper/maven-wrapper.properties
diff --git a/jhipster/jhipster-monolithic/.travis.yml b/jhipster-modules/jhipster-monolithic/.travis.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/.travis.yml
rename to jhipster-modules/jhipster-monolithic/.travis.yml
diff --git a/jhipster/jhipster-monolithic/.yo-rc.json b/jhipster-modules/jhipster-monolithic/.yo-rc.json
similarity index 100%
rename from jhipster/jhipster-monolithic/.yo-rc.json
rename to jhipster-modules/jhipster-monolithic/.yo-rc.json
diff --git a/jhipster/jhipster-monolithic/Jenkinsfile b/jhipster-modules/jhipster-monolithic/Jenkinsfile
similarity index 100%
rename from jhipster/jhipster-monolithic/Jenkinsfile
rename to jhipster-modules/jhipster-monolithic/Jenkinsfile
diff --git a/jhipster/jhipster-monolithic/README.md b/jhipster-modules/jhipster-monolithic/README.md
similarity index 100%
rename from jhipster/jhipster-monolithic/README.md
rename to jhipster-modules/jhipster-monolithic/README.md
diff --git a/jhipster/jhipster-monolithic/angular-cli.json b/jhipster-modules/jhipster-monolithic/angular-cli.json
similarity index 100%
rename from jhipster/jhipster-monolithic/angular-cli.json
rename to jhipster-modules/jhipster-monolithic/angular-cli.json
diff --git a/jhipster/jhipster-monolithic/circle.yml b/jhipster-modules/jhipster-monolithic/circle.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/circle.yml
rename to jhipster-modules/jhipster-monolithic/circle.yml
diff --git a/jhipster/jhipster-monolithic/mvnw b/jhipster-modules/jhipster-monolithic/mvnw
similarity index 100%
rename from jhipster/jhipster-monolithic/mvnw
rename to jhipster-modules/jhipster-monolithic/mvnw
diff --git a/jhipster/jhipster-monolithic/mvnw.cmd b/jhipster-modules/jhipster-monolithic/mvnw.cmd
similarity index 100%
rename from jhipster/jhipster-monolithic/mvnw.cmd
rename to jhipster-modules/jhipster-monolithic/mvnw.cmd
diff --git a/jhipster/jhipster-monolithic/package.json b/jhipster-modules/jhipster-monolithic/package.json
similarity index 100%
rename from jhipster/jhipster-monolithic/package.json
rename to jhipster-modules/jhipster-monolithic/package.json
diff --git a/jhipster/jhipster-monolithic/pom.xml b/jhipster-modules/jhipster-monolithic/pom.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/pom.xml
rename to jhipster-modules/jhipster-monolithic/pom.xml
diff --git a/jhipster/jhipster-monolithic/postcss.config.js b/jhipster-modules/jhipster-monolithic/postcss.config.js
similarity index 100%
rename from jhipster/jhipster-monolithic/postcss.config.js
rename to jhipster-modules/jhipster-monolithic/postcss.config.js
diff --git a/jhipster/jhipster-monolithic/src/main/docker/Dockerfile b/jhipster-modules/jhipster-monolithic/src/main/docker/Dockerfile
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/docker/Dockerfile
rename to jhipster-modules/jhipster-monolithic/src/main/docker/Dockerfile
diff --git a/jhipster/jhipster-monolithic/src/main/docker/app.yml b/jhipster-modules/jhipster-monolithic/src/main/docker/app.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/docker/app.yml
rename to jhipster-modules/jhipster-monolithic/src/main/docker/app.yml
diff --git a/jhipster/jhipster-monolithic/src/main/docker/mysql.yml b/jhipster-modules/jhipster-monolithic/src/main/docker/mysql.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/docker/mysql.yml
rename to jhipster-modules/jhipster-monolithic/src/main/docker/mysql.yml
diff --git a/jhipster/jhipster-monolithic/src/main/docker/sonar.yml b/jhipster-modules/jhipster-monolithic/src/main/docker/sonar.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/docker/sonar.yml
rename to jhipster-modules/jhipster-monolithic/src/main/docker/sonar.yml
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/ApplicationWebXml.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/ApplicationWebXml.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/ApplicationWebXml.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/ApplicationWebXml.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/BaeldungApp.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/BaeldungApp.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/BaeldungApp.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/BaeldungApp.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/aop/logging/LoggingAspect.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/aop/logging/LoggingAspect.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/aop/logging/LoggingAspect.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/aop/logging/LoggingAspect.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/ApplicationProperties.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/ApplicationProperties.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/ApplicationProperties.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/ApplicationProperties.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/AsyncConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/AsyncConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/AsyncConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/AsyncConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/CacheConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/CacheConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/CacheConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/CacheConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/CloudDatabaseConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/CloudDatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/CloudDatabaseConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/CloudDatabaseConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/Constants.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/Constants.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/Constants.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/Constants.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/DatabaseConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/DatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/DatabaseConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/DatabaseConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/DateTimeFormatConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/DateTimeFormatConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/DateTimeFormatConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/DateTimeFormatConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/DefaultProfileUtil.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/DefaultProfileUtil.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/DefaultProfileUtil.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/DefaultProfileUtil.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/LocaleConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/LocaleConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/LocaleConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/LocaleConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingAspectConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingAspectConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingAspectConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingAspectConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/LoggingConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/MetricsConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/MetricsConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/MetricsConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/MetricsConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/SecurityConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/SecurityConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/SecurityConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/SecurityConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/ThymeleafConfiguration.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/ThymeleafConfiguration.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/ThymeleafConfiguration.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/ThymeleafConfiguration.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/WebConfigurer.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/WebConfigurer.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/WebConfigurer.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/WebConfigurer.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/audit/AuditEventConverter.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/audit/AuditEventConverter.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/audit/AuditEventConverter.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/audit/AuditEventConverter.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/audit/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/audit/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/audit/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/audit/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/config/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/config/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/AbstractAuditingEntity.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/AbstractAuditingEntity.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/AbstractAuditingEntity.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/AbstractAuditingEntity.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/Authority.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/Authority.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/Authority.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/Authority.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/Comment.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/Comment.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/Comment.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/Comment.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/PersistentAuditEvent.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/PersistentAuditEvent.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/PersistentAuditEvent.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/PersistentAuditEvent.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/Post.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/Post.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/Post.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/Post.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/User.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/User.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/User.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/User.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/domain/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/domain/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/AuthorityRepository.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/AuthorityRepository.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/AuthorityRepository.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/AuthorityRepository.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/CommentRepository.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/CommentRepository.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/CommentRepository.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/CommentRepository.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/CustomAuditEventRepository.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/CustomAuditEventRepository.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/CustomAuditEventRepository.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/CustomAuditEventRepository.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/PersistenceAuditEventRepository.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/PersistenceAuditEventRepository.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/PersistenceAuditEventRepository.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/PersistenceAuditEventRepository.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/PostRepository.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/PostRepository.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/PostRepository.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/PostRepository.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/UserRepository.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/UserRepository.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/UserRepository.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/UserRepository.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/repository/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/repository/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/AuthoritiesConstants.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/AuthoritiesConstants.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/AuthoritiesConstants.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/AuthoritiesConstants.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/DomainUserDetailsService.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/DomainUserDetailsService.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/DomainUserDetailsService.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/DomainUserDetailsService.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/SecurityUtils.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/SecurityUtils.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/SecurityUtils.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/SecurityUtils.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/SpringSecurityAuditorAware.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/SpringSecurityAuditorAware.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/SpringSecurityAuditorAware.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/SpringSecurityAuditorAware.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/UserNotActivatedException.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/UserNotActivatedException.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/UserNotActivatedException.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/UserNotActivatedException.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTConfigurer.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTConfigurer.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTConfigurer.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTConfigurer.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTFilter.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTFilter.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTFilter.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/JWTFilter.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/TokenProvider.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/TokenProvider.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/TokenProvider.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/jwt/TokenProvider.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/security/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/security/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/AuditEventService.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/AuditEventService.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/AuditEventService.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/AuditEventService.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/MailService.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/MailService.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/MailService.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/MailService.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/UserService.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/UserService.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/UserService.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/UserService.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/dto/UserDTO.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/dto/UserDTO.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/dto/UserDTO.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/dto/UserDTO.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/dto/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/dto/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/dto/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/dto/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/UserMapper.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/UserMapper.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/UserMapper.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/UserMapper.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/mapper/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/util/RandomUtil.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/util/RandomUtil.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/service/util/RandomUtil.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/service/util/RandomUtil.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AccountResource.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AccountResource.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AccountResource.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AccountResource.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AuditResource.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AuditResource.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AuditResource.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/AuditResource.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/CommentResource.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/CommentResource.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/CommentResource.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/CommentResource.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/JWTToken.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/JWTToken.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/JWTToken.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/JWTToken.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/LogsResource.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/LogsResource.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/LogsResource.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/LogsResource.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/PostResource.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/PostResource.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/PostResource.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/PostResource.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/ProfileInfoResource.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/ProfileInfoResource.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/ProfileInfoResource.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/ProfileInfoResource.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserJWTController.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserJWTController.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserJWTController.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserJWTController.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserResource.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserResource.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserResource.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/UserResource.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/CustomParameterizedException.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/CustomParameterizedException.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/CustomParameterizedException.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/CustomParameterizedException.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorConstants.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorConstants.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorConstants.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorConstants.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorVM.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorVM.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorVM.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ErrorVM.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ExceptionTranslator.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ExceptionTranslator.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ExceptionTranslator.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ExceptionTranslator.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/FieldErrorVM.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/FieldErrorVM.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/FieldErrorVM.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/FieldErrorVM.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ParameterizedErrorVM.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ParameterizedErrorVM.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ParameterizedErrorVM.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/errors/ParameterizedErrorVM.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/HeaderUtil.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/HeaderUtil.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/HeaderUtil.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/HeaderUtil.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/PaginationUtil.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/PaginationUtil.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/PaginationUtil.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/util/PaginationUtil.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/KeyAndPasswordVM.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/KeyAndPasswordVM.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/KeyAndPasswordVM.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/KeyAndPasswordVM.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoggerVM.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoggerVM.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoggerVM.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoggerVM.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoginVM.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoginVM.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoginVM.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/LoginVM.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/ManagedUserVM.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/ManagedUserVM.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/ManagedUserVM.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/ManagedUserVM.java
diff --git a/jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/package-info.java b/jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/package-info.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/package-info.java
rename to jhipster-modules/jhipster-monolithic/src/main/java/com/baeldung/web/rest/vm/package-info.java
diff --git a/jhipster/jhipster-monolithic/src/main/resources/.h2.server.properties b/jhipster-modules/jhipster-monolithic/src/main/resources/.h2.server.properties
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/.h2.server.properties
rename to jhipster-modules/jhipster-monolithic/src/main/resources/.h2.server.properties
diff --git a/jhipster/jhipster-monolithic/src/main/resources/banner.txt b/jhipster-modules/jhipster-monolithic/src/main/resources/banner.txt
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/banner.txt
rename to jhipster-modules/jhipster-monolithic/src/main/resources/banner.txt
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/application-dev.yml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/application-dev.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/application-dev.yml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/application-dev.yml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/application-prod.yml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/application-prod.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/application-prod.yml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/application-prod.yml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/application.yml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/application.yml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/application.yml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/authorities.csv b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/authorities.csv
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/authorities.csv
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/authorities.csv
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_Post.xml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_Post.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_Post.xml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_Post.xml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_constraints_Post.xml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_constraints_Post.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_constraints_Post.xml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316223211_added_entity_constraints_Post.xml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_Comment.xml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_Comment.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_Comment.xml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_Comment.xml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_constraints_Comment.xml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_constraints_Comment.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_constraints_Comment.xml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/changelog/20170316224021_added_entity_constraints_Comment.xml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/master.xml b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/master.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/master.xml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/master.xml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/users.csv b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/users.csv
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/users.csv
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/users.csv
diff --git a/jhipster/jhipster-monolithic/src/main/resources/config/liquibase/users_authorities.csv b/jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/users_authorities.csv
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/config/liquibase/users_authorities.csv
rename to jhipster-modules/jhipster-monolithic/src/main/resources/config/liquibase/users_authorities.csv
diff --git a/jhipster/jhipster-monolithic/src/main/resources/i18n/messages.properties b/jhipster-modules/jhipster-monolithic/src/main/resources/i18n/messages.properties
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/i18n/messages.properties
rename to jhipster-modules/jhipster-monolithic/src/main/resources/i18n/messages.properties
diff --git a/jhipster/jhipster-monolithic/src/main/resources/i18n/messages_en.properties b/jhipster-modules/jhipster-monolithic/src/main/resources/i18n/messages_en.properties
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/i18n/messages_en.properties
rename to jhipster-modules/jhipster-monolithic/src/main/resources/i18n/messages_en.properties
diff --git a/jhipster/jhipster-monolithic/src/main/resources/logback-spring.xml b/jhipster-modules/jhipster-monolithic/src/main/resources/logback-spring.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/logback-spring.xml
rename to jhipster-modules/jhipster-monolithic/src/main/resources/logback-spring.xml
diff --git a/jhipster/jhipster-monolithic/src/main/resources/mails/activationEmail.html b/jhipster-modules/jhipster-monolithic/src/main/resources/mails/activationEmail.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/mails/activationEmail.html
rename to jhipster-modules/jhipster-monolithic/src/main/resources/mails/activationEmail.html
diff --git a/jhipster/jhipster-monolithic/src/main/resources/mails/creationEmail.html b/jhipster-modules/jhipster-monolithic/src/main/resources/mails/creationEmail.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/mails/creationEmail.html
rename to jhipster-modules/jhipster-monolithic/src/main/resources/mails/creationEmail.html
diff --git a/jhipster/jhipster-monolithic/src/main/resources/mails/passwordResetEmail.html b/jhipster-modules/jhipster-monolithic/src/main/resources/mails/passwordResetEmail.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/mails/passwordResetEmail.html
rename to jhipster-modules/jhipster-monolithic/src/main/resources/mails/passwordResetEmail.html
diff --git a/jhipster/jhipster-monolithic/src/main/resources/templates/error.html b/jhipster-modules/jhipster-monolithic/src/main/resources/templates/error.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/resources/templates/error.html
rename to jhipster-modules/jhipster-monolithic/src/main/resources/templates/error.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/404.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/404.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/404.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/404.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/account.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/account.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/account.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/account.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/account.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/account.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/account.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/account.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/activate/activate.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/activate/activate.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/index.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/index.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/index.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/index.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.scss b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.scss
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.scss
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password-strength-bar.scss
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/password/password.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/password/password.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/register/register.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/register/register.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/settings/settings.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/account/settings/settings.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/settings/settings.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/account/settings/settings.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/account/settings/settings.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/admin.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/admin.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/admin.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/admin.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/admin.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/admin.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/admin.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/admin.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audit-data.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audit-data.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audit-data.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audit-data.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audit.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audit.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audit.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audit.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/audits/audits.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/configuration/configuration.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/docs/docs.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health-modal.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/health/health.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/health/health.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/index.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/index.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/index.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/index.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/log.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/log.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/log.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/log.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/logs/logs.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics-modal.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/metrics/metrics.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-detail.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management-dialog.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-management.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-modal.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-modal.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-modal.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/admin/user-management/user-modal.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/app.constants.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.constants.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/app.constants.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.constants.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/app.main.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.main.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/app.main.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.main.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/app.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/app.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/app.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/app.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/app.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/blocks/config/prod.config.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/config/prod.config.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/blocks/config/prod.config.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/config/prod.config.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/blocks/config/uib-pagination.config.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/config/uib-pagination.config.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/blocks/config/uib-pagination.config.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/config/uib-pagination.config.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth.interceptor.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth.interceptor.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth.interceptor.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/auth.interceptor.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/http.provider.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/http.provider.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/http.provider.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/http.provider.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-delete-dialog.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-detail.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-dialog.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-popup.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-popup.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-popup.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment-popup.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/index.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/index.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/index.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/comment/index.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/entity.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/entity.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/entity.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/entity.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/index.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/index.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/index.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/index.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-delete-dialog.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-detail.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-dialog.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-popup.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-popup.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post-popup.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post-popup.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/entities/post/post.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/entities/post/post.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/home/home.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/home/home.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/home/home.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/home/home.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/home/home.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/home/home.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/home/home.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/home/home.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/home/home.scss b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.scss
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/home/home.scss
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/home.scss
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/home/index.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/index.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/home/index.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/home/index.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/error/error.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/error/error.route.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/error/error.route.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/error/error.route.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/error/error.route.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/footer/footer.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/index.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/index.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/index.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/index.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/layout-routing.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/layout-routing.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/layout-routing.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/layout-routing.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/main/main.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/active-menu.directive.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/active-menu.directive.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/active-menu.directive.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/active-menu.directive.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.scss b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.scss
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.scss
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/navbar/navbar.scss
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.scss b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.scss
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.scss
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/page-ribbon.scss
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile-info.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile-info.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile-info.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile-info.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/layouts/profiles/profile.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/polyfills.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/polyfills.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/polyfills.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/polyfills.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/alert/alert-error.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/alert/alert-error.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/alert/alert-error.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/alert/alert-error.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/alert/alert.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/alert/alert.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/alert/alert.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/alert/alert.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/account.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/account.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/account.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/account.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/auth-jwt.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/auth-jwt.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/auth-jwt.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/auth-jwt.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/auth.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/auth.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/auth.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/auth.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/csrf.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/csrf.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/csrf.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/csrf.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/has-any-authority.directive.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/has-any-authority.directive.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/has-any-authority.directive.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/has-any-authority.directive.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/principal.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/principal.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/principal.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/principal.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/state-storage.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/state-storage.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/state-storage.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/state-storage.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/user-route-access-service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/user-route-access-service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/auth/user-route-access-service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/auth/user-route-access-service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/constants/pagination.constants.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/constants/pagination.constants.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/constants/pagination.constants.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/constants/pagination.constants.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/index.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/index.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/index.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/index.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/language/language.constants.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/language/language.constants.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/language/language.constants.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/language/language.constants.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/language/language.helper.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/language/language.helper.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/language/language.helper.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/language/language.helper.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/language/language.pipe.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/language/language.pipe.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/language/language.pipe.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/language/language.pipe.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login-modal.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login-modal.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login-modal.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login-modal.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login.component.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/login/login.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/login/login.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/shared-common.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/shared-common.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/shared-common.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/shared-common.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/shared-libs.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/shared-libs.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/shared-libs.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/shared-libs.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/shared.module.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/shared.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/shared.module.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/shared.module.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/user/account.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/user/account.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/user/account.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/user/account.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/user/user.model.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/user/user.model.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/user/user.model.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/user/user.model.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/shared/user/user.service.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/user/user.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/shared/user/user.service.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/shared/user/user.service.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/app/vendor.ts b/jhipster-modules/jhipster-monolithic/src/main/webapp/app/vendor.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/app/vendor.ts
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/app/vendor.ts
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/content/images/hipster.png b/jhipster-modules/jhipster-monolithic/src/main/webapp/content/images/hipster.png
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/content/images/hipster.png
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/content/images/hipster.png
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/content/images/hipster2x.png b/jhipster-modules/jhipster-monolithic/src/main/webapp/content/images/hipster2x.png
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/content/images/hipster2x.png
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/content/images/hipster2x.png
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/content/images/logo-jhipster.png b/jhipster-modules/jhipster-monolithic/src/main/webapp/content/images/logo-jhipster.png
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/content/images/logo-jhipster.png
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/content/images/logo-jhipster.png
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/content/scss/global.scss b/jhipster-modules/jhipster-monolithic/src/main/webapp/content/scss/global.scss
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/content/scss/global.scss
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/content/scss/global.scss
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/content/scss/vendor.scss b/jhipster-modules/jhipster-monolithic/src/main/webapp/content/scss/vendor.scss
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/content/scss/vendor.scss
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/content/scss/vendor.scss
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/favicon.ico b/jhipster-modules/jhipster-monolithic/src/main/webapp/favicon.ico
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/favicon.ico
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/favicon.ico
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/activate.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/activate.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/activate.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/activate.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/audits.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/audits.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/audits.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/audits.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/comment.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/comment.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/comment.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/comment.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/configuration.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/configuration.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/configuration.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/configuration.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/error.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/error.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/error.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/error.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/gateway.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/gateway.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/gateway.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/gateway.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/global.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/global.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/global.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/global.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/health.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/health.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/health.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/health.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/home.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/home.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/home.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/home.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/login.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/login.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/login.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/login.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/logs.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/logs.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/logs.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/logs.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/metrics.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/metrics.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/metrics.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/metrics.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/password.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/password.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/password.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/password.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/post.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/post.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/post.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/post.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/register.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/register.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/register.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/register.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/reset.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/reset.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/reset.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/reset.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/sessions.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/sessions.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/sessions.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/sessions.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/settings.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/settings.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/settings.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/settings.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/i18n/en/user-management.json b/jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/user-management.json
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/i18n/en/user-management.json
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/i18n/en/user-management.json
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/index.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/index.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/index.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/index.html
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/robots.txt b/jhipster-modules/jhipster-monolithic/src/main/webapp/robots.txt
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/robots.txt
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/robots.txt
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/swagger-ui/images/throbber.gif b/jhipster-modules/jhipster-monolithic/src/main/webapp/swagger-ui/images/throbber.gif
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/swagger-ui/images/throbber.gif
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/swagger-ui/images/throbber.gif
diff --git a/jhipster/jhipster-monolithic/src/main/webapp/swagger-ui/index.html b/jhipster-modules/jhipster-monolithic/src/main/webapp/swagger-ui/index.html
similarity index 100%
rename from jhipster/jhipster-monolithic/src/main/webapp/swagger-ui/index.html
rename to jhipster-modules/jhipster-monolithic/src/main/webapp/swagger-ui/index.html
diff --git a/jhipster/jhipster-monolithic/src/test/gatling/conf/gatling.conf b/jhipster-modules/jhipster-monolithic/src/test/gatling/conf/gatling.conf
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/gatling/conf/gatling.conf
rename to jhipster-modules/jhipster-monolithic/src/test/gatling/conf/gatling.conf
diff --git a/jhipster/jhipster-monolithic/src/test/gatling/conf/logback.xml b/jhipster-modules/jhipster-monolithic/src/test/gatling/conf/logback.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/gatling/conf/logback.xml
rename to jhipster-modules/jhipster-monolithic/src/test/gatling/conf/logback.xml
diff --git a/jhipster/jhipster-monolithic/src/test/gatling/simulations/CommentGatlingTest.scala b/jhipster-modules/jhipster-monolithic/src/test/gatling/simulations/CommentGatlingTest.scala
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/gatling/simulations/CommentGatlingTest.scala
rename to jhipster-modules/jhipster-monolithic/src/test/gatling/simulations/CommentGatlingTest.scala
diff --git a/jhipster/jhipster-monolithic/src/test/gatling/simulations/PostGatlingTest.scala b/jhipster-modules/jhipster-monolithic/src/test/gatling/simulations/PostGatlingTest.scala
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/gatling/simulations/PostGatlingTest.scala
rename to jhipster-modules/jhipster-monolithic/src/test/gatling/simulations/PostGatlingTest.scala
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/SecurityUtilsUnitTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/security/SecurityUtilsUnitTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/SecurityUtilsUnitTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/security/SecurityUtilsUnitTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/security/jwt/TokenProviderIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AccountResourceIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/AuditResourceIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/CommentResourceIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/LogsResourceIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/PostResourceIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/ProfileInfoResourceIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/ProfileInfoResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/ProfileInfoResourceIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/ProfileInfoResourceIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/TestUtil.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/TestUtil.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/TestUtil.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/TestUtil.java
diff --git a/jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntegrationTest.java b/jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntegrationTest.java
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntegrationTest.java
rename to jhipster-modules/jhipster-monolithic/src/test/java/com/baeldung/web/rest/UserResourceIntegrationTest.java
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/e2e/account/account.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/account/account.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/e2e/account/account.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/account/account.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/e2e/admin/administration.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/admin/administration.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/e2e/admin/administration.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/admin/administration.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/e2e/entities/comment.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/entities/comment.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/e2e/entities/comment.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/entities/comment.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/e2e/entities/post.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/entities/post.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/e2e/entities/post.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/e2e/entities/post.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/karma.conf.js b/jhipster-modules/jhipster-monolithic/src/test/javascript/karma.conf.js
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/karma.conf.js
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/karma.conf.js
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/protractor.conf.js b/jhipster-modules/jhipster-monolithic/src/test/javascript/protractor.conf.js
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/protractor.conf.js
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/protractor.conf.js
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/activate/activate.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/activate/activate.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/activate/activate.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/activate/activate.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password/password.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password/password.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/password/password.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/password/password.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/register/register.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/register/register.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/register/register.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/register/register.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/settings/settings.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/settings/settings.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/account/settings/settings.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/account/settings/settings.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/admin/health/health.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/admin/health/health.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/admin/health/health.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/admin/health/health.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/entities/comment/comment-detail.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/entities/comment/comment-detail.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/entities/comment/comment-detail.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/entities/comment/comment-detail.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/app/entities/post/post-detail.component.spec.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/entities/post/post-detail.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/app/entities/post/post-detail.component.spec.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/app/entities/post/post-detail.component.spec.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/entry.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/entry.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/entry.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/entry.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-account.service.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-account.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-account.service.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-account.service.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-language.service.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-language.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-language.service.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-language.service.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-principal.service.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-principal.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-principal.service.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-principal.service.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-route.service.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-route.service.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/mock-route.service.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/mock-route.service.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/spyobject.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/spyobject.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/helpers/spyobject.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/helpers/spyobject.ts
diff --git a/jhipster/jhipster-monolithic/src/test/javascript/spec/test.module.ts b/jhipster-modules/jhipster-monolithic/src/test/javascript/spec/test.module.ts
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/javascript/spec/test.module.ts
rename to jhipster-modules/jhipster-monolithic/src/test/javascript/spec/test.module.ts
diff --git a/jhipster/jhipster-monolithic/src/test/resources/config/application.yml b/jhipster-modules/jhipster-monolithic/src/test/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/resources/config/application.yml
rename to jhipster-modules/jhipster-monolithic/src/test/resources/config/application.yml
diff --git a/jhipster/jhipster-monolithic/src/test/resources/logback-test.xml b/jhipster-modules/jhipster-monolithic/src/test/resources/logback-test.xml
similarity index 100%
rename from jhipster/jhipster-monolithic/src/test/resources/logback-test.xml
rename to jhipster-modules/jhipster-monolithic/src/test/resources/logback-test.xml
diff --git a/jhipster/jhipster-monolithic/tsconfig.json b/jhipster-modules/jhipster-monolithic/tsconfig.json
similarity index 100%
rename from jhipster/jhipster-monolithic/tsconfig.json
rename to jhipster-modules/jhipster-monolithic/tsconfig.json
diff --git a/jhipster/jhipster-monolithic/tslint.json b/jhipster-modules/jhipster-monolithic/tslint.json
similarity index 100%
rename from jhipster/jhipster-monolithic/tslint.json
rename to jhipster-modules/jhipster-monolithic/tslint.json
diff --git a/jhipster/jhipster-monolithic/webpack/webpack.common.js b/jhipster-modules/jhipster-monolithic/webpack/webpack.common.js
similarity index 100%
rename from jhipster/jhipster-monolithic/webpack/webpack.common.js
rename to jhipster-modules/jhipster-monolithic/webpack/webpack.common.js
diff --git a/jhipster/jhipster-monolithic/webpack/webpack.dev.js b/jhipster-modules/jhipster-monolithic/webpack/webpack.dev.js
similarity index 100%
rename from jhipster/jhipster-monolithic/webpack/webpack.dev.js
rename to jhipster-modules/jhipster-monolithic/webpack/webpack.dev.js
diff --git a/jhipster/jhipster-monolithic/webpack/webpack.prod.js b/jhipster-modules/jhipster-monolithic/webpack/webpack.prod.js
similarity index 100%
rename from jhipster/jhipster-monolithic/webpack/webpack.prod.js
rename to jhipster-modules/jhipster-monolithic/webpack/webpack.prod.js
diff --git a/jhipster/jhipster-monolithic/webpack/webpack.vendor.js b/jhipster-modules/jhipster-monolithic/webpack/webpack.vendor.js
similarity index 100%
rename from jhipster/jhipster-monolithic/webpack/webpack.vendor.js
rename to jhipster-modules/jhipster-monolithic/webpack/webpack.vendor.js
diff --git a/jhipster/jhipster-uaa/README.md b/jhipster-modules/jhipster-uaa/README.md
similarity index 100%
rename from jhipster/jhipster-uaa/README.md
rename to jhipster-modules/jhipster-uaa/README.md
diff --git a/jhipster/jhipster-uaa/gateway/.editorconfig b/jhipster-modules/jhipster-uaa/gateway/.editorconfig
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.editorconfig
rename to jhipster-modules/jhipster-uaa/gateway/.editorconfig
diff --git a/jhipster/jhipster-uaa/gateway/.gitattributes b/jhipster-modules/jhipster-uaa/gateway/.gitattributes
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.gitattributes
rename to jhipster-modules/jhipster-uaa/gateway/.gitattributes
diff --git a/jhipster/jhipster-uaa/gateway/.gitignore b/jhipster-modules/jhipster-uaa/gateway/.gitignore
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.gitignore
rename to jhipster-modules/jhipster-uaa/gateway/.gitignore
diff --git a/jhipster/jhipster-uaa/gateway/.huskyrc b/jhipster-modules/jhipster-uaa/gateway/.huskyrc
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.huskyrc
rename to jhipster-modules/jhipster-uaa/gateway/.huskyrc
diff --git a/jhipster/jhipster-uaa/gateway/.jhipster/Quote.json b/jhipster-modules/jhipster-uaa/gateway/.jhipster/Quote.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.jhipster/Quote.json
rename to jhipster-modules/jhipster-uaa/gateway/.jhipster/Quote.json
diff --git a/jhipster/jhipster-uaa/gateway/.mvn/wrapper/MavenWrapperDownloader.java b/jhipster-modules/jhipster-uaa/gateway/.mvn/wrapper/MavenWrapperDownloader.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.mvn/wrapper/MavenWrapperDownloader.java
rename to jhipster-modules/jhipster-uaa/gateway/.mvn/wrapper/MavenWrapperDownloader.java
diff --git a/jhipster/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.jar b/jhipster-modules/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.jar
rename to jhipster-modules/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.jar
diff --git a/jhipster/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.properties b/jhipster-modules/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.properties
rename to jhipster-modules/jhipster-uaa/gateway/.mvn/wrapper/maven-wrapper.properties
diff --git a/jhipster/jhipster-uaa/gateway/.prettierignore b/jhipster-modules/jhipster-uaa/gateway/.prettierignore
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.prettierignore
rename to jhipster-modules/jhipster-uaa/gateway/.prettierignore
diff --git a/jhipster/jhipster-uaa/gateway/.prettierrc b/jhipster-modules/jhipster-uaa/gateway/.prettierrc
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.prettierrc
rename to jhipster-modules/jhipster-uaa/gateway/.prettierrc
diff --git a/jhipster/jhipster-uaa/gateway/.yo-rc.json b/jhipster-modules/jhipster-uaa/gateway/.yo-rc.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/.yo-rc.json
rename to jhipster-modules/jhipster-uaa/gateway/.yo-rc.json
diff --git a/jhipster/jhipster-uaa/gateway/README.md b/jhipster-modules/jhipster-uaa/gateway/README.md
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/README.md
rename to jhipster-modules/jhipster-uaa/gateway/README.md
diff --git a/jhipster/jhipster-uaa/gateway/angular.json b/jhipster-modules/jhipster-uaa/gateway/angular.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/angular.json
rename to jhipster-modules/jhipster-uaa/gateway/angular.json
diff --git a/jhipster/jhipster-uaa/gateway/mvnw b/jhipster-modules/jhipster-uaa/gateway/mvnw
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/mvnw
rename to jhipster-modules/jhipster-uaa/gateway/mvnw
diff --git a/jhipster/jhipster-uaa/gateway/mvnw.cmd b/jhipster-modules/jhipster-uaa/gateway/mvnw.cmd
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/mvnw.cmd
rename to jhipster-modules/jhipster-uaa/gateway/mvnw.cmd
diff --git a/jhipster/jhipster-uaa/gateway/package-lock.json b/jhipster-modules/jhipster-uaa/gateway/package-lock.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/package-lock.json
rename to jhipster-modules/jhipster-uaa/gateway/package-lock.json
diff --git a/jhipster/jhipster-uaa/gateway/package.json b/jhipster-modules/jhipster-uaa/gateway/package.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/package.json
rename to jhipster-modules/jhipster-uaa/gateway/package.json
diff --git a/jhipster/jhipster-uaa/gateway/pom.xml b/jhipster-modules/jhipster-uaa/gateway/pom.xml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/pom.xml
rename to jhipster-modules/jhipster-uaa/gateway/pom.xml
diff --git a/jhipster/jhipster-uaa/gateway/postcss.config.js b/jhipster-modules/jhipster-uaa/gateway/postcss.config.js
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/postcss.config.js
rename to jhipster-modules/jhipster-uaa/gateway/postcss.config.js
diff --git a/jhipster/jhipster-uaa/gateway/proxy.conf.json b/jhipster-modules/jhipster-uaa/gateway/proxy.conf.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/proxy.conf.json
rename to jhipster-modules/jhipster-uaa/gateway/proxy.conf.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/.dockerignore b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/.dockerignore
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/.dockerignore
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/.dockerignore
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/Dockerfile b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/Dockerfile
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/Dockerfile
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/Dockerfile
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/app.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/app.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/app.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/app.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/central-server-config/README.md b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/central-server-config/README.md
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/central-server-config/README.md
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/central-server-config/README.md
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/central-server-config/docker-config/application.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/central-server-config/docker-config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/central-server-config/docker-config/application.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/central-server-config/docker-config/application.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/central-server-config/localhost-config/application.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/central-server-config/localhost-config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/central-server-config/localhost-config/application.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/central-server-config/localhost-config/application.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/entrypoint.sh b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/entrypoint.sh
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/entrypoint.sh
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/entrypoint.sh
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/hazelcast-management-center.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/hazelcast-management-center.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/hazelcast-management-center.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/hazelcast-management-center.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/jhipster-registry.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/jhipster-registry.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/jhipster-registry.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/jhipster-registry.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/mysql.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/mysql.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/mysql.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/mysql.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/docker/sonar.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/docker/sonar.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/docker/sonar.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/docker/sonar.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/ApplicationWebXml.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/ApplicationWebXml.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/ApplicationWebXml.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/ApplicationWebXml.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/GatewayApp.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/GatewayApp.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/GatewayApp.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/GatewayApp.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/aop/logging/LoggingAspect.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/aop/logging/LoggingAspect.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/aop/logging/LoggingAspect.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/aop/logging/LoggingAspect.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/ApplicationProperties.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/ApplicationProperties.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/ApplicationProperties.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/ApplicationProperties.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/AsyncConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/AsyncConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/AsyncConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/AsyncConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CacheConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CacheConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CacheConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CacheConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CloudDatabaseConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CloudDatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CloudDatabaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/CloudDatabaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/Constants.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/Constants.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/Constants.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/Constants.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DatabaseConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DatabaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DatabaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DateTimeFormatConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DateTimeFormatConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DateTimeFormatConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DateTimeFormatConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DefaultProfileUtil.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DefaultProfileUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DefaultProfileUtil.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/DefaultProfileUtil.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/GatewayConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/GatewayConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/GatewayConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/GatewayConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/JacksonConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/JacksonConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/JacksonConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/JacksonConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LiquibaseConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LiquibaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LiquibaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LiquibaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LocaleConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LocaleConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LocaleConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LocaleConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingAspectConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingAspectConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingAspectConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingAspectConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/LoggingConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/MetricsConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/MetricsConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/MetricsConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/MetricsConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/SecurityConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/SecurityConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/SecurityConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/SecurityConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/WebConfigurer.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/WebConfigurer.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/WebConfigurer.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/WebConfigurer.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/apidoc/GatewaySwaggerResourcesProvider.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/AuditEventConverter.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/AuditEventConverter.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/AuditEventConverter.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/AuditEventConverter.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/audit/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2AuthenticationConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2AuthenticationConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2AuthenticationConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2AuthenticationConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2JwtAccessTokenConverter.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2JwtAccessTokenConverter.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2JwtAccessTokenConverter.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2JwtAccessTokenConverter.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2Properties.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2Properties.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2Properties.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/oauth2/OAuth2Properties.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/config/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/AbstractAuditingEntity.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/AbstractAuditingEntity.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/AbstractAuditingEntity.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/AbstractAuditingEntity.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/PersistentAuditEvent.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/PersistentAuditEvent.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/PersistentAuditEvent.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/PersistentAuditEvent.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/domain/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/accesscontrol/AccessControlFilter.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/accesscontrol/AccessControlFilter.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/accesscontrol/AccessControlFilter.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/accesscontrol/AccessControlFilter.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/ratelimiting/RateLimitingFilter.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/ratelimiting/RateLimitingFilter.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/ratelimiting/RateLimitingFilter.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/ratelimiting/RateLimitingFilter.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilter.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/repository/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/repository/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/repository/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/repository/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/AuthoritiesConstants.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/AuthoritiesConstants.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/AuthoritiesConstants.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/AuthoritiesConstants.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SecurityUtils.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SecurityUtils.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SecurityUtils.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SecurityUtils.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SpringSecurityAuditorAware.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SpringSecurityAuditorAware.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SpringSecurityAuditorAware.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/SpringSecurityAuditorAware.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollection.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollection.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollection.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollection.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractor.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractor.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractor.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractor.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookiesHttpServletRequestWrapper.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookiesHttpServletRequestWrapper.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookiesHttpServletRequestWrapper.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/CookiesHttpServletRequestWrapper.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationService.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationService.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationService.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationService.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelper.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelper.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelper.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelper.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2Cookies.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2Cookies.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2Cookies.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2Cookies.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2SignatureVerifierClient.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2SignatureVerifierClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2SignatureVerifierClient.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2SignatureVerifierClient.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClient.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClient.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClient.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClientAdapter.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClientAdapter.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClientAdapter.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2TokenEndpointClientAdapter.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaSignatureVerifierClient.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaSignatureVerifierClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaSignatureVerifierClient.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaSignatureVerifierClient.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaTokenEndpointClient.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaTokenEndpointClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaTokenEndpointClient.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/oauth2/UaaTokenEndpointClient.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/security/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/service/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/service/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/service/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/service/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilter.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilter.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilter.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilter.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilterConfigurer.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilterConfigurer.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilterConfigurer.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/filter/RefreshTokenFilterConfigurer.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/AuthResource.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/AuthResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/AuthResource.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/AuthResource.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/GatewayResource.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/GatewayResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/GatewayResource.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/GatewayResource.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/LogsResource.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/LogsResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/LogsResource.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/LogsResource.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/BadRequestAlertException.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/BadRequestAlertException.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/BadRequestAlertException.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/BadRequestAlertException.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/CustomParameterizedException.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/CustomParameterizedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/CustomParameterizedException.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/CustomParameterizedException.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailAlreadyUsedException.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailAlreadyUsedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailAlreadyUsedException.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailAlreadyUsedException.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailNotFoundException.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailNotFoundException.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailNotFoundException.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/EmailNotFoundException.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ErrorConstants.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ErrorConstants.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ErrorConstants.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ErrorConstants.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslator.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslator.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslator.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslator.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/FieldErrorVM.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/FieldErrorVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/FieldErrorVM.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/FieldErrorVM.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InternalServerErrorException.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InternalServerErrorException.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InternalServerErrorException.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InternalServerErrorException.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InvalidPasswordException.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InvalidPasswordException.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InvalidPasswordException.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/InvalidPasswordException.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/LoginAlreadyUsedException.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/LoginAlreadyUsedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/LoginAlreadyUsedException.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/LoginAlreadyUsedException.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/errors/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/HeaderUtil.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/HeaderUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/HeaderUtil.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/HeaderUtil.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtil.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtil.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtil.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/LoggerVM.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/LoggerVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/LoggerVM.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/LoggerVM.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/RouteVM.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/RouteVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/RouteVM.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/RouteVM.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/package-info.java b/jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/package-info.java
rename to jhipster-modules/jhipster-uaa/gateway/src/main/java/com/baeldung/jhipster/gateway/web/rest/vm/package-info.java
diff --git a/jhipster/jhipster-uaa/gateway/src/main/jib/entrypoint.sh b/jhipster-modules/jhipster-uaa/gateway/src/main/jib/entrypoint.sh
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/jib/entrypoint.sh
rename to jhipster-modules/jhipster-uaa/gateway/src/main/jib/entrypoint.sh
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/.h2.server.properties b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/.h2.server.properties
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/.h2.server.properties
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/.h2.server.properties
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/banner.txt b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/banner.txt
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/banner.txt
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/banner.txt
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/application-dev.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application-dev.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/application-dev.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application-dev.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/application-prod.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application-prod.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/application-prod.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application-prod.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/application-tls.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application-tls.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/application-tls.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application-tls.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/application.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/application.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/application.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/bootstrap-prod.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/bootstrap-prod.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/bootstrap-prod.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/bootstrap-prod.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/bootstrap.yml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/liquibase/master.xml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/liquibase/master.xml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/liquibase/master.xml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/liquibase/master.xml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/config/tls/keystore.p12 b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/tls/keystore.p12
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/config/tls/keystore.p12
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/config/tls/keystore.p12
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages.properties b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages.properties
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages.properties
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages.properties
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages_en.properties b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages_en.properties
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages_en.properties
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages_en.properties
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages_fr.properties b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages_fr.properties
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages_fr.properties
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages_fr.properties
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages_pt_br.properties b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages_pt_br.properties
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/i18n/messages_pt_br.properties
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/i18n/messages_pt_br.properties
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/logback-spring.xml b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/logback-spring.xml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/logback-spring.xml
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/logback-spring.xml
diff --git a/jhipster/jhipster-uaa/gateway/src/main/resources/templates/error.html b/jhipster-modules/jhipster-uaa/gateway/src/main/resources/templates/error.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/resources/templates/error.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/resources/templates/error.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/404.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/404.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/404.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/404.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/account.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/account.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/account.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/account.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/account.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/account.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/account.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/account.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/activate/activate.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/index.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/index.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/index.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/index.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password-reset/init/password-reset-init.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.scss b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.scss
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.scss
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password-strength-bar.scss
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/password/password.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/register/register.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/account/settings/settings.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/admin.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit-data.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit-data.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit-data.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit-data.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audit.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/audits/audits.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/configuration/configuration.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/docs/docs.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-route.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-route.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-route.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-route.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-routes.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-routes.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-routes.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway-routes.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/gateway/gateway.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health-modal.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/health/health.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/index.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/index.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/index.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/index.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/log.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/log.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/log.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/log.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/logs/logs.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics-modal.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/metrics/metrics.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-delete-dialog.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-detail.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management-update.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/admin/user-management/user-management.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/app-routing.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app-routing.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/app-routing.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app-routing.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/app.constants.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app.constants.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/app.constants.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app.constants.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/app.main.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app.main.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/app.main.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app.main.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/app.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/app.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/app.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/prod.config.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/prod.config.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/prod.config.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/prod.config.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/uib-pagination.config.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/uib-pagination.config.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/uib-pagination.config.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/config/uib-pagination.config.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/blocks/interceptor/notification.interceptor.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/account.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/account.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/account.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/account.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/auth-jwt.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/auth-jwt.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/auth-jwt.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/auth-jwt.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/csrf.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/csrf.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/csrf.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/csrf.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/principal.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/principal.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/principal.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/principal.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/state-storage.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/state-storage.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/state-storage.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/state-storage.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/user-route-access-service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/user-route-access-service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/auth/user-route-access-service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/auth/user-route-access-service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/core.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/core.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/core.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/core.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/index.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/index.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/index.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/index.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.constants.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.constants.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.constants.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.constants.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.helper.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.helper.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.helper.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/language/language.helper.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/login/login-modal.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/login/login-modal.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/login/login-modal.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/login/login-modal.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/login/login.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/login/login.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/login/login.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/login/login.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/user/account.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/user/account.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/user/account.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/user/account.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/core/user/user.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/entity.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/entity.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/entity.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/entity.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/index.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/index.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/index.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/index.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-delete-dialog.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-detail.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote-update.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/entities/quotes/quote/quote.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.scss b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.scss
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/home.scss
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/home.scss
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/index.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/index.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/home/index.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/home/index.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/error/error.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/footer/footer.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/index.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/index.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/index.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/index.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/main/main.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/active-menu.directive.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/active-menu.directive.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/active-menu.directive.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/active-menu.directive.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.route.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.route.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.route.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.route.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.scss b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.scss
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.scss
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/navbar/navbar.scss
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.scss b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.scss
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.scss
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/page-ribbon.scss
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile-info.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile-info.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile-info.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile-info.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/layouts/profiles/profile.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/polyfills.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/polyfills.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/polyfills.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/polyfills.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert-error.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert-error.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert-error.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert-error.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/alert/alert.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/auth/has-any-authority.directive.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/auth/has-any-authority.directive.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/auth/has-any-authority.directive.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/auth/has-any-authority.directive.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/error.constants.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/error.constants.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/error.constants.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/error.constants.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/input.constants.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/input.constants.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/input.constants.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/input.constants.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/pagination.constants.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/pagination.constants.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/pagination.constants.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/constants/pagination.constants.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/index.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/index.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/index.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/index.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/language/find-language-from-key.pipe.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/language/find-language-from-key.pipe.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/language/find-language-from-key.pipe.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/language/find-language-from-key.pipe.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/login/login.component.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/model/quotes/quote.model.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/model/quotes/quote.model.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/model/quotes/quote.model.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/model/quotes/quote.model.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-common.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-common.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-common.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-common.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-libs.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-libs.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-libs.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/shared-libs.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/shared.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/shared.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/shared.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/shared.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/util/datepicker-adapter.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/util/datepicker-adapter.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/util/datepicker-adapter.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/util/datepicker-adapter.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/util/request-util.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/util/request-util.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/shared/util/request-util.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/shared/util/request-util.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/app/vendor.ts b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/vendor.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/app/vendor.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/app/vendor.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster.png b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster.png
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster.png
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster192.png b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster192.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster192.png
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster192.png
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster256.png b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster256.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster256.png
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster256.png
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster2x.png b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster2x.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster2x.png
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster2x.png
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster384.png b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster384.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster384.png
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster384.png
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster512.png b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster512.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/hipster512.png
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/hipster512.png
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/logo-jhipster.png b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/logo-jhipster.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/images/logo-jhipster.png
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/images/logo-jhipster.png
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/scss/_bootstrap-variables.scss b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/scss/_bootstrap-variables.scss
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/scss/_bootstrap-variables.scss
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/scss/_bootstrap-variables.scss
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/scss/global.scss b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/scss/global.scss
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/scss/global.scss
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/scss/global.scss
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/content/scss/vendor.scss b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/scss/vendor.scss
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/content/scss/vendor.scss
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/content/scss/vendor.scss
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/favicon.ico b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/favicon.ico
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/favicon.ico
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/favicon.ico
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/activate.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/activate.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/activate.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/activate.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/audits.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/audits.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/audits.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/audits.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/configuration.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/configuration.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/configuration.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/configuration.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/error.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/error.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/error.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/error.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/gateway.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/gateway.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/gateway.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/gateway.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/global.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/global.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/global.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/global.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/health.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/health.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/health.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/health.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/home.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/home.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/home.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/home.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/login.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/login.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/login.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/login.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/logs.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/logs.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/logs.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/logs.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/metrics.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/metrics.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/metrics.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/metrics.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/password.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/password.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/password.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/password.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/quotesQuote.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/quotesQuote.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/quotesQuote.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/quotesQuote.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/register.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/register.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/register.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/register.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/reset.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/reset.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/reset.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/reset.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/sessions.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/sessions.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/sessions.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/sessions.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/settings.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/settings.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/settings.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/settings.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/user-management.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/user-management.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/en/user-management.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/en/user-management.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/activate.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/activate.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/activate.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/activate.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/audits.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/audits.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/audits.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/audits.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/configuration.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/configuration.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/configuration.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/configuration.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/error.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/error.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/error.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/error.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/gateway.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/gateway.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/gateway.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/gateway.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/global.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/global.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/global.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/global.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/health.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/health.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/health.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/health.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/home.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/home.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/home.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/home.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/login.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/login.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/login.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/login.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/logs.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/logs.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/logs.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/logs.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/metrics.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/metrics.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/metrics.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/metrics.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/password.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/password.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/password.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/password.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/quotesQuote.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/quotesQuote.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/quotesQuote.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/quotesQuote.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/register.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/register.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/register.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/register.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/reset.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/reset.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/reset.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/reset.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/sessions.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/sessions.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/sessions.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/sessions.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/settings.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/settings.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/settings.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/settings.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/user-management.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/user-management.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/fr/user-management.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/fr/user-management.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/activate.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/activate.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/activate.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/activate.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/audits.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/audits.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/audits.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/audits.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/configuration.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/configuration.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/configuration.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/configuration.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/error.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/error.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/error.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/error.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/gateway.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/gateway.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/gateway.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/gateway.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/global.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/global.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/global.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/global.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/health.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/health.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/health.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/health.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/home.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/home.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/home.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/home.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/login.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/login.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/login.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/login.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/logs.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/logs.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/logs.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/logs.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/metrics.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/metrics.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/metrics.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/metrics.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/password.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/password.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/password.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/password.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/quotesQuote.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/quotesQuote.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/quotesQuote.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/quotesQuote.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/register.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/register.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/register.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/register.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/reset.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/reset.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/reset.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/reset.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/sessions.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/sessions.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/sessions.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/sessions.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/settings.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/settings.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/settings.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/settings.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/user-management.json b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/user-management.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/user-management.json
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/i18n/pt-br/user-management.json
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/index.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/index.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/index.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/index.html
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/manifest.webapp b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/manifest.webapp
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/manifest.webapp
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/manifest.webapp
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/robots.txt b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/robots.txt
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/robots.txt
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/robots.txt
diff --git a/jhipster/jhipster-uaa/gateway/src/main/webapp/swagger-ui/index.html b/jhipster-modules/jhipster-uaa/gateway/src/main/webapp/swagger-ui/index.html
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/main/webapp/swagger-ui/index.html
rename to jhipster-modules/jhipster-uaa/gateway/src/main/webapp/swagger-ui/index.html
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/SecurityBeanOverrideConfiguration.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/SecurityBeanOverrideConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/SecurityBeanOverrideConfiguration.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/SecurityBeanOverrideConfiguration.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerTestController.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerTestController.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerTestController.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerTestController.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerUnitTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerUnitTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/config/WebConfigurerUnitTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterUnitTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterUnitTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/gateway/responserewriting/SwaggerBasePathRewritingFilterUnitTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/OAuth2TokenMockUtil.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/OAuth2TokenMockUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/OAuth2TokenMockUtil.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/OAuth2TokenMockUtil.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollectionUnitTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollectionUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollectionUnitTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieCollectionUnitTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractorUnitTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractorUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractorUnitTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/CookieTokenExtractorUnitTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationServiceUnitTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationServiceUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationServiceUnitTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2AuthenticationServiceUnitTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelperUnitTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelperUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelperUnitTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/security/oauth2/OAuth2CookieHelperUnitTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/LogsResourceIntTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/LogsResourceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/LogsResourceIntTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/LogsResourceIntTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/TestUtil.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/TestUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/TestUtil.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/TestUtil.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorIntTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorIntTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorIntTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorTestController.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorTestController.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorTestController.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/errors/ExceptionTranslatorTestController.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtilUnitTest.java b/jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtilUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtilUnitTest.java
rename to jhipster-modules/jhipster-uaa/gateway/src/test/java/com/baeldung/jhipster/gateway/web/rest/util/PaginationUtilUnitTest.java
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/jest-global-mocks.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/jest-global-mocks.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/jest-global-mocks.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/jest-global-mocks.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/jest.conf.js b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/jest.conf.js
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/jest.conf.js
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/jest.conf.js
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/jest.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/jest.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/jest.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/jest.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/activate/activate.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/activate/activate.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/activate/activate.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/activate/activate.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/finish/password-reset-finish.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password-reset/init/password-reset-init.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password-strength-bar.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/password/password.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/register/register.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/register/register.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/register/register.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/register/register.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/settings/settings.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/settings/settings.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/account/settings/settings.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/account/settings/settings.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.service.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.service.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.service.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/audits/audits.service.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.service.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.service.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.service.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/configuration/configuration.service.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/health/health.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/health/health.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/health/health.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/health/health.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.service.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.service.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.service.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/logs/logs.service.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics-modal.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics-modal.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics-modal.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics-modal.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.service.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.service.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.service.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/metrics/metrics.service.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-delete-dialog.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-delete-dialog.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-delete-dialog.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-delete-dialog.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-detail.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-detail.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-detail.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-detail.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-update.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-update.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-update.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management-update.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/admin/user-management/user-management.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/core/user/user.service.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/core/user/user.service.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/core/user/user.service.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/core/user/user.service.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-delete-dialog.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-delete-dialog.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-delete-dialog.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-delete-dialog.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-detail.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-detail.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-detail.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-detail.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-update.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-update.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-update.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote-update.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.service.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.service.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.service.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/entities/quotes/quote/quote.service.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/alert/alert-error.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/alert/alert-error.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/alert/alert-error.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/alert/alert-error.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/login/login.component.spec.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/login/login.component.spec.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/login/login.component.spec.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/app/shared/login/login.component.spec.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-account.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-account.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-account.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-account.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-active-modal.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-active-modal.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-active-modal.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-active-modal.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-alert.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-alert.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-alert.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-alert.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-event-manager.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-event-manager.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-event-manager.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-event-manager.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-language.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-language.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-language.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-language.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-login.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-login.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-login.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-login.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-principal.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-principal.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-principal.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-principal.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-route.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-route.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-route.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-route.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-state-storage.service.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-state-storage.service.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-state-storage.service.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/mock-state-storage.service.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/spyobject.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/spyobject.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/helpers/spyobject.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/helpers/spyobject.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/javascript/spec/test.module.ts b/jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/test.module.ts
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/javascript/spec/test.module.ts
rename to jhipster-modules/jhipster-uaa/gateway/src/test/javascript/spec/test.module.ts
diff --git a/jhipster/jhipster-uaa/gateway/src/test/resources/config/application.yml b/jhipster-modules/jhipster-uaa/gateway/src/test/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/resources/config/application.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/test/resources/config/application.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/test/resources/config/bootstrap.yml b/jhipster-modules/jhipster-uaa/gateway/src/test/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-uaa/gateway/src/test/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-uaa/gateway/src/test/resources/logback.xml b/jhipster-modules/jhipster-uaa/gateway/src/test/resources/logback.xml
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/src/test/resources/logback.xml
rename to jhipster-modules/jhipster-uaa/gateway/src/test/resources/logback.xml
diff --git a/jhipster/jhipster-uaa/gateway/tsconfig-aot.json b/jhipster-modules/jhipster-uaa/gateway/tsconfig-aot.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/tsconfig-aot.json
rename to jhipster-modules/jhipster-uaa/gateway/tsconfig-aot.json
diff --git a/jhipster/jhipster-uaa/gateway/tsconfig.json b/jhipster-modules/jhipster-uaa/gateway/tsconfig.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/tsconfig.json
rename to jhipster-modules/jhipster-uaa/gateway/tsconfig.json
diff --git a/jhipster/jhipster-uaa/gateway/tslint.json b/jhipster-modules/jhipster-uaa/gateway/tslint.json
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/tslint.json
rename to jhipster-modules/jhipster-uaa/gateway/tslint.json
diff --git a/jhipster/jhipster-uaa/gateway/webpack/logo-jhipster.png b/jhipster-modules/jhipster-uaa/gateway/webpack/logo-jhipster.png
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/webpack/logo-jhipster.png
rename to jhipster-modules/jhipster-uaa/gateway/webpack/logo-jhipster.png
diff --git a/jhipster/jhipster-uaa/gateway/webpack/utils.js b/jhipster-modules/jhipster-uaa/gateway/webpack/utils.js
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/webpack/utils.js
rename to jhipster-modules/jhipster-uaa/gateway/webpack/utils.js
diff --git a/jhipster/jhipster-uaa/gateway/webpack/webpack.common.js b/jhipster-modules/jhipster-uaa/gateway/webpack/webpack.common.js
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/webpack/webpack.common.js
rename to jhipster-modules/jhipster-uaa/gateway/webpack/webpack.common.js
diff --git a/jhipster/jhipster-uaa/gateway/webpack/webpack.dev.js b/jhipster-modules/jhipster-uaa/gateway/webpack/webpack.dev.js
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/webpack/webpack.dev.js
rename to jhipster-modules/jhipster-uaa/gateway/webpack/webpack.dev.js
diff --git a/jhipster/jhipster-uaa/gateway/webpack/webpack.prod.js b/jhipster-modules/jhipster-uaa/gateway/webpack/webpack.prod.js
similarity index 100%
rename from jhipster/jhipster-uaa/gateway/webpack/webpack.prod.js
rename to jhipster-modules/jhipster-uaa/gateway/webpack/webpack.prod.js
diff --git a/jhipster/jhipster-uaa/pom.xml b/jhipster-modules/jhipster-uaa/pom.xml
similarity index 100%
rename from jhipster/jhipster-uaa/pom.xml
rename to jhipster-modules/jhipster-uaa/pom.xml
diff --git a/jhipster/jhipster-uaa/quotes/.editorconfig b/jhipster-modules/jhipster-uaa/quotes/.editorconfig
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.editorconfig
rename to jhipster-modules/jhipster-uaa/quotes/.editorconfig
diff --git a/jhipster/jhipster-uaa/quotes/.gitattributes b/jhipster-modules/jhipster-uaa/quotes/.gitattributes
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.gitattributes
rename to jhipster-modules/jhipster-uaa/quotes/.gitattributes
diff --git a/jhipster/jhipster-uaa/quotes/.gitignore b/jhipster-modules/jhipster-uaa/quotes/.gitignore
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.gitignore
rename to jhipster-modules/jhipster-uaa/quotes/.gitignore
diff --git a/jhipster/jhipster-uaa/quotes/.jhipster/Quote.json b/jhipster-modules/jhipster-uaa/quotes/.jhipster/Quote.json
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.jhipster/Quote.json
rename to jhipster-modules/jhipster-uaa/quotes/.jhipster/Quote.json
diff --git a/jhipster/jhipster-uaa/quotes/.mvn/wrapper/MavenWrapperDownloader.java b/jhipster-modules/jhipster-uaa/quotes/.mvn/wrapper/MavenWrapperDownloader.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.mvn/wrapper/MavenWrapperDownloader.java
rename to jhipster-modules/jhipster-uaa/quotes/.mvn/wrapper/MavenWrapperDownloader.java
diff --git a/jhipster/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.jar b/jhipster-modules/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.jar
rename to jhipster-modules/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.jar
diff --git a/jhipster/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.properties b/jhipster-modules/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.properties
rename to jhipster-modules/jhipster-uaa/quotes/.mvn/wrapper/maven-wrapper.properties
diff --git a/jhipster/jhipster-uaa/quotes/.yo-rc.json b/jhipster-modules/jhipster-uaa/quotes/.yo-rc.json
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/.yo-rc.json
rename to jhipster-modules/jhipster-uaa/quotes/.yo-rc.json
diff --git a/jhipster/jhipster-uaa/quotes/README.md b/jhipster-modules/jhipster-uaa/quotes/README.md
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/README.md
rename to jhipster-modules/jhipster-uaa/quotes/README.md
diff --git a/jhipster/jhipster-uaa/quotes/mvnw b/jhipster-modules/jhipster-uaa/quotes/mvnw
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/mvnw
rename to jhipster-modules/jhipster-uaa/quotes/mvnw
diff --git a/jhipster/jhipster-uaa/quotes/mvnw.cmd b/jhipster-modules/jhipster-uaa/quotes/mvnw.cmd
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/mvnw.cmd
rename to jhipster-modules/jhipster-uaa/quotes/mvnw.cmd
diff --git a/jhipster/jhipster-uaa/quotes/package-lock.json b/jhipster-modules/jhipster-uaa/quotes/package-lock.json
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/package-lock.json
rename to jhipster-modules/jhipster-uaa/quotes/package-lock.json
diff --git a/jhipster/jhipster-uaa/quotes/package.json b/jhipster-modules/jhipster-uaa/quotes/package.json
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/package.json
rename to jhipster-modules/jhipster-uaa/quotes/package.json
diff --git a/jhipster/jhipster-uaa/quotes/pom.xml b/jhipster-modules/jhipster-uaa/quotes/pom.xml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/pom.xml
rename to jhipster-modules/jhipster-uaa/quotes/pom.xml
diff --git a/jhipster/jhipster-uaa/quotes/quotes.jh b/jhipster-modules/jhipster-uaa/quotes/quotes.jh
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/quotes.jh
rename to jhipster-modules/jhipster-uaa/quotes/quotes.jh
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/.dockerignore b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/.dockerignore
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/.dockerignore
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/.dockerignore
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/Dockerfile b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/Dockerfile
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/Dockerfile
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/Dockerfile
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/app.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/app.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/app.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/app.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/central-server-config/README.md b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/central-server-config/README.md
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/central-server-config/README.md
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/central-server-config/README.md
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/central-server-config/docker-config/application.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/central-server-config/docker-config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/central-server-config/docker-config/application.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/central-server-config/docker-config/application.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/central-server-config/localhost-config/application.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/central-server-config/localhost-config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/central-server-config/localhost-config/application.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/central-server-config/localhost-config/application.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/entrypoint.sh b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/entrypoint.sh
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/entrypoint.sh
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/entrypoint.sh
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/hazelcast-management-center.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/hazelcast-management-center.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/hazelcast-management-center.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/hazelcast-management-center.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/jhipster-registry.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/jhipster-registry.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/jhipster-registry.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/jhipster-registry.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/mysql.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/mysql.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/mysql.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/mysql.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/docker/sonar.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/docker/sonar.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/docker/sonar.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/docker/sonar.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/ApplicationWebXml.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/ApplicationWebXml.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/ApplicationWebXml.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/ApplicationWebXml.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/QuotesApp.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/QuotesApp.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/QuotesApp.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/QuotesApp.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/aop/logging/LoggingAspect.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/aop/logging/LoggingAspect.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/aop/logging/LoggingAspect.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/aop/logging/LoggingAspect.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedFeignClient.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedFeignClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedFeignClient.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedFeignClient.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedUserFeignClient.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedUserFeignClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedUserFeignClient.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/AuthorizedUserFeignClient.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2InterceptedFeignConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2InterceptedFeignConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2InterceptedFeignConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2InterceptedFeignConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2UserClientFeignConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2UserClientFeignConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2UserClientFeignConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/OAuth2UserClientFeignConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/UserFeignClientInterceptor.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/UserFeignClientInterceptor.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/UserFeignClientInterceptor.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/client/UserFeignClientInterceptor.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/ApplicationProperties.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/ApplicationProperties.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/ApplicationProperties.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/ApplicationProperties.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/AsyncConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/AsyncConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/AsyncConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/AsyncConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CacheConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CacheConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CacheConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CacheConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CloudDatabaseConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CloudDatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CloudDatabaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/CloudDatabaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/Constants.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/Constants.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/Constants.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/Constants.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DatabaseConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DatabaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DatabaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DateTimeFormatConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DateTimeFormatConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DateTimeFormatConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DateTimeFormatConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DefaultProfileUtil.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DefaultProfileUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DefaultProfileUtil.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/DefaultProfileUtil.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/FeignConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/FeignConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/FeignConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/FeignConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/JacksonConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/JacksonConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/JacksonConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/JacksonConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LiquibaseConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LiquibaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LiquibaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LiquibaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LocaleConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LocaleConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LocaleConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LocaleConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingAspectConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingAspectConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingAspectConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingAspectConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/LoggingConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/MetricsConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/MetricsConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/MetricsConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/MetricsConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/SecurityConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/SecurityConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/SecurityConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/SecurityConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/WebConfigurer.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/WebConfigurer.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/WebConfigurer.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/WebConfigurer.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/AuditEventConverter.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/AuditEventConverter.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/AuditEventConverter.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/AuditEventConverter.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/audit/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2JwtAccessTokenConverter.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2JwtAccessTokenConverter.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2JwtAccessTokenConverter.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2JwtAccessTokenConverter.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2Properties.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2Properties.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2Properties.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/oauth2/OAuth2Properties.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/config/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/AbstractAuditingEntity.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/AbstractAuditingEntity.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/AbstractAuditingEntity.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/AbstractAuditingEntity.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/PersistentAuditEvent.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/PersistentAuditEvent.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/PersistentAuditEvent.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/PersistentAuditEvent.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/Quote.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/Quote.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/Quote.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/Quote.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/domain/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/QuoteRepository.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/QuoteRepository.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/QuoteRepository.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/QuoteRepository.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/repository/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/AuthoritiesConstants.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/AuthoritiesConstants.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/AuthoritiesConstants.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/AuthoritiesConstants.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SecurityUtils.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SecurityUtils.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SecurityUtils.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SecurityUtils.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SpringSecurityAuditorAware.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SpringSecurityAuditorAware.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SpringSecurityAuditorAware.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/SpringSecurityAuditorAware.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/OAuth2SignatureVerifierClient.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/OAuth2SignatureVerifierClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/OAuth2SignatureVerifierClient.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/OAuth2SignatureVerifierClient.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/UaaSignatureVerifierClient.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/UaaSignatureVerifierClient.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/UaaSignatureVerifierClient.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/oauth2/UaaSignatureVerifierClient.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/security/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteQueryService.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteQueryService.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteQueryService.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteQueryService.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteService.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteService.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteService.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/QuoteService.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteCriteria.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteCriteria.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteCriteria.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteCriteria.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteDTO.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteDTO.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteDTO.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/dto/QuoteDTO.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/impl/QuoteServiceImpl.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/impl/QuoteServiceImpl.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/impl/QuoteServiceImpl.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/impl/QuoteServiceImpl.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/EntityMapper.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/EntityMapper.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/EntityMapper.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/EntityMapper.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/QuoteMapper.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/QuoteMapper.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/QuoteMapper.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/mapper/QuoteMapper.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/service/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/LogsResource.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/LogsResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/LogsResource.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/LogsResource.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/QuoteResource.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/QuoteResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/QuoteResource.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/QuoteResource.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/BadRequestAlertException.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/BadRequestAlertException.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/BadRequestAlertException.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/BadRequestAlertException.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/CustomParameterizedException.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/CustomParameterizedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/CustomParameterizedException.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/CustomParameterizedException.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailAlreadyUsedException.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailAlreadyUsedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailAlreadyUsedException.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailAlreadyUsedException.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailNotFoundException.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailNotFoundException.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailNotFoundException.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/EmailNotFoundException.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ErrorConstants.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ErrorConstants.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ErrorConstants.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ErrorConstants.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslator.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslator.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslator.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslator.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/FieldErrorVM.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/FieldErrorVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/FieldErrorVM.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/FieldErrorVM.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InternalServerErrorException.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InternalServerErrorException.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InternalServerErrorException.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InternalServerErrorException.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InvalidPasswordException.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InvalidPasswordException.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InvalidPasswordException.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/InvalidPasswordException.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/LoginAlreadyUsedException.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/LoginAlreadyUsedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/LoginAlreadyUsedException.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/LoginAlreadyUsedException.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/errors/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/HeaderUtil.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/HeaderUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/HeaderUtil.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/HeaderUtil.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtil.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtil.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtil.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/LoggerVM.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/LoggerVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/LoggerVM.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/LoggerVM.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/package-info.java b/jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/package-info.java
rename to jhipster-modules/jhipster-uaa/quotes/src/main/java/com/baeldung/jhipster/quotes/web/rest/vm/package-info.java
diff --git a/jhipster/jhipster-uaa/quotes/src/main/jib/entrypoint.sh b/jhipster-modules/jhipster-uaa/quotes/src/main/jib/entrypoint.sh
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/jib/entrypoint.sh
rename to jhipster-modules/jhipster-uaa/quotes/src/main/jib/entrypoint.sh
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/.h2.server.properties b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/.h2.server.properties
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/.h2.server.properties
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/.h2.server.properties
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/banner.txt b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/banner.txt
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/banner.txt
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/banner.txt
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/application-dev.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application-dev.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/application-dev.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application-dev.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/application-prod.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application-prod.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/application-prod.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application-prod.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/application-tls.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application-tls.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/application-tls.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application-tls.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/application.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/application.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/application.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/bootstrap-prod.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/bootstrap-prod.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/bootstrap-prod.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/bootstrap-prod.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/bootstrap.yml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/20181019033648_added_entity_Quote.xml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/20181019033648_added_entity_Quote.xml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/20181019033648_added_entity_Quote.xml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/liquibase/changelog/20181019033648_added_entity_Quote.xml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/liquibase/master.xml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/liquibase/master.xml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/liquibase/master.xml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/liquibase/master.xml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/config/tls/keystore.p12 b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/tls/keystore.p12
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/config/tls/keystore.p12
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/config/tls/keystore.p12
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/i18n/messages.properties b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/i18n/messages.properties
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/i18n/messages.properties
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/i18n/messages.properties
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/i18n/messages_en.properties b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/i18n/messages_en.properties
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/i18n/messages_en.properties
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/i18n/messages_en.properties
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/logback-spring.xml b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/logback-spring.xml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/logback-spring.xml
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/logback-spring.xml
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/static/index.html b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/static/index.html
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/static/index.html
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/static/index.html
diff --git a/jhipster/jhipster-uaa/quotes/src/main/resources/templates/error.html b/jhipster-modules/jhipster-uaa/quotes/src/main/resources/templates/error.html
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/main/resources/templates/error.html
rename to jhipster-modules/jhipster-uaa/quotes/src/main/resources/templates/error.html
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/SecurityBeanOverrideConfiguration.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/SecurityBeanOverrideConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/SecurityBeanOverrideConfiguration.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/SecurityBeanOverrideConfiguration.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerTestController.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerTestController.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerTestController.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerTestController.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerUnitTest.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerUnitTest.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/config/WebConfigurerUnitTest.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/security/OAuth2TokenMockUtil.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/security/OAuth2TokenMockUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/security/OAuth2TokenMockUtil.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/security/OAuth2TokenMockUtil.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/LogsResourceIntTest.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/LogsResourceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/LogsResourceIntTest.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/LogsResourceIntTest.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/QuoteResourceIntTest.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/QuoteResourceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/QuoteResourceIntTest.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/QuoteResourceIntTest.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/TestUtil.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/TestUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/TestUtil.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/TestUtil.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorIntTest.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorIntTest.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorIntTest.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorTestController.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorTestController.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorTestController.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/errors/ExceptionTranslatorTestController.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtilUnitTest.java b/jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtilUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtilUnitTest.java
rename to jhipster-modules/jhipster-uaa/quotes/src/test/java/com/baeldung/jhipster/quotes/web/rest/util/PaginationUtilUnitTest.java
diff --git a/jhipster/jhipster-uaa/quotes/src/test/resources/config/application.yml b/jhipster-modules/jhipster-uaa/quotes/src/test/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/resources/config/application.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/test/resources/config/application.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/test/resources/config/bootstrap.yml b/jhipster-modules/jhipster-uaa/quotes/src/test/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-uaa/quotes/src/test/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-uaa/quotes/src/test/resources/logback.xml b/jhipster-modules/jhipster-uaa/quotes/src/test/resources/logback.xml
similarity index 100%
rename from jhipster/jhipster-uaa/quotes/src/test/resources/logback.xml
rename to jhipster-modules/jhipster-uaa/quotes/src/test/resources/logback.xml
diff --git a/jhipster/jhipster-uaa/uaa/.editorconfig b/jhipster-modules/jhipster-uaa/uaa/.editorconfig
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/.editorconfig
rename to jhipster-modules/jhipster-uaa/uaa/.editorconfig
diff --git a/jhipster/jhipster-uaa/uaa/.gitattributes b/jhipster-modules/jhipster-uaa/uaa/.gitattributes
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/.gitattributes
rename to jhipster-modules/jhipster-uaa/uaa/.gitattributes
diff --git a/jhipster/jhipster-uaa/uaa/.gitignore b/jhipster-modules/jhipster-uaa/uaa/.gitignore
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/.gitignore
rename to jhipster-modules/jhipster-uaa/uaa/.gitignore
diff --git a/jhipster/jhipster-uaa/uaa/.mvn/wrapper/MavenWrapperDownloader.java b/jhipster-modules/jhipster-uaa/uaa/.mvn/wrapper/MavenWrapperDownloader.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/.mvn/wrapper/MavenWrapperDownloader.java
rename to jhipster-modules/jhipster-uaa/uaa/.mvn/wrapper/MavenWrapperDownloader.java
diff --git a/jhipster/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.jar b/jhipster-modules/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.jar
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.jar
rename to jhipster-modules/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.jar
diff --git a/jhipster/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.properties b/jhipster-modules/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.properties
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.properties
rename to jhipster-modules/jhipster-uaa/uaa/.mvn/wrapper/maven-wrapper.properties
diff --git a/jhipster/jhipster-uaa/uaa/.yo-rc.json b/jhipster-modules/jhipster-uaa/uaa/.yo-rc.json
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/.yo-rc.json
rename to jhipster-modules/jhipster-uaa/uaa/.yo-rc.json
diff --git a/jhipster/jhipster-uaa/uaa/README.md b/jhipster-modules/jhipster-uaa/uaa/README.md
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/README.md
rename to jhipster-modules/jhipster-uaa/uaa/README.md
diff --git a/jhipster/jhipster-uaa/uaa/mvnw b/jhipster-modules/jhipster-uaa/uaa/mvnw
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/mvnw
rename to jhipster-modules/jhipster-uaa/uaa/mvnw
diff --git a/jhipster/jhipster-uaa/uaa/mvnw.cmd b/jhipster-modules/jhipster-uaa/uaa/mvnw.cmd
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/mvnw.cmd
rename to jhipster-modules/jhipster-uaa/uaa/mvnw.cmd
diff --git a/jhipster/jhipster-uaa/uaa/package-lock.json b/jhipster-modules/jhipster-uaa/uaa/package-lock.json
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/package-lock.json
rename to jhipster-modules/jhipster-uaa/uaa/package-lock.json
diff --git a/jhipster/jhipster-uaa/uaa/package.json b/jhipster-modules/jhipster-uaa/uaa/package.json
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/package.json
rename to jhipster-modules/jhipster-uaa/uaa/package.json
diff --git a/jhipster/jhipster-uaa/uaa/pom.xml b/jhipster-modules/jhipster-uaa/uaa/pom.xml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/pom.xml
rename to jhipster-modules/jhipster-uaa/uaa/pom.xml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/.dockerignore b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/.dockerignore
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/.dockerignore
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/.dockerignore
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/Dockerfile b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/Dockerfile
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/Dockerfile
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/Dockerfile
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/app.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/app.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/app.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/app.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/central-server-config/README.md b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/central-server-config/README.md
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/central-server-config/README.md
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/central-server-config/README.md
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/central-server-config/docker-config/application.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/central-server-config/docker-config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/central-server-config/docker-config/application.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/central-server-config/docker-config/application.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/central-server-config/localhost-config/application.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/central-server-config/localhost-config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/central-server-config/localhost-config/application.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/central-server-config/localhost-config/application.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/entrypoint.sh b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/entrypoint.sh
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/entrypoint.sh
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/entrypoint.sh
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/hazelcast-management-center.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/hazelcast-management-center.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/hazelcast-management-center.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/hazelcast-management-center.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/jhipster-registry.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/jhipster-registry.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/jhipster-registry.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/jhipster-registry.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/mysql.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/mysql.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/mysql.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/mysql.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/docker/sonar.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/docker/sonar.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/docker/sonar.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/docker/sonar.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/ApplicationWebXml.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/ApplicationWebXml.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/ApplicationWebXml.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/ApplicationWebXml.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/UaaApp.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/UaaApp.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/UaaApp.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/UaaApp.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/aop/logging/LoggingAspect.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/aop/logging/LoggingAspect.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/aop/logging/LoggingAspect.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/aop/logging/LoggingAspect.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/ApplicationProperties.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/ApplicationProperties.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/ApplicationProperties.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/ApplicationProperties.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/AsyncConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/AsyncConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/AsyncConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/AsyncConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CacheConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CacheConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CacheConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CacheConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CloudDatabaseConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CloudDatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CloudDatabaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/CloudDatabaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/Constants.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/Constants.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/Constants.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/Constants.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DatabaseConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DatabaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DatabaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DatabaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DateTimeFormatConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DateTimeFormatConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DateTimeFormatConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DateTimeFormatConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DefaultProfileUtil.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DefaultProfileUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DefaultProfileUtil.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/DefaultProfileUtil.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/JacksonConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/JacksonConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/JacksonConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/JacksonConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LiquibaseConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LiquibaseConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LiquibaseConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LiquibaseConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LocaleConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LocaleConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LocaleConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LocaleConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingAspectConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingAspectConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingAspectConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingAspectConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/LoggingConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/MetricsConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/MetricsConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/MetricsConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/MetricsConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaProperties.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaProperties.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaProperties.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaProperties.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaWebSecurityConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaWebSecurityConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaWebSecurityConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/UaaWebSecurityConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/WebConfigurer.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/WebConfigurer.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/WebConfigurer.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/WebConfigurer.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/AuditEventConverter.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/AuditEventConverter.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/AuditEventConverter.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/AuditEventConverter.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/audit/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/config/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/AbstractAuditingEntity.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/AbstractAuditingEntity.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/AbstractAuditingEntity.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/AbstractAuditingEntity.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/Authority.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/Authority.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/Authority.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/Authority.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/PersistentAuditEvent.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/PersistentAuditEvent.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/PersistentAuditEvent.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/PersistentAuditEvent.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/User.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/User.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/User.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/User.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/domain/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/AuthorityRepository.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/AuthorityRepository.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/AuthorityRepository.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/AuthorityRepository.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepository.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepository.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepository.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepository.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/PersistenceAuditEventRepository.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/PersistenceAuditEventRepository.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/PersistenceAuditEventRepository.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/PersistenceAuditEventRepository.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/UserRepository.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/UserRepository.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/UserRepository.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/UserRepository.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/repository/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/AuthoritiesConstants.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/AuthoritiesConstants.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/AuthoritiesConstants.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/AuthoritiesConstants.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsService.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsService.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsService.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsService.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/IatTokenEnhancer.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/IatTokenEnhancer.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/IatTokenEnhancer.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/IatTokenEnhancer.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SecurityUtils.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SecurityUtils.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SecurityUtils.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SecurityUtils.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SpringSecurityAuditorAware.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SpringSecurityAuditorAware.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SpringSecurityAuditorAware.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/SpringSecurityAuditorAware.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/UserNotActivatedException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/UserNotActivatedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/UserNotActivatedException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/UserNotActivatedException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/security/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/AuditEventService.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/AuditEventService.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/AuditEventService.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/AuditEventService.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/MailService.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/MailService.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/MailService.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/MailService.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/UserService.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/UserService.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/UserService.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/UserService.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/PasswordChangeDTO.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/PasswordChangeDTO.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/PasswordChangeDTO.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/PasswordChangeDTO.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/UserDTO.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/UserDTO.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/UserDTO.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/UserDTO.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/dto/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/UserMapper.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/UserMapper.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/UserMapper.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/UserMapper.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/mapper/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/util/RandomUtil.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/util/RandomUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/util/RandomUtil.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/service/util/RandomUtil.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AccountResource.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AccountResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AccountResource.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AccountResource.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AuditResource.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AuditResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AuditResource.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/AuditResource.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/LogsResource.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/LogsResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/LogsResource.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/LogsResource.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/UserResource.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/UserResource.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/UserResource.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/UserResource.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/BadRequestAlertException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/BadRequestAlertException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/BadRequestAlertException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/BadRequestAlertException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/CustomParameterizedException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/CustomParameterizedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/CustomParameterizedException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/CustomParameterizedException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailAlreadyUsedException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailAlreadyUsedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailAlreadyUsedException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailAlreadyUsedException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailNotFoundException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailNotFoundException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailNotFoundException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/EmailNotFoundException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ErrorConstants.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ErrorConstants.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ErrorConstants.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ErrorConstants.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslator.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslator.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslator.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslator.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/FieldErrorVM.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/FieldErrorVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/FieldErrorVM.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/FieldErrorVM.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InternalServerErrorException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InternalServerErrorException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InternalServerErrorException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InternalServerErrorException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InvalidPasswordException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InvalidPasswordException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InvalidPasswordException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/InvalidPasswordException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/LoginAlreadyUsedException.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/LoginAlreadyUsedException.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/LoginAlreadyUsedException.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/LoginAlreadyUsedException.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/errors/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/HeaderUtil.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/HeaderUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/HeaderUtil.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/HeaderUtil.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtil.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtil.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtil.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/KeyAndPasswordVM.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/KeyAndPasswordVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/KeyAndPasswordVM.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/KeyAndPasswordVM.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/LoggerVM.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/LoggerVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/LoggerVM.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/LoggerVM.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/ManagedUserVM.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/ManagedUserVM.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/ManagedUserVM.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/ManagedUserVM.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/package-info.java b/jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/package-info.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/package-info.java
rename to jhipster-modules/jhipster-uaa/uaa/src/main/java/com/baeldung/jhipster/uaa/web/rest/vm/package-info.java
diff --git a/jhipster/jhipster-uaa/uaa/src/main/jib/entrypoint.sh b/jhipster-modules/jhipster-uaa/uaa/src/main/jib/entrypoint.sh
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/jib/entrypoint.sh
rename to jhipster-modules/jhipster-uaa/uaa/src/main/jib/entrypoint.sh
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/.h2.server.properties b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/.h2.server.properties
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/.h2.server.properties
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/.h2.server.properties
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/banner.txt b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/banner.txt
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/banner.txt
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/banner.txt
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/application-dev.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application-dev.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/application-dev.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application-dev.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/application-prod.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application-prod.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/application-prod.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application-prod.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/application-tls.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application-tls.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/application-tls.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application-tls.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/application.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/application.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/application.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/bootstrap-prod.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/bootstrap-prod.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/bootstrap-prod.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/bootstrap-prod.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/bootstrap.yml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/authorities.csv b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/authorities.csv
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/authorities.csv
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/authorities.csv
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/master.xml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/master.xml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/master.xml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/master.xml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/users.csv b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/users.csv
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/users.csv
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/users.csv
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/users_authorities.csv b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/users_authorities.csv
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/liquibase/users_authorities.csv
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/liquibase/users_authorities.csv
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/config/tls/keystore.p12 b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/tls/keystore.p12
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/config/tls/keystore.p12
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/config/tls/keystore.p12
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/i18n/messages.properties b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/i18n/messages.properties
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/i18n/messages.properties
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/i18n/messages.properties
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/i18n/messages_en.properties b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/i18n/messages_en.properties
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/i18n/messages_en.properties
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/i18n/messages_en.properties
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/logback-spring.xml b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/logback-spring.xml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/logback-spring.xml
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/logback-spring.xml
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/templates/error.html b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/error.html
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/templates/error.html
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/error.html
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/templates/mail/activationEmail.html b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/mail/activationEmail.html
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/templates/mail/activationEmail.html
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/mail/activationEmail.html
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/templates/mail/creationEmail.html b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/mail/creationEmail.html
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/templates/mail/creationEmail.html
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/mail/creationEmail.html
diff --git a/jhipster/jhipster-uaa/uaa/src/main/resources/templates/mail/passwordResetEmail.html b/jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/mail/passwordResetEmail.html
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/main/resources/templates/mail/passwordResetEmail.html
rename to jhipster-modules/jhipster-uaa/uaa/src/main/resources/templates/mail/passwordResetEmail.html
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/SecurityBeanOverrideConfiguration.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/SecurityBeanOverrideConfiguration.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/SecurityBeanOverrideConfiguration.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/SecurityBeanOverrideConfiguration.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerTestController.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerTestController.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerTestController.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerTestController.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerUnitTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerUnitTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/config/WebConfigurerUnitTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepositoryIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepositoryIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepositoryIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/repository/CustomAuditEventRepositoryIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsServiceIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsServiceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsServiceIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/DomainUserDetailsServiceIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/OAuth2TokenMockUtil.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/OAuth2TokenMockUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/OAuth2TokenMockUtil.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/OAuth2TokenMockUtil.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/SecurityUtilsUnitTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/SecurityUtilsUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/SecurityUtilsUnitTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/security/SecurityUtilsUnitTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/MailServiceIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/MailServiceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/MailServiceIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/MailServiceIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/UserServiceIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/UserServiceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/UserServiceIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/service/UserServiceIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AccountResourceIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AccountResourceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AccountResourceIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AccountResourceIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AuditResourceIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AuditResourceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AuditResourceIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/AuditResourceIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/LogsResourceIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/LogsResourceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/LogsResourceIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/LogsResourceIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/TestUtil.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/TestUtil.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/TestUtil.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/TestUtil.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/UserResourceIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/UserResourceIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/UserResourceIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/UserResourceIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorIntTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorIntTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorIntTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorIntTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorTestController.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorTestController.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorTestController.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/errors/ExceptionTranslatorTestController.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtilUnitTest.java b/jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtilUnitTest.java
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtilUnitTest.java
rename to jhipster-modules/jhipster-uaa/uaa/src/test/java/com/baeldung/jhipster/uaa/web/rest/util/PaginationUtilUnitTest.java
diff --git a/jhipster/jhipster-uaa/uaa/src/test/resources/config/application.yml b/jhipster-modules/jhipster-uaa/uaa/src/test/resources/config/application.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/resources/config/application.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/test/resources/config/application.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/test/resources/config/bootstrap.yml b/jhipster-modules/jhipster-uaa/uaa/src/test/resources/config/bootstrap.yml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/resources/config/bootstrap.yml
rename to jhipster-modules/jhipster-uaa/uaa/src/test/resources/config/bootstrap.yml
diff --git a/jhipster/jhipster-uaa/uaa/src/test/resources/i18n/messages_en.properties b/jhipster-modules/jhipster-uaa/uaa/src/test/resources/i18n/messages_en.properties
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/resources/i18n/messages_en.properties
rename to jhipster-modules/jhipster-uaa/uaa/src/test/resources/i18n/messages_en.properties
diff --git a/jhipster/jhipster-uaa/uaa/src/test/resources/logback.xml b/jhipster-modules/jhipster-uaa/uaa/src/test/resources/logback.xml
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/resources/logback.xml
rename to jhipster-modules/jhipster-uaa/uaa/src/test/resources/logback.xml
diff --git a/jhipster/jhipster-uaa/uaa/src/test/resources/templates/mail/testEmail.html b/jhipster-modules/jhipster-uaa/uaa/src/test/resources/templates/mail/testEmail.html
similarity index 100%
rename from jhipster/jhipster-uaa/uaa/src/test/resources/templates/mail/testEmail.html
rename to jhipster-modules/jhipster-uaa/uaa/src/test/resources/templates/mail/testEmail.html
diff --git a/jhipster/pom.xml b/jhipster-modules/pom.xml
similarity index 100%
rename from jhipster/pom.xml
rename to jhipster-modules/pom.xml
diff --git a/maven-modules/maven-properties/pom.xml b/maven-modules/maven-properties/pom.xml
index 88e13a0fb8..0e9986e3ac 100644
--- a/maven-modules/maven-properties/pom.xml
+++ b/maven-modules/maven-properties/pom.xml
@@ -19,7 +19,7 @@
org.codehaus.mojo
properties-maven-plugin
- 1.0.0
+ 1.1.0
generate-resources
@@ -32,12 +32,37 @@
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+ 3.2.0
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+
+
+
${project.name}
property-from-pom
+
+
+
+ UTF-8
+ UTF-8
\ No newline at end of file
diff --git a/maven-modules/maven-properties/src/main/java/com/baeldung/maven/properties/NonAsciiString.java b/maven-modules/maven-properties/src/main/java/com/baeldung/maven/properties/NonAsciiString.java
new file mode 100644
index 0000000000..48a82f93b0
--- /dev/null
+++ b/maven-modules/maven-properties/src/main/java/com/baeldung/maven/properties/NonAsciiString.java
@@ -0,0 +1,26 @@
+package com.baeldung.maven.properties;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/*
+ * Simple class to demonstrate the importance of Maven encoding when dealing with NonAscii characters
+ */
+public class NonAsciiString {
+
+ private static final Logger LOGGER = LoggerFactory.getLogger(NonAsciiString.class);
+
+ public static String getNonAsciiString() {
+
+ String nonAsciiStr = "ÜÝÞßàæç";
+ LOGGER.info(nonAsciiStr);
+ return nonAsciiStr;
+
+ /*We can even use non-ASCII characters as Java variables names.
+ The below will run fine when built using Maven UTF-8 encoding,
+ but not when using US-ASCII. Give it a go!*/
+ /*String nonAsciiŞŧř = "ÜÝÞßàæç";
+ LOGGER.info(nonAsciiŞŧř);
+ return nonAsciiŞŧř;*/
+ }
+}
diff --git a/maven-modules/maven-properties/src/test/java/com/baeldung/maven/properties/NonAsciiStringUnitTest.java b/maven-modules/maven-properties/src/test/java/com/baeldung/maven/properties/NonAsciiStringUnitTest.java
new file mode 100644
index 0000000000..d6cc9908d3
--- /dev/null
+++ b/maven-modules/maven-properties/src/test/java/com/baeldung/maven/properties/NonAsciiStringUnitTest.java
@@ -0,0 +1,20 @@
+package com.baeldung.maven.properties;
+
+import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class NonAsciiStringUnitTest {
+
+ private static final Logger LOGGER = LoggerFactory.getLogger(NonAsciiStringUnitTest.class);
+
+ /**
+ * Sanity check to ensure that the code is still able to compile and run
+ */
+ @Test
+ public void whenNonAsciiStringIsUsed_thenCodeRuns() {
+ String nonAsciiStr = NonAsciiString.getNonAsciiString();
+ LOGGER.info(nonAsciiStr);
+ }
+
+}
diff --git a/core-java-modules/multimodulemavenproject/README.md b/maven-modules/multimodulemavenproject/README.md
similarity index 100%
rename from core-java-modules/multimodulemavenproject/README.md
rename to maven-modules/multimodulemavenproject/README.md
diff --git a/core-java-modules/multimodulemavenproject/daomodule/pom.xml b/maven-modules/multimodulemavenproject/daomodule/pom.xml
similarity index 100%
rename from core-java-modules/multimodulemavenproject/daomodule/pom.xml
rename to maven-modules/multimodulemavenproject/daomodule/pom.xml
diff --git a/core-java-modules/multimodulemavenproject/daomodule/src/main/java/com/baeldung/daomodule/Dao.java b/maven-modules/multimodulemavenproject/daomodule/src/main/java/com/baeldung/daomodule/Dao.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/daomodule/src/main/java/com/baeldung/daomodule/Dao.java
rename to maven-modules/multimodulemavenproject/daomodule/src/main/java/com/baeldung/daomodule/Dao.java
diff --git a/core-java-modules/multimodulemavenproject/daomodule/src/main/java/module-info.java b/maven-modules/multimodulemavenproject/daomodule/src/main/java/module-info.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/daomodule/src/main/java/module-info.java
rename to maven-modules/multimodulemavenproject/daomodule/src/main/java/module-info.java
diff --git a/core-java-modules/multimodulemavenproject/entitymodule/pom.xml b/maven-modules/multimodulemavenproject/entitymodule/pom.xml
similarity index 100%
rename from core-java-modules/multimodulemavenproject/entitymodule/pom.xml
rename to maven-modules/multimodulemavenproject/entitymodule/pom.xml
diff --git a/core-java-modules/multimodulemavenproject/entitymodule/src/main/java/com/baeldung/entitymodule/User.java b/maven-modules/multimodulemavenproject/entitymodule/src/main/java/com/baeldung/entitymodule/User.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/entitymodule/src/main/java/com/baeldung/entitymodule/User.java
rename to maven-modules/multimodulemavenproject/entitymodule/src/main/java/com/baeldung/entitymodule/User.java
diff --git a/core-java-modules/multimodulemavenproject/entitymodule/src/main/java/module-info.java b/maven-modules/multimodulemavenproject/entitymodule/src/main/java/module-info.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/entitymodule/src/main/java/module-info.java
rename to maven-modules/multimodulemavenproject/entitymodule/src/main/java/module-info.java
diff --git a/core-java-modules/multimodulemavenproject/mainappmodule/pom.xml b/maven-modules/multimodulemavenproject/mainappmodule/pom.xml
similarity index 100%
rename from core-java-modules/multimodulemavenproject/mainappmodule/pom.xml
rename to maven-modules/multimodulemavenproject/mainappmodule/pom.xml
diff --git a/core-java-modules/multimodulemavenproject/mainappmodule/src/main/java/com/baeldung/mainappmodule/Application.java b/maven-modules/multimodulemavenproject/mainappmodule/src/main/java/com/baeldung/mainappmodule/Application.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/mainappmodule/src/main/java/com/baeldung/mainappmodule/Application.java
rename to maven-modules/multimodulemavenproject/mainappmodule/src/main/java/com/baeldung/mainappmodule/Application.java
diff --git a/core-java-modules/multimodulemavenproject/mainappmodule/src/main/java/module-info.java b/maven-modules/multimodulemavenproject/mainappmodule/src/main/java/module-info.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/mainappmodule/src/main/java/module-info.java
rename to maven-modules/multimodulemavenproject/mainappmodule/src/main/java/module-info.java
diff --git a/core-java-modules/multimodulemavenproject/pom.xml b/maven-modules/multimodulemavenproject/pom.xml
similarity index 100%
rename from core-java-modules/multimodulemavenproject/pom.xml
rename to maven-modules/multimodulemavenproject/pom.xml
diff --git a/core-java-modules/multimodulemavenproject/userdaomodule/pom.xml b/maven-modules/multimodulemavenproject/userdaomodule/pom.xml
similarity index 100%
rename from core-java-modules/multimodulemavenproject/userdaomodule/pom.xml
rename to maven-modules/multimodulemavenproject/userdaomodule/pom.xml
diff --git a/core-java-modules/multimodulemavenproject/userdaomodule/src/main/java/com/baeldung/userdaomodule/UserDao.java b/maven-modules/multimodulemavenproject/userdaomodule/src/main/java/com/baeldung/userdaomodule/UserDao.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/userdaomodule/src/main/java/com/baeldung/userdaomodule/UserDao.java
rename to maven-modules/multimodulemavenproject/userdaomodule/src/main/java/com/baeldung/userdaomodule/UserDao.java
diff --git a/core-java-modules/multimodulemavenproject/userdaomodule/src/main/java/module-info.java b/maven-modules/multimodulemavenproject/userdaomodule/src/main/java/module-info.java
similarity index 100%
rename from core-java-modules/multimodulemavenproject/userdaomodule/src/main/java/module-info.java
rename to maven-modules/multimodulemavenproject/userdaomodule/src/main/java/module-info.java
diff --git a/maven-modules/pom.xml b/maven-modules/pom.xml
index 253f5d9fa0..99d7b3ed14 100644
--- a/maven-modules/pom.xml
+++ b/maven-modules/pom.xml
@@ -40,7 +40,7 @@
maven-surefire-plugin
maven-parent-pom-resolution
maven-simple
- maven-classifier
+ maven-classifier
diff --git a/persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/namingstrategy/CustomPhysicalNamingStrategy.java b/persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/namingstrategy/CustomPhysicalNamingStrategy.java
index 74bcb9e411..d0cc6e8be6 100644
--- a/persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/namingstrategy/CustomPhysicalNamingStrategy.java
+++ b/persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/namingstrategy/CustomPhysicalNamingStrategy.java
@@ -41,7 +41,7 @@ public class CustomPhysicalNamingStrategy implements PhysicalNamingStrategy {
final String newName = identifier.getText()
.replaceAll(regex, replacement)
.toLowerCase();
- return Identifier.toIdentifier(newName);
+ return Identifier.toIdentifier(newName, identifier.isQuoted());
}
}
diff --git a/persistence-modules/hibernate5/src/test/resources/hibernate-namingstrategy.properties b/persistence-modules/hibernate5/src/test/resources/hibernate-namingstrategy.properties
index 263033823c..d0e068d13f 100644
--- a/persistence-modules/hibernate5/src/test/resources/hibernate-namingstrategy.properties
+++ b/persistence-modules/hibernate5/src/test/resources/hibernate-namingstrategy.properties
@@ -5,6 +5,7 @@ hibernate.dialect=org.hibernate.dialect.H2Dialect
hibernate.show_sql=false
hibernate.hbm2ddl.auto=create-drop
+hibernate.globally_quoted_identifiers=true
hibernate.physical_naming_strategy=com.baeldung.hibernate.namingstrategy.CustomPhysicalNamingStrategy
hibernate.implicit_naming_strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 8fa7c1e2b4..d7943fa8d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -372,7 +372,7 @@
cloud-foundry-uaa
code-generation
- core-groovy-modules
+ core-groovy-modules
core-java-modules
@@ -402,7 +402,7 @@
- graphql
+ graphql-modules
grpc
gson
guava-modules
@@ -423,11 +423,7 @@
javafx
java-jdi
- java-lite
- java-numbers
- java-numbers-2
- java-numbers-3
- java-numbers-4
+ java-lite
java-rmi
java-spi
java-vavr-stream
@@ -630,7 +626,7 @@
spring-di-3
spring-drools
- spring-ejb
+ spring-ejb-modules
spring-exceptions
spring-freemarker
@@ -652,7 +648,7 @@
spring-quartz
spring-reactor
- spring-remoting
+ spring-remoting-modules
spring-roo
spring-scheduling
@@ -740,7 +736,8 @@
image-processing
jenkins/plugins
- jhipster
+ jhipster-modules
+ jhipster-5
jws
libraries
@@ -749,7 +746,7 @@
libraries-6
spring-boot-modules/spring-boot-react
- spring-ejb/ejb-beans
+ spring-ejb-modules/ejb-beans
vaadin
vavr
@@ -832,7 +829,7 @@
code-generation
core-groovy-modules
-
+
core-java-modules
couchbase
@@ -861,7 +858,7 @@
- graphql
+ graphql-modules
grpc
gson
guava-modules
@@ -883,10 +880,6 @@
javafx
java-jdi
java-lite
- java-numbers
- java-numbers-2
- java-numbers-3
- java-numbers-4
java-rmi
java-spi
java-vavr-stream
@@ -1083,7 +1076,7 @@
spring-di-3
spring-drools
- spring-ejb
+ spring-ejb-modules
spring-exceptions
spring-freemarker
@@ -1105,7 +1098,7 @@
spring-quartz
spring-reactor
- spring-remoting
+ spring-remoting-modules
spring-roo
spring-scheduling
@@ -1186,7 +1179,7 @@
image-processing
jenkins/plugins
- jhipster
+ jhipster-modules
jhipster-5
jws
@@ -1196,7 +1189,7 @@
libraries-6
spring-boot-modules/spring-boot-react
- spring-ejb/ejb-beans
+ spring-ejb-modules/ejb-beans
vaadin
vavr
@@ -1292,14 +1285,14 @@
core-java-modules/core-java-string-operations-3
core-java-modules/core-java-string-operations-4
core-java-modules/core-java-time-measurements
- core-java-modules/core-java-networking-3
- core-java-modules/multimodulemavenproject
+ core-java-modules/core-java-networking-3
core-java-modules/core-java-strings
core-java-modules/core-java-httpclient
ddd-contexts
- docker
+ docker-modules
apache-httpclient-2
libraries-concurrency
+ maven-modules/multimodulemavenproject
persistence-modules/sirix
persistence-modules/spring-data-cassandra-2
quarkus-vs-springboot
@@ -1361,13 +1354,13 @@
core-java-modules/core-java-string-operations-3
core-java-modules/core-java-string-operations-4
core-java-modules/core-java-time-measurements
- core-java-modules/core-java-networking-3
- core-java-modules/multimodulemavenproject
+ core-java-modules/core-java-networking-3
core-java-modules/core-java-strings
ddd-contexts
- docker
+ docker-modules
apache-httpclient-2
libraries-concurrency
+ maven-modules/multimodulemavenproject
persistence-modules/sirix
persistence-modules/spring-data-cassandra-2
quarkus-vs-springboot
diff --git a/spring-5/src/test/java/com/baeldung/Example1ManualTest.java b/spring-5/src/test/java/com/baeldung/Example1ManualTest.java
deleted file mode 100644
index c3330b4213..0000000000
--- a/spring-5/src/test/java/com/baeldung/Example1ManualTest.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package com.baeldung;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.context.junit4.SpringRunner;
-
-@RunWith(SpringRunner.class)
-@SpringBootTest
-public class Example1ManualTest {
-
- @Test
- public void test1a() {
- block(3000);
- }
-
- @Test
- public void test1b() {
- block(3000);
- }
-
- public static void block(long ms) {
- try {
- Thread.sleep(ms);
- } catch (InterruptedException e) {
- System.out.println("Thread interrupted");
- }
- }
-}
diff --git a/spring-5/src/test/java/com/baeldung/Example2ManualTest.java b/spring-5/src/test/java/com/baeldung/Example2ManualTest.java
deleted file mode 100644
index 9c47b17fdb..0000000000
--- a/spring-5/src/test/java/com/baeldung/Example2ManualTest.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package com.baeldung;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.context.junit4.SpringRunner;
-
-@RunWith(SpringRunner.class)
-@SpringBootTest
-public class Example2ManualTest {
-
- @Test
- public void test1a() {
- block(3000);
- }
-
- @Test
- public void test1b() {
- block(3000);
- }
-
- public static void block(long ms) {
- try {
- Thread.sleep(ms);
- } catch (InterruptedException e) {
- System.out.println("Thread Interrupted");
- }
- }
-}
diff --git a/spring-5/src/test/java/com/baeldung/ParallelManualTest.java b/spring-5/src/test/java/com/baeldung/ParallelManualTest.java
deleted file mode 100644
index 5c3a111c62..0000000000
--- a/spring-5/src/test/java/com/baeldung/ParallelManualTest.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.baeldung;
-
-import org.junit.Test;
-import org.junit.experimental.ParallelComputer;
-import org.junit.runner.Computer;
-import org.junit.runner.JUnitCore;
-
-public class ParallelManualTest {
-
- @Test
- public void runTests() {
- final Class>[] classes = { Example1ManualTest.class, Example2ManualTest.class };
-
- JUnitCore.runClasses(new Computer(), classes);
- }
-
- @Test
- public void runTestsInParallel() {
- final Class>[] classes = { Example1ManualTest.class, Example2ManualTest.class };
-
- JUnitCore.runClasses(new ParallelComputer(true, true), classes);
- }
-
-}
\ No newline at end of file
diff --git a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelManualTest.java b/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelManualTest.java
deleted file mode 100644
index b9ed87ed73..0000000000
--- a/spring-5/src/test/java/com/baeldung/jupiter/Spring5JUnit5ParallelManualTest.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.baeldung.jupiter;
-
-import com.baeldung.Example1ManualTest;
-import com.baeldung.Example2ManualTest;
-import org.junit.experimental.ParallelComputer;
-import org.junit.jupiter.api.Test;
-import org.junit.runner.Computer;
-import org.junit.runner.JUnitCore;
-
-class Spring5JUnit5ParallelManualTest {
-
- @Test
- void givenTwoTestClasses_whenJUnitRunParallel_thenTheTestsExecutingParallel() {
- final Class>[] classes = { Example1ManualTest.class, Example2ManualTest.class };
-
- JUnitCore.runClasses(new ParallelComputer(true, true), classes);
- }
-
- @Test
- void givenTwoTestClasses_whenJUnitRunParallel_thenTheTestsExecutingLinear() {
- final Class>[] classes = { Example1ManualTest.class, Example2ManualTest.class };
-
- JUnitCore.runClasses(new Computer(), classes);
- }
-}
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/App.java b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/App.java
new file mode 100644
index 0000000000..9655c80cc0
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/App.java
@@ -0,0 +1,13 @@
+package com.baeldung.disablingkeycloak;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication(scanBasePackages = { "com.baeldung.disablingkeycloak" })
+public class App {
+
+ public static void main(String[] args) {
+ SpringApplication.run(App.class, args);
+ }
+
+}
diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/DisableSecurityConfiguration.java b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/DisableSecurityConfiguration.java
new file mode 100644
index 0000000000..619fd63662
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/DisableSecurityConfiguration.java
@@ -0,0 +1,20 @@
+package com.baeldung.disablingkeycloak;
+
+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.security.config.annotation.web.builders.HttpSecurity;
+import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
+
+@Configuration
+@ConditionalOnProperty(name = "keycloak.enabled", havingValue = "false")
+public class DisableSecurityConfiguration extends WebSecurityConfigurerAdapter {
+
+ @Override
+ protected void configure(final HttpSecurity http) throws Exception {
+ http.csrf()
+ .disable()
+ .authorizeRequests()
+ .anyRequest()
+ .permitAll();
+ }
+}
diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/KeycloakConfiguration.java b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/KeycloakConfiguration.java
new file mode 100644
index 0000000000..a9a2ea6a18
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/KeycloakConfiguration.java
@@ -0,0 +1,14 @@
+package com.baeldung.disablingkeycloak;
+
+import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class KeycloakConfiguration {
+
+ @Bean
+ public KeycloakSpringBootConfigResolver keycloakConfigResolver() {
+ return new KeycloakSpringBootConfigResolver();
+ }
+}
diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/KeycloakSecurityConfig.java b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/KeycloakSecurityConfig.java
new file mode 100644
index 0000000000..d48c99d8fd
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/KeycloakSecurityConfig.java
@@ -0,0 +1,38 @@
+package com.baeldung.disablingkeycloak;
+
+import org.keycloak.adapters.springsecurity.KeycloakConfiguration;
+import org.keycloak.adapters.springsecurity.config.KeycloakWebSecurityConfigurerAdapter;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
+import org.springframework.context.annotation.Bean;
+import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
+import org.springframework.security.config.annotation.web.builders.HttpSecurity;
+import org.springframework.security.web.authentication.session.NullAuthenticatedSessionStrategy;
+import org.springframework.security.web.authentication.session.SessionAuthenticationStrategy;
+
+@KeycloakConfiguration
+@ConditionalOnProperty(name = "keycloak.enabled", havingValue = "true", matchIfMissing = true)
+public class KeycloakSecurityConfig extends KeycloakWebSecurityConfigurerAdapter {
+
+ @Autowired
+ public void configureGlobal(AuthenticationManagerBuilder auth) {
+ auth.authenticationProvider(keycloakAuthenticationProvider());
+ }
+
+ @Bean
+ @Override
+ protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
+ return new NullAuthenticatedSessionStrategy();
+ }
+
+ @Override
+ protected void configure(HttpSecurity http) throws Exception {
+ super.configure(http);
+
+ http.csrf()
+ .disable()
+ .authorizeRequests()
+ .anyRequest()
+ .authenticated();
+ }
+}
diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/User.java b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/User.java
new file mode 100644
index 0000000000..78d4a9913a
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/User.java
@@ -0,0 +1,40 @@
+package com.baeldung.disablingkeycloak;
+
+public class User {
+ private Long id;
+ private String firstname;
+ private String lastname;
+
+ public User() {
+ }
+
+ public User(Long id, String firstname, String lastname) {
+ this.id = id;
+ this.firstname = firstname;
+ this.lastname = lastname;
+ }
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getFirstname() {
+ return firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getLastname() {
+ return lastname;
+ }
+
+ public void setLastname(String lastname) {
+ this.lastname = lastname;
+ }
+}
diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/UserController.java b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/UserController.java
new file mode 100644
index 0000000000..19b429a78d
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/main/java/com/baeldung/disablingkeycloak/UserController.java
@@ -0,0 +1,17 @@
+package com.baeldung.disablingkeycloak;
+
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/users")
+public class UserController {
+
+ @GetMapping("/{userId}")
+ public User getCustomer(@PathVariable Long userId) {
+ return new User(userId, "John", "Doe");
+ }
+
+}
diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/resources/application-disabling-keycloak.properties b/spring-boot-modules/spring-boot-keycloak/src/main/resources/application-disabling-keycloak.properties
new file mode 100644
index 0000000000..21263cf725
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/main/resources/application-disabling-keycloak.properties
@@ -0,0 +1,7 @@
+# Keycloak authentication is enabled for production.
+keycloak.enabled=true
+keycloak.realm=SpringBootKeycloak
+keycloak.auth-server-url=http://localhost:8180/auth
+keycloak.resource=login-app
+keycloak.bearer-only=true
+keycloak.ssl-required=external
diff --git a/spring-boot-modules/spring-boot-keycloak/src/test/java/com/baeldung/disablingkeycloak/DisablingKeycloakIntegrationTest.java b/spring-boot-modules/spring-boot-keycloak/src/test/java/com/baeldung/disablingkeycloak/DisablingKeycloakIntegrationTest.java
new file mode 100644
index 0000000000..cf70f7e7c3
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/test/java/com/baeldung/disablingkeycloak/DisablingKeycloakIntegrationTest.java
@@ -0,0 +1,33 @@
+package com.baeldung.disablingkeycloak;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+
+import org.apache.http.HttpStatus;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.boot.test.web.client.TestRestTemplate;
+import org.springframework.http.ResponseEntity;
+import org.springframework.test.context.ActiveProfiles;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@SpringBootTest(classes = App.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
+@RunWith(SpringRunner.class)
+@ActiveProfiles("disablingkeycloak")
+public class DisablingKeycloakIntegrationTest {
+
+ @Autowired
+ private TestRestTemplate restTemplate;
+
+ @Test
+ public void givenUnauthenticated_whenGettingUser_shouldReturnUser() {
+ ResponseEntity responseEntity = restTemplate.getForEntity("/users/1", User.class);
+
+ assertEquals(HttpStatus.SC_OK, responseEntity.getStatusCodeValue());
+ assertNotNull(responseEntity.getBody()
+ .getFirstname());
+ }
+
+}
diff --git a/spring-boot-modules/spring-boot-keycloak/src/test/resources/application-disablingkeycloak.properties b/spring-boot-modules/spring-boot-keycloak/src/test/resources/application-disablingkeycloak.properties
new file mode 100644
index 0000000000..db2c8fc59a
--- /dev/null
+++ b/spring-boot-modules/spring-boot-keycloak/src/test/resources/application-disablingkeycloak.properties
@@ -0,0 +1 @@
+keycloak.enabled=false
diff --git a/spring-boot-modules/spring-boot-libraries-2/README.md b/spring-boot-modules/spring-boot-libraries-2/README.md
index 96f82cdf59..2031b76661 100644
--- a/spring-boot-modules/spring-boot-libraries-2/README.md
+++ b/spring-boot-modules/spring-boot-libraries-2/README.md
@@ -8,5 +8,6 @@ This module contains articles about various Spring Boot libraries
- [Open API Server Implementation Using OpenAPI Generator](https://www.baeldung.com/java-openapi-generator-server)
- [An Introduction to Kong](https://www.baeldung.com/kong)
- [Getting Started With GraphQL SPQR and Spring Boot](https://www.baeldung.com/spring-boot-graphql-spqr)
+- [How to Test GraphQL Using Postman](https://www.baeldung.com/graphql-postman)
More articles: [[prev -->]](/spring-boot-modules/spring-boot-libraries)
diff --git a/spring-boot-modules/spring-boot-springdoc/pom.xml b/spring-boot-modules/spring-boot-springdoc/pom.xml
index 88e616119d..18b1774920 100644
--- a/spring-boot-modules/spring-boot-springdoc/pom.xml
+++ b/spring-boot-modules/spring-boot-springdoc/pom.xml
@@ -1,7 +1,5 @@
-
+
4.0.0
spring-boot-springdoc
0.0.1-SNAPSHOT
@@ -112,6 +110,8 @@
application.properties
data.sql
schema.sql
+ app.key
+ app.pub
diff --git a/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityConfiguration.java b/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityConfiguration.java
index 6b42a8f1bb..8cb1ca1f60 100644
--- a/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityConfiguration.java
+++ b/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityConfiguration.java
@@ -52,8 +52,9 @@ public class SecurityConfiguration {
//@formatter:off
return http
.authorizeHttpRequests(authorizeRequests -> authorizeRequests
- .antMatchers("/api/auth/**", "/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**", "/webjars/**",
- "/swagger-ui/index.html")
+
+ .antMatchers("/api/auth/**", "/swagger-ui-custom.html" ,"/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**", "/webjars/**",
+ "/swagger-ui/index.html","/api-docs/**")
.permitAll()
.anyRequest()
.authenticated())
diff --git a/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityTokenApplication.java b/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityTokenApplication.java
index 4c0c4f01d8..4e759c87e4 100644
--- a/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityTokenApplication.java
+++ b/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/jwt/SecurityTokenApplication.java
@@ -11,7 +11,6 @@ public class SecurityTokenApplication {
* @param args
*/
public static void main(String[] args) {
- SpringApplication.run(SecurityTokenApplication.class, args);
+ SpringApplication.run(SecurityTokenApplication.class);
}
-
}
diff --git a/spring-boot-modules/spring-boot-springdoc/src/test/java/com/baeldung/jwt/OpenApiJwtIntegrationTest.java b/spring-boot-modules/spring-boot-springdoc/src/test/java/com/baeldung/jwt/OpenApiJwtIntegrationTest.java
index 1ea88d14fa..a4920914fd 100644
--- a/spring-boot-modules/spring-boot-springdoc/src/test/java/com/baeldung/jwt/OpenApiJwtIntegrationTest.java
+++ b/spring-boot-modules/spring-boot-springdoc/src/test/java/com/baeldung/jwt/OpenApiJwtIntegrationTest.java
@@ -30,7 +30,7 @@ class OpenApiJwtIntegrationTest
{
assertNotNull(authenticationApi);
- String response = this.restTemplate.getForObject("http://localhost:" + port + "/swagger-ui.html", String.class);
+ String response = this.restTemplate.getForObject("http://localhost:" + port + "/swagger-ui/index.html", String.class);
assertNotNull(response);
assertTrue(response.contains("Swagger UI"));
@@ -43,8 +43,7 @@ class OpenApiJwtIntegrationTest
{
assertNotNull(authenticationApi);
- ResponseEntity response = this.restTemplate.getForEntity("http://localhost:" + port + "/v3/api-docs",
- String.class);
+ ResponseEntity response = this.restTemplate.getForEntity("http://localhost:" + port + "/api-docs", String.class);
assertNotNull(response);
assertEquals(HttpStatus.OK, response.getStatusCode());
@@ -59,8 +58,8 @@ class OpenApiJwtIntegrationTest
{
assertNotNull(authenticationApi);
- ResponseEntity response = this.restTemplate.getForEntity("http://localhost:" + port + "/v3/api-docs",
- String.class);
+
+ ResponseEntity response = this.restTemplate.getForEntity("http://localhost:" + port + "/api-docs", String.class);
assertNotNull(response);
assertNotNull(response.getBody());
@@ -75,8 +74,7 @@ class OpenApiJwtIntegrationTest
{
assertNotNull(authenticationApi);
- ResponseEntity response = this.restTemplate.getForEntity("http://localhost:" + port + "/v3/api-docs",
- String.class);
+ ResponseEntity response = this.restTemplate.getForEntity("http://localhost:" + port + "/api-docs", String.class);
assertNotNull(response);
assertNotNull(response.getBody());
diff --git a/spring-cloud-modules/spring-cloud-docker/README.md b/spring-cloud-modules/spring-cloud-docker/README.md
index 018d4ab1eb..9c7eac5105 100644
--- a/spring-cloud-modules/spring-cloud-docker/README.md
+++ b/spring-cloud-modules/spring-cloud-docker/README.md
@@ -1,3 +1,4 @@
## Relevant Articles:
- [Dockerizing a Spring Boot Application](https://www.baeldung.com/dockerizing-spring-boot-application)
+- [Docker Compose Restart Policies](https://www.baeldung.com/ops/docker-compose-restart-policies)
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyComponent.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyComponent.java
new file mode 100644
index 0000000000..2df3f1ee23
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyComponent.java
@@ -0,0 +1,9 @@
+package com.baeldung.countingbeans.latestsspring;
+
+import org.springframework.stereotype.Component;
+
+@Component
+@MyCustomAnnotation
+public class MyComponent {
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyConfigurationBean.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyConfigurationBean.java
new file mode 100644
index 0000000000..c67a09356a
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyConfigurationBean.java
@@ -0,0 +1,15 @@
+package com.baeldung.countingbeans.latestsspring;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class MyConfigurationBean {
+
+ @Bean
+ @MyCustomAnnotation
+ MyService myService() {
+ return new MyService();
+ }
+
+}
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyCustomAnnotation.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyCustomAnnotation.java
new file mode 100644
index 0000000000..32edc3441c
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyCustomAnnotation.java
@@ -0,0 +1,9 @@
+package com.baeldung.countingbeans.latestsspring;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+@Retention( RetentionPolicy.RUNTIME )
+public @interface MyCustomAnnotation {
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyService.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyService.java
new file mode 100644
index 0000000000..90b734a6c4
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/latestsspring/MyService.java
@@ -0,0 +1,5 @@
+package com.baeldung.countingbeans.latestsspring;
+
+public class MyService {
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/AnnotatedBeansComponent.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/AnnotatedBeansComponent.java
new file mode 100644
index 0000000000..5828e8661d
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/AnnotatedBeansComponent.java
@@ -0,0 +1,19 @@
+package com.baeldung.countingbeans.olderspring.factorybeans;
+
+import java.util.List;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.support.GenericApplicationContext;
+import org.springframework.stereotype.Component;
+
+@Component
+public class AnnotatedBeansComponent {
+
+ @Autowired
+ GenericApplicationContext applicationContext;
+
+ public List getBeansWithAnnotation(Class> annotationClass) {
+ return BeanUtils.getBeansWithAnnotation(applicationContext, annotationClass);
+ }
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/BeanUtils.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/BeanUtils.java
new file mode 100644
index 0000000000..e5c642b974
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/BeanUtils.java
@@ -0,0 +1,48 @@
+package com.baeldung.countingbeans.olderspring.factorybeans;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.stream.Collectors;
+
+import org.springframework.beans.factory.config.BeanDefinition;
+import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
+import org.springframework.context.support.GenericApplicationContext;
+import org.springframework.core.type.AnnotatedTypeMetadata;
+
+public class BeanUtils {
+
+ // NB : this method lists only beans created via factory methods
+ public static List getBeansWithAnnotation(GenericApplicationContext applicationContext, Class> annotationClass) {
+ List result = new ArrayList();
+ ConfigurableListableBeanFactory factory = applicationContext.getBeanFactory();
+ for(String name : factory.getBeanDefinitionNames()) {
+ BeanDefinition bd = factory.getBeanDefinition(name);
+ if(bd.getSource() instanceof AnnotatedTypeMetadata) {
+ AnnotatedTypeMetadata metadata = (AnnotatedTypeMetadata) bd.getSource();
+ if (metadata.getAnnotationAttributes(annotationClass.getName()) != null) {
+ result.add(name);
+ }
+ }
+ }
+ return result;
+ }
+
+ // NB : list beans created via factory methods using streams (same method as before, written differently)
+ public static List getBeansWithAnnotation_StreamVersion(GenericApplicationContext applicationContext, Class> annotationClass) {
+ ConfigurableListableBeanFactory factory = applicationContext.getBeanFactory();
+ return Arrays.stream(factory.getBeanDefinitionNames())
+ .filter(name -> isAnnotated(factory, name, annotationClass))
+ .collect(Collectors.toList());
+ }
+
+ private static boolean isAnnotated(ConfigurableListableBeanFactory factory, String beanName, Class> clazz) {
+ BeanDefinition beanDefinition = factory.getBeanDefinition(beanName);
+ if(beanDefinition.getSource() instanceof AnnotatedTypeMetadata) {
+ AnnotatedTypeMetadata metadata = (AnnotatedTypeMetadata) beanDefinition.getSource();
+ return metadata.getAnnotationAttributes(clazz.getName()) != null;
+ }
+ return false;
+ }
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyConfigurationBean.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyConfigurationBean.java
new file mode 100644
index 0000000000..6937313c22
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyConfigurationBean.java
@@ -0,0 +1,15 @@
+package com.baeldung.countingbeans.olderspring.factorybeans;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class MyConfigurationBean {
+
+ @Bean
+ @MyCustomAnnotation
+ MyService myService() {
+ return new MyService();
+ }
+
+}
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyCustomAnnotation.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyCustomAnnotation.java
new file mode 100644
index 0000000000..36810adfd7
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyCustomAnnotation.java
@@ -0,0 +1,9 @@
+package com.baeldung.countingbeans.olderspring.factorybeans;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+@Retention( RetentionPolicy.RUNTIME )
+public @interface MyCustomAnnotation {
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyService.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyService.java
new file mode 100644
index 0000000000..35e42c0483
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/factorybeans/MyService.java
@@ -0,0 +1,5 @@
+package com.baeldung.countingbeans.olderspring.factorybeans;
+
+public class MyService {
+
+}
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyComponent.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyComponent.java
new file mode 100644
index 0000000000..9e8329c374
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyComponent.java
@@ -0,0 +1,9 @@
+package com.baeldung.countingbeans.olderspring.qualifier;
+
+import org.springframework.stereotype.Component;
+
+@Component
+@MyCustomAnnotation
+public class MyComponent {
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyConfigurationBean.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyConfigurationBean.java
new file mode 100644
index 0000000000..4155e887bc
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyConfigurationBean.java
@@ -0,0 +1,15 @@
+package com.baeldung.countingbeans.olderspring.qualifier;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class MyConfigurationBean {
+
+ @Bean
+ @MyCustomAnnotation
+ MyService myService() {
+ return new MyService();
+ }
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyCustomAnnotation.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyCustomAnnotation.java
new file mode 100644
index 0000000000..c81cc85c7f
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyCustomAnnotation.java
@@ -0,0 +1,12 @@
+package com.baeldung.countingbeans.olderspring.qualifier;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+import org.springframework.beans.factory.annotation.Qualifier;
+
+@Retention( RetentionPolicy.RUNTIME )
+@Qualifier
+public @interface MyCustomAnnotation {
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyService.java b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyService.java
new file mode 100644
index 0000000000..d4e5c042ec
--- /dev/null
+++ b/spring-di-3/src/main/java/com/baeldung/countingbeans/olderspring/qualifier/MyService.java
@@ -0,0 +1,5 @@
+package com.baeldung.countingbeans.olderspring.qualifier;
+
+public class MyService {
+
+}
diff --git a/spring-di-3/src/test/java/com/baeldung/countingbeans/latestsspring/AnnotatedBeansIntegrationTest.java b/spring-di-3/src/test/java/com/baeldung/countingbeans/latestsspring/AnnotatedBeansIntegrationTest.java
new file mode 100644
index 0000000000..8dc57b79e8
--- /dev/null
+++ b/spring-di-3/src/test/java/com/baeldung/countingbeans/latestsspring/AnnotatedBeansIntegrationTest.java
@@ -0,0 +1,28 @@
+package com.baeldung.countingbeans.latestsspring;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+import java.util.Arrays;
+import java.util.Map;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.context.annotation.AnnotationConfigApplicationContext;
+
+public class AnnotatedBeansIntegrationTest {
+
+ /**
+ * Note : this test fails with any spring version < 2.2
+ * Before, the getBeansWithAnnotation method was not checking the beans created via factory method
+ * Please find the change here : https://github.com/spring-projects/spring-framework/commit/e0fe32af05ac525ef5e11c3ac5195a08759bb85e
+ */
+ @Test
+ void whenApplicationContextStarted_ThenShouldDetectAllAnnotatedBeans() {
+ try (AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext( MyComponent.class, MyConfigurationBean.class )) {
+ Map beans = applicationContext.getBeansWithAnnotation(MyCustomAnnotation.class);
+ assertEquals(2, beans.size());
+ assertTrue(beans.keySet().containsAll(Arrays.asList("myComponent", "myService")));
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/test/java/com/baeldung/countingbeans/olderspring/factorybeans/AnnotatedBeansIntegrationTest.java b/spring-di-3/src/test/java/com/baeldung/countingbeans/olderspring/factorybeans/AnnotatedBeansIntegrationTest.java
new file mode 100644
index 0000000000..2d6ce324c1
--- /dev/null
+++ b/spring-di-3/src/test/java/com/baeldung/countingbeans/olderspring/factorybeans/AnnotatedBeansIntegrationTest.java
@@ -0,0 +1,47 @@
+package com.baeldung.countingbeans.olderspring.factorybeans;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import java.util.List;
+
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.AnnotationConfigApplicationContext;
+import org.springframework.test.context.ContextConfiguration;
+import org.springframework.test.context.junit.jupiter.SpringExtension;
+
+@ExtendWith(SpringExtension.class)
+@ContextConfiguration(classes = {MyConfigurationBean.class, AnnotatedBeansComponent.class})
+public class AnnotatedBeansIntegrationTest {
+
+ @Autowired
+ AnnotatedBeansComponent annotatedBeansComponent;
+
+ @Test
+ void whenBeanUtilsGetBeansWithAnnotation_ThenShouldListAnnotatedBean() {
+ try (AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(MyConfigurationBean.class)) {
+ List result = BeanUtils.getBeansWithAnnotation(applicationContext, MyCustomAnnotation.class);
+ assertEquals(1, result.size());
+ assertEquals("myService", result.get(0));
+ }
+ }
+
+ @Test
+ void whenBeanUtilsGetBeansWithAnnotationStreamVersion_ThenShouldListAnnotatedBean() {
+ try (AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(MyConfigurationBean.class)) {
+ List result = BeanUtils.getBeansWithAnnotation(applicationContext, MyCustomAnnotation.class);
+ assertEquals(1, result.size());
+ assertEquals("myService", result.get(0));
+
+ }
+ }
+
+ @Test
+ void whenAnnotatedBeansComponentGetBeansWithAnnotation_ThenShouldListAnnotatedBean() {
+ List result = annotatedBeansComponent.getBeansWithAnnotation(MyCustomAnnotation.class);
+ assertEquals(1, result.size());
+ assertEquals("myService", result.get(0));
+ }
+
+}
\ No newline at end of file
diff --git a/spring-di-3/src/test/java/com/baeldung/countingbeans/olderspring/qualifier/AnnotatedBeansIntegrationTest.java b/spring-di-3/src/test/java/com/baeldung/countingbeans/olderspring/qualifier/AnnotatedBeansIntegrationTest.java
new file mode 100644
index 0000000000..0b2bb43061
--- /dev/null
+++ b/spring-di-3/src/test/java/com/baeldung/countingbeans/olderspring/qualifier/AnnotatedBeansIntegrationTest.java
@@ -0,0 +1,35 @@
+package com.baeldung.countingbeans.olderspring.qualifier;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.stream.Collectors;
+
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.test.context.ContextConfiguration;
+import org.springframework.test.context.junit.jupiter.SpringExtension;
+
+@ExtendWith(SpringExtension.class)
+@ContextConfiguration(classes = {MyComponent.class, MyConfigurationBean.class})
+public class AnnotatedBeansIntegrationTest {
+
+ @Autowired
+ @MyCustomAnnotation
+ private List
\ No newline at end of file
+
diff --git a/spring-ejb/spring-ejb-client/README.md b/spring-ejb-modules/spring-ejb-client/README.md
similarity index 100%
rename from spring-ejb/spring-ejb-client/README.md
rename to spring-ejb-modules/spring-ejb-client/README.md
diff --git a/spring-ejb/spring-ejb-client/pom.xml b/spring-ejb-modules/spring-ejb-client/pom.xml
similarity index 97%
rename from spring-ejb/spring-ejb-client/pom.xml
rename to spring-ejb-modules/spring-ejb-client/pom.xml
index ecf9d0eb49..b3a65db32b 100644
--- a/spring-ejb/spring-ejb-client/pom.xml
+++ b/spring-ejb-modules/spring-ejb-client/pom.xml
@@ -10,7 +10,7 @@
com.baeldung.spring.ejb
- spring-ejb
+ spring-ejb-modules
1.0.0-SNAPSHOT
diff --git a/spring-ejb/spring-ejb-client/src/main/java/com/baeldung/ejb/client/EJBClient.java b/spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/ejb/client/EJBClient.java
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/main/java/com/baeldung/ejb/client/EJBClient.java
rename to spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/ejb/client/EJBClient.java
diff --git a/spring-ejb/spring-ejb-client/src/main/java/com/baeldung/ejb/wildfly/TextApplication.java b/spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/ejb/wildfly/TextApplication.java
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/main/java/com/baeldung/ejb/wildfly/TextApplication.java
rename to spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/ejb/wildfly/TextApplication.java
diff --git a/spring-ejb/spring-ejb-client/src/main/java/com/baeldung/springejbclient/SpringEjbClientApplication.java b/spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/springejbclient/SpringEjbClientApplication.java
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/main/java/com/baeldung/springejbclient/SpringEjbClientApplication.java
rename to spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/springejbclient/SpringEjbClientApplication.java
diff --git a/spring-ejb/spring-ejb-client/src/main/java/com/baeldung/springejbclient/endpoint/HomeEndpoint.java b/spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/springejbclient/endpoint/HomeEndpoint.java
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/main/java/com/baeldung/springejbclient/endpoint/HomeEndpoint.java
rename to spring-ejb-modules/spring-ejb-client/src/main/java/com/baeldung/springejbclient/endpoint/HomeEndpoint.java
diff --git a/spring-ejb/spring-ejb-client/src/main/resources/application.properties b/spring-ejb-modules/spring-ejb-client/src/main/resources/application.properties
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/main/resources/application.properties
rename to spring-ejb-modules/spring-ejb-client/src/main/resources/application.properties
diff --git a/spring-ejb/spring-ejb-client/src/main/resources/jboss-ejb-client.properties b/spring-ejb-modules/spring-ejb-client/src/main/resources/jboss-ejb-client.properties
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/main/resources/jboss-ejb-client.properties
rename to spring-ejb-modules/spring-ejb-client/src/main/resources/jboss-ejb-client.properties
diff --git a/spring-ejb/spring-ejb-client/src/main/resources/logback.xml b/spring-ejb-modules/spring-ejb-client/src/main/resources/logback.xml
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/main/resources/logback.xml
rename to spring-ejb-modules/spring-ejb-client/src/main/resources/logback.xml
diff --git a/spring-ejb/spring-ejb-client/src/test/java/com/baeldung/SpringContextLiveTest.java b/spring-ejb-modules/spring-ejb-client/src/test/java/com/baeldung/SpringContextLiveTest.java
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/test/java/com/baeldung/SpringContextLiveTest.java
rename to spring-ejb-modules/spring-ejb-client/src/test/java/com/baeldung/SpringContextLiveTest.java
diff --git a/spring-ejb/spring-ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupLiveTest.java b/spring-ejb-modules/spring-ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupLiveTest.java
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupLiveTest.java
rename to spring-ejb-modules/spring-ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupLiveTest.java
diff --git a/spring-ejb/spring-ejb-client/src/test/java/com/baeldung/ejb/wildfly/TextApplicationLiveTest.java b/spring-ejb-modules/spring-ejb-client/src/test/java/com/baeldung/ejb/wildfly/TextApplicationLiveTest.java
similarity index 100%
rename from spring-ejb/spring-ejb-client/src/test/java/com/baeldung/ejb/wildfly/TextApplicationLiveTest.java
rename to spring-ejb-modules/spring-ejb-client/src/test/java/com/baeldung/ejb/wildfly/TextApplicationLiveTest.java
diff --git a/spring-ejb/spring-ejb-remote/README.md b/spring-ejb-modules/spring-ejb-remote/README.md
similarity index 100%
rename from spring-ejb/spring-ejb-remote/README.md
rename to spring-ejb-modules/spring-ejb-remote/README.md
diff --git a/spring-ejb/spring-ejb-remote/pom.xml b/spring-ejb-modules/spring-ejb-remote/pom.xml
similarity index 98%
rename from spring-ejb/spring-ejb-remote/pom.xml
rename to spring-ejb-modules/spring-ejb-remote/pom.xml
index a180955dcf..4a40c497e9 100644
--- a/spring-ejb/spring-ejb-remote/pom.xml
+++ b/spring-ejb-modules/spring-ejb-remote/pom.xml
@@ -9,7 +9,7 @@
com.baeldung.spring.ejb
- spring-ejb
+ spring-ejb-modules
1.0.0-SNAPSHOT
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorld.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorld.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorld.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorld.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorldBean.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorldBean.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorldBean.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatefulWorldBean.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorld.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorld.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorld.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorld.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorldBean.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorldBean.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorldBean.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloStatelessWorldBean.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorld.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorld.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorld.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorld.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorldBean.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorldBean.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorldBean.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorldBean.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorBean.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorBean.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorBean.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorBean.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorRemote.java b/spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorRemote.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorRemote.java
rename to spring-ejb-modules/spring-ejb-remote/src/main/java/com/baeldung/ejb/wildfly/TextProcessorRemote.java
diff --git a/spring-ejb/spring-ejb-remote/src/main/resources/META-INF/ejb-jar.xml b/spring-ejb-modules/spring-ejb-remote/src/main/resources/META-INF/ejb-jar.xml
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/resources/META-INF/ejb-jar.xml
rename to spring-ejb-modules/spring-ejb-remote/src/main/resources/META-INF/ejb-jar.xml
diff --git a/spring-ejb/spring-ejb-remote/src/main/resources/logback.xml b/spring-ejb-modules/spring-ejb-remote/src/main/resources/logback.xml
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/main/resources/logback.xml
rename to spring-ejb-modules/spring-ejb-remote/src/main/resources/logback.xml
diff --git a/spring-ejb/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatefulWorldTestUnitTest.java b/spring-ejb-modules/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatefulWorldTestUnitTest.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatefulWorldTestUnitTest.java
rename to spring-ejb-modules/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatefulWorldTestUnitTest.java
diff --git a/spring-ejb/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatelessWorldTestUnitTest.java b/spring-ejb-modules/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatelessWorldTestUnitTest.java
similarity index 100%
rename from spring-ejb/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatelessWorldTestUnitTest.java
rename to spring-ejb-modules/spring-ejb-remote/src/test/java/com/baeldung/ejb/tutorial/HelloStatelessWorldTestUnitTest.java
diff --git a/spring-ejb/wildfly/pom.xml b/spring-ejb-modules/wildfly/pom.xml
similarity index 98%
rename from spring-ejb/wildfly/pom.xml
rename to spring-ejb-modules/wildfly/pom.xml
index 8a6d41ea82..c73a1f128d 100644
--- a/spring-ejb/wildfly/pom.xml
+++ b/spring-ejb-modules/wildfly/pom.xml
@@ -11,7 +11,7 @@
com.baeldung.spring.ejb
- spring-ejb
+ spring-ejb-modules
1.0.0-SNAPSHOT
diff --git a/spring-ejb/wildfly/widlfly-web/pom.xml b/spring-ejb-modules/wildfly/widlfly-web/pom.xml
similarity index 100%
rename from spring-ejb/wildfly/widlfly-web/pom.xml
rename to spring-ejb-modules/wildfly/widlfly-web/pom.xml
diff --git a/spring-ejb/wildfly/widlfly-web/src/main/java/TestEJBServlet.java b/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestEJBServlet.java
similarity index 100%
rename from spring-ejb/wildfly/widlfly-web/src/main/java/TestEJBServlet.java
rename to spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestEJBServlet.java
diff --git a/spring-ejb/wildfly/widlfly-web/src/main/java/TestJPAServlet.java b/spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestJPAServlet.java
similarity index 100%
rename from spring-ejb/wildfly/widlfly-web/src/main/java/TestJPAServlet.java
rename to spring-ejb-modules/wildfly/widlfly-web/src/main/java/TestJPAServlet.java
diff --git a/spring-ejb/wildfly/widlfly-web/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/widlfly-web/src/main/resources/logback.xml
similarity index 100%
rename from spring-ejb/wildfly/widlfly-web/src/main/resources/logback.xml
rename to spring-ejb-modules/wildfly/widlfly-web/src/main/resources/logback.xml
diff --git a/spring-ejb/wildfly/widlfly-web/src/main/webapp/WEB-INF/web.xml b/spring-ejb-modules/wildfly/widlfly-web/src/main/webapp/WEB-INF/web.xml
similarity index 100%
rename from spring-ejb/wildfly/widlfly-web/src/main/webapp/WEB-INF/web.xml
rename to spring-ejb-modules/wildfly/widlfly-web/src/main/webapp/WEB-INF/web.xml
diff --git a/spring-ejb/wildfly/wildfly-ear/pom.xml b/spring-ejb-modules/wildfly/wildfly-ear/pom.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ear/pom.xml
rename to spring-ejb-modules/wildfly/wildfly-ear/pom.xml
diff --git a/spring-ejb/wildfly/wildfly-ejb-interfaces/pom.xml b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/pom.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ejb-interfaces/pom.xml
rename to spring-ejb-modules/wildfly/wildfly-ejb-interfaces/pom.xml
diff --git a/spring-ejb/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanLocal.java b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanLocal.java
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanLocal.java
rename to spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanLocal.java
diff --git a/spring-ejb/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanRemote.java b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanRemote.java
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanRemote.java
rename to spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/java/wildfly/beans/UserBeanRemote.java
diff --git a/spring-ejb/wildfly/wildfly-ejb-interfaces/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/resources/logback.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ejb-interfaces/src/main/resources/logback.xml
rename to spring-ejb-modules/wildfly/wildfly-ejb-interfaces/src/main/resources/logback.xml
diff --git a/spring-ejb/wildfly/wildfly-ejb/pom.xml b/spring-ejb-modules/wildfly/wildfly-ejb/pom.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ejb/pom.xml
rename to spring-ejb-modules/wildfly/wildfly-ejb/pom.xml
diff --git a/spring-ejb/wildfly/wildfly-ejb/src/main/java/wildfly/beans/UserBean.java b/spring-ejb-modules/wildfly/wildfly-ejb/src/main/java/wildfly/beans/UserBean.java
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ejb/src/main/java/wildfly/beans/UserBean.java
rename to spring-ejb-modules/wildfly/wildfly-ejb/src/main/java/wildfly/beans/UserBean.java
diff --git a/spring-ejb/wildfly/wildfly-ejb/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/wildfly-ejb/src/main/resources/logback.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-ejb/src/main/resources/logback.xml
rename to spring-ejb-modules/wildfly/wildfly-ejb/src/main/resources/logback.xml
diff --git a/spring-ejb/wildfly/wildfly-jpa/pom.xml b/spring-ejb-modules/wildfly/wildfly-jpa/pom.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-jpa/pom.xml
rename to spring-ejb-modules/wildfly/wildfly-jpa/pom.xml
diff --git a/spring-ejb/wildfly/wildfly-jpa/src/main/java/model/User.java b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/java/model/User.java
similarity index 100%
rename from spring-ejb/wildfly/wildfly-jpa/src/main/java/model/User.java
rename to spring-ejb-modules/wildfly/wildfly-jpa/src/main/java/model/User.java
diff --git a/spring-ejb/wildfly/wildfly-jpa/src/main/resources/META-INF/persistence.xml b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/META-INF/persistence.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-jpa/src/main/resources/META-INF/persistence.xml
rename to spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/META-INF/persistence.xml
diff --git a/spring-ejb/wildfly/wildfly-jpa/src/main/resources/data.sql b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/data.sql
similarity index 100%
rename from spring-ejb/wildfly/wildfly-jpa/src/main/resources/data.sql
rename to spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/data.sql
diff --git a/spring-ejb/wildfly/wildfly-jpa/src/main/resources/logback.xml b/spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/logback.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-jpa/src/main/resources/logback.xml
rename to spring-ejb-modules/wildfly/wildfly-jpa/src/main/resources/logback.xml
diff --git a/spring-ejb/wildfly/wildfly-mdb/pom.xml b/spring-ejb-modules/wildfly/wildfly-mdb/pom.xml
similarity index 100%
rename from spring-ejb/wildfly/wildfly-mdb/pom.xml
rename to spring-ejb-modules/wildfly/wildfly-mdb/pom.xml
diff --git a/spring-ejb/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/ReadMessageMDB.java b/spring-ejb-modules/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/ReadMessageMDB.java
similarity index 100%
rename from spring-ejb/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/ReadMessageMDB.java
rename to spring-ejb-modules/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/ReadMessageMDB.java
diff --git a/spring-ejb/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/SendMessageServlet.java b/spring-ejb-modules/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/SendMessageServlet.java
similarity index 100%
rename from spring-ejb/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/SendMessageServlet.java
rename to spring-ejb-modules/wildfly/wildfly-mdb/src/com/baeldung/wildfly/mdb/SendMessageServlet.java
diff --git a/spring-kafka/src/main/java/com/baeldung/kafka/embedded/KafkaConsumer.java b/spring-kafka/src/main/java/com/baeldung/kafka/embedded/KafkaConsumer.java
index 48a194b4e3..796bab7d32 100644
--- a/spring-kafka/src/main/java/com/baeldung/kafka/embedded/KafkaConsumer.java
+++ b/spring-kafka/src/main/java/com/baeldung/kafka/embedded/KafkaConsumer.java
@@ -15,12 +15,14 @@ public class KafkaConsumer {
private static final Logger LOGGER = LoggerFactory.getLogger(KafkaConsumer.class);
private CountDownLatch latch = new CountDownLatch(1);
- private String payload = null;
+
+ private String payload;
@KafkaListener(topics = "${test.topic}")
public void receive(ConsumerRecord, ?> consumerRecord) {
LOGGER.info("received payload='{}'", consumerRecord.toString());
- setPayload(consumerRecord.toString());
+
+ payload = consumerRecord.toString();
latch.countDown();
}
@@ -28,12 +30,12 @@ public class KafkaConsumer {
return latch;
}
+ public void resetLatch() {
+ latch = new CountDownLatch(1);
+ }
+
public String getPayload() {
return payload;
}
- private void setPayload(String payload) {
- this.payload = payload;
- }
-
}
diff --git a/spring-kafka/src/test/java/com/baeldung/kafka/embedded/EmbeddedKafkaIntegrationTest.java b/spring-kafka/src/test/java/com/baeldung/kafka/embedded/EmbeddedKafkaIntegrationTest.java
index 4c727795c4..eebcf778be 100644
--- a/spring-kafka/src/test/java/com/baeldung/kafka/embedded/EmbeddedKafkaIntegrationTest.java
+++ b/spring-kafka/src/test/java/com/baeldung/kafka/embedded/EmbeddedKafkaIntegrationTest.java
@@ -3,9 +3,11 @@ package com.baeldung.kafka.embedded;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.concurrent.TimeUnit;
+import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@@ -31,22 +33,31 @@ class EmbeddedKafkaIntegrationTest {
@Value("${test.topic}")
private String topic;
- @Test
- public void givenEmbeddedKafkaBroker_whenSendingtoDefaultTemplate_thenMessageReceived() throws Exception {
- template.send(topic, "Sending with default template");
- consumer.getLatch().await(10000, TimeUnit.MILLISECONDS);
- assertThat(consumer.getLatch().getCount(), equalTo(0L));
-
- assertThat(consumer.getPayload(), containsString("embedded-test-topic"));
+ @BeforeEach
+ void setup() {
+ consumer.resetLatch();
}
@Test
- public void givenEmbeddedKafkaBroker_whenSendingtoSimpleProducer_thenMessageReceived() throws Exception {
- producer.send(topic, "Sending with our own simple KafkaProducer");
- consumer.getLatch().await(10000, TimeUnit.MILLISECONDS);
-
- assertThat(consumer.getLatch().getCount(), equalTo(0L));
- assertThat(consumer.getPayload(), containsString("embedded-test-topic"));
+ public void givenEmbeddedKafkaBroker_whenSendingWithDefaultTemplate_thenMessageReceived() throws Exception {
+ String data = "Sending with default template";
+
+ template.send(topic, data);
+
+ boolean messageConsumed = consumer.getLatch().await(10, TimeUnit.SECONDS);
+ assertTrue(messageConsumed);
+ assertThat(consumer.getPayload(), containsString(data));
+ }
+
+ @Test
+ public void givenEmbeddedKafkaBroker_whenSendingWithSimpleProducer_thenMessageReceived() throws Exception {
+ String data = "Sending with our own simple KafkaProducer";
+
+ producer.send(topic, data);
+
+ boolean messageConsumed = consumer.getLatch().await(10, TimeUnit.SECONDS);
+ assertTrue(messageConsumed);
+ assertThat(consumer.getPayload(), containsString(data));
}
}
diff --git a/spring-kafka/src/test/java/com/baeldung/kafka/testcontainers/KafkaTestContainersLiveTest.java b/spring-kafka/src/test/java/com/baeldung/kafka/testcontainers/KafkaTestContainersLiveTest.java
index 74d6f824b1..a111c4a5bc 100644
--- a/spring-kafka/src/test/java/com/baeldung/kafka/testcontainers/KafkaTestContainersLiveTest.java
+++ b/spring-kafka/src/test/java/com/baeldung/kafka/testcontainers/KafkaTestContainersLiveTest.java
@@ -3,6 +3,7 @@ package com.baeldung.kafka.testcontainers;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.HashMap;
import java.util.Map;
@@ -12,6 +13,7 @@ import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.producer.ProducerConfig;
import org.apache.kafka.common.serialization.StringDeserializer;
import org.apache.kafka.common.serialization.StringSerializer;
+import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -37,9 +39,9 @@ import com.baeldung.kafka.embedded.KafkaProducer;
import com.baeldung.kafka.embedded.KafkaProducerConsumerApplication;
/**
- * This test class uses Testcontainers to instantiate and manage an external Apache
+ * This test class uses Testcontainers to instantiate and manage an external Apache
* Kafka broker hosted inside a Docker container.
- *
+ *
* Therefore, one of the prerequisites for using Testcontainers is that Docker is installed on the host running this test
*
*/
@@ -64,22 +66,31 @@ public class KafkaTestContainersLiveTest {
@Value("${test.topic}")
private String topic;
- @Test
- public void givenKafkaDockerContainer_whenSendingtoDefaultTemplate_thenMessageReceived() throws Exception {
- template.send(topic, "Sending with default template");
- consumer.getLatch().await(10000, TimeUnit.MILLISECONDS);
-
- assertThat(consumer.getLatch().getCount(), equalTo(0L));
- assertThat(consumer.getPayload(), containsString("embedded-test-topic"));
+ @Before
+ public void setup() {
+ consumer.resetLatch();
}
@Test
- public void givenKafkaDockerContainer_whenSendingtoSimpleProducer_thenMessageReceived() throws Exception {
- producer.send(topic, "Sending with own controller");
- consumer.getLatch().await(10000, TimeUnit.MILLISECONDS);
-
- assertThat(consumer.getLatch().getCount(), equalTo(0L));
- assertThat(consumer.getPayload(), containsString("embedded-test-topic"));
+ public void givenKafkaDockerContainer_whenSendingWithDefaultTemplate_thenMessageReceived() throws Exception {
+ String data = "Sending with default template";
+
+ template.send(topic, data);
+
+ boolean messageConsumed = consumer.getLatch().await(10, TimeUnit.SECONDS);
+ assertTrue(messageConsumed);
+ assertThat(consumer.getPayload(), containsString(data));
+ }
+
+ @Test
+ public void givenKafkaDockerContainer_whenSendingWithSimpleProducer_thenMessageReceived() throws Exception {
+ String data = "Sending with our own simple KafkaProducer";
+
+ producer.send(topic, data);
+
+ boolean messageConsumed = consumer.getLatch().await(10, TimeUnit.SECONDS);
+ assertTrue(messageConsumed);
+ assertThat(consumer.getPayload(), containsString(data));
}
@TestConfiguration
diff --git a/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceIntegrationTest.java b/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceIntegrationTest.java
index 3635844056..b03bfeb82d 100644
--- a/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceIntegrationTest.java
+++ b/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceIntegrationTest.java
@@ -19,18 +19,18 @@ import ch.qos.logback.classic.spi.IThrowableProxy;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Hooks;
-public class ConsumerFooServiceIntegrationTest {
+class ConsumerFooServiceIntegrationTest {
FooService service = new FooService();
@BeforeEach
- public void clearLogList() {
+ void clearLogList() {
Hooks.onOperatorDebug();
ListAppender.clearEventList();
}
@Test
- public void givenFooWithNullId_whenProcessFoo_thenLogsWithDebugTrace() {
+ void givenFooWithNullId_whenProcessFoo_thenLogsWithDebugTrace() {
Foo one = new Foo(1, "nameverylong", 8);
Foo two = new Foo(null, "nameverylong", 4);
Flux flux = Flux.just(one, two);
diff --git a/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceLiveTest.java b/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceLiveTest.java
index 89e92f2818..84aee83c98 100644
--- a/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceLiveTest.java
+++ b/spring-reactive/src/test/java/com/baeldung/reactive/debugging/consumer/ConsumerFooServiceLiveTest.java
@@ -10,7 +10,7 @@ import org.springframework.test.web.reactive.server.WebTestClient.ResponseSpec;
* - com.baeldung.reactive.debugging.server.ServerDebuggingApplication
* - com.baeldung.reactive.debugging.consumer.ConsumerDebuggingApplication
*/
-public class ConsumerFooServiceLiveTest {
+class ConsumerFooServiceLiveTest {
private static final String BASE_URL = "http://localhost:8082";
private static final String DEBUG_HOOK_ON = BASE_URL + "/debug-hook-on";
@@ -19,14 +19,14 @@ public class ConsumerFooServiceLiveTest {
private static WebTestClient client;
@BeforeAll
- public static void setup() {
+ static void setup() {
client = WebTestClient.bindToServer()
.baseUrl(BASE_URL)
.build();
}
@Test
- public void whenRequestingDebugHookOn_thenObtainExpectedMessage() {
+ void whenRequestingDebugHookOn_thenObtainExpectedMessage() {
ResponseSpec response = client.get()
.uri(DEBUG_HOOK_ON)
.exchange();
@@ -37,7 +37,7 @@ public class ConsumerFooServiceLiveTest {
}
@Test
- public void whenRequestingDebugHookOff_thenObtainExpectedMessage() {
+ void whenRequestingDebugHookOff_thenObtainExpectedMessage() {
ResponseSpec response = client.get()
.uri(DEBUG_HOOK_OFF)
.exchange();
diff --git a/spring-reactive/src/test/java/com/baeldung/reactive/errorhandling/ErrorHandlingIntegrationTest.java b/spring-reactive/src/test/java/com/baeldung/reactive/errorhandling/ErrorHandlingIntegrationTest.java
index bbcab179eb..0068379d61 100644
--- a/spring-reactive/src/test/java/com/baeldung/reactive/errorhandling/ErrorHandlingIntegrationTest.java
+++ b/spring-reactive/src/test/java/com/baeldung/reactive/errorhandling/ErrorHandlingIntegrationTest.java
@@ -1,27 +1,24 @@
package com.baeldung.reactive.errorhandling;
-import org.junit.Test;
-import org.junit.runner.RunWith;
+import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.http.MediaType;
import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.reactive.server.WebTestClient;
-@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
@DirtiesContext
@AutoConfigureWebTestClient(timeout = "10000")
-public class ErrorHandlingIntegrationTest {
+class ErrorHandlingIntegrationTest {
@Autowired
private WebTestClient webTestClient;
@Test
- public void givenErrorReturn_whenUsernamePresent_thenOk() {
+ void givenErrorReturn_whenUsernamePresent_thenOk() {
webTestClient.get()
.uri("/api/endpoint1?name={username}", "Tony")
@@ -31,7 +28,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenErrorReturn_whenNoUsername_thenOk() {
+ void givenErrorReturn_whenNoUsername_thenOk() {
webTestClient.get()
.uri("/api/endpoint1")
@@ -41,7 +38,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenResumeFallback_whenUsernamePresent_thenOk() {
+ void givenResumeFallback_whenUsernamePresent_thenOk() {
webTestClient.get()
.uri("/api/endpoint2?name={username}", "Tony")
@@ -51,7 +48,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenResumeFallback_whenNoUsername_thenOk() {
+ void givenResumeFallback_whenNoUsername_thenOk() {
webTestClient.get()
.uri("/api/endpoint2")
@@ -61,7 +58,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenResumeDynamicValue_whenUsernamePresent_thenOk() {
+ void givenResumeDynamicValue_whenUsernamePresent_thenOk() {
webTestClient.get()
.uri("/api/endpoint3?name={username}", "Tony")
@@ -71,7 +68,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenResumeDynamicValue_whenNoUsername_thenOk() {
+ void givenResumeDynamicValue_whenNoUsername_thenOk() {
webTestClient.get()
.uri("/api/endpoint3")
@@ -81,7 +78,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenResumeRethrow_whenUsernamePresent_thenOk() {
+ void givenResumeRethrow_whenUsernamePresent_thenOk() {
webTestClient.get()
.uri("/api/endpoint4?name={username}", "Tony")
@@ -91,7 +88,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenResumeRethrow_whenNoUsername_thenOk() {
+ void givenResumeRethrow_whenNoUsername_thenOk() {
webTestClient.get()
.uri("/api/endpoint4")
@@ -103,7 +100,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenGlobalErrorHandling_whenUsernamePresent_thenOk() {
+ void givenGlobalErrorHandling_whenUsernamePresent_thenOk() {
webTestClient.get()
.uri("/api/endpoint5?name={username}", "Tony")
@@ -113,7 +110,7 @@ public class ErrorHandlingIntegrationTest {
}
@Test
- public void givenGlobalErrorHandling_whenNoUsername_thenOk() {
+ void givenGlobalErrorHandling_whenNoUsername_thenOk() {
webTestClient.get()
.uri("/api/endpoint5")
diff --git a/spring-reactive/src/test/java/com/baeldung/reactive/introduction/ReactorIntegrationTest.java b/spring-reactive/src/test/java/com/baeldung/reactive/introduction/ReactorIntegrationTest.java
index 307cc2cfeb..63e49419ba 100644
--- a/spring-reactive/src/test/java/com/baeldung/reactive/introduction/ReactorIntegrationTest.java
+++ b/spring-reactive/src/test/java/com/baeldung/reactive/introduction/ReactorIntegrationTest.java
@@ -1,6 +1,6 @@
package com.baeldung.reactive.introduction;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import org.reactivestreams.Subscriber;
import org.reactivestreams.Subscription;
import org.slf4j.Logger;
@@ -14,12 +14,12 @@ import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
-public class ReactorIntegrationTest {
+class ReactorIntegrationTest {
private static final Logger LOGGER = LoggerFactory.getLogger(ReactorIntegrationTest.class);
-
+
@Test
- public void givenFlux_whenSubscribing_thenStream() {
+ void givenFlux_whenSubscribing_thenStream() {
List elements = new ArrayList<>();
@@ -35,7 +35,7 @@ public class ReactorIntegrationTest {
}
@Test
- public void givenFlux_whenZipping_thenCombine() {
+ void givenFlux_whenZipping_thenCombine() {
List elements = new ArrayList<>();
Flux.just(1, 2, 3, 4)
@@ -52,7 +52,7 @@ public class ReactorIntegrationTest {
}
@Test
- public void givenFlux_whenApplyingBackPressure_thenPushElementsInBatches() {
+ void givenFlux_whenApplyingBackPressure_thenPushElementsInBatches() {
List elements = new ArrayList<>();
@@ -90,7 +90,7 @@ public class ReactorIntegrationTest {
}
@Test
- public void givenFlux_whenInParallel_thenSubscribeInDifferentThreads() throws InterruptedException {
+ void givenFlux_whenInParallel_thenSubscribeInDifferentThreads() throws InterruptedException {
List threadNames = new ArrayList<>();
Flux.just(1, 2, 3, 4)
@@ -106,7 +106,7 @@ public class ReactorIntegrationTest {
}
@Test
- public void givenConnectableFlux_whenConnected_thenShouldStream() {
+ void givenConnectableFlux_whenConnected_thenShouldStream() {
List elements = new ArrayList<>();
diff --git a/spring-reactive/src/test/java/com/baeldung/reactive/security/SecurityIntegrationTest.java b/spring-reactive/src/test/java/com/baeldung/reactive/security/SecurityIntegrationTest.java
index 0ef828df5a..6bf39e4791 100644
--- a/spring-reactive/src/test/java/com/baeldung/reactive/security/SecurityIntegrationTest.java
+++ b/spring-reactive/src/test/java/com/baeldung/reactive/security/SecurityIntegrationTest.java
@@ -2,17 +2,14 @@ package com.baeldung.reactive.security;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ApplicationContext;
import org.springframework.security.test.context.support.WithMockUser;
-import org.springframework.test.context.ContextConfiguration;
-import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.springframework.test.web.reactive.server.WebTestClient;
-@ExtendWith(SpringExtension.class)
-@ContextConfiguration(classes = SpringSecurity5Application.class)
-public class SecurityIntegrationTest {
+@SpringBootTest(classes = SpringSecurity5Application.class)
+class SecurityIntegrationTest {
@Autowired
private ApplicationContext context;
@@ -20,14 +17,14 @@ public class SecurityIntegrationTest {
private WebTestClient webTestClient;
@BeforeEach
- public void setup() {
+ void setup() {
webTestClient = WebTestClient.bindToApplicationContext(context)
.configureClient()
.build();
}
@Test
- public void whenNoCredentials_thenRedirectToLogin() {
+ void whenNoCredentials_thenRedirectToLogin() {
webTestClient.get()
.uri("/")
.exchange()
@@ -36,7 +33,7 @@ public class SecurityIntegrationTest {
@Test
@WithMockUser
- public void whenHasCredentials_thenSeesGreeting() {
+ void whenHasCredentials_thenSeesGreeting() {
webTestClient.get()
.uri("/")
.exchange()
diff --git a/spring-reactive/src/test/java/com/baeldung/reactive/webclient/SpringContextTest.java b/spring-reactive/src/test/java/com/baeldung/reactive/webclient/SpringContextTest.java
index 4a1fc4390a..7cef90472c 100644
--- a/spring-reactive/src/test/java/com/baeldung/reactive/webclient/SpringContextTest.java
+++ b/spring-reactive/src/test/java/com/baeldung/reactive/webclient/SpringContextTest.java
@@ -4,9 +4,9 @@ import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest(classes = WebClientApplication.class)
-public class SpringContextTest {
+class SpringContextTest {
@Test
- public void whenSpringContextIsBootstrapped_thenNoExceptions() {
+ void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}
diff --git a/spring-reactive/src/test/java/com/baeldung/reactive/webclient/WebClientIntegrationTest.java b/spring-reactive/src/test/java/com/baeldung/reactive/webclient/WebClientIntegrationTest.java
index 22c545c362..f52a20b149 100644
--- a/spring-reactive/src/test/java/com/baeldung/reactive/webclient/WebClientIntegrationTest.java
+++ b/spring-reactive/src/test/java/com/baeldung/reactive/webclient/WebClientIntegrationTest.java
@@ -43,7 +43,7 @@ import java.util.concurrent.TimeUnit;
import static org.assertj.core.api.Assertions.assertThat;
@SpringBootTest(classes = WebClientApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT)
-public class WebClientIntegrationTest {
+class WebClientIntegrationTest {
private static final String BODY_VALUE = "bodyValue";
private static final ParameterizedTypeReference