Skip to content

ManonGros/registry

 
 

Repository files navigation

Build Status Quality Gate Status Coverage

GBIF Registry

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.

To build the project

  1. 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.)

  1. This database will automatically be populated by Liquibase when the integration tests are run.

  2. 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.

  3. 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.

  1. Run mvn clean install.

Packages

No packages published

Languages

  • Java 85.6%
  • JavaScript 5.9%
  • HTML 4.2%
  • FreeMarker 1.7%
  • PLpgSQL 1.2%
  • Shell 0.6%
  • Other 0.8%