Commits on Nov 11, 2012
  1. VCAP::Component.register returns its configuration

    A component that registers itself does not know
    its own port number nor credentials, if not provided.
    The .register method now returns the component's
    configuration data which contains this information.
    Change-Id: I1db688ded6ec2565cc419d95d80345bdf78d40ef
    drnic committed Nov 11, 2012
Commits on Oct 30, 2012
  1. Only use em-http-request on reactor_thread

      This commit makes the SDSClient issue synchronous http requests when
    it's running on a different thread from the EventMachine reactor thread.
      - Bumps gem version to 2.0.10
      Test plan:
      - All unit tests passed
      - Deploy CCNG with this change with BOSH and pass lifecycle API BVT's
    Change-Id: If9c159901f3f401a1b4474d7eef02899cb44b802
    d committed Oct 23, 2012
Commits on Oct 25, 2012
  1. Add tests for SDSClient

      So that we have faster feedback and confidence for future
      - Tests are added to cover both code paths
      - gemspec is modified to have a stricter requirement on
        em-http-request because our monkey patch depends specifically on
        1.0.0.beta3 (nothing newer than beta4!)
      - sinatra is added as a development dependency
    Change-Id: I91e67462263baa5beb32272fa0d2141ce80a6d22
    d committed Oct 19, 2012
Commits on Oct 17, 2012
  1. Move rspec from Gemfile to gemspec

    Change-Id: Icf36633b11da9936eea7a5990f23fd42de499e86
    d committed Oct 17, 2012
Commits on Oct 3, 2012
  1. Bump patch version

    Change-Id: I4e74c15baece67797bebb716610ff5df33b7ab6c
    pietern committed Oct 3, 2012
  2. Make varz thread-aware

    Thread-safety is enabled by calling `VCAP::Component.varz.threadsafe!`.
    This requires threads to synchronize access to the hash.
    Change-Id: I72e9b2e634d0337f995b05b04237605aac22203b
    pietern committed Oct 3, 2012
Commits on Sep 26, 2012
  1. Relax yajl-ruby dependency

    Change-Id: I9db38dcb5eb27fc028dacb493556337bfa5021fe
    pietern committed Sep 26, 2012
Commits on Aug 21, 2012
  1. make version related configs required

    Change-Id: Ie02f8c58c2c1132c1cec5e7b646f459c85d5e551
    andl committed Aug 7, 2012
  2. add update_snapshot_name api support

    add a required field 'name' to Snapshot message and a new api
    so user can add a brief, human readable name to each snapshot.
    Change-Id: I9f95f6d09953a4a79072a15531dfa4a4d483713f
    andl committed Jul 17, 2012
Commits on Aug 15, 2012
  1. Rename Brokered offering and response messages as Proxied messages

     - Updated gem spec
     - Relax thin version since new version of nats bumped thin to 1.4
    Change-Id: If3d530b50c35f608b15468626f3313ff60b30209
    Harshawardhan Gadgil committed Aug 15, 2012
Commits on Aug 5, 2012
  1. refactor import_from_data API

     1. service gateway will not need access NFS
     2. Add support multipart uploading to eventmachine/em-http-request
     3. Add serialization_data_server client to upload file using multipart post
    Change-Id: I8f340ddfd89e157d50d391fe36a5c178240fa2f3
    Frank Lu committed Jul 6, 2012
Commits on Aug 1, 2012
  1. Consolidate the provision and binding response format

    Change-Id: I3e668de5d5e400d048c78e7a45f7ecf2b02b74d5
    Tang Rui committed Jul 25, 2012
Commits on Jul 31, 2012
  1. Add test to check JsonMessage#decode with bad json

    Change-Id: I8f858c291564489dc6ab5f5d87768a66c6b64d32
    kowshik committed Jul 31, 2012
Commits on Jul 23, 2012
  1. Merge "Update README to include Bug filing info per Deepika"

    Chloe Jackson committed with Gerrit Code Review Jul 23, 2012
Commits on Jul 19, 2012
  1. Configurable HTTP Requester in ServiceGatewayClient

      This change
      - makes ServiceGatewayClient recognize an option :requester to specify
        the http request class to use. This will enable us to inject this
        dependency in tests.
      - Adds a simple synchronous http request module, which is
        api-compatible with AsyncHttpRequest. This allows the user to
        opt-out of EM.
      - Put SynchronousHttpRequest in a different file.
      - Cover it with tests?
      Test plan: unit tests passed.
    Change-Id: Ic13ec570d621d78c1761763fb824e69627146349
    d committed Jul 18, 2012
  2. Update README to include Bug filing info per Deepika

    Change-Id: Ia6aa75779b74c17fe5d975536b15de86f6042783
    Chloe Jackson committed Jul 19, 2012
  3. Extract method now also returns stringified keys.

    Change-Id: Ib6177dd5e85d23811f5fb7fb448cdff73d024536
    kowshik committed Jul 19, 2012
Commits on Jul 16, 2012
  1. Drop JsonSchema classes and use Membrane instead.

     - Drop all JsonSchema classes.
     - Change classes: JsonMessage and VCAP::Config to use Membrane.
     - Modify tests to suit the change.
     - Improve unit tests in class JsonMessage to check exceptions.
    Change-Id: I7430bc735352ef628ac53f20e7744d9f6b2b40ce
    kowshik committed Jul 10, 2012
Commits on Jul 12, 2012
  1. Merge "Add optional elements for versions"

    figof committed with Gerrit Code Review Jul 12, 2012
Commits on Jul 11, 2012
  1. Merge "retore gateway client spec."

    andl committed with Gerrit Code Review Jul 11, 2012
  2. retore gateway client spec.

    change expect{block}.should to expect{block}.to as the new syntax of rspec.
    Change-Id: I6c084b7508bea18f857c43db30f73bc23e83b238
    andl committed Jul 10, 2012
Commits on Jul 10, 2012
  1. Add optional elements for versions

     - This is an isolated change for sending version field in provision
       request and also to send supported versions and version aliases in
       service offering request
     - Add Gemfile.lock to .gitignore
    Change-Id: Iae8a415ec528a98ce9c25e4bf3c90bc78a58500f
    Harshawardhan Gadgil committed Jun 24, 2012
  2. add default plan for services offering request

    Change-Id: I60004dba26e9607a65762243b5ec3b6e79f2cdeb
    felixhoo committed Jul 3, 2012
Commits on Jul 9, 2012
  1. Improve tests for class JsonMessage.

    Change-Id: I5a3e59f712f328ca9fe52575737168d52b2b2766
    kowshik committed Jul 9, 2012
  2. Remove failing spec.

    Change-Id: I810659e0686e99c1cdfd6f4373a690a6e50ff26b
    kowshik committed Jul 9, 2012
Commits on Jul 6, 2012
  1. Merge "Default values support in class JsonMessage."

    kowshik committed with Gerrit Code Review Jul 6, 2012
  2. Default values support in class JsonMessage.

    Class JsonMessage now supports usage of default values for optional
    fields. Also added missing unit tests for the same.
    Change-Id: Ia8a6f49635a77fda6ab5b10ae025569c8ee6237b
    kowshik committed Jul 5, 2012
Commits on Jul 5, 2012
  1. Add provider in cloudcontroller provision request message

    Change-Id: I9986f4837dd0a8b35c8b65307ab5e1bf85b5fd6e
    Tang Rui committed Jul 5, 2012
Commits on Jul 4, 2012
  1. Remove the dependency to patched version EM

    Change-Id: I7c6d7151b28d49677c682f2155987f7469c88087
    felixhoo committed Jul 4, 2012
  2. delete Gemfile.lock

    Change-Id: Ia14d42ae5769a195ff2401ebb9d0acfedb1ade1e
    felixhoo committed Jul 4, 2012
Commits on Jun 22, 2012
  1. Add git hook to check trailing whitespace

    Change-Id: Ia5fa05a810464e16900d2fdbe2b90e322f3b2be5
    ramnivas committed Jun 22, 2012
Commits on Jun 20, 2012
  1. Add provider in service offering request message

    Change-Id: I2900a56c9a24c910a1fc4dcf24be4654ef61e4b7
    Tang Rui committed Jun 20, 2012
Commits on Jun 5, 2012
  1. Merge branch 'services-r12'

    Change-Id: I27d281ab3848f898a05caee83572ef6b39066363
    kushmerick committed Jun 5, 2012
Commits on May 25, 2012
  1. Add sorted set utils to encode/decode an int set to array

    in a space efficient way for json.
    Change-Id: I74a1814a528d2ee367e6240dc7af0e9e1bd8d7c0
    anfernee committed May 25, 2012
Commits on May 24, 2012
  1. fix "mongolab https gateway" issue

    Change-Id: I23fad9be0837140077465f07808f12b2d9650505
    felixhoo committed May 24, 2012