streams - Übungen - Microservices - Schritt 03
authorKai Moritz <kai@juplo.de>
Sun, 7 Jun 2020 12:01:55 +0000 (14:01 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 7 Jun 2020 15:55:06 +0000 (17:55 +0200)
commitb48076529d0a407721930554ee259672e3495eba
tree56ad57fb5f84cbf179393e712758d01486fb9921
parent1063f44b0204743d9deb4c58d4b01a84e775388a
streams - Übungen - Microservices - Schritt 03
--
Validation-Results-Service implementiert

* Lauscht auf dem Topic "validations"
* Passt den Status der Order entsprechend an
* "APPROVED" bei "PASS", "DECLINED" bei "FAIL"
* _Hintergrund:_ Single Writer -- Nur der Bounded Context "Order" greift
  schreibend auf das Topic "orders" zu!
* _Beachte:_ Grenzen des Bounded Context sind nicht (müssen nicht) mit
  den Microservices übereinstimmen!
+
_Hier:_ BC "Order" besteht aus "take-order", "details", "validation-results"
12 files changed:
.gitignore
README.sh
docker-compose.yml
pom.xml
validation-results/Dockerfile [new file with mode: 0644]
validation-results/order-validation.avsc [new file with mode: 0644]
validation-results/order.avsc [new file with mode: 0644]
validation-results/pom.xml [new file with mode: 0644]
validation-results/src/main/java/de/trion/microservices/validationresults/Application.java [new file with mode: 0644]
validation-results/src/main/java/de/trion/microservices/validationresults/ApplicationProperties.java [new file with mode: 0644]
validation-results/src/main/java/de/trion/microservices/validationresults/ValidationResultsService.java [new file with mode: 0644]
validation-results/src/main/resources/application.properties [new file with mode: 0644]