User story #6470
closedAdd an API to query Nodes
Description
We want to add an API to search on nodes based on a query
We want to have the same query system like groups so we directly use that json in groups
We could have a simpler query mode (just put one query parameter)
We want to add "query" parameters to nodes "get" API requests
either you can use:
query: The full query like groups
Or:
select: "node" or "nodeAndPolicyServer" (default node)
composition: "and/or", default and
where: { "objectType" , "attribute", "comparator", "value" }
All the node request should now answer with the node model created in 3.0 (api node v5, and use the include params)
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ over 9 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/846
Updated by François ARMAND over 9 years ago
- Description updated (diff)
- Status changed from In progress to 10
Updated by François ARMAND over 9 years ago
- Status changed from 10 to Pending technical review
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending technical review to 12
According to François, this is ok !!
We just wait for the good time to merge this (waiting for 3.1 branch ? )
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from 12 to Pending technical review
- Pull Request changed from https://github.com/Normation/rudder/pull/846 to https://github.com/Normation/rudder/pull/852
Updated by François ARMAND over 9 years ago
Vincent,
Could you please add some commentaries / documentation about what is expected ? I just don't know what to test, and how, here (same for rules&groupes categories).
Perhaps the best would be to have a PR toward the API documentation to go with these tickets ?
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 50 to 100
Applied in changeset rudder|26e36898469bba96de1a19f0e79c96acc14b79c9.
Updated by François ARMAND over 9 years ago
Applied in changeset rudder|ddca0628688836f65565697353b5775741d94ab0.
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.0~beta1 which were released today.
- Announcement 3.1
- Changelog 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/