sul-dlss/goobi-robot

Name: goobi-robot

Owner: Stanford University Digital Library

Description: goobiWF Robot Suite

Created: 2016-10-28 21:52:41.0

Updated: 2018-04-26 15:53:35.0

Pushed: 2018-05-18 13:57:24.0

Homepage:

Size: 35

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status Coverage Status

GoobiWF Robot Suite

Robot suite that handles notifying goobi via a web service call to dor-web-service

Documentation

Check the Wiki in the robot-master repo.

Dependences

Ruby 2.2.2

Setup
  1. Install gems:
ndle install
  1. Copy the example.rb config file to a development file and so you can run in development mode:
 config/environments/example.rb config/environments/development.rb
  1. Edit config/environments/development.rb to setup connections to actual dor-web-service
Running tests

External services are not called in the tests, everything is stubbed out, so you do not need actual connections to things.

ndle exec rake
Testing on the console

Specify the environment you want to use:

n/console development  
Run a single robot on a specific druid

Specify the robot you want to run, also specify environment with -e flag and druid with -d flag.

If you want to run multiple druids, instead of specifying a single druid with a -d flag, you can specify a text filename as a -f flag, with one druid per line.

n/run_robot dor:goobiWF:goobi-notify -e development -d druid:bb027yn4436
Deploy
p development deploy
p staging deploy
p production deploy

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.