[MGNLRESTUI-58] The countries rest client in declarative-rest-ui-demo no longer works Created: 18/Jan/22 Updated: 09/Feb/22 Resolved: 03/Feb/22 |
|
| Status: | Closed |
| Project: | Magnolia REST Client UI |
| Component/s: | None |
| Affects Version/s: | 1.0.2 |
| Fix Version/s: | 1.0.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Martin Drápela | Assignee: | Canh Nguyen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | VN-Maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1d | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Sprint: | DevX 1, DevX 2, DevX 3 | ||||||||||||||||
| Story Points: | 0 | ||||||||||||||||
| Description |
|
The API has changed (new domain owner?) and is probably behind an API key wall: (https://countrylayer.com/documentation/)
2021-11-11 08:18:57,224 TRACE class org.ehcache.core.Ehcache-REST_CLIENT_CACHE : Initializing 2021-11-11 08:18:57,227 DEBUG class org.ehcache.core.Ehcache-REST_CLIENT_CACHE : Initialize successful. 2021-11-11 08:23:19,560 ERROR info.magnolia.rest.client.timeout.TimeoutHandler : Timeout error while issuing a rest call, cause by: RESTEASY004655: Unable to invoke request: org.apache.http.conn.HttpHostConnectException: Connect to restcountries.eu:443 [restcountries.eu/15.197.142.173, restcountries.eu/3.33.152.147] failed: Connection timed out (Connection timed out) 2021-11-11 08:23:19,561 WARN t.client.exception.handler.DefaultExceptionHandler: Error while issuing a rest call, target: https://restcountries.eu/rest/v2/all, cause by: RESTEASY004655: Unable to invoke request: org.apache.http.conn.HttpHostConnectException: Connect to restcountries.eu:443 [restcountries.eu/15.197.142.173, restcountries.eu/3.33.152.147] failed: Connection timed out (Connection timed out), cause by: Connect to restcountries.eu:443 [restcountries.eu/15.197.142.173, restcountries.eu/3.33.152.147] failed: Connection timed out (Connection timed out)
Might also need an update: Add integration tests to the CE project to verify demo is working.
|