项目作者: AtlasOfLivingAustralia

项目描述 :
Occurrence & mapping webservices
高级语言: Java
项目地址: git://github.com/AtlasOfLivingAustralia/biocache-service.git
创建时间: 2014-07-03T05:51:33Z
项目社区:https://github.com/AtlasOfLivingAustralia/biocache-service

开源协议:Other

下载


biocache-service

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

Occurrence & mapping webservices.

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

Versions

There are currently two supported versions:

  • 4.x - Java 17, 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

  1. ssh -L 8983:localhost:8983 aws-solr-test-1.ala
  2. 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:

  1. ./gradlew composeUp

To shutdown, run the following:

  1. ./gradlew composeDown
  1. ./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