Permalink
Commits on Oct 13, 2016
  1. Merge pull request #614 from MatMaul/rename_test_file

    Rename request_tests.go to request_test.go
    jrperritt committed on GitHub Oct 13, 2016
  2. Rename request_tests.go to request_test.go

    This is the usual convention and it is assumed by several tools like godep.
    MatMaul committed Sep 20, 2016
Commits on Aug 25, 2016
  1. Merge pull request #610 from MatMaul/fix_trust

    Fix generation of auth json map when using a trust id
    jrperritt committed on GitHub Aug 25, 2016
Commits on Aug 19, 2016
  1. gofmt

    MatMaul committed Aug 19, 2016
Commits on Aug 3, 2016
  1. Merge pull request #580 from codevulture/keystone_api

    Add support for Keystone Trust (v3)
    jrperritt committed on GitHub Aug 3, 2016
Commits on Jul 27, 2016
Commits on Jul 13, 2016
  1. Merge pull request #448 from DSpeichert/telemetry

    [RFR] OpenStack Telemetry v2
    jrperritt committed on GitHub Jul 13, 2016
  2. Add marker and query fields

    DSpeichert committed Jun 16, 2016
  3. Add support for reading meters

    carlpett committed with DSpeichert May 29, 2016
  4. Update names per PR comments

    carlpett committed with DSpeichert May 29, 2016
  5. unit tests - wip

    DSpeichert committed with DSpeichert Aug 3, 2015
  6. initial telemetry v2

    DSpeichert committed with DSpeichert Jun 5, 2015
  7. Merge pull request #565 from sameo/master

    [rfr] Add OpenStack Image Service v2 (Glance) support
    jrperritt committed on GitHub Jul 13, 2016
Commits on Jun 23, 2016
  1. Merge pull request #598 from jtopjian/bfv-volume-size-fix

    [rfr] Only pass volume_size if it is greater than zero
    jrperritt committed on GitHub Jun 23, 2016
  2. Only pass volume_size if it is greater than zero

    A recent change in Nova now enforces volume_size to be greater than
    zero. Since volume_size is an optional parameter, it should now only
    be sent when it has a positive non-zero value.
    jtopjian committed Jun 23, 2016
Commits on Jun 22, 2016
  1. imageservice: Add more image properties

    The following OpenStack image properties were added the the Image
    structure and to the relevant test files:
    
    Create date
    Last update
    File
    Schema
    
    Signed-off-by: Erick Cardona <erick.cardona.ruiz@intel.com>
    erick0z committed with sameo Jun 14, 2016
  2. imageservice: Group all images exported types in types.go

    And document them.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed Jun 5, 2016
  3. imageservice: Factorize Get, Update and Create Extract method

    They all use the same Extract() implementation, so we can
    implement it for a commonResult structure and define all 3
    structures as commonResult.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed Jun 4, 2016
  4. imageservice: Fix location for image properties

    Custom image properties goes in the body itself, not inside
    a 'properties' field.
    
    Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
    albertomurillo committed with sameo May 27, 2016
  5. imageservice: Don't hide error in Extract functions

    The following functions where returning a
    decoded result and the error of the decoding
    operation without checking if the original
    result contains an error already:
    
      func (c CreateResult) Extract() (*Image, error)
      func (c GetResult) Extract() (*Image, error)
      func (u UpdateResult) Extract() (*Image, error)
    
    Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
    albertomurillo committed with sameo May 27, 2016
  6. imageservice: Include version for glance api calls

    The default glance installation[1] builds the image service endpoints
    without the version suffix, so we have to add a v2 to them from
    NewImageService()
    
    [1] http://docs.openstack.org/mitaka/install-guide-ubuntu/glance-install.html
    
    Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
    albertomurillo committed with sameo May 26, 2016
Commits on Jun 21, 2016
  1. imageservice: Simplify Image extraction

    We can just call Decode() on it if we assume glance sets
    optional values properly.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed May 26, 2016
  2. imageservice: Document images.Image fields

    It is an aggregation of various field comments with some
    additional details.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed May 26, 2016
  3. imageservice: Tag some of the Image structure fields

    To help mapstructure decode them.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed May 3, 2016
  4. imageservice: MemberDetails has the same semantics as CreateMembers

    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed May 2, 2016
  5. imageservice: Fix members unit tests

    We need to:
    
    1) Specify that our returned payload is a JSON one
    2) Return a dumb payload when returning a POST error or else
    client.Request() tries to unmarshal a nil payload. We will send a
    further path to fix client.Request() to not expect a POST response
    payload for certain status codes.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed May 2, 2016
  6. imageservice: Explicitely define URL building functions

    And avoid the var func1 = func2 construct
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed Mar 2, 2016
  7. imageservice: Use pagination for returning the image members list

    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed Mar 2, 2016
  8. imageservice: Use UpdateOptsBuilder for the members Update() method

    So that we can easily extend it to support more than just status
    updating.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed Mar 2, 2016
  9. imageservice: Not need to use slice pointers

    A slice is already a pointer.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed Mar 2, 2016
  10. imageservice: Use Go's time for ImageMember timestamps

    For at least consistency sake, do not use strings for timestamps.
    
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    sameo committed Mar 2, 2016