Project

General

Profile

Actions

User story #7961

closed

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

Added by Jonathan CLARKE about 8 years ago. Updated over 7 years ago.

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

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 1 (0 open1 closed)

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

Related issues 1 (0 open1 closed)

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

Updated by Jonathan CLARKE about 8 years ago

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

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from New to In progress
Actions #3

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.7 to 3.1.8
Actions #4

Updated by Vincent MEMBRÉ about 8 years ago

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

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from Pending technical review to In progress

WIP

Actions #6

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.8 to 3.1.9
Actions #7

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.9 to 3.1.10
Actions #8

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.10 to 3.1.11
Actions #9

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.11 to 3.1.12
Actions #10

Updated by Vincent MEMBRÉ almost 8 years ago

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

Updated by Alexis Mousset over 7 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.

Actions

Also available in: Atom PDF