Allow a buildpack to be locked
Expose the build pack key
Keep track of the filename so the admin knows what was uploaded
Break out upload_bits
Remove exported key
Merge pull request #149 from knolleary/lockable_buildpacks

Allow a buildpack to be locked to prevent changes
Adds a 'name' query parameter to new domains endpoints

This affects the /v2/shared_domains and /v2/private_domains endpoints. The change is
purely additive and makes these endpoints more backwards compatible with the /v2/domains
endpoint.
Merge branch 'filename' of https://github.com/fraenkel/cloud_controller_ng into fraenkel-filename

Changes from https://github.com/cloudfoundry/cloud_controller_ng/pull/147.

Resolved merge conflicts with https://github.com/cloudfoundry/cloud_controller_ng/pull/149.

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>

Conflicts:
	app/controllers/runtime/buildpack_bits_controller.rb
	app/models/runtime/buildpack.rb
	spec/api/api_version_spec.rb
	spec/api/buildpacks_api_spec.rb
	spec/controllers/runtime/buildpack_bits_controller_spec.rb
	spec/controllers/runtime/buildpacks_controller_spec.rb
Merge pull request #164 from tjarratt/filter-new-domain-endpoints-by-name

Adds a 'name' query parameter to new domains endpoints
Extract ErrorPresenter

So we can reuse it when presenting async errors [#62361748]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Retrofit specs and invert blow_up? to improve intent

[#62361748]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Extract ErrorHasher to make it easy to spec #log_message

[#62361748]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
retrofit specs for ErrorHasher

[#62361748]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Rename cloud controller host and port configs to be more expressive

Signed-off-by: Phan Le <ple@pivotallabs.com>
Fix the build

Use @config variable exclusively rather duplicating config and not using
it.

[#65810718]

Signed-off-by: Ted Young <tyoung@pivotallabs.com>