crowbar/barclamp-crowbar — pull request #482 by VictorLowther (2013-03-21 18:13:59+00:00)
Title: Enable threading for the web app, and make get_cli and log gathering work as expected. [1/1]

This pull request does two things:

1: Enable threading for the main Crowbar web app. This lets the
Crowbar webserver have some sort of parallelism in the face of
multiple concurrent requests.

2: Change how authentication is handled for the support controller to
let the get_cli and logs methods behave as expected when we are not
calling them directly from a web browser. (e.g, via curl or the API).

BDD/features/authenticate.feature | 10 +--
BDD/features/crowbar_cli.feature | 8 +--
.../app/controllers/application_controller.rb | 21 +++---
.../app/controllers/support_controller.rb | 36 ++++------
crowbar_framework/config/application.rb | 7 +-
.../config/environments/development.rb | 30 ++++----
.../config/environments/production.rb | 76 ++++++++++----------
crowbar_framework/config/environments/test.rb | 57 ++++++++-------
crowbar_framework/puma.cfg | 1 +
9 files changed, 117 insertions(+), 129 deletions(-)

Crowbar-Pull-ID: 3856c2447db6060dfc2fb162fb542fed3ab69794

Crowbar-Release: development