Project

General

Profile

User story #10050

Remove all datasource code from Rudder main and add needed hooks

Added by François ARMAND 11 months ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Suggestion strength:
User visibility:
Effort required:

Description

To be able to iterate more quicky in data source functionnalities, we want to make it a plugin.

For that, we need to remove all related code, database schema, and dependencies from Rudder main project, and add missing hooks.

More preciselly:

- add a code hook when a node is accepted (mirroring script hook)
- add a code hook when a policy generation is started, before node properties are retrieve (again miroring script hook)
- add two fields in NodeProperties: "provider", meaning who is the owner of that property, with a default to "rudder" if nothing is specified, and "mode", accepting "read-only" or "read-write" option. Only the owner can modify a "read-only" node property. Update node API to use that.


Subtasks

User story #10017: Improve data sources UIReleasedVincent MEMBRÉ

Bug #10054: Change headers AND params in datasource api to be an arrayReleasedFrançois ARMAND

User story #10100: Remove datasource migration script from packagingReleasedAlexis MOUSSET

Associated revisions

Revision 639f203a
Added by François ARMAND 11 months ago

Fixes #10050: Remove all datasource code from Rudder main and add needed hooks

History

#1 Updated by François ARMAND 11 months ago

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

#2 Updated by François ARMAND 11 months ago

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

#3 Updated by Vincent MEMBRÉ 10 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