Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

sul-dlss-deprecated/goobi-robot

Repository files navigation

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.5.3

Setup

  1. Install gems:
$ bundle install
  1. Copy the example.rb config file to a development file and so you can run in development mode:
$ cp 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.

$ bundle exec rake

Testing on the console

Specify the environment you want to use:

$ bin/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.

$ bin/run_robot dor:goobiWF:goobi-notify -e development -d druid:bb027yn4436

Deploy

$ cap development deploy
$ cap staging deploy
$ cap production deploy

About

DEPRECATED: This repo has been merged into common-accessioning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages