Page MenuHomeDevCentral

Promote imported FANTOIR version
ClosedPublic

Authored by dereckson on Jan 12 2023, 05:30.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 03:08
Unknown Object (File)
Sun, Dec 15, 04:53
Unknown Object (File)
Mon, Dec 9, 07:58
Unknown Object (File)
Sat, Dec 7, 13:01
Unknown Object (File)
Sat, Dec 7, 11:49
Unknown Object (File)
Wed, Dec 4, 09:04
Unknown Object (File)
Wed, Dec 4, 09:04
Unknown Object (File)
Wed, Dec 4, 09:04
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
No Lint Coverage
Unit
No Test Coverage
Branch
promote
Build Status
Buildable 4317
Build 4584: arc lint + arc unit

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