Git Product home page Git Product logo

drs-verify's Introduction

drs-verify

DRS Verify service provides API for verifying ingest and update of OCFL objects in S3.

API

Verify

Actuator

  • Info : GET /actuator/info
  • Health : GET /actuator/health
  • Logfile : GET /actuator/logfile

Environment

Here are some of the environment variables that can be set. See application.yml configuration that can be set via environment variables.

Variable Description Default
LOGGING_FILE_PATH path to store logs logs
LOGGING_LEVEL_EDU_HARVARD_DRS drs package log level DEBUG
LOGGING_LEVEL_ORG_SPRINGFRAMEWORK spring log level INFO
LOGGING_LEVEL_WEB we log level INFO
SERVER_PORT port service listening on 9000
SPRING_PROFILES_ACTIVE active profile development
AWS_BUCKET_NAME AWS S3 bucket name drs-preservation
AWS_REGION AWS region us-east-1
AWS_ACCESS_KEY_ID AWS access key id foo
AWS_SECRET_ACCESS_KEY AWS secret access key bar
AWS_ENDPOINT_OVERRIDE AWS endpoint override

Run

Build

mvn clean package

Run

java -jar target\verify-<version>.jar

Development

Start with devtools

mvn clean spring-boot:run

Test

Run Tests

mvn clean test

Docker

Build

docker build --no-cache -t drs-verify .

Run

docker run -v /logs:/logs --env-file=.env drs-verify

Docker Compose

Build image for local use

docker-compose -f docker-compose-local.yml build --no-cache

Build image for repository

docker-compose -f docker-compose.yml build --no-cache --build-arg TAG=<image tag>

Run locally

docker-compose -f docker-compose-local.yml up

If using docker, do not forget to copy .env.example to .env and update accordingly.

drs-verify's People

Contributors

cvicary avatar daveneiman avatar jessjass avatar ktamaral avatar wwelling avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.