dellcloudedge/barclamp-crowbar — pull request #128 by galthaus (2012-08-07 20:57:48+00:00)
Title: Start using the core objects for saving and retrieving config. More to do, but progress. [2/7]

crowbar.yml | 1 +
.../app/controllers/barclamp_controller.rb | 124 ++++++-------
.../app/controllers/crowbar_controller.rb | 10 -
.../app/helpers/application_helper.rb | 4 +-
crowbar_framework/app/models/barclamp.rb | 63 ++++++-
crowbar_framework/app/models/crowbar_service.rb | 65 +++----
crowbar_framework/app/models/node_role.rb | 10 +
crowbar_framework/app/models/proposal.rb | 28 +++-
crowbar_framework/app/models/proposal_config.rb | 69 +++++++-
crowbar_framework/app/models/proposal_object.rb | 2 +
crowbar_framework/app/models/role.rb | 3 +-
crowbar_framework/app/models/role_element_order.rb | 20 ++
crowbar_framework/app/models/service_object.rb | 186 +++++---------------
.../app/views/barclamp/index.html.haml | 2 +-
crowbar_framework/config/environments/test.rb | 2 +
crowbar_framework/config/locales/crowbar/en.yml | 1 +
...731225541_create_node_roles_proposal_configs.rb | 3 +
...0731225817_create_proposal_configs_proposals.rb | 22 ---
.../20120731225838_create_proposal_configs.rb | 4 +-
.../db/migrate/20120731225914_create_proposals.rb | 3 +
.../20120731225993_create_role_element_orders.rb | 23 +++
crowbar_framework/lib/tasks/fixtures.rake | 20 ++
crowbar_framework/test/test_helper.rb | 4 +-
crowbar_framework/test/unit/barclamp_model_test.rb | 132 ++++++++++++++
crowbar_framework/test/unit/proposal_model_test.rb | 27 +++
25 files changed, 533 insertions(+), 295 deletions(-)