This patch is intended to fix only the case listed in $subject,
specifically in the non-bundler setup (though it should certainly
cause far fewer fails with no services running under bundler as well).
Note that I had to make somewhat of a temprary fix due to time
constraints, which is noted as such in the spec_helper. If you run
specs from system gems before this patch, and turns off the deltacloud
service, you wil get in the vicinity of 180-some-odd failures. After
the patch you should get 0. I plan to keep poking at this next week,
but that will miss code freeze. My plan is to try to sneak in fixes
for the 3 or so remaining fails that are caused when iwhd is not
running, and to see why controllers fail without the above-mentioned
temporary fix in spec_helper.
I noticed a couple major issues that need some though (and hopefully
will at least partly be covered by upcoming arch improvements, pending
* Our code is _really_ intertwined in a number of areas. This makes
for a tough row to hoe with some of the tests. When a developer has
to dig through 4-6 different models to figure out what needs to be
stubbed to get a single model's tests passing, that is a _bad
thing(tm)_. We need better encapsulation of our code.
* A number of our controller tests are actually testing the model
behavior, which is flat out wrong. Test models in model specs.
Controller specs should _only_ be testing against mock_models and
verifying things like 'method called', variable set, etc. Otherwise
you are testing business logic in the wrong place.
This patch adds hwp creation, deletion and listing functionality to the cli.
To test the functionality, please modify the :url entry in your ~/.aeolus-cli file to something like ":url: http://<host>/conductor" i.e, remove the /api from the :url entry. This is because all the conductor side funcitonality has been implemented by modifying the hardware_profile cotroller itself. You could also modify the routes.rb on the conductor side, but I personally found the former easier to do.
RM3392, RM3394 This patchset updates the converge-ui used by Conductor
it. Patchset also makes Conductor to use converge-ui Login layout.
git-send-email won't allow me to send the patchset so I added the
patches as attachment.
(rev2: fixed symlink creation)