dellcloudedge/barclamp-crowbar — pull request #286 by cloudedge (2012-12-03 16:32:17+00:00)
Title: Node-Attribute Mapping API [1/1]

This requests includes the core working of the API for
node-attribute mapping using /2.0/crowbar/2.0/node/ID/attrib/ID
with GET, POST & DELETE to create, check, and break the mappings.

The pull includes BDD tests and documentation to support the API.

Minor refactoring for the BDD framework including cleanups. The
most significant BDD change was renaming "nodes" to "node" to match
the correct API pattern. A similar change needs to be made
to the "groups" feature.

The build was checked as an ISO build. I am haivng issues with the "./dev run-$

NOTE: This pull includes BDD Form tests that had not yet been pulled in.

crowbar_framework/BDD/bdd.erl | 13 ++-
crowbar_framework/BDD/bdd_restrat.erl | 13 ++-
crowbar_framework/BDD/bdd_utils.erl | 39 +++++-
crowbar_framework/BDD/bdd_webrat.erl | 10 ++
crowbar_framework/BDD/crowbar.erl | 9 +-
crowbar_framework/BDD/dev.erl | 10 +-
crowbar_framework/BDD/eurl.erl | 114 ++++++++++++++--
.../BDD/features/authenticate.feature | 2 +-
crowbar_framework/BDD/features/node.feature | 98 ++++++++++++++
crowbar_framework/BDD/features/nodes.feature | 109 ---------------
crowbar_framework/BDD/features/scaffolds.feature | 2 +-
crowbar_framework/BDD/features/users.feature | 11 ++-
crowbar_framework/BDD/groups.erl | 6 +-
crowbar_framework/BDD/node.erl | 141 ++++++++++++++++++++
crowbar_framework/BDD/nodes.erl | 61 ++-------
crowbar_framework/BDD/users.erl | 9 +-
.../app/controllers/crowbar_controller.rb | 41 ++++++-
crowbar_framework/config/routes.rb | 5 +-
.../db/migrate/20120723233100_create_navs.rb | 2 +-
19 files changed, 498 insertions(+), 197 deletions(-)

Crowbar-Pull-ID: 01be6d26a43b7376aa4b57ec38931df719589b7c

Crowbar-Release: development