stop inlining app_events and events in organizations, spaces, and apps

Signed-off-by: Dmitriy Kalinin <dmitriy@pivotallabs.com>
Introduce rack-timeout to interrupt long requests

The timeout in this does not actually interrupt a thread that takes too long [#64688246]

Signed-off-by: Eric Malm <emalm@pivotallabs.com>
Unbreak travis.yml

Signed-off-by: Kris Kelly <kkelly@pivotallabs.com>
Send desired stack to diego on staging request
Add default value for maximum_app_disk

We want to decouple dependency of cloud controller on cf-release. So
there should be a reasonable default value in CC.

[#64174044]

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Move DB queries outsize .varz.synchronize
Use model class instead of Sequel::DATABASE to access Delayed::Job
Cleanup for clarity
Default to updating User count every 10 minutes
Rename for clarity / consistency
Remove unecessary class/module names for method calls

  * add helper method for VCAP::CloudController::Config.config
Collapse block style for clarity
Rename for consistency
Remove configurability of varz update frequency

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Add units to maximum_app_disk

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Test EM timer intervals

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Fix quotes

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Integration test only checks that /varz works

  * unit tests conver /varz data

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Remove unused config values

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Remove redundant config and spec let()s

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>