Project

General

Profile

User story #7961

API: add an option to just run a "pre-check" on directive modifications to change technique version

Added by Jonathan CLARKE about 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
1
Category:
API
Target version:
Suggestion strength:
User visibility:
Effort required:

Description

We can currently change the technique version for a given directive via a parameter to the update Directive API method - see http://www.rudder-project.org/rudder-api-doc/#api-Directives-updateDirective.

It would be useful to be able to test this operation before actually running it - that is, ask the API to pretend to do the change, and return a success (200) status code if it would succeed, or an error (412 Precondition Failed) if not.

See #7959 for a use case.


Subtasks

User story #8745: Update API does not update directives anymoreReleasedFrançois ARMAND2016-07-22Actions

Related issues

Blocks Rudder - User story #7959: "rudder technique migrate" command to automatically upgrade all directives to a newer technique versionRejectedAlexis MOUSSETActions
#1

Updated by Jonathan CLARKE about 5 years ago

  • Blocks User story #7959: "rudder technique migrate" command to automatically upgrade all directives to a newer technique version added
#2

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from New to In progress
#3

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 3.1.7 to 3.1.8
#4

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/1056
#5

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending technical review to In progress

WIP

#6

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 3.1.8 to 3.1.9
#7

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 3.1.9 to 3.1.10
#8

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 3.1.10 to 3.1.11
#9

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 3.1.11 to 3.1.12
#10

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from In progress to Pending release
  • % Done changed from 0 to 100
#11

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.12 and 3.2.5 which were released today.

Also available in: Atom PDF