The GBIF Registry is a core component of the architecture responsible for providing the authoritative source of information on GBIF participants (Nodes), institutions (e.g. data publishers), datasets, networks their interrelationships and the means to identify and access them.
As a distributed network, the registry serves a central coordination mechanism, used for example to allow publishers to declare their existence and for data integrating components to discover how to access published datasets and interoperate with the publisher.
-
Create an empty PostgreSQL database "registry_it". You may need to run
CREATE EXTENSION unaccent;
CREATE EXTENSION hstore;
(installed extensions can be listed with \dx
from psql
.)
-
This database will automatically be populated by Liquibase when the integration tests are run.
-
Set up a solr collection hosted either in a simple http solr server or in a Solr cloud. Follow the registry-index-builder to create and populate such a collection. See the maven POM for the minimum solr version required by the current registry code.
-
Create a Maven profile similar to:
<profile>
<id>registry-local-it</id>
<properties>
<registry-it.db.host>localhost</registry-it.db.host>
<registry-it.db.name>registry_it</registry-it.db.name>
<registry-it.db.username>registry</registry-it.db.username>
<registry-it.db.password/>
<appkeys.testfile>/home/mblissett/Workspace/appkeys-it.properties</appkeys.testfile>
<datacite.api.base.url>https://api.test.datacite.org/</datacite.api.base.url>
<datacite.user>GBIF.GBIF</datacite.user>
<datacite.password/>
</properties>
</profile>
datacite.password can be found in configs.
- Run
mvn clean install
.