Incorporated review comments from editor.
This commit is contained in:
parent
ab3336e9b0
commit
3977ef96c6
@ -2,12 +2,12 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>java-es-cqrs</artifactId>
|
<artifactId>cqrs-es</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<name>java-es-cqrs</name>
|
<name>cqrs-es</name>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.baeldung</groupId>
|
<groupId>com.baeldung</groupId>
|
||||||
<artifactId>parent-modules</artifactId>
|
<artifactId>patterns</artifactId>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<properties>
|
<properties>
|
@ -40,7 +40,7 @@ public class ApplicationUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testApplication() throws Exception {
|
public void givenCQRSApplication_whenCommandRun_thenQueryShouldReturnResult() throws Exception {
|
||||||
String userId = UUID.randomUUID()
|
String userId = UUID.randomUUID()
|
||||||
.toString();
|
.toString();
|
||||||
User user = null;
|
User user = null;
|
@ -24,7 +24,7 @@ public class ApplicationUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testApplication() throws Exception {
|
public void givenCRUDApplication_whenDataCreated_thenDataCanBeFetched() throws Exception {
|
||||||
UserService service = new UserService(repository);
|
UserService service = new UserService(repository);
|
||||||
String userId = UUID.randomUUID()
|
String userId = UUID.randomUUID()
|
||||||
.toString();
|
.toString();
|
@ -26,7 +26,7 @@ public class ApplicationUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testApplication() throws Exception {
|
public void givenCRUDApplication_whenDataCreated_thenDataCanBeFetched() throws Exception {
|
||||||
String userId = UUID.randomUUID()
|
String userId = UUID.randomUUID()
|
||||||
.toString();
|
.toString();
|
||||||
|
|
@ -41,7 +41,7 @@ public class ApplicationUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testApplication() throws Exception {
|
public void givenCQRSApplication_whenCommandRun_thenQueryShouldReturnResult() throws Exception {
|
||||||
String userId = UUID.randomUUID()
|
String userId = UUID.randomUUID()
|
||||||
.toString();
|
.toString();
|
||||||
List<Event> events = null;
|
List<Event> events = null;
|
@ -21,6 +21,7 @@
|
|||||||
<module>design-patterns-functional</module>
|
<module>design-patterns-functional</module>
|
||||||
<module>design-patterns-structural</module>
|
<module>design-patterns-structural</module>
|
||||||
<module>dip</module>
|
<module>dip</module>
|
||||||
|
<module>cqrs-es</module>
|
||||||
<module>front-controller</module>
|
<module>front-controller</module>
|
||||||
<module>intercepting-filter</module>
|
<module>intercepting-filter</module>
|
||||||
<module>solid</module>
|
<module>solid</module>
|
||||||
|
2
pom.xml
2
pom.xml
@ -568,7 +568,6 @@
|
|||||||
<module>rxjava-operators</module>
|
<module>rxjava-operators</module>
|
||||||
|
|
||||||
<module>atomikos</module>
|
<module>atomikos</module>
|
||||||
<module>java-es-cqrs</module>
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
</profile>
|
</profile>
|
||||||
@ -1084,7 +1083,6 @@
|
|||||||
<module>rxjava-operators</module>
|
<module>rxjava-operators</module>
|
||||||
|
|
||||||
<module>atomikos</module>
|
<module>atomikos</module>
|
||||||
<module>java-es-cqrs</module>
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
</profile>
|
</profile>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user