apache / camel-quarkus

Apache Camel Quarkus
https://camel.apache.org
Apache License 2.0
256 stars 189 forks source link

http related tests rely on external service that may sometimes be down #1538

Closed lburgazzoli closed 4 years ago

lburgazzoli commented 4 years ago

https://restcountries.eu/rest/v2/alpha/cz is used by http tests but it may be down (as now) and break the tests

ppalaga commented 4 years ago

Time to fix restcountries?

lburgazzoli commented 4 years ago

wonder if we should use mockserver module

oscerd commented 4 years ago

That project is mostly dead, there is a guy working on a fork of the apilayer restcountries API and he is providing a new url with the service up and running

oscerd commented 4 years ago

https://restcountries.com/v2/alpha/cz

jamesnetherton commented 4 years ago

wonder if we should use mockserver module

Or just locally stub out whatever endpoint(s) we need with a JAX-RS resource class.

lburgazzoli commented 4 years ago

I think the only reason we use restcountries is because of the ssl

lburgazzoli commented 4 years ago

I don't know how simple it is to have an ssl and a non ssl endpoint in quarkus

lburgazzoli commented 4 years ago

I'm switching to the restcountries.com/v2/alpha/cz for the moment, then we need a better solution

ppalaga commented 4 years ago

Yeah, SSL was the main motivation for using restcountries