Skip to content

licode/metadatastore

 
 

Repository files navigation

Build Status Coverage Status Code Health

metadatastore

NSLS2 Beamlines metadatastore prototype implemented in MongoDB.

Conda Recipes

Install the most recent tagged build: conda install filestore -c lightsource2-tag

Install the most recent tagged build: conda install filestore -c lightsource2-dev

Find the tagged recipe here and the dev recipe here

metadatastore configuration

Metadatastore requires the following configuration information:

database: metadatastore
port: 27017
host: 127.0.0.1
timezone: US/Eastern

where

This configuration information can live in up to four different places, as defined in the docstring of the load_configuration function in metadatastore/conf.py. In order of increasing precedence:

  1. The conda environment
  • CONDA_ENV/etc/{name}.yaml (if CONDA_ETC_env is defined)
  1. At the system level
  • /etc/{name}.yml
  1. In the user's home directory
  • ~/.config/{name}/connection.yml
  1. Environmental variables
  • {PREFIX}_{FIELD}

where

  • {name} is metadatastore
  • {PREFIX} is MDS and {FIELD} is one of {host, database, port, timezone}

About

MongoDB-backed metadata storage

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%