Page MenuHomeDevCentral

Promote imported FANTOIR version
ClosedPublic

Authored by dereckson on Jan 12 2023, 05:30.
Tags
None
Referenced Files
F2831438: D2733.id6929.diff
Fri, Apr 19, 16:32
F2831205: D2733.id6928.diff
Fri, Apr 19, 15:34
Unknown Object (File)
Thu, Apr 18, 01:07
Unknown Object (File)
Mon, Apr 15, 05:27
Unknown Object (File)
Mon, Apr 15, 05:27
Unknown Object (File)
Sun, Apr 14, 10:59
Unknown Object (File)
Sat, Apr 13, 11:34
Unknown Object (File)
Wed, Apr 10, 18:49
Subscribers
None

Details

Summary

When a new FANTOIR file has been imported to a new table,
declare in the configuration the new table to use.

For convenience, a fantoir view is also provided, as an alias
to the promoted table.

When other tables will need a foreign key to the fantoir table,
this command will also be responsible to update them.

This strategy allows to transparently update the datasource
while allowing consumers still to use it pending update.

Ref T1750.

Test Plan
  • run fantoir-datasource promote fantoir_202210
  • check view fantoir and table fantoir_config are created
  • run it again to check idempotency

Diff Detail

Repository
rDS Nasqueron Datasources
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jan 12 2023, 05:31
This revision was automatically updated to reflect the committed changes.
dereckson retitled this revision from Promote importe FANTOIR version to Promote imported FANTOIR version.Jan 12 2023, 05:33