Catch instances less than zero error

This change prevents the number of App instances being set to a negative
number
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
Include syslog_drain_url in service bindings

This is to ensure that the syslog_drain_url field will appear in
VCAP_SERVICES environment variable, as a previous refactoring has removed
this feature.

Also added integration test for User-Provided Service Instances

[finishes #60281112]
update bindings when updating a user provided service instance
Fail test suite if Sequel logs deprecation warning

[#59608656]
calling super to make sure all the timestamps are updated