Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Example of consuming Identity from another service #23

Merged
merged 11 commits into from Apr 24, 2014

Commits on Apr 18, 2014

  1. [Storage] Very much WIP. First time we're using Identity as a dependency

    inside OSC. Baby steps...
    Evan Light committed Apr 18, 2014
    Copy the full SHA
    a944b04 View commit details
    Browse the repository at this point in the history
  2. [Storage] While this is called Storage, this service does nothing

    at this point other than demonstrate how another service may consume
    Identity.  At this point, it's still a bit awkward.  Need to play
    with this some more...
    Evan Light committed Apr 18, 2014
    Copy the full SHA
    481c922 View commit details
    Browse the repository at this point in the history
  3. [Storage] While this is called Storage, this service does nothing

    at this point other than demonstrate how another service may consume
    Identity.  At this point, it's still a bit awkward.  Need to play
    with this some more...
    Evan Light committed Apr 18, 2014
    Copy the full SHA
    5507570 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #27 from fog/dead_code

    Forgot to delete this; dead code
    Evan Light committed Apr 18, 2014
    Copy the full SHA
    6cbba02 View commit details
    Browse the repository at this point in the history
  5. [Storage] Very much WIP. First time we're using Identity as a dependency

    inside OSC. Baby steps...
    Evan Light committed Apr 18, 2014
    Copy the full SHA
    0288a4e View commit details
    Browse the repository at this point in the history
  6. Don't load Fog::Service's. Let ServiceDiscovery do it

    Evan Light committed Apr 18, 2014
    Copy the full SHA
    f81c512 View commit details
    Browse the repository at this point in the history
  7. Instantiate StorageV1 from SD

    Evan Light committed Apr 18, 2014
    Copy the full SHA
    f210805 View commit details
    Browse the repository at this point in the history
  8. Resolve merge conflict

    Evan Light committed Apr 18, 2014
    Copy the full SHA
    6e9da6a View commit details
    Browse the repository at this point in the history
  9. Needed to add explicit requires because of the latest ServiceDiscover…

    …y changes
    Evan Light committed Apr 18, 2014
    Copy the full SHA
    39911a8 View commit details
    Browse the repository at this point in the history
  10. Don't commit usage of pry. Herp de derp.

    Evan Light committed Apr 18, 2014
    Copy the full SHA
    d2d0617 View commit details
    Browse the repository at this point in the history
  11. That said, I'm not happy with what I had to do to get them

    to work.  #request and #requests_params are artifacts from
    the previous Rackspace/OpenStack providers. Their dependence
    upon instance variables makes them more cumbersome than a
    typical Template Method.
    
    I would far prefer to see everything about sending HTTP
    Requests extracted into functions/stateless module methods.
    Evan Light committed Apr 18, 2014
    Copy the full SHA
    488ac7c View commit details
    Browse the repository at this point in the history