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

Support a second config.yml file for 'local' configuration #93

Open
knolleary opened this issue Jun 2, 2023 · 0 comments
Open

Support a second config.yml file for 'local' configuration #93

knolleary opened this issue Jun 2, 2023 · 0 comments
Labels
area:device Device specific work scope:device Agent feature for Gateways and PLCs size:S - 2 Sizing estimation point task A piece of work that isn't necessarily tied to a specific Epic or Story.

Comments

@knolleary
Copy link
Member

Description

Currently the device agent picks up its configuration from command-line params and device.yml.

There are some options the user may want to set in their device.yml that do not come from the platform. This means the user has to merge changes in their device.yml file which could be error prone.

This includes:

  • port
  • interval
  • verbose
  • moduleCache

With #92 we are adding a bunch more CLI params for the config UI.

The proposal here is to support a second config file - config.yml that can be used to set any option not otherwise provided by the platform's device.yml.

When starting, the agent would load config.yml (if it exists), then apply device.yml (if it exists) over the top, and then apply any CLI param overrides.

Epic/Story

No response

@knolleary knolleary added task A piece of work that isn't necessarily tied to a specific Epic or Story. size:S - 2 Sizing estimation point labels Jun 2, 2023
@MarianRaphael MarianRaphael added area:device Device specific work scope:device Agent feature for Gateways and PLCs labels Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:device Device specific work scope:device Agent feature for Gateways and PLCs size:S - 2 Sizing estimation point task A piece of work that isn't necessarily tied to a specific Epic or Story.
Projects
Status: Short
Development

No branches or pull requests

2 participants