christian-marie / sieste

REST interface to vaultaire
Other
3 stars 1 forks source link

Extend Sieste to allow for Key/Value searching #13

Closed glasnt closed 9 years ago

glasnt commented 9 years ago

Requires updates in anchor/chevalier-common#7

If a query string is given, use that as the wild-card wrapped value in a wildcard key search.

Otherwise, use the key/value pairing as an exact search as a SourceTag (use-based wildcard string wrapping would be required)

The current getParam call returns space-delimited Text objects, which can be split and zipped to compile key and value pairs. (This allows query strings in the form ?key=abc&value=123&key=def&value=456)

(Travis may not work til chevalier-common is updated)

glasnt commented 9 years ago

Updated to use changes in anchor/chevalier-common#7