[JAVAMONEY-58] Currency data source URL for IsoCurrencyOnlineProvider needs updating Created: 12/Aug/13 Updated: 05/Feb/15
|Component/s:||Library: JavaMoney Extensions|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
The URL which specifies the location of the currency source in net.java.javamoney.ri.ext.provider.iso.IsoCurrencyOnlineProvider#loadCurrencies method is no longer valid. The current source is:
which results in an Http 404.
I believe the replacement should be:
|Comment by keilw [ 12/Aug/13 ]|
As a first step I'm fixing the URL to the new version. Where CI server (Jenkins) would also allow us to run Integration Tests there should be some for external services such as this to flag whenever this or another URL changes in future.
either we'd use this file or introduce another one or two additional files (not too many, otherwise it gets confusing and we'd have a Spring-like maze of properties
|Comment by keilw [ 13/Aug/13 ]|
Changed, those URLs are now loaded from a properties file, but neither of the URLs looks like it gets results from parsing
Debug information (if log level is changed appropriately or System.out/IDE-debugging used) tells currencies is empty, while the list of countries contains 249 of them.
|Comment by paulkmoore [ 13/Aug/13 ]|
Werner, the mapping also appears to have changed - I guess they did this as part of the "move"...
From the comments in code the previous feed appears to be structured as follows:
Whereas the new feed is as follows:
|Comment by keilw [ 02/Sep/14 ]|
This has been open for a while, does it work now?