Add Open Banking (OPBR) participants
guibranco opened this issue · 1 comments
guibranco commented
- Checkout MergeTool branch
- Open VS, VS Code, Rider, or your favourite IDE / Code Editor
- Load the project (currently it is in C# .NET 7.0)
- Add the required URLs to the
Constants.cs
file - Add a new enum item in the
Source.cs
file, named Opbr - Add a new method in the
Reader.cs
called LoadOpbr, this should do all the heavy job of grabbing the information from the remote source. Follow the other methods patterns to extract the PDF information from the file. - Add the RegExp to the
Patterns.cs
file - Add the new field(s) to
Bank.cs
file - In the
Seeder.cs
file, implement the method MergeOpbr to merge the new data with the existing ones. Prefer to filter the data by ISPB, then Document to check for existing data. Rely on the existing list, DO NOT ADD new bank to the list if it is not present with COMPE, ISPB, Document, and Name at least. - Call the new methods (LoadOpbr and MergeOpbr) in
AcquireData
method insideProgram.cs
file - On the
Writer.cs
file, edit the following methods, mapping the new field(s):SaveCsv
SaveMarkdown
SaveSql
- Test it 🧪 (just run it locally and check the result directory)
- Update schema files
- Update DTO files
- Commit and submit a PR 🎉
guibranco commented
Desconsiderar o Open Banking e usar apenas o Open Finance (SFA - Sistema Financeiro Aberto).