Move user_provided_service_instance_spec.rb from spec/models/runtime/ to spec/models/services/

The file seemed put in an odd place.
Merge pull request #167 from nota-ja/move-user-provided-service-instance-spec

Move user_provided_service_instance_spec.rb from spec/models/runtime to spec/models/services
Proper use of let instead of before blocks in specs

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Group specs

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Remove deprecated trial_db related code from CC.

These changes do not include the necessary schema migration as that
needs to happen after the CC's are updated with these changes.

This also includes changes to the model to accept API calls that set
'trial_db_allowed' and/or assume 'trial_db_allowed' will be returned.
Add space name and space guid to the VCAP_APPLICATION env.

[#61846226]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Add vcap_application to start messages sent from CC -> DEA.

* This is to bring the logic inline with Diego.

Signed-off-by: Phan Le <ple@pivotallabs.com>
Revert "Add vcap_application to start messages sent from CC -> DEA."

This reverts commit 5d04597a561e21e49a5ed5d37ed7af4b8c06a1b1.
Use constant in the code for API version instead of config

[#67264098]

Signed-off-by: Chris Adams <cadams@pivotallabs.com>
Remove double newline
Revert "Add space name and space guid to the VCAP_APPLICATION env."

This reverts commit f01dedc631cb59a7c8c5392a4daaa9d2a495285c.
Add API spec for change to /v2/services

[finishes #65704580]
Separate specs that generate api docs from the ones that do not

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Move rspec api docs templates into api/documentation as well

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
API spec to exercise common functionality

Start with a simple example of pagination

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Add api spec that exercises sort order

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Remove extraneous line in spec

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Refactor app validations to policies to reduce app class complexity.

[#61846226]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Cloud Controller generates VCAP_APPLICATION for DEAs.

[#61846226]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Updated CC API docs for delete service endpoint to include purge parameter

[#63185416]