Permalink
Commits on Nov 18, 2011
  1. Staging task should return the app's owner when #user is called

    mpage committed Nov 18, 2011
    Test plan:
    - New unit test
    
    Change-Id: Ide403ebf8595718665029deb0024182849405689
  2. Update skeleton sinatra plugin

    mpage committed Nov 18, 2011
    Modify the skeleton sinatra plugin to conform to the new staging
    plugin changes.
    
    Test plan:
    - Unit tests
    - Enabled the plugin on the stager, deployed the env app
    
    Change-Id: Ic600bf710320dfef53c94539838aa49e79c15f12
Commits on Nov 15, 2011
  1. Minor misc changes to enable new-style staging plugins

    mpage committed Nov 15, 2011
    Allow new-style staging plugins to be used in the stager by adding them
    to the 'enabled_framework_plugins' property. Enable node support using
    the new style plugins.
    
    Test plan:
    - Deployed a node app using the new-style plugins
    
    Change-Id: If5d79af7ce456d1d0f602e7194d8761aac823e56
  2. Add node staging plugin

    mpage committed Nov 12, 2011
    This migrates the existing node staging code over to the new plugin
    architecture.
    
    Test plan:
    - Unit tests pass
    - Enabled node plugins on the stager, deployed a node app
    
    Change-Id: I6ebc2297496716aae9f2f47925290420b768846c
  3. Minor refactoring

    mpage committed Nov 12, 2011
    Passing in the set of plugins that can be run is more logical,
    cleaner, and makes testing easier.
    
    Test plan:
    - Unit tests pass
    
    Change-Id: Id52d09f778417b42a56fd30a0a53967555d76f71
  4. Move plugin registry to vcap/common

    mpage committed Nov 10, 2011
    vcap/common is a more natural home for the plugin registry, and will
    allow us to reuse it across components.
    
    Test plan:
    - Unit tests pass
    
    Change-Id: Ifcc36837179029ce7db3ac40e1eaa3596f4723c3
Commits on Nov 9, 2011
  1. Hook plugins up to the normal staging flow

    mpage committed Nov 9, 2011
    - Add a stub script to execute plugins inside of a 'container'.
    - Hook plugins up to normal staging flow
    
    Test plan:
    - Unit tests pass
    
    Change-Id: I95d96630b5ef824281339f3f14c1161f53cf134f
Commits on Nov 7, 2011
  1. Add method to abort staging

    mpage committed Nov 2, 2011
    This provides a hook for staging plugins to abort staging with a message
    that will be propagated back to the user.
    
    Test plan:
    - Unit test passes
    
    Change-Id: I14cd811a68156ac3305cd22d6a1749c1eafbbfb7
  2. Add support for setting environment variables in staging plugins

    mpage committed Nov 2, 2011
    This adds support for setting environment variables to be exported
    in the application's environment.
    
    Test plan:
    - New unit tests pass.
    
    Change-Id: I952097713f3b2f49c5e8104d866e8270b5bc5d0b
  3. Generate Gemfile for plugin runner dynamically

    mpage committed Oct 25, 2011
    Add a template and method for generating the Gemfile needed for
    stand alone staging script
    
    Test plan:
    - New unit test passes
    - Existing unit tests pass
    
    Change-Id: Iab3a188e6b79cbf6843fb536d68b62b3e9beb9c4
  4. Move PluginRegistry functionality into PluginRunner

    mpage committed Oct 24, 2011
    Test plan:
    - Unit tests pass
    
    Change-Id: Ibccbcbee4d271e547ea307db522cfb4de981c32c
  5. Consolidate errors

    mpage committed Oct 24, 2011
    Consolidate separate error files into errors.rb
    
    Test plan:
    - Unit tests pass
    
    Change-Id: I54d6853dbc5033c1ae7578c36854dd0ff781d00a
  6. Rename PluginOrchestrator to PluginRunner

    mpage committed Oct 24, 2011
    Test plan:
    - Unit tests pass
    
    Change-Id: I38f73612d0a541dc2031885b9be8a55b23c5a1d3
  7. Remove unnecessary app_properties container, pass services client to …

    mpage committed Oct 21, 2011
    …plugin action proxy.
    
    Test plan:
    - Unit tests pass
    
    Change-Id: I5d5e490908ef26ff33777b3f6b72d4ea14c72b47
  8. Add unbind service method to cc ipc gem

    mpage committed Oct 20, 2011
    Test plan:
    - Unit tests pass
    
    Change-Id: I5c14a020f418fbd8baa2884fc714e2647fd0dffb
  9. Add method to bind services to cc_ipc gem

    mpage committed Oct 20, 2011
    Test plan:
    - Unit tests pass
    
    Change-Id: Icd481842b25b5fdaeb7700b4c2774657f4f0f0f3
  10. Refactor cc ipc tests, add method for unprovision

    mpage committed Oct 20, 2011
    Test plan:
    - Unit tests pass
    
    Change-Id: I26fa4a405778c7f587275b5be84b9af9d7e1ad62
  11. Update CC ipc gem to pass headers

    mpage committed Oct 20, 2011
    Test plan:
    - Unit tests pass
    
    Change-Id: If36922acdf4621aff4491891264c214310420865
  12. Stick the staging task id in request headers for services requests

    mpage committed Oct 20, 2011
    This is more in keeping with current practices of sticking auth tokens
    into header fields.
    
    Test plan:
    - Updated unit test passes.
    
    Change-Id: I7e190f3db9f85b13b8fba59ee81d3fd233c0fbfb
  13. Pass cc host/port/task_id to stager

    mpage committed Oct 20, 2011
    Supply the stager with the information it needs to interact with CC
    apis.
    
    Test plan:
    - Unit tests pass
    - Can deploy an app
    
    Change-Id: I646e2d681696a03a5b204d69d7faca4e9dd84a88
  14. Remove staging user/pass

    mpage committed Oct 20, 2011
    Inclusion of a user/pass used to authenticate stagers was redundant, since
    we generate a random token that is only valid while the staging task is
    active on the CC. Use only the token to authenticate stagers.
    
    Test plan:
    - Unit tests pass
    - Deployed an app locally
    
    Change-Id: I032749c4c3518fefef240f1a45c23e08693c6474
  15. Add ipc gem for talking with the CC

    mpage committed Oct 20, 2011
    Change-Id: I8560b381dce3483b5f26b28df897e1331d768c3f
  16. Look up user associated with staging_task (if provided)

    mpage committed Oct 19, 2011
    This will allow staging plugins to execute services related operations
    on behalf of the user whose app is being staged.
    
    Test plan:
    - New unit tests pass
    
    Change-Id: Ifffe7b97047f540b63c1774e6a605b5e80e76855
  17. Refactor staging task management into a separate class.

    mpage committed Oct 18, 2011
    Add a class for representing/managing staging tasks that are active.
    Both the staging controller and the services controller will reference
    this when stagers make requests on behalf of a user during staging.
    
    Test plan:
    - Existing unit tests pass
    - Added new unit tests
    - BVTs pass
    
    Change-Id: I3a73e377915414bfa79dc28fc791b5e4f47e96a9
  18. Add client gem for communicating with stagers

    mpage committed Oct 17, 2011
    This provides a gem that provides a small rpc interface to stagers.
    Although this is a bit of yak shaving, it does clean up the interaction
    between the CC and Stagers and paves the way for adding support for allowing
    staging plugins to perform actions on behalf of users.
    
    Test plan:
    - All existing unit tests pass
    - New stager_ipc unit tests pass
    - BVTs pass
    
    Change-Id: I18d059cbc044fd628680dbb1bfd8428b4ced0c16
Commits on Oct 27, 2011
  1. Merge "Begin porting the existing sinatra plugin over to the new plug…

    mpage committed with Gerrit Code Review Oct 27, 2011
    …in framework" into staging_plugin
  2. Merge "Add support for generating start/stop scripts" into staging_pl…

    mpage committed with Gerrit Code Review Oct 27, 2011
    …ugin
  3. Merge "Scaffolding for staging plugins" into staging_plugin

    mpage committed with Gerrit Code Review Oct 27, 2011
Commits on Oct 6, 2011
  1. Begin porting the existing sinatra plugin over to the new plugin fram…

    mpage committed Oct 6, 2011
    …ework
    
    Creates a starting point for porting the sinatra plugin over to the new
    staging plugin framework. This is a very minimal implementation, but will
    generate the necessary startup/stop files. The next step is adding support
    for gems.
    
    Test plan:
    - Unit tests!
    - Used this plugin, along with the plugin orchestrator to stage a simple
      sinatra app. Was able to start/stop it.
    
    Change-Id: Ic4c755708ae9e4fa83ba8182ffb777b1a9d301d6
  2. Add support for generating start/stop scripts

    mpage committed Oct 4, 2011
    This provides the foundation to allow framework/feature plugins to
    generate start/stop scripts. The 'startup' script (called by the dea)
    calls all generated feature start scripts, then invokes the framework
    start script. The framework start script is expected to write the pid
    of the appserver into the file 'run.pid' (expected by the dea) in the root
    droplet directory. Similarly, the 'stop' script (also called by the dea)
    calls all generated feature stop scripts first, then invokes the framework
    stop script.
    
    Test plan:
    - Unit tests pass
    - Able to start/stop sinatra apps created using a rudimentary sinatra plugin
      and the plugin orchestrator.
    
    Change-Id: I2ce9c43af81d06c3700d874417be467454f00fdd
Commits on Oct 3, 2011
  1. Scaffolding for staging plugins

    mpage committed Oct 3, 2011
    This diff includes the skeleton for the new staging plugins.
    Future commits will flesh out the functionality of the ActionProxy.
    
    Test plan:
    - New unit tests pass.
    
    Change-Id: Icfe1ef6fc4652f105999a1e1573984fdef20f756
  2. Merge "Chef recipes: add mongod_log_dir to config"

    kushmerick committed with Gerrit Code Review Oct 3, 2011
Commits on Oct 1, 2011
  1. A workaround to get Insight working in Cloud Foundry until we have a …

    AB Srinivasan committed Sep 30, 2011
    …better way
    
    to have such a feature enabled for an app.
    - Includes update to add start up args to Java apps when the "no_proxy" env
    variable is set.
    
    Change-Id: I2ffff8e5dad8b3caa690f5f10dff5ad641db1388
Commits on Sep 30, 2011
  1. Bump auto-reconfiguration version to 0.6.1

    Jennifer Hickey committed Sep 30, 2011
    Change-Id: Ia9ee7ff537bc56114f3ce1a1b01dd0f06450f936
  2. Chef recipes: add mongod_log_dir to config

    kushmerick committed Sep 30, 2011
    Change-Id: I540770bb6a50ca08117d932312b01721ae6d9b59