Exchange rate service
Dworkin uses CurrencyLayer service via REST API to periodically retrieve and update currency exchange rate indexes in DB.
Exchange rate service updater schedule is configured via application.conf:
It is possible to manually start the scheduler in order to retrieve up-to-date rates via exchange-rate service API:
Current exchange rate for each currency is stored in currency table (euroindex field) and mapped to Currency entity in the source code:
To get one currency converted to another please use CurrencyUtil class from domain-service module