Limit the undo on failures to only stop or scale down

Refactor undo
Unify controller error handling specs in model_controller_spec

-Remove error handling shared behavior

[#72663842]

Signed-off-by: Joseph Palermo <jpalermo@pivotallabs.com>
updated API doc info in README
Clean up model_controller_spec

- Make requests instead of calling controller methods directly

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Remove "an authenticated endpoint" shared example

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Move collection modification specs into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Merge remote-tracking branch 'origin/pr/219'

Signed-off-by: Dave Liebreich <dliebreich@pivotallabs.com>

Conflicts:
	app/models/runtime/app.rb
	spec/unit/models/runtime/app_spec.rb
Move collection specs into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Move creation shared examples into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Move updating shared examples into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Move deletion shared examples into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Undo both scale and start when undoing changes on applications.

* modify #219 to always undo both scale and start as they can both be changed
  through one request.

[#70554244]

Signed-off-by: Dave Liebreich <dliebreich@pivotallabs.com>
Move enumeration shared examples into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Move querying shared examples into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Move reading shared examples into model_controller_spec

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Remove unused database test table; Shorten name of test join table

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Clean up unique_attributes shared examples to use shared example blocks
rather than methods

[#72663842]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Merge branch 'master' of https://github.com/cloudfoundry/cloud_controller_ng
Add egress rules to staging and start messages to DEA

* Address rspec deprecation in app_stager_task_spec
* Add rspec-collection_matchers
* Change `be_false` to `be false`

[#71585132]

Signed-off-by: Zach Robinson <zrobinson@pivotallabs.com>
Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>