Update FineCollectionService to accept base url for vehicle registration service

This commit is contained in:
Pierre Malarme 2023-03-22 13:45:59 +01:00
Родитель 1bc78b7ab3
Коммит 21a5350509
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -11,6 +11,6 @@ server:
finefines:
license-key: HX783-5PN1G-CRJ4A-K2L7V
vehicle-information.address: http://${VEHICLE_REGISTRATION_SERVICE:localhost}:6002/vehicleinfo/{licenseNumber}
vehicle-information.address: ${VEHICLE_REGISTRATION_SERVICE_BASE_URL:http://${VEHICLE_REGISTRATION_SERVICE:localhost}:6002}/vehicleinfo/{licenseNumber}
# Used for service discovery when service-to-service invocation is used
vehicle-registration-service.name: ${VEHICLE_REGISTRATION_SERVICE:vehicleregistrationservice}