blob: 042e686f7cb7771c6403c298d0a9cb4331a11f16 [file] [log] [blame]
== Camel Quarkus Geocoder Integration Tests
By default the Geocoder integration tests use WireMock to stub the API interactions.
To run `camel-quarkus-geocoder` integration tests using google maps service, you will need a Google Cloud https://developers.google.com/maps/documentation/javascript/get-api-key[API key].
You must also ensure that the Geolocation API & Geocoding API services are enabled. You can do this from the developer console by navigating to `Google Maps -> APIs`. Since these are not free services,
your Google Cloud project must have an associated billing account.
Then set the following environment variable:
[source,shell]
----
GOOGLE_API_KEY=your-api-id
----
If the WireMock stub recordings need updating, then remove the existing files from `src/test/resources/mappings` and run tests with either:
System property `-Dwiremock.record=true`
Or
Set environment variable `WIREMOCK_RECORD=true`