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 17:41:10 +0000 (19:41 +0200)
commit9c32239c9f2889c34499623329c9bf801d0a4288
tree9bac5c75d0b2543c9253659c35f06e1cc34df89d
parent4f784f887f530419d66700b3e4e379c7ff36340a
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]