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

Make Launcher parameters configurable remotely #10

Open
TSchmiedlechner opened this issue Oct 2, 2021 · 2 comments
Open

Make Launcher parameters configurable remotely #10

TSchmiedlechner opened this issue Oct 2, 2021 · 2 comments
Labels
feature-request New feature or request needs-clarification Features or bugs that need further clarification and should be discussed.

Comments

@TSchmiedlechner
Copy link
Member

TSchmiedlechner commented Oct 2, 2021

User story

As a user of the Middleware Launcher, I want to be able to change relevant parts of the configuration via the fiskaltrust.Portal, so that I can alter the config without requiring to connect to the POS system.

Context

As of now, it's only possible to set the Launcher's config locally via files or parameters. It might be helpful for users to set specific parts of the config remotely, e.g. via the Portal or an API, and have it synced to the local MW frequently, to e.g. enable verbose logging in case of issues.

We'd need to clarify how the configuration would be synced than - this could either be done via a Helper package, or directly be built into the Launcher.

@TSchmiedlechner TSchmiedlechner added the feature-request New feature or request label Oct 2, 2021
@TSchmiedlechner TSchmiedlechner changed the title Make Launcher parameters configurable via the Portal Make Launcher parameters configurable remotely Oct 2, 2021
@TSchmiedlechner TSchmiedlechner added the needs-clarification Features or bugs that need further clarification and should be discussed. label Oct 2, 2021
@volllly
Copy link
Contributor

volllly commented Oct 4, 2021

Also we need to think about precedence.
Which config overwrites which.

My suggestion is that the online configuration is overwriting the local configuration and the cli arguments overwrite both.
If we do it like that when trying something locally the cli arguments have the last word. But when you want to change config from the portal the online config has the last word.

@volllly
Copy link
Contributor

volllly commented Dec 4, 2023

First we'll need to store the online launcher configuration for each cashbox and create a way to edit the launcher configuration in the Portal.

Second we'll need to think about how to get it to the launcher.

  • Option 1: Deliver it through the cashbox configuration.
  • Option 2: Deliver it on its own through the configuration service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request needs-clarification Features or bugs that need further clarification and should be discussed.
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants