-
Notifications
You must be signed in to change notification settings - Fork 848
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
Load file config YAML using core schema, ensure that env var substiut… #6436
Load file config YAML using core schema, ensure that env var substiut… #6436
Conversation
…tion retains string types
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6436 +/- ##
============================================
- Coverage 90.90% 90.86% -0.04%
Complexity 6169 6169
============================================
Files 678 678
Lines 18484 18507 +23
Branches 1813 1818 +5
============================================
+ Hits 16802 16817 +15
- Misses 1147 1154 +7
- Partials 535 536 +1 ☔ View full report in Codecov by Sentry. |
...tor/src/main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfiguration.java
Outdated
Show resolved
Hide resolved
...tor/src/main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfiguration.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this is great. I had a few nitpick/small comments, but good work overall. 🥂
List<NodeTuple> nodeValue = node.getValue(); | ||
for (NodeTuple tuple : nodeValue) { | ||
Node keyNode = tuple.getKeyNode(); | ||
Node valueNode = tuple.getValueNode(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe move the valueNode
down closer to where it's used.
...tor/src/main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfiguration.java
Outdated
Show resolved
Hide resolved
...tor/src/main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfiguration.java
Outdated
Show resolved
Hide resolved
...tor/src/main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfiguration.java
Outdated
Show resolved
Hide resolved
...est/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfigurationParseTest.java
Show resolved
Hide resolved
…y-java into file-config-core-schema
…tion retains string types
Reflects a couple of recent spec PRs: