Project

General

Custom queries

Profile

Actions

User story #6470

closed

Add an API to query Nodes

Added by Vincent MEMBRÉ about 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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)


Subtasks 2 (0 open2 closed)

Architecture #6479: Add a seervice to get all inventories in LDAP repoReleasedFrançois ARMAND2015-04-08Actions
User story #6569: Add query Node documentation in api docReleasedFrançois ARMAND2015-05-07Actions
#1

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from New to In progress
#2

Updated by Vincent MEMBRÉ almost 10 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/846
#3

Updated by François ARMAND almost 10 years ago

  • Description updated (diff)
  • Status changed from In progress to 10
#4

Updated by François ARMAND almost 10 years ago

  • Status changed from 10 to Pending technical review
#5

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending technical review to 12
#6

Updated by Vincent MEMBRÉ almost 10 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
#8

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 50 to 100
#10

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF