AtlasOfLivingAustralia / biocache-service

Occurrence & mapping webservices

Home Page:https://biocache-ws.ala.org.au/ws/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • 3.x - SOLR 8 with SOLR Cloud support and Cassandra 3.x. See master and develop branches
  • 2.7.x - Legacy branch, SOLR 7 with SOLR Cloud support and Cassandra 3.x. See the 2.7.x branch.

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

About

Occurrence & mapping webservices

https://biocache-ws.ala.org.au/ws/

License:Other


Languages

Language:Java 96.0%Language:Groovy 3.0%Language:Python 0.6%Language:Shell 0.4%Language:HTML 0.0%