Open axelrodvl opened 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
booking-service
should interact withproperty-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 insidebooking-service
in conjunction with the Swagger Codegen Maven plugin in order to generate a Java client forproperty-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 theapplication.yml
orbootstrap.yml
.