crowbar/barclamp-crowbar — pull request #475 by cloudedge (2013-03-19 02:05:17+00:00)
Title: Barclamp Version screen & role_type refactoring incremental [1/1]

This pull disables the barclamp import function (which was broken) and replaces it with
a read only view for barclamp versions.

This pull has incremental progress towards eleminating role_type via role.name. The objective
of the changes are to put the name into BOTH name and role_type. Once this is done
consistently, we can more easily start to eliminate role_type.

Also, Crowbar deployment now requires all the core barclamps. It looks like this is not correctly
surfaced in the graph view. I'll check on that.

BDD/features/support.feature | 8 ++
.../app/controllers/nodes_controller.rb | 5 +-
.../app/controllers/support_controller.rb | 98 +-------------
crowbar_framework/app/models/barclamp.rb | 3 +-
.../app/models/barclamp_crowbar/barclamp.rb | 16 ++-
crowbar_framework/app/models/node.rb | 2 +-
crowbar_framework/app/models/role.rb | 3 +-
crowbar_framework/app/models/snapshot.rb | 27 ++--
.../app/views/support/import.html.haml | 136 +++-----------------
crowbar_framework/config/locales/crowbar/en.yml | 18 +--
.../db/migrate/20120723233100_create_navs.rb | 2 +-
crowbar_framework/test/unit/snapshot_model_test.rb | 6 +-
12 files changed, 71 insertions(+), 253 deletions(-)

Crowbar-Pull-ID: d8c62402d01635f27e189931c5945ebc2278fbfd

Crowbar-Release: development