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

Loading config file from classpath Also in case of env property or classpath checking if the file exists before returning #1368

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

nashjain
Copy link
Member

What:

If the config file is available as part of the classpath then use it instead of always expecting it to be at the top level of the project.

Why:

Some developers prefer to keep specmatic.yaml config file inside their src/test/resources folder.

Checklist:

Also in case of env property or classpath checking if the file exists before returning
Copy link
Member

@harikrishnan83 harikrishnan83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@harikrishnan83 harikrishnan83 merged commit f0600c7 into main Oct 20, 2024
2 checks passed
@harikrishnan83 harikrishnan83 deleted the config_file_from_classpath branch October 20, 2024 13:07
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.

2 participants