Page MenuHomeDevCentral

Check FANTOIR filename using FANTOIRMMYY format
ClosedPublic

Authored by dereckson on Jan 14 2024, 21:57.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 21:09
Unknown Object (File)
Mon, Nov 11, 20:01
Unknown Object (File)
Sun, Nov 10, 08:47
Unknown Object (File)
Sun, Nov 10, 08:36
Unknown Object (File)
Sun, Nov 10, 06:18
Unknown Object (File)
Sat, Nov 9, 22:47
Unknown Object (File)
Sat, Nov 9, 17:32
Unknown Object (File)
Mon, Nov 4, 03:28
Subscribers
None

Details

Summary

Similar to fc13adda27ce, we need to check for FANTOIRMMYY format,
ie for FANTOIR0423 and not for FANTOIR423.

The zerofill is added to the year to so it works with older files too.

Test Plan

Run fantoir-datasource fetch twice:

  • first time should exit with 0, FANTOIR0423 should exist
  • second time should exit with 1Z and warn file already exists

Diff Detail

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