dellcloudedge/barclamp-crowbar — pull request #279 by juddmaltin-dell (2012-11-21 20:03:37+00:00)
Title: CmdbRun and CmdbEvent basics, with unit tests [1/1]

crowbar_framework/.gitignore | 1 +
crowbar_framework/app/models/cmdb_attribute.rb | 2 +-
crowbar_framework/app/models/cmdb_event.rb | 60 ++++++++-------
crowbar_framework/app/models/cmdb_event_chef.rb | 65 ++++++++++++++++
crowbar_framework/app/models/cmdb_event_test.rb | 43 +++++++++++
crowbar_framework/app/models/cmdb_run.rb | 37 +++++++++-
crowbar_framework/app/models/cmdb_run_test.rb | 36 +++++++++
crowbar_framework/app/models/role.rb | 2 +-
crowbar_framework/app/models/role_map.rb | 31 ++++++++
crowbar_framework/db/crowbar_cmdb_classes.dia | Bin 0 -> 5862 bytes
.../db/migrate/20120730230520_create_cmdb_runs.rb | 1 +
.../migrate/20120730230713_create_cmdb_events.rb | 5 +-
.../db/migrate/20120731225504_create_roles.rb | 24 ++++++
.../db/migrate/20120731225923_create_roles.rb | 24 ------
.../db/migrate/20120810233501_create_role_maps.rb | 27 +++++++
.../test/unit/cmdb_event_model_test.rb | 78 ++++++++++++++++++++
crowbar_framework/test/unit/cmdb_run_model_test.rb | 74 +++++++++++++++++++
crowbar_framework/test/unit/role_map_model_test.rb | 30 ++++++++
crowbar_framework/test/unit/role_model_test.rb | 53 +++++++++++++
19 files changed, 537 insertions(+), 56 deletions(-)

Crowbar-Pull-ID: 0fb0e947486a4a60cef740e27a3acf39a1a1830c

Crowbar-Release: development