Catch instances less than zero error

This change prevents the number of App instances being set to a negative
number
Allow empty string to reset start command

[closes #56378166]
Clarify tests about scaling from above quota to below quota

[Closes #52843321]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Add missing config flapping_crash_count_threshold

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Add HEADER_BROKER_API_VERSION to broker request headers.

[finishes #60302194]
Cloudcontroller can send job information with full urls (rather than just paths)

Signed-off-by: Phan Le <ple@pivotallabs.com>
Merge branch 'instances_error' of https://github.com/bravera/cloud_controller_ng

Conflicts:
	spec/models/runtime/app_spec.rb
add 'enabled' flag to buildpacks

Disabled buildpacks will not be included in staging messages sent by the
CC. This will be implemented in a later commit.

[#57673254]

Signed-off-by: Johannes Tuchscherer <jtuchscherer@pivotallabs.com>
exclude disabled buildpacks from staging message

moved the logic for staging message generation into the app stager task
and out of the model.

[finishes #57673254]

Signed-off-by: Johannes Tuchscherer <jtuchscherer@pivotallabs.com>
stop using standard_model_object

Signed-off-by: Johannes Tuchscherer <jtuchscherer@pivotallabs.com>
Added a regular expression to check for escape characters in object names.
Re-enable deleting shared tests

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
do not allow deletion if there are associated instances

Signed-off-by: Zach Robinson <zrobinson@pivotallabs.com>
Print #inspect of request body instead of #to_s.

This will make it clearer when the request is nil.

[#57777458]
Signed-off-by: Zach Robinson <zrobinson@pivotallabs.com>
add configuration to disable custom buildpacks

disable_custom_buildpacks: (true|false)

[finishes #57673254]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
hm9000 respondent stops apps that have failed to stage
prevent staging custom buildpacks when disabled

[finishes #57673254]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Merge branch 'disable-custom-buildpacks'
fix app configuration spec

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Delete obsolete directory properties