Deprecate DeclarativeConfigPropertiesBridge#19202
Merged
trask merged 7 commits intoJul 14, 2026
Merged
Conversation
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
…larative-config-properties-bridge # Conflicts: # CHANGELOG.md
trask
approved these changes
Jul 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Deprecates the declarative configuration bridge ahead of its planned removal in 3.0.
Changes:
- Adds deprecation annotations and migration guidance.
- Documents the deprecation in the README and changelog.
- Suppresses expected deprecation warnings in bridge tests.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
CHANGELOG.md |
Records the deprecation. |
declarative-config-bridge/README.md |
Adds migration guidance. |
DeclarativeConfigPropertiesBridge.java |
Deprecates the bridge implementation. |
DeclarativeConfigPropertiesBridgeBuilder.java |
Deprecates the public builder. |
DeclarativeConfigPropertiesBridgeTest.java |
Suppresses expected warnings. |
DeclarativeConfigPropertiesBridgeBuilderTest.java |
Suppresses expected warnings. |
|
This PR has review comments. Review suggestions, whether from maintainers or automated reviewers, aren't always correct or required. Please evaluate each comment on its merits, then make sure each thread has a clear outcome. For example, link to the commit if you applied a suggestion, explain why it wasn't applied, or ask a follow-up question. Automation flags a PR for human review once every review thread has a reply or is marked as resolved. Status across open PRs is visible on the pull request dashboard. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
DeclarativeConfigPropertiesBridgeandDeclarativeConfigPropertiesBridgeBuilderConfigPropertiesUtilWhy
All usages in this repository have already been migrated away from the bridge. This starts the removal cycle while the remaining downstream usages are updated separately.
Testing
GRADLE_USER_HOME=/tmp/gradle-home-otel-java-instr ./gradlew :declarative-config-bridge:test