Project

General

Profile

Actions

User story #9700

closed

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

API Rest to define Data sources

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

We need an API Rest to define data sources

Base API URL:

/api/datasources

Methods

/ => GET : Get all datasources defined
/datasourceName => GET : Get the detail of one datasource
/ => Put *: Create a datasource
/datasourceName => POST* : Update a datasource
/datasourceName => DELETE *: Delete a datasource
/datasourceName/refresh => POST *: Trigger a datasource refresh (asynchronous)

Data format

{
“name” : string
“url” : string
“type” : one of the two possible values … “byNode”, “global”
“path” : string
“headers” : {
headerName : HeaderValue
, ...
}
“frequency” : {
timeUnit : day/hour/minute
, value : int
}
}


Subtasks 3 (0 open3 closed)

Bug #9725: Data source Scala modelReleasedFrançois ARMAND2016-11-23Actions
User story #9897: Move datasource parameters into a specific entry in rest jsonReleasedFrançois ARMAND2017-01-04Actions
User story #9899: Change format of time duration in datasource Rest APIReleasedNicolas CHARLES2017-01-05Actions
Actions #1

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from New to In progress
Actions #6

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/1398
Actions #18

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #19

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