crowbar/barclamp-crowbar — pull request #422 by cloudedge (2013-03-01 13:16:17+00:00)
Title: Changes to enable attributes for jig injection (incremental) [1/1]

This pull is the foundation for methods that allow us to
commit and activate deployments.

They also enable us to create the information needed to
inform the Chef jig.

There is still work to do - this just surfaces the DB fields.

KNOWN ISSUE: element-order is not working yet.

I am having issues w/ the network tests - there is a hack to make
them run in this pull that should be removed when we have the
tests working better. The network BDD tests are not passing for me.

BDD/bdd.hrl | 5 +-
BDD/bdd_restrat.erl | 24 ++-
BDD/crowbar.erl | 2 +
BDD/crowbar_rest.erl | 8 +-
BDD/deployment.erl | 3 +-
BDD/simple_auth.erl | 13 +-
.../app/controllers/application_controller.rb | 7 +-
.../scaffolds/role_element_orders_controller.rb | 19 ---
crowbar_framework/app/models/barclamp.rb | 31 ++--
crowbar_framework/app/models/deployment.rb | 8 +-
crowbar_framework/app/models/role.rb | 2 +
crowbar_framework/app/models/role_element_order.rb | 23 ---
crowbar_framework/app/models/role_type.rb | 4 -
crowbar_framework/app/models/snapshot.rb | 6 +-
.../app/views/barclamp/graph.html.haml | 15 +-
crowbar_framework/config/locales/crowbar/en.yml | 2 +
crowbar_framework/config/routes.rb | 1 -
.../migrate/20120731225466_create_deployments.rb | 1 +
.../db/migrate/20120731225476_create_snapshots.rb | 1 +
.../db/migrate/20120731225510_create_roles.rb | 2 +-
.../20120731225993_create_role_element_orders.rb | 23 ---
crowbar_framework/spec/models/jig_spec.rb | 7 +-
crowbar_framework/test/barclamp_network_test.rb | 7 +
crowbar_framework/test/network_test_helper.rb | 179 ++++++++++++++++++++
24 files changed, 286 insertions(+), 107 deletions(-)

Crowbar-Pull-ID: 2feaf97de8a94a8cec0952ffb00022ed1694533c

Crowbar-Release: development