Project

General

Profile

User story #9700

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

API Rest to define Data sources

Added by Vincent MEMBRÉ about 1 year ago. Updated 11 months ago.

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

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

Bug #9725: Data source Scala modelReleasedFrançois ARMAND

User story #9897: Move datasource parameters into a specific entry in rest jsonReleasedFrançois ARMAND

User story #9899: Change format of time duration in datasource Rest APIReleasedNicolas CHARLES

Associated revisions

Revision 3d4d18c8
Added by Vincent MEMBRÉ 12 months ago

Fixes #9700: API Rest to define Data sources

History

#1 Updated by Vincent MEMBRÉ about 1 year ago

  • Status changed from New to In progress

#6 Updated by Vincent MEMBRÉ about 1 year 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

#18 Updated by Vincent MEMBRÉ 12 months ago

  • Status changed from Pending technical review to Pending release

#19 Updated by Vincent MEMBRÉ 11 months ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF