CC should reject apps that specify both a custom buildpack and a docker image

[#75859568]
Only check the feature flag when creating routes

Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
Add /v2/organizations/:guid/services endpoint

-Update API docs + version
-Backfill docs for /v2/spaces/:guid/services
[finishes #76002770]
Enable filtering service plans by service broker

[#75939500]
Bump api version

[#75939500]
Merge remote-tracking branch 'origin/pr/280'

[#76992480]
Cleanup whitespace
Bump vendor errors

[#76486420]
Fix typo in Service Plans api docs

[#76624978]
Creating service_instance with invalid plan_guid returns 404 error.

[#76610582]
NFS works on trusty

* Use the new idmapd service
* Don't handle NFS in the local workers

[#76381150]

Signed-off-by: Luan Santos <lsantos@pivotal.io>
Add environment_variable_groups endpoints

 - only /v2/config/environment_variable_groups/running and /v2/config/environment_variable_groups/staging exist as endpoints, other groups are ignored
 - only supports GET and PUT, no delete operation (just PUT an empty hash), and no list operation (the only groups are runtime and staging)

[#76745400]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Allow the database to use CURRENT_TIMESTAMP

* created_at and updated_at are set by the DB

[#77035540]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Use database time when calculating cleanup intervals.

[#77035540]
Signed-off-by: Zach Robinson <zrobinson@pivotallabs.com>
Fix error code returned on POST /v2/service_instances/:guid

[#76610582]
make queries mysql compatible
Remove local time setup for db based times.

Using timecop and strictly checking the event at pruning are no longer
relevant since the query is based on db time and has a 1 second equality
match.
Fix route validation

- validation on changing the route's space was not correctly checking whether
any apps in the space were already mapped to it

[#77254778]
Remove ambiguity in tests calling ServiceInstance.make

-Now use ManagedServiceInstance/UserProvidedServiceInstance.make
so it is an explicit use of the blueprint
-Left one in service_binding_api_spec because error occurs when creating
a binding with a ManagedServiceInstance blueprint

[#75070966]
Move url-encoding of staging auth to config

Ensures the URL-safe values are used both in url_generator and in stagings_controller

[#71526114]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>