crowbar/barclamp-provisioner — pull request #159 by cloudedge (2013-06-30 15:59:52+00:00)
Title: Refactoring WIP with model as per discussions and engine migrations (resubmitted #2) [3/7]

This is a preliminary step for refactoring where a lot of old models have been removed
and new ones added.

I'm pulling out old code and migrating to models

crowbar.yml files are starting to change
new jigs/roles templates are in place
dramatically simplifed way docs are discovered
removing old routes that we want to eliminate

STATUS:
YES> database migrations
YES> the web app running
NO> rspec tests are passing
NO> unit tests are passing
NO> bdd tests are passing
NO> basic UI screens for nodes, roles, barclamps, etc
NO> all core barclamps are updated

build.sh | 23 ++++
chef/roles/provisioner-base/node-template.json | 132 ++++++++++++++++++++
chef/roles/provisioner-base/role-template.json | 132 ++++++++++++++++++++
chef/roles/provisioner-server/node-template.json | 132 ++++++++++++++++++++
chef/roles/provisioner-server/role-template.json | 132 ++++++++++++++++++++
crowbar.yml | 35 ++----
crowbar_engine/barclamp_provisioner/.gitignore | 7 ++
crowbar_engine/barclamp_provisioner/Gemfile | 17 +++
crowbar_engine/barclamp_provisioner/Rakefile | 40 ++++++
.../app/models/barclamp_provisioner/barclamp.rb | 19 +++
.../barclamp_provisioner/provisioner_service.old | 118 +++++++++++++++++
.../_edit_deployment.html.haml | 12 ++
.../barclamp_provisioner.gemspec | 23 ++++
.../config/initializers/api.rb | 17 +++
.../barclamp_provisioner/config/provisioner/en.yml | 18 +++
.../20120801015057_barclamp_import_provisioner.rb | 24 ++++
.../lib/barclamp_provisioner.rb | 4 +
.../lib/barclamp_provisioner/engine.rb | 5 +
.../lib/barclamp_provisioner/version.rb | 3 +
.../lib/tasks/barclamp_provisioner_tasks.rake | 4 +
.../app/controllers/provisioner_controller.rb | 55 --------
.../app/models/provisioner_service.rb | 118 -----------------
.../provisioner/_edit_deployment.html.haml | 12 --
.../config/locales/provisioner/en.yml | 21 ----
.../20120801015057_barclamp_import_provisioner.rb | 24 ----
script/roles/provisioner-base/node-template.json | 132 ++++++++++++++++++++
script/roles/provisioner-base/role-template.json | 132 ++++++++++++++++++++
script/roles/provisioner-server/node-template.json | 132 ++++++++++++++++++++
script/roles/provisioner-server/role-template.json | 132 ++++++++++++++++++++
29 files changed, 1403 insertions(+), 252 deletions(-)

Crowbar-Pull-ID: 05affc5047396c514209afe13a4f0835098ecf02

Crowbar-Release: development