Skip to content

devops: keep the api, the shared reading and each bank in folders of their own, one package - #40

Merged
landsman merged 2 commits into
mainfrom
reading-root
Nov 10, 2026
Merged

landsman merged 2 commits into
mainfrom
reading-root

Conversation

@landsman

@landsman landsman commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Follows #39. src/main/java held the public API and the code every bank shares for parsing an e-mail side by side. The parsing code moves to a source root of its own, the way each bank already has one:

Folder Holds
src/main/java the API: BankNotifications, Transaction and its values, the exception; dkim/
src/parsing/java Bank, MailBody, NotificationLines, and their tests in src/parsing/test
src/banks/<country>/<bank> one bank's parser, tests, fixtures

All in one package, so nothing internal becomes public: a folder is not a package, and package-private is the only boundary a classpath or Boot fat-jar caller cannot cross. development.md shows the split.

Only moves, two Gradle lines and the docs. make build: the same 144 tests; the jar and the sources jar hold all three moved classes.

@landsman
landsman merged commit 7166731 into main Nov 10, 2026
5 checks passed
@landsman
landsman deleted the reading-root branch November 10, 2026 21:26
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