crowbar/barclamp-crowbar — pull request #430 by cloudedge (2013-03-04 01:09:41+00:00)
Title: Deployment management methods for commit/recall/apply snapshots [1/1]

This pull's primary focus in on managing deployments

commit - moves a snapshot from proposed to committed
recall - deletes the commited
apply - moves from commit to apply
etc

These perform the basic operstions on deployments.

They also do most of the service object items - those have been removed.

There's some initial work on the service object transistion

Also, added some documentation to help people write barclamps.

BDD/features/deployment.feature | 7 +-
.../app/controllers/deployments_controller.rb | 26 +--
crowbar_framework/app/models/barclamp.rb | 60 ++++++-
.../app/models/barclamp_crowbar/attrib_has_node.rb | 63 ++++---
.../app/models/barclamp_crowbar/barclamp.rb | 1 +
crowbar_framework/app/models/deployment.rb | 64 ++++++-
crowbar_framework/app/models/node.rb | 4 +-
crowbar_framework/app/models/service_object.rb | 174 ++++----------------
crowbar_framework/app/models/snapshot.rb | 8 +
crowbar_framework/config/locales/crowbar/en.yml | 2 +
.../test/unit/attrib_has_node_test.rb | 5 +-
.../test/unit/deployment_model_test.rb | 80 ++++++++-
crowbar_framework/test/unit/node_model_test.rb | 2 +-
doc/devguide/model/crowbar_model.md | 36 ++++
14 files changed, 321 insertions(+), 211 deletions(-)

Crowbar-Pull-ID: ecad38d554624da9676952f3975341f26e1ca2b3

Crowbar-Release: development