← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1480392] [NEW] Artifacts: filtering by range is not working as expected

 

Public bug reported:

According to spec, the list artifacts API call should be able to list artifacts by the range of some of its property, if the property supports comparison, e.g
/v3/artifacts/some_type/?property=gt:1&property=lt:10 
 should return all the artifacts having the value of "property" greater than 1 and less than 10.
However this does not work: greater than 1 part is ignored and only the last condition is applied.

** Affects: glance
     Importance: Undecided
     Assignee: Alexander Tivelkov (ativelkov)
         Status: New


** Tags: artifacts

** Changed in: glance
     Assignee: (unassigned) => Alexander Tivelkov (ativelkov)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1480392

Title:
  Artifacts: filtering by range is not working as expected

Status in Glance:
  New

Bug description:
  According to spec, the list artifacts API call should be able to list artifacts by the range of some of its property, if the property supports comparison, e.g
  /v3/artifacts/some_type/?property=gt:1&property=lt:10 
   should return all the artifacts having the value of "property" greater than 1 and less than 10.
  However this does not work: greater than 1 part is ignored and only the last condition is applied.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1480392/+subscriptions


Follow ups