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

issue: 4207451 Move from env params to config file #312

Open
wants to merge 1 commit into
base: vNext
Choose a base branch
from

Conversation

tomerdbz
Copy link
Collaborator

MVP: Move from env params to config file.

This change introduces a new configuration file that will be used to configure the system.

The configuration file is a JSON file that contains all the configuration parameters that were previously passed as environment variables.

In the case of a failure to load the configuration file, the system will fall back to the old environment variables method.

See HLD and LLD for more information.

This patch also adds unit-tests for the new configuration system.

Change type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Check list

  • Code follows the style de facto guidelines of this project
  • Comments have been inserted in hard to understand places
  • Documentation has been updated (if necessary)
  • Test has been added (if possible)

@tomerdbz
Copy link
Collaborator Author

A.I. - before merging open ticket to devops to build and run unit_tests by:
cd libxlio/tests/unit_tests
make -j
./unit_tests

@tomerdbz tomerdbz force-pushed the new_config branch 3 times, most recently from d6b9a43 to e59a4a0 Compare February 26, 2025 07:46
MVP: Move from env params to config file.

This change introduces a new configuration file that will be used to
configure the system.

The configuration file is a JSON file that
contains all the configuration parameters that were previously passed
as environment variables.

In the case of a failure to load the configuration file,
the system will fall back to the old environment variables method.

See HLD and LLD for more information.

This patch also adds unit-tests for the new configuration system.

Signed-off-by: Tomer Cabouly <[email protected]>
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