crowbar/barclamp-crowbar — pull request #672 by cloudedge (2013-08-30 21:50:44+00:00)
Title: Allow setting of deployment-role values for testing, merges & bug fixes [1/2]

The primary purpose of this pull was to set the node-deployment.template delay value so that
we can use the test roles for annealer testing. That turned out to require a tweak to the
BDD json parsing.

ALso included:
* merge w/ VLs changes
* added node-role event stubs
* UI tweaks for VL
* minor bugs and refactoring

Next step is to start testing the Annealer (I hope)

BDD/features/attrib.feature | 19 ++++
BDD/features/role.feature | 5 +
BDD/json.erl | 5 +-
BDD/role.erl | 8 ++
.../app/controllers/roles_controller.rb | 9 +-
crowbar_framework/app/models/jig.rb | 4 +
crowbar_framework/app/models/node.rb | 30 ++----
crowbar_framework/app/models/node_role.rb | 28 +++++-
crowbar_framework/app/models/role.rb | 40 +++++---
crowbar_framework/app/models/snapshot.rb | 7 +-
.../app/views/deployments/show.html.haml | 3 +-
.../app/views/node_roles/index.html.haml | 11 ++-
.../app/views/node_roles/show.html.haml | 3 +
crowbar_framework/app/views/nodes/_show.html.haml | 65 ++++---------
crowbar_framework/app/views/nodes/show.html.haml | 7 +-
crowbar_framework/config/locales/crowbar/en.yml | 102 +++++++++++++++-----
crowbar_framework/config/locales/en.yml | 1 +
crowbar_framework/config/routes.rb | 39 ++++----
.../db/migrate/20120731225600_create_attribs.rb | 2 +-
doc/devguide/api/node_role.md | 22 +++++
doc/devguide/api/role.md | 10 ++
21 files changed, 282 insertions(+), 138 deletions(-)

Crowbar-Pull-ID: 0f99e0d933044742f292cbdb33a1c04d5ddf1b2e

Crowbar-Release: development