Robot suite that handles notifying goobi via a web service call to dor-web-service
Check the Wiki in the robot-master repo.
Ruby 2.5.3
- Install gems:
$ bundle install
- 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
- Edit
config/environments/development.rb
to setup connections to actual dor-web-service
External services are not called in the tests, everything is stubbed out, so you do not need actual connections to things.
$ bundle exec rake
Specify the environment you want to use:
$ bin/console development
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
$ cap development deploy
$ cap staging deploy
$ cap production deploy