cyverse-de/metadata

Name: metadata

Owner: CyVerse Discovery Environment

Description: null

Created: 2016-08-29 19:49:59.0

Updated: 2016-08-29 23:33:55.0

Pushed: 2017-11-08 17:11:52.0

Homepage: null

Size: 221

Language: Clojure

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

metadata

The REST API for the Discovery Environment Metadata services.

Once running, endpoint documentation may be viewed by navigating a web browser to the server and port this service is configured to run on, at the /docs endpoint. For example, if running the service with lein ring server, then viewing http://localhost:60000/docs in a browser would display the documentation of all available endpoints.

Usage
Configuration

This program requires a configuration file to run, passed via the --config command-line argument or found by default at /etc/iplant/de/metadata.properties. A sample configuration:

nnection details.
data.app.listen-port = 60000

tabase settings.
data.db.subprotocol = postgresql
data.db.host        = localhost
data.db.port        = 5432
data.db.name        = metadata
data.db.user        = de
data.db.password    = overwhelmingly-secret
Run the application locally

lein ring server

Packaging and running as standalone jar
 do clean, uberjar
 -jar target/metadata-standalone.jar -c /path/to/configs

or

 -cp target/metadata-standalone.jar:conf/test/:/path/to/configs/ metadata.core
Run with Docker

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.