Feature #141
add support to extlookup kind of queries through foreman
| Status: | Closed | Start: | 12/19/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | Query interface | |||
| Target version: | 0.1-4 | |||
| Backlog: | Difficulity: | |||
| Votes: | 0 |
Description
provide an interface to extlookup, where it can query foreman db.
Associated revisions
Revision 0265427b9cb814dabf371099351a9ba5af837c3b
fixes #141 - add support to extlookup kind of queries through foreman
usage:
wget -q -O - "http://foreman/lookup?key=ntpserver&order[]=my.domain&order[]=common"
if you want it in YAML, just add:
wget -q -O - "http://foreman/lookup?key=ntpserver&order[]=my.domain&order[]=common&format=yml"
History
Updated by Ohad Levy about 2 years ago
db and http query part:
http://github.com/ohadlevy/foreman/commit/b33878a7899fb1671ef194d93d83fb63f8e5176f
todo web interface to input values
Updated by Ohad Levy about 2 years ago
- Status changed from New to Ready For Testing
- Target version set to 0.1-4
- % Done changed from 0 to 100
web part added here:
http://github.com/ohadlevy/foreman/commit/8b3068756f88126c0ab9ed08b807125453b4454f
you may use edge branch to play around
Updated by Ohad Levy almost 2 years ago
Applied in changeset 0265427b9cb814dabf371099351a9ba5af837c3b.
Updated by Ohad Levy almost 2 years ago
- Status changed from Ready For Testing to Closed
