dellcloudedge/barclamp-crowbar — pull request #300 by aabes (2012-12-12 21:21:45+00:00)
Title: CMDB/proposal code and tests. WIP [1/2]

see commit messages for details.

crowbar_framework/Gemfile | 4 +-
crowbar_framework/app/models/barclamp.rb | 79 ++++++++------
crowbar_framework/app/models/cmdb.rb | 60 ++++++++---
crowbar_framework/app/models/cmdb_chef.rb | 24 ++++-
crowbar_framework/app/models/cmdb_event.rb | 13 ++-
crowbar_framework/app/models/cmdb_executer.rb | 38 +++++++
crowbar_framework/app/models/cmdb_run.rb | 17 ++-
crowbar_framework/app/models/proposal.rb | 14 +++
crowbar_framework/app/models/proposal_config.rb | 1 +
crowbar_framework/app/models/proposal_object.rb | 1 +
crowbar_framework/app/models/role.rb | 6 +-
crowbar_framework/app/models/role_object.rb | 2 +
.../config/environments/development.rb | 4 +
crowbar_framework/config/environments/test.rb | 9 +-
.../migrate/20120730230713_create_cmdb_events.rb | 2 +
.../db/migrate/20120730230714_create_cmdb_runs.rb | 4 +-
.../db/migrate/20120731225504_create_roles.rb | 5 +-
crowbar_framework/spec/models/cmdb_spec.rb | 108 ++++++++++++++++++++
crowbar_framework/test/data/bc-foo.json | 38 +++++++
crowbar_framework/test/test_helper.rb | 2 +
crowbar_framework/test/unit/barclamp_model_test.rb | 25 +++++
21 files changed, 394 insertions(+), 62 deletions(-)

Crowbar-Pull-ID: 22dafe8f1da6002e31b5ba3027568a4476fd5495

Crowbar-Release: development