crowbar/barclamp-crowbar — pull request #606 by VictorLowther (2013-07-15 21:35:14+00:00)
Title: Refactor to add the NodeRole state machine. [1/1]

As the title says.

BDD/features/deployment.feature | 4 +-
.../app/models/barclamp_crowbar/jig.rb | 2 +-
crowbar_framework/app/models/deployment.rb | 66 +++---
crowbar_framework/app/models/node.rb | 8 +-
crowbar_framework/app/models/node_role.rb | 215 +++++++++++++++-----
crowbar_framework/app/models/snapshot.rb | 89 ++++----
.../config/initializers/crowbar_deployment.rb | 28 +--
.../migrate/20120731225466_create_deployments.rb | 1 +
.../db/migrate/20120731225476_create_snapshots.rb | 2 -
.../db/migrate/20120731310000_create_node_roles.rb | 2 +-
crowbar_framework/test/unit/node_model_test.rb | 9 +-
11 files changed, 272 insertions(+), 154 deletions(-)

Crowbar-Pull-ID: d707212ffea372a28f7384d2f7e99a8efeeb13a1

Crowbar-Release: development