sul-dlss/wfs_rails

Name: wfs_rails

Owner: Stanford University Digital Library

Description: A Rails engine for testing/using Stanford WorkFlowServices. See https://github.com/sul-dlss-labs/workflow-server-rails

Created: 2015-11-15 21:04:47.0

Updated: 2018-05-15 15:00:16.0

Pushed: 2018-05-15 15:00:16.0

Homepage:

Size: 57

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

WFS Rails

Build Status

WFS Rails is a Rails engine for testing and development with Stanford's DOR Worklow Services.

The Rails engine stubs several of the most frequently used Workflow Services routes (but not all of them). See config/routes.rb for implemented routes.

Installing

Add to Gemfile

'wfs_rails'

Then bundle install

Next add this to config/routes.rb:

s.application.routes.draw do
unt WfsRails::Engine => '/'

Finally run:

 wfs_rails:install:migrations
Alternative install

You may choose to use Capybara::Discoball which expects to use your application's Rails database as storage for Workflow Service data. The advantage of using WFS Rails is that you don't need to access any external Workflow APIs during development or testing (this is especially useful when building on Travis).

To set up and use WFS Rails in your project, take a look at this Argo pull request:

https://github.com/sul-dlss/argo/pull/317/files


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.