Skip to content

feat(cli): add parameterized launcher for runtime-configured environments#46

Merged
uwemaurer merged 2 commits intoebics-java:masterfrom
mstohr1975:feature/parameterized-launcher
Apr 9, 2026
Merged

feat(cli): add parameterized launcher for runtime-configured environments#46
uwemaurer merged 2 commits intoebics-java:masterfrom
mstohr1975:feature/parameterized-launcher

Conversation

@mstohr1975
Copy link
Copy Markdown
Contributor

Title

feat(cli): add parameterized launcher for runtime-configured environments

Body

## Summary

Adds a parameterized launcher mode that allows running EBICS client flows without a persisted `ebics.txt` file.

## Motivation

In containerized or ephemeral runtime environments, persisting local config files is often undesirable.
This adds an explicit launcher path that reads runtime parameters from environment variables.

## Changes

- Add `org.kopi.ebics.client.ParameterizedEbicsClientLauncher`
- Parse and validate required runtime environment variables
- Support create/load and init flows (`INI`, `HIA`, `HPB`)
- Support upload/download order flags with `-i` / `-o`
- Add endpoint consistency validation for loaded users (fail-fast with actionable error)
- Add tests for argument parsing (`ParameterizedEbicsClientLauncherTest`)
- Add README usage section for the new launcher

## Compatibility

- Existing `EbicsClient` CLI flow remains unchanged.
- New launcher is opt-in.

## Validation

- `mvn -B test` passes locally

@mstohr1975
Copy link
Copy Markdown
Contributor Author

I pushed a CI guard for fork PRs in this branch (dependency submission now only runs on push or same-repo PRs). Until this is merged, please treat the dependency-submission check as non-blocking for fork contributions.

@mstohr1975 mstohr1975 mentioned this pull request Apr 8, 2026
@uwemaurer
Copy link
Copy Markdown
Collaborator

LGTM. can I merge it? (it is a "draft" PR)

@mstohr1975
Copy link
Copy Markdown
Contributor Author

Yes, please feel free to merge it.

@uwemaurer uwemaurer marked this pull request as ready for review April 9, 2026 09:30
@uwemaurer uwemaurer merged commit c09a1ae into ebics-java:master Apr 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants