jboss-jdf/jdf-stack — pull request #37 by robstryker (2014-03-17 12:44:36+00:00)
Title: JDF-683 - runtimes that require subscriptions should still have urls

Adding download urls for the various runtimes that require credentials and subscriptions. This url will analyze the incoming request and determine whether to forward it to the web UI, return an xml response, or simply download the file immediately (if all requirements are met).

A typical request from a browser will either download the file immediately (if terms and conditions are signed) or redirect to the web ui.

If the request has a header Accepts: application/xml, then it will either download the file immediately or return an xml response linking to a rest workflow of what's missing.