Skip to content

Conversation

@andrii0lomakin
Copy link
Contributor

New feature - the ability to include other YAML files using the "includes" property was added.

Files including feature support nesting.
So one YAML file can include several files that, in turn, include another file and so on.

Circular references are detected during inclusion, and an exception is thrown.

The following formats of file paths are supported:

  1. The absolute file path.
  2. Path relative to the including file.
  3. Files prefixed with classpath: are searched inside the class path.

Files loaded through the class path also support relative path references that will be resolved inside the class path scope.

Properties of included files are overwritten in order of inclusion. After that, the including file will overwrite those properties.

…udes" property was added.

Files including feature support nesting.
So one YAML file can include several files that in turn include another file and so on.

Circular references are detected during inclusion, and an exception is thrown.

The following formats of file paths are supported:
1. The absolute file path.
2. Path relative to including file.
3. Files prefixed with `classpath:` are searched inside class path.

Files loaded through class path also support relative path references that will be resolved inside class path scope.

Properties of included files are overwritten in order of inclusion, after that including file will overwrite those properties.
@codecov-commenter
Copy link

codecov-commenter commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 77.34375% with 29 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (3.8-dev@987f294). Learn more about missing BASE report.

Files with missing lines Patch % Lines
.../org/apache/tinkerpop/gremlin/server/Settings.java 77.34% 16 Missing and 13 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             3.8-dev    #3287   +/-   ##
==========================================
  Coverage           ?   76.44%           
  Complexity         ?    14884           
==========================================
  Files              ?     1159           
  Lines              ?    72132           
  Branches           ?     8061           
==========================================
  Hits               ?    55144           
  Misses             ?    14044           
  Partials           ?     2944           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@spmallette
Copy link
Contributor

thanks for submitting this. i think a lot of folks are off for the holiday period. it might take a bit longer than usual to review this work.

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.

3 participants