dellcloudedge/barclamp-crowbar — pull request #138 by cloudedge (2012-08-14 02:47:59+00:00)
Title: Update Node dashboard and views to use the base [1/5]

Migrate the node controller to change over to the database
This includes DOCUMENTATION for the API changes
and some unit tests.

crowbar_framework/BDD/README.txt | 17 -----
crowbar_framework/BDD/bdd_webrat.erl | 4 +
crowbar_framework/BDD/dashboard.feature | 52 --------------
crowbar_framework/BDD/linux.sh | 1 +
crowbar_framework/BDD/navigation.feature | 2 +-
crowbar_framework/BDD/nodes.feature | 30 ++++++++
crowbar_framework/BDD/scaffolds.feature | 10 ---
.../app/controllers/barclamp_controller.rb | 2 +-
.../app/controllers/nodes_controller.rb | 68 ++++++++----------
crowbar_framework/app/models/barclamp.rb | 5 ++
crowbar_framework/app/models/group.rb | 5 ++
crowbar_framework/app/models/node.rb | 74 +++++++++++++++++++-
crowbar_framework/app/models/node_object.rb | 8 ++
crowbar_framework/app/views/nodes/_show.html.haml | 64 +++++++++---------
crowbar_framework/app/views/nodes/index.html.haml | 35 +++++-----
crowbar_framework/config/locales/crowbar/en.yml | 2 +-
crowbar_framework/config/routes.rb | 14 +++-
.../db/migrate/20120731225516_create_nodes.rb | 1 +
crowbar_framework/doc/crowbar.yml | 3 +
.../doc/default/crowbar/devguide/api.md | 32 ---------
.../doc/default/crowbar/devguide/api/barclamp.md | 26 +++++++
.../doc/default/crowbar/devguide/api/node.md | 67 ++++++++++++++++++
.../doc/default/crowbar/devguide/api/proposal.md | 28 ++++++++
crowbar_framework/lib/api_helper.rb | 32 +++++---
24 files changed, 364 insertions(+), 218 deletions(-)