Project

General

Profile

Actions

Bug #19149

closed

Bug #19129: Clone group via API ask for query

Fix compilation issue

Added by Vincent MEMBRÉ over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Several problems with node group API:

- clone ask for a query (which remove a bit of the interest of the thing)
- when cloning, the action name is still createGroup
- category is missing in response (not specific to clone)
- documentation is incorrect for creation/clone (nodeIds and groupClass are not parameters, source is misssing)
- source can only be taken from URL params which is inconsistant with other objects
- the source ID is used for the new group, leading to an error "already exists"
- category is not taken into account in update query, which means that we can't move group by API

Actions #1

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #2

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.2.6 to 7.0.0~beta1
Actions #3

Updated by Vincent MEMBRÉ over 3 years ago

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

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from In progress to Pending release
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF