dellcloudedge/barclamp-crowbar — pull request #311 by galthaus (2012-12-29 06:55:31+00:00)
Title: Unit test additions and clean-up to enable the mysql barclamp to be applied [1/4]

In this pull request set, the following things are addressed:
1. Addition of a mostly complete unit test for the proposal_config model
2. Clean-up of warnings in the BDD code in both crowbar and network barclamps
3. Fix error/bug in keystone that keep it from being created.
4. Fix error/bug in glance that keep it from being created.
5. Fix/change update_proposal_status to operate on the proposal_config and not the active proposal.

As a side effect of the unit test for proposal_config, there are lots of
bugs fixed with the side effect that the mysql barclamp can be create and committed.

With the fix to keystone, glance, and the proposal update function, glance and keystone deploy.

crowbar_framework/BDD/authenticate.erl | 4 +-
crowbar_framework/BDD/digest_auth.erl | 14 +-
crowbar_framework/BDD/features/scaffolds.feature | 4 +-
crowbar_framework/BDD/simple_auth.erl | 20 +-
crowbar_framework/BDD/users.erl | 2 +-
crowbar_framework/app/models/barclamp.rb | 3 +-
crowbar_framework/app/models/proposal_config.rb | 34 +-
crowbar_framework/app/models/proposal_queue.rb | 11 +-
crowbar_framework/app/models/service_object.rb | 8 +-
.../app/models/==BC-MODEL==_service.rb | 2 +-
crowbar_framework/script/crowbar_requester.rb | 6 +-
crowbar_framework/script/crowbar_runner.rb | 12 +-
.../spec/models/proposal_queue_spec.rb | 21 +-
.../test/unit/proposal_config_model_test.rb | 338 ++++++++++++++++++++
crowbar_framework/test/unit/proposal_model_test.rb | 1 +
15 files changed, 414 insertions(+), 66 deletions(-)

Crowbar-Pull-ID: f9a4b0b232ba0d5c60bf89d5cf3cd43798dfe8a0

Crowbar-Release: development