-
Notifications
You must be signed in to change notification settings - Fork 69
Allow resolving from resolved schema using Manifest file. #1160
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
Merged
jsuereth
merged 20 commits into
open-telemetry:main
from
jsuereth:wip-resolve-using-manifest
Feb 12, 2026
Merged
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
cb800c4
Start making changes to use the manifest during resolution for more t…
jsuereth cb32b9d
Update capabilities of RegistryRepo to allow referencing resolved sch…
jsuereth b55ac71
Clean up registry repo manifest reading to make better use of Virtual…
jsuereth 34ee08a
Clean up errors and loading to allow loading V2 resolved schema.
jsuereth ff6b470
Fix diagnostic severity not flowing through transparent errors.
jsuereth 613f6af
Refactor registry resolve tests for multi-dependencies, and start fir…
jsuereth 7b35508
Get simple metric import working from V2 registry.
jsuereth 77ff50b
Complete an import implementation.
jsuereth 3ca9298
Add attribute lookup test.
jsuereth ef27d97
Fix clippy.
jsuereth 946891c
Fix windows path handling
jsuereth 88a63a9
Fix typos and clippy.
jsuereth 8367685
Clippy fixes
jsuereth a18e5a6
Dead code cleanup
jsuereth 899eb01
Fix from review.
jsuereth 9cea92a
Fix from review.
jsuereth 99af1c5
Remove expects for real errors.
jsuereth de7fb63
Merge branch 'main' into wip-resolve-using-manifest
jsuereth 530faea
Clippy.
jsuereth 637eecb
Merge remote-tracking branch 'origin/main' into wip-resolve-using-man…
jsuereth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 29 additions & 27 deletions
56
crates/weaver_resolver/data/registry-test-1-single-attr-ref/expected-attribute-catalog.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,30 @@ | ||
| [ | ||
| { | ||
| "name": "messaging.destination.name", | ||
| "type": "string", | ||
| "brief": "The message destination name", | ||
| "examples": [ | ||
| "MyQueue", | ||
| "MyTopic" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "note": "Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If\nthe broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.\n", | ||
| "stability": "stable" | ||
| }, | ||
| { | ||
| "name": "messaging.destination.name", | ||
| "type": "string", | ||
| "brief": "The message destination name", | ||
| "examples": [ | ||
| "MyQueue", | ||
| "MyTopic" | ||
| ], | ||
| "requirement_level": { | ||
| "conditionally_required": "if and only if `messaging.destination.name` is known to have low cardinality. Otherwise, `messaging.destination.template` MAY be populated." | ||
| { | ||
| "attributes": [ | ||
| { | ||
| "name": "messaging.destination.name", | ||
| "type": "string", | ||
| "brief": "The message destination name", | ||
| "examples": [ | ||
| "MyQueue", | ||
| "MyTopic" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "note": "Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If\nthe broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.\n", | ||
| "stability": "stable" | ||
| }, | ||
| "note": "Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If\nthe broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.\n", | ||
| "stability": "stable" | ||
| } | ||
| ] | ||
| { | ||
| "name": "messaging.destination.name", | ||
| "type": "string", | ||
| "brief": "The message destination name", | ||
| "examples": [ | ||
| "MyQueue", | ||
| "MyTopic" | ||
| ], | ||
| "requirement_level": { | ||
| "conditionally_required": "if and only if `messaging.destination.name` is known to have low cardinality. Otherwise, `messaging.destination.template` MAY be populated." | ||
| }, | ||
| "note": "Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If\nthe broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.\n", | ||
| "stability": "stable" | ||
| } | ||
| ] | ||
| } |
128 changes: 65 additions & 63 deletions
128
crates/weaver_resolver/data/registry-test-10-prefix-refs/expected-attribute-catalog.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,63 +1,65 @@ | ||
| [ | ||
| { | ||
| "name": "client.geo.lat", | ||
| "type": "string", | ||
| "brief": "My own latitude", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development", | ||
| "prefix": true | ||
| }, | ||
| { | ||
| "name": "client.geo.lat", | ||
| "type": "string", | ||
| "brief": "this is embedded attribute", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "client.id", | ||
| "type": "string", | ||
| "brief": "some client id\n", | ||
| "examples": [ | ||
| "a.einstein" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "geo.lat", | ||
| "type": "string", | ||
| "brief": "latitude of the geo coordinates.\n", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "geo.lat", | ||
| "type": "string", | ||
| "brief": "this is ref attribute", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "geo.lon", | ||
| "type": "string", | ||
| "brief": "longitude of the geo coordinates.\n", | ||
| "examples": [ | ||
| "234.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| } | ||
| ] | ||
| { | ||
| "attributes": [ | ||
| { | ||
| "name": "client.geo.lat", | ||
| "type": "string", | ||
| "brief": "My own latitude", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development", | ||
| "prefix": true | ||
| }, | ||
| { | ||
| "name": "client.geo.lat", | ||
| "type": "string", | ||
| "brief": "this is embedded attribute", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "client.id", | ||
| "type": "string", | ||
| "brief": "some client id\n", | ||
| "examples": [ | ||
| "a.einstein" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "geo.lat", | ||
| "type": "string", | ||
| "brief": "latitude of the geo coordinates.\n", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "geo.lat", | ||
| "type": "string", | ||
| "brief": "this is ref attribute", | ||
| "examples": [ | ||
| "123.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| }, | ||
| { | ||
| "name": "geo.lon", | ||
| "type": "string", | ||
| "brief": "longitude of the geo coordinates.\n", | ||
| "examples": [ | ||
| "234.456" | ||
| ], | ||
| "requirement_level": "recommended", | ||
| "stability": "development" | ||
| } | ||
| ] | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.