Project

General

Profile

Actions

User story #10050

closed

Remove all datasource code from Rudder main and add needed hooks

Added by François ARMAND about 7 years ago. Updated about 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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 3 (0 open3 closed)

User story #10017: Improve data sources UIReleasedVincent MEMBRÉ2017-01-17Actions
Bug #10054: Change headers AND params in datasource api to be an arrayReleasedFrançois ARMAND2017-01-23Actions
User story #10100: Remove datasource migration script from packagingReleasedAlexis Mousset2017-01-31Actions
Actions #1

Updated by François ARMAND about 7 years 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
Actions #2

Updated by François ARMAND about 7 years ago

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

Updated by Vincent MEMBRÉ about 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