Include the application id (guid) as part of VCAP_APPLICATION
Bump ruby to 1.9.3-p547

[#71367862]

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Merge pull request #121 from fraenkel/app_id

Include the application id (guid) as part of VCAP_APPLICATION
Merge pull request #129 from tsjsdbd/master

Fix log set wrong destination path
Run in AWS

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Use environment for private key

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Change emit to emit_error in error callback
Remove uri from UploadError

- Remove uri to prevent credential leak

[#72433246]

Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
Update yajl-ruby to 1.2.1

Signed-off-by: Sabha Parameswaran <sparameswaran@gopivotal.com>
Handle download and unzip failures

- raise the failures up to halt staging

[#72575882]
Propagate security group rules to containers

* Bumped warden dependencies
* Rename `setup_network` to `setup_inbound_network` to avoid confusion
* Honor network egress rules in staging and start messages
* Transform egress rule JSON into Warden NetOut requests

[#71585132]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Merge remote-tracking branch 'origin/pr/133'
Serialize downloads of buildpacks

  - Increase inactivity timeout
  - Allow one buildpack downloader
  - Switch from parallel to serial download
  - Recover from failed downloads/unzips

[#72575882]

Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
Use ports instead of port, type and code are integers

[#73594384]

Signed-off-by: James Myers <jmyers@pivotallabs.com>
Add em-synchrony to Gemfile.lock
Remove stdout and stderr logs from app startup.
Correctly handle all protocols for net_out requests

[#74073900]

Signed-off-by: James Myers <jmyers@pivotallabs.com>
Bump to latest version of nats gem

[#74012428]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Run signal handlers in a thread to prevent deadlocks

Steno takes a lock when writing log messages. When a signal handler runs
it can pre-empt this code while the lock is still active. When the trap
handler then tries to log it attempts to grab the same lock, and
deadlocks. We've seen this cause hangs during shutdown when we upgrade
DEAs.

Ideally I would've just removed the log message, since signal handlers
should avoid doing things that need to take locks, but there's enough
logic in here that I can imagine other things rely on locks, so the
safest solution seems to be spawn a thread.
Use thread join to avoid sleeping in the code

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