Page MenuHomeDevCentral

Check FANTOIR filename using FANTOIRMMYY format
ClosedPublic

Authored by dereckson on Jan 14 2024, 21:57.
Tags
None
Referenced Files
F3931075: D3285.id8457.diff
Sun, Dec 22, 17:12
Unknown Object (File)
Tue, Dec 17, 17:46
Unknown Object (File)
Tue, Dec 17, 05:23
Unknown Object (File)
Wed, Dec 11, 06:30
Unknown Object (File)
Sun, Dec 8, 09:45
Unknown Object (File)
Sun, Dec 8, 09:45
Unknown Object (File)
Sun, Dec 8, 09:04
Unknown Object (File)
Sun, Dec 8, 08:31
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