Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use sepa_file_parser instead of camt_parser #314

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

janz93
Copy link
Contributor

@janz93 janz93 commented Mar 6, 2025

What changes are introduced?

Replace the camt_parser with the sepa_file_parser

Why are these changes introduced?

We used a forkedcamt_parser version which was outdated. The sepa_file_parser is from the community supported which ensures the latest changes

How are these changes made?

  • Replace gem
  • Create mapping layer to keep the impact due to changed method names small

How was it tested? (optional)

remove this section, when you don't add further information

Some code, especially infrastructure code (say HELM or Kubernetes yaml files) are harder to test. So it’s important to let the reviewer know how you tested them in case you can’t check in tests. Alternatively, you can explain to the reviewer how to test it locally if necessary. Showing the results of tests you’ve run in this section if none are visible in the diff is also very helpful.

  • Specs
  • Locally
  • Staging

janz93 added 3 commits March 6, 2025 13:45
order the method based on their execution
use a variable to improve readability
we used a forked `camt_parser` version which was outdated.
To use the `sepa_file_parser` gem we extended the mapping factory in
order to keep the code impact as small as possible.

NOTE: thanks to the mapping the transaction_id is now better found which
caused a few spec to break due to invalid expectations. Those were
removed.
@janz93 janz93 force-pushed the chore/camt_parser branch from a9edfe2 to 2ec24d8 Compare March 6, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant