AtlasOfLivingAustralia / biocache-service

Occurrence & mapping webservices
https://biocache-ws.ala.org.au/ws/
Other
9 stars 26 forks source link
ala-product-biocache ala-systems cassandra darwincore occurrences ogc wms

biocache-service

Master branch Build Status Coverage Status Develop branch Build Status Coverage Status

Occurrence & mapping webservices.

Theses services are documented here https://api.ala.org.au/apps/biocache

Versions

There are currently two supported versions:

Development environment Setup

SOLR and Cassandra are required by Biocache servcie.

We can run those two docker instances

or SSH tunnel in our test servers

ssh -L 8983:localhost:8983 aws-solr-test-1.ala
ssh -L 9042:localhost:9042 aws-cass-test-1.ala

see wiki: https://github.com/AtlasOfLivingAustralia/biocache-service/wiki

Integration Tests

Integration testing is supported using docker containers for SOLR and Cassandra. To start the required containers, run the following:

./gradlew composeUp

To shutdown, run the following:

./gradlew composeDown
./gradlew bootRun

Prerequisites are Docker version 17+. For more details see this readme.

To run the integration tests just run the check task, e.g.: ./gradlew clean check