Skip to content

Commit 5d203ac

Browse files
author
Alexsandro Souza
authored
Merge pull request apssouza22#3 from apssouza22/cqrs
New CQRS implementation with unit tests
2 parents cadc981 + ee3b95a commit 5d203ac

58 files changed

Lines changed: 666 additions & 969 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ curl -d '{"userEmail":"[email protected]", "caption":"post caption", "description":"
8080
### Stopping, Starting, Restarting...
8181

8282
```
83-
# running separated container
83+
# running separated container and link to the network infrastructure
8484
docker run -d -p 8026:8026 --network todo_net --add-host eureka:172.19.0.3 todo/admin-server
8585
8686
# orchestrate start-up of containers, tailing the logs...
@@ -122,8 +122,13 @@ docker logs container-name
122122
/opt/kafka/bin/kafka-topics.sh --list --zookeeper zookeeper:2181
123123
```
124124

125+
### Data
126+
```
127+
#create a new To-Do
128+
curl -H "Content-Type: application/json" -X POST -d '{"id":161,"caption":"Test caption 3","userEmail":"[email protected]","description":"description 3","createdat":null,"priority":2,"status":"PENDING","version":0,"valid":true}' http://localhost:8015/todos
129+
```
130+
125131
## TODO
126-
* Integrate mail service to reminder-service
127132
* Integrate turbine in the Admin dashboard
128-
* Added a readme for each microservices and modules
129-
* Test the integration between the Filebeat and ELK
133+
* Add private maven repository Artifactory
134+
* Manager services integration through Spring Webflow

event-docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ services:
3030
image: todo/reminder-service
3131
ports:
3232
- 8015:8015
33+
- 8001:8001
3334
networks:
3435
- net
3536
depends_on:
@@ -41,6 +42,7 @@ services:
4142
image: todo/mail-service
4243
ports:
4344
- 8020:8020
45+
- 8000:8000
4446
networks:
4547
- net
4648
depends_on:

eventsourcing/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.
-46.5 KB
Binary file not shown.

eventsourcing/.mvn/wrapper/maven-wrapper.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

eventsourcing/README

Lines changed: 0 additions & 5 deletions
This file was deleted.

eventsourcing/mvnw

Lines changed: 0 additions & 225 deletions
This file was deleted.

0 commit comments

Comments
 (0)