axelrodvl / booking

Full-stack booking service with FE and BE on Kubernetes
0 stars 0 forks source link

booking-service: Integration with property-service #10

Open axelrodvl opened 1 year ago

axelrodvl commented 1 year ago

booking-service should interact with property-service in order to retrieve the properties (f.e. in order to check, if the selected property is available at the requested dates).

property-service should provide the Swagger file, which you can download and use inside booking-service in conjunction with the Swagger Codegen Maven plugin in order to generate a Java client for property-service.

Start both services at the same machine and implement a following validation: propertyId of the booking request should exist in property-service.

The URL of the property-service should be a variable inside the application.yml or bootstrap.yml.

Dolph111 commented 1 year ago

@axelrodvl I don't fully understand how to fix errors during startup. I might have specified the wrong port; I'll need some assistance with this. https://github.com/axelrodvl/booking/pull/12/commits/67067a7e3134956e0d561d0f4bf037786b6114ea