Registry

The Registry provides provides the PDS-specific search protocol and the search capability for the PDS search index generated through the Search Core software. The core functionality for this service is satisfied by Apache Solr.

License

License

GroupId

GroupId

gov.nasa.pds
ArtifactId

ArtifactId

registry
Last Version

Last Version

2.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

Registry
The Registry provides provides the PDS-specific search protocol and the search capability for the PDS search index generated through the Search Core software. The core functionality for this service is satisfied by Apache Solr.
Project URL

Project URL

https://nasa-pds-incubator.github.io/registry/
Source Code Management

Source Code Management

https://github.com/NASA-PDS-Incubator/registry

Download registry

How to add to project

<!-- https://jarcasting.com/artifacts/gov.nasa.pds/registry/ -->
<dependency>
    <groupId>gov.nasa.pds</groupId>
    <artifactId>registry</artifactId>
    <version>2.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/gov.nasa.pds/registry/
implementation 'gov.nasa.pds:registry:2.2.1'
// https://jarcasting.com/artifacts/gov.nasa.pds/registry/
implementation ("gov.nasa.pds:registry:2.2.1")
'gov.nasa.pds:registry:jar:2.2.1'
<dependency org="gov.nasa.pds" name="registry" rev="2.2.1">
  <artifact name="registry" type="jar" />
</dependency>
@Grapes(
@Grab(group='gov.nasa.pds', module='registry', version='2.2.1')
)
libraryDependencies += "gov.nasa.pds" % "registry" % "2.2.1"
[gov.nasa.pds/registry "2.2.1"]

Dependencies

compile (7)

Group / Artifact Type Version
org.apache.solr : solr-core jar 8.2.0
org.apache.solr : solr-solrj jar 8.2.0
org.apache.commons : commons-compress jar 1.18
org.slf4j : slf4j-api jar 1.6.6
org.slf4j : slf4j-log4j12 jar 1.6.6
commons-logging : commons-logging jar 1.0.4
log4j : log4j jar 1.2.16

Project Modules

There are no modules declared in this project.

PDS Registry

The PDS Registry provides functionality for tracking, searching, auditing, locating, and maintaining artifacts within the system. These artifacts can range from data files and label files, schemas, dictionary definitions for objects and elements, services, etc. The core functionality for this component is satisfied by Apache Solr.

A sub-component of the PDS Registry App (https://github.com/NASA-PDS-Incubator/pds-app-registry).

Documentation

The documentation for the latest release of the PDS Registry, including release notes, installation and operation of the software are online at https://nasa-pds-incubator.github.io/registry/.

If you would like to get the latest documentation, including any updates since the last release, you can execute the "mvn site:run" command and view the documentation locally at http://localhost:8080.

Build

The software can be compiled and built with the "mvn compile" command but in order to create the JAR file, you must execute the "mvn compile jar:jar" command.

In order to create a complete distribution package, execute the following commands:

% mvn site
% mvn package

Release

Here is the procedure for releasing the software both in Github and pushing the JARs to the public Maven Central repo.

Pre-Requisites

  • Make sure you have your GPG Key created and sent to server.
  • Make sure you have your .settings configured correctly for GPG:
<profiles>
  <profile>
    <activation>
      <activeByDefault>true</activeByDefault>
    </activation>
    <properties>
      <gpg.executable>gpg</gpg.executable>
      <gpg.keyname>KEY_NAME</gpg.keyname>
      <gpg.passphrase>KEY_PASSPHRASE</gpg.passphrase>
    </properties>
  </profile>
</profiles>

Operational Release

  1. Checkout the dev branch.

  2. Version the software:

mvn versions:set -DnewVersion=1.2.0
  1. Deploy software to Sonatype Maven repo:
# Operational release
mvn clean site deploy -P release
  1. Create pull request from dev -> master and merge.

  2. Tag release in Github

  3. Update version to next snapshot:

mvn versions:set -DnewVersion=1.3.0-SNAPSHOT

SNAPSHOT Release

  1. Checkout the dev branch.

  2. Deploy software to Sonatype Maven repo:

# Operational release
mvn clean site deploy

Maven JAR Dependency Reference

Official Releases

https://search.maven.org/search?q=g:gov.nasa.pds%20AND%20a:registry&core=gav

Snapshots

https://oss.sonatype.org/content/repositories/snapshots/gov/nasa/pds/registry/

If you want to access snapshots, add the following to your ~/.m2/settings.xml:

<profiles>
  <profile>
     <id>allow-snapshots</id>
     <activation><activeByDefault>true</activeByDefault></activation>
     <repositories>
       <repository>
         <id>snapshots-repo</id>
         <url>https://oss.sonatype.org/content/repositories/snapshots</url>
         <releases><enabled>false</enabled></releases>
         <snapshots><enabled>true</enabled></snapshots>
       </repository>
     </repositories>
   </profile>
</profiles>
gov.nasa.pds

NASA PDS Incubator Project (deprecated)

Our software has now moved orgs to https://github.com/NASA-PDS

Versions

Version
2.2.1
2.2.0
2.1.2
2.1.1
2.1.0