Skip to content

Normalize OpenSearch REST common javaagent package#18732

Merged
trask merged 1 commit into
open-telemetry:mainfrom
trask:package-name-cleanup-opensearch-rest-common
May 14, 2026
Merged

Normalize OpenSearch REST common javaagent package#18732
trask merged 1 commit into
open-telemetry:mainfrom
trask:package-name-cleanup-opensearch-rest-common

Conversation

@trask

@trask trask commented May 13, 2026

Copy link
Copy Markdown
Member

@trask trask marked this pull request as ready for review May 13, 2026 14:02
@trask trask requested a review from a team as a code owner May 13, 2026 14:02
Copilot AI review requested due to automatic review settings May 13, 2026 14:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Renames the package of OpenSearch REST common javaagent classes from io.opentelemetry.javaagent.instrumentation.opensearch.rest to io.opentelemetry.javaagent.instrumentation.opensearch.rest.common, aligning the package name with the module name. Updates all dependent imports in the opensearch-rest-1.0 and opensearch-rest-3.0 modules.

Changes:

  • Move 5 common classes and 1 abstract test under the new .common subpackage.
  • Update imports in 1.0 and 3.0 instrumentation/test files to reference the new package.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
opensearch-rest-common/.../AbstractOpenSearchRestTest.java Package renamed to .common.
opensearch-rest-common/.../RestResponseListener.java Package renamed to .common.
opensearch-rest-common/.../OpenSearchRestResponse.java Package renamed to .common.
opensearch-rest-common/.../OpenSearchRestRequest.java Package renamed to .common.
opensearch-rest-common/.../OpenSearchRestInstrumenterFactory.java Package renamed to .common.
opensearch-rest-common/.../OpenSearchRestAttributesGetter.java Package renamed to .common.
opensearch-rest-3.0/.../OpenSearchRest3Test.java Updated import to new package.
opensearch-rest-3.0/.../RestClientInstrumentation.java Updated imports to new package.
opensearch-rest-3.0/.../OpenSearchRestSingletons.java Updated imports to new package.
opensearch-rest-1.0/.../OpenSearchRestTest.java Updated import to new package.
opensearch-rest-1.0/.../RestClientInstrumentation.java Updated imports to new package.
opensearch-rest-1.0/.../OpenSearchRestSingletons.java Updated imports to new package.

@trask trask merged commit ac0874b into open-telemetry:main May 14, 2026
99 checks passed
@trask trask deleted the package-name-cleanup-opensearch-rest-common branch May 14, 2026 14:43
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