Skip to content

[Stable plugin api] Drop api suffix in package names#92905

Merged
pgomulka merged 5 commits intoelastic:mainfrom
pgomulka:refactor_drop_api_in_package
Jan 14, 2023
Merged

[Stable plugin api] Drop api suffix in package names#92905
pgomulka merged 5 commits intoelastic:mainfrom
pgomulka:refactor_drop_api_in_package

Conversation

@pgomulka
Copy link
Copy Markdown
Contributor

@pgomulka pgomulka commented Jan 13, 2023

Refactoring that drops the api suffix from package name
This will have to be followed up by a plugins/examples fix in imports
Also set an artifact group name to org.elasticsearch.plugin in the plugin-api and plugin-analysis-api

@pgomulka pgomulka added :Core/Infra/Plugins Plugin API and infrastructure >refactoring v8.7.0 labels Jan 13, 2023
@pgomulka pgomulka self-assigned this Jan 13, 2023
@pgomulka pgomulka requested a review from rjernst January 13, 2023 13:31
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Jan 13, 2023
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@pgomulka pgomulka marked this pull request as draft January 13, 2023 13:34
refactoring that drops the api suffix from package name
This will have to be followed up by a plugins/examples fix in imports
Also set an artifact group name corresponding to the dominating package in the plugin-api and plugin-analysis-api
@pgomulka pgomulka force-pushed the refactor_drop_api_in_package branch from 4543a8c to 3ec11ed Compare January 13, 2023 13:57
Copy link
Copy Markdown
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

apply plugin: 'elasticsearch.publish'
apply plugin: 'elasticsearch.build'

group = "org.elasticsearch.plugin.analysis"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it would cleaner to have this directly under org.elasticsearch.plugin. There is no need for a unique group per artifact.

@pgomulka pgomulka merged commit 2cdaabe into elastic:main Jan 14, 2023
pgomulka added a commit that referenced this pull request Jan 16, 2023
…name (#92908)

the package name in stable api has changed in this PR #92905
this commits changes the package names to allow compilation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Plugins Plugin API and infrastructure >refactoring Team:Core/Infra Meta label for core/infra team v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants