crowbar/barclamp-chef — pull request #44 by cloudedge (2013-03-25 17:14:50+00:00)
Title: Pull Conn_Info back into Jig to help debug connection issues [2/2]

This pull supports work by Andi, Victor and Rob to make it easier to connect the
Crowbar server to the Chef server.

Upon looking at the code, we were having issues w/ the conn_info model. The information
in this table was generic to Jigs and we moved it back into the Jig.

We are also moving some of the Chef_Api model components into the ChefJig model to
make it easier to troubleshoot connection issues.

The UI has been updated to reflect the new information.

This pull also introduces the ooncept of "active" Jigs so that we can start
to ignore Jigs that are not active.

.../app/models/barclamp_chef/barclamp.rb | 25 +++---
.../barclamp_chef/app/models/barclamp_chef/jig.rb | 92 +++++++++++---------
.../app/models/barclamp_chef/jig_chef_conn_info.rb | 21 -----
.../migrate/20121120013023_barclamp_import_chef.rb | 2 +-
.../barclamp_chef/lib/barclamp_chef/chef_api.rb | 10 +--
.../lib/barclamp_chef/inject_connection.rake | 33 +++----
6 files changed, 76 insertions(+), 107 deletions(-)

Crowbar-Pull-ID: 1f6bedb75a54a34cedece6ed5d38fca28d62dec9

Crowbar-Release: development