crowbar/barclamp-crowbar — pull request #499 by cloudedge (2013-04-03 21:47:21+00:00)
Title: Inbound Path from Chef (also included BDD fix) [1/2]

This is the preliminary pull of the inbound data path for Chef data.

You must have a chef-jig for this to work - it only works for Chef.

The mapping of the attributes is managed by a yml file for each barclamp.

I included a small BDD fix which was causing the framework to throw an error
after it ran all the tets.

BDD/bdd.erl | 48 +++++------
BDD/bdd_print.erl | 34 +++++---
BDD/bdd_utils.erl | 2 +-
BDD/features/node_graph.feature | 9 +++
config-template.yml | 27 +------
.../app/controllers/dashboard_controller.rb | 5 ++
.../app/controllers/deployments_controller.rb | 8 +-
.../app/controllers/nodes_controller.rb | 13 ++-
crowbar_framework/app/models/barclamp.rb | 83 ++++++++++++--------
.../app/models/barclamp_crowbar/barclamp.rb | 1 +
.../app/models/barclamp_crowbar/jig.rb | 12 ---
crowbar_framework/app/models/jig.rb | 74 +++++++++--------
crowbar_framework/app/models/jig_run.rb | 2 +-
.../app/views/barclamp/_index.html.haml | 16 ++--
.../app/views/barclamp/graph.html.haml | 14 ++--
.../app/views/dashboard/graph.html.haml | 14 ++++
.../app/views/deployments/_buttons.html.haml | 4 +-
.../app/views/deployments/_led.html.haml | 8 ++
.../app/views/deployments/show.html.haml | 2 +-
crowbar_framework/app/views/nodes/_show.html.haml | 2 +-
crowbar_framework/config/locales/crowbar/en.yml | 19 ++---
crowbar_framework/config/routes.rb | 5 +-
.../test/data/foo/config-template.yml | 25 ++++++
.../test/unit/barclamp_node_data_test.rb | 19 +++--
24 files changed, 263 insertions(+), 183 deletions(-)

Crowbar-Pull-ID: 19fa58341eb0180071165429bbaa835394be29fb

Crowbar-Release: development