REST is a commonly-used protocol to provide access to remote resources.
JBehave supports accessing resources via REST using the jbehave-rest module.
REST is typically used to access wikis. Each REST provider has its own API.
Currently supported is the Redmine API.
To index the story resources from Redmine from a root URI, use the IndexFromRedmine:
To load a story resource from a URI, use the LoadFromRedmine:
To import story resources to filesystem, use the ImportToFilesystem:
To export story resources from filesystem, use the ExportFromFilesystem:
The import/export functionality is also exposed via Maven goals:
In command-line, without the need to configure the plugin in a pom.xml: