PaymentServer
The eShop's payment service on the Wow host: the host finds the payment model and the sagas through eshop-payment-domain's binding index and serves its routes on the public port and the cluster on the internal one. It runs on the memory backend by default and on PostgreSQL with the postgres profile (spring.datasource.*).
Its sagas read the ordering's order stream and send the ordering's commands, so the node needs Kafka: the kafka profile gives it, and it does not start without a command transport.
Functions
Link copied to clipboard
@Bean
The simulated gateway, which approves up to eshop.payment.gateway.limit (1000.00 by default), and is down while the file eshop.payment.gateway.outage-file exists (none by default).