Defensively handling job URIs from cloud controller.

Signed-off-by: Phan Le <ple@pivotallabs.com>
Whitelist syslog_drain_url so that it appears in VCAP_SERVICES

[#60281112]
Merge pull request #80 from cloudfoundry/whitelist-syslog-drain-url

Whitelist syslog_drain_url so that it appears in VCAP_SERVICES
Respond with droplet.exited when not enough resources available

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Check available resources before staging task

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Start instance only after staging upload succeeds

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Extract snapshot from bootstrap

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Extract instance manager from bootstrap

Signed-off-by: Mark Rushakoff <mrushakoff@pivotallabs.com>
Extract filter instances by message from bootstrap to instance registry

Signed-off-by Mark Rushakoff <mrushakoff@pivotallabs.com>
dea.heartbeat always contains all dea instances

this allows consumers of the dea.heartbeat to trust that the heartbeat
represents the entire state of the dea.  this, in turn, allows consumers
to perform set-diff style saves. (hm9000 uses this to reduce its write
load)
clustered nats support

[#60443956]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Staging discards output from staging script.

The output should be already available via loggregator.

[finishes #60358368]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Revert "Staging discards output from staging script."

Seems like this breaks staging

This reverts commit 2eed2527a5d03b09778b4b3c41eaec8840f2af41.
Staging will reserve the larger of staging or app memory

[finishes #60536486]

Signed-off-by: Mark Rushakoff <mrushakoff@pivotallabs.com>
Bumped container tools gem

Signed-off-by: Phan Le <ple@pivotallabs.com>
Add HA enhancement with new "placement_properties" of DEA
Refine the placement_properties of DEA for HA enhancement
Ignore the buildpack when detection script fails.

[finished #60114962]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Upgrade ruby to 1.9.3-p484

  * bump debugger gem version
Normalize .travis.yml ruby declaration

  * remove unused .travis.run file

Signed-off-by: Elisabeth Hendrickson <ehendrickson@pivotallabs.com>