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

Changing mandatory configuration files parsing method #847

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

duartenfonseca
Copy link
Collaborator

Summary
This issue mentions incorrect parsing of the mandatory conf files. if there are files with similar names all would be parsed. this is a fix for it. Details
An example of erroneous parsing:
VSOMEIP_MANDATORY_CONFIGURATION_FILES=service.json,common.json then only service.json and common.json should be read and parsed. Currently if there are the following files in the configuration folder: main_service.json
other_service.json
service.json
All are parsed. Changing the comparison method for incoming config files fixes it.
Fixes issue #243

Summary
This issue mentions incorrect parsing of the mandatory conf files. if there are
files with similar names all would be parsed. this is a fix for it.
Details
An example of erroneous parsing:
VSOMEIP_MANDATORY_CONFIGURATION_FILES=service.json,common.json
then only service.json and common.json should be read and parsed.
Currently if there are the following files in the configuration folder:
main_service.json
other_service.json
service.json
All are parsed. Changing the comparison method for incoming config files fixes it.
@duartenfonseca duartenfonseca force-pushed the changing_mandatory_path branch from 827c69a to 8a16378 Compare February 18, 2025 16:15
@duartenfonseca duartenfonseca merged commit 1f4364d into master Feb 18, 2025
2 checks passed
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