Refactored transitive dependency resolution

- Fixed a bug where the package record was storing transitive deps
  instead of immediate deps, causing an error when transitive deps were
  removed.
- Release version deps are now resolved and cycle checked independently
  of later transitive dependency flattening (for compilation & compiled
  package lookup)
- Director now only sends immediate dependencies to the agent when
  compiling packages

Signed-off-by: Andrea Law <alaw@pivotal.io>
Added integration test to prove that transitive dependencies can be removed

Signed-off-by: Andrea Law <alaw@pivotal.io>
Added fix for 'corrupt' package records

- During dependency resolution (upload release), if a package record for
  a release with a matching fingerprint has incorrect immediate
  dependencies listed, it is updated.
- This fix can eventually be removed

[#79993652]

Signed-off-by: Andrea Law <alaw@pivotal.io>
Refactor "require 'rspec/its'" into shared_spec_helper.rb

Signed-off-by: Andrea Law <alaw@pivotal.io>
Change double-quotes to single-quotes

Signed-off-by: Andrea Law <alaw@pivotal.io>
Bump bosh-agent

Signed-off-by: Zachary Auerbach <zak@zaksoup.com>
Add membrane dependency to bosh_cpi gemspec

This runtime dependency already existed but was not called out in the gemspec.

Signed-off-by: Maria Shaldibina <mariash@pivotal.io>
Remove deprecation warnings

Signed-off-by: Maria Shaldibina <mariash@pivotal.io>
Bosh::Registry#update_settings considers 2xx successful

Rather than just 200.

Signed-off-by: Maria Shaldibina <mariash@pivotal.io>
Add bin/aws_cpi to bosh_aws_cpi

Signed-off-by: Maria Shaldibina <mariash@pivotal.io>
Add openstack CPI multiple manual networks support for ubuntu 14.04 using go BOSH agent.
Detect changes to multiple manual networks

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Verify that the net type for bats is valid

Signed-off-by: Adam Stegman <astegman@pivotal.io>
Only run tests that require manual networking with manual networking

Signed-off-by: Adam Stegman <astegman@pivotal.io>
Add acceptance test for multiple manual networks

- Use new env vars for two [0,1] networks
- Change BOSH_OPENSTACK_NET_ID to BOSH_OPENSTACK_MICRO_NET_ID
- Add BAT_NETWORKING to specify manual/dynamic

[#74744712]

Signed-off-by: Adam Stegman <astegman@pivotal.io>
Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Switch bats to use rspec 3 syntax

Signed-off-by: Andrei Dinin <adinin@pivotal.io>
Refactored BAT_VCAP_PRIVATE_KEY usage

- Optional field, listed with the other environment variables
Fixed aws plugin aws manifest test
Refactored BAT deployment manifest generation

- rake spec:system:micro now takes a path to a yaml file with inputs to the
	bats deployment manifests
- these inputs are now validated with membrane
- openstack requires BOSH_OPENSTACK_BAT_DEPLOYMENT_CONFIG_PATH
- vsphere requires BOSH_VSPHERE_BAT_DEPLOYMENT_CONFIG_PATH
- specified net_type must match the input yaml

[#74744712]
Removed unused mbus config from BAT_DEPLOYMENT_SPEC

Signed-off-by: Adam Stegman <astegman@pivotal.io>