Project

General

Profile

Actions

User story #9899

closed

User story #9698: Import node properties from external data sources

User story #9700: API Rest to define Data sources

Change format of time duration in datasource Rest API

Added by Vincent MEMBRÉ over 7 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

current answer format of datasource use the following ofrmat for duration:

"updateTimeout" : "5 minutes" 

to match Scala duration pattern, but this pattern is quite broken:

does not accept "1 hour 5 minutes"
accept "60 minutes", but will return "1 hour", which is a mess to parse and analyse

puting an integer here as minutes of the duration is a better idea to me

Actions #1

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/1424
Actions #3

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0 which was released today.

Actions

Also available in: Atom PDF