Skip to content
GBIF Checklist Bank
Java Other
  1. Java 97.9%
  2. Other 2.1%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
checklistbank-cli
checklistbank-common
checklistbank-mybatis-service
checklistbank-nub-ws
checklistbank-nub
checklistbank-solr-plugins
checklistbank-solr
checklistbank-ws-client
checklistbank-ws
docs
.gitignore
LICENSE
README.md
pom.xml

README.md

GBIF ChecklistBank

ChecklistBank is the taxonomy store with its associated webservices that allows GBIF to index any number of checklist datasets and match them to a global management taxonomy, the GBIF backbone taxonomy.

This is a multi module project containing all ChecklistBank modules, from api to persistence layer to the webservice client. Integration tests are part of the respective modules, in particular in the webservice client and the mybatis modules.

Maven profile

To run all tests you need a maven profile with the following properties defined:

<profile>
  <id>clb-local</id>
  <properties>
    <checklistbank.db.host>localhost</checklistbank.db.host>
    <checklistbank.db.name>clb</checklistbank.db.name>
    <checklistbank.db.username>postgres</checklistbank.db.username>
    <checklistbank.db.password>123456</checklistbank.db.password>
  </properties>
</profile>

ChecklistBank database schema

Checklistbank relies on postgres 9 and uses the HStore extension. The simplest way of enabling this is to add it to the postgres template database, which is used whenever postgres creates a new one. Thus if you run the following (or similar) before creating the database, you are all set:

psql -u postgres template1 -c 'create extension hstore;'

You can create a database schema from scratch or update one to the latest version using the maven liquiabse plugin like this:

mvn -P clb-local liquibase:update

A diagram of the database schema is available for convenience.

You can’t perform that action at this time.