Skip to content

Conversation

mashhurs
Copy link
Collaborator

@mashhurs mashhurs commented Jul 10, 2025

Description

This PR highlights the initial changes required to move to the Bridge Stable API. However, this doesn't mean these changes will be enough for the plugin to be a in normal working state. Rather, this changes highlight how does current bridge Spable API state align with plugin requirements. Based on the discussions on these changes, we may need to adjust the plan (sub-tasks).

Next steps

PLEASE IGNORE:

@mashhurs mashhurs changed the base branch from move-to-es-bridge-api to main July 10, 2025 23:13
Copy link

mergify bot commented Jul 10, 2025

This pull request does not have a backport label. Could you fix it @mashhurs? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • If no backport is necessary, please add the backport-skip label

@mashhurs mashhurs added the backport-skip Skip automated backport with mergify label Jul 10, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 0707b1b to bc9af21 Compare July 10, 2025 23:16
@mashhurs mashhurs changed the title [Move to ES bridge API] Investigation DO NOT MERGE: [Move to ES bridge API] Investigation Jul 10, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 18333c6 to 5a96c8c Compare July 17, 2025 20:06
@mashhurs mashhurs changed the title DO NOT MERGE: [Move to ES bridge API] Investigation [DO NOT MERGE]: Move to ES bridge API Jul 18, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 9820699 to 9bdad09 Compare July 22, 2025 19:44
@mashhurs mashhurs changed the title [DO NOT MERGE]: Move to ES bridge API Move to ES bridge API Jul 23, 2025
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from 09c332c to 9b0b557 Compare August 7, 2025 23:58
@mashhurs mashhurs force-pushed the move-to-es-bridge-investigation branch from fa3468c to 53ded41 Compare August 8, 2025 18:40

import org.elasticsearch.ingest.geoip.IpDatabase;

public interface ValidatableIpDatabase extends IpDatabase {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No direct usage.


import java.util.Map;

public class RedactPlugin extends Plugin implements IngestPlugin {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

moved to the upstream bridge.

@mashhurs mashhurs linked an issue Aug 8, 2025 that may be closed by this pull request
@mashhurs mashhurs marked this pull request as ready for review August 11, 2025 16:51
yaauie and others added 3 commits September 3, 2025 15:21
 - `new ${BRIDGE}(...)` -> `${BRIDGE}.create(...)`: use bridge-provided
   factory methods
 - `${INTERNAL}Bridge.${NESTED}` -> `${INTERNAL}${NESTED}Bridge`: extract
   nested bridges to top-level
 - `${BRIDGE}.AbstractExternal` -> `AbstractExternal${BRIDGE}`: extract
   nested "AbstractExternal" base implementations to top-level
Copy link
Member

@yaauie yaauie left a comment

Choose a reason for hiding this comment

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

Overall LGTM.

We need to first merge the upstream PR on elasticsearch elastic/elasticsearch#132595 (review) and then ensure we're pointing at the correct ELASTICSEARCH_REPO and ELASTICSEARCH_TREEISH in gradle.properties.

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

@mashhurs mashhurs requested a review from yaauie September 5, 2025 22:44
Copy link
Member

@yaauie yaauie left a comment

Choose a reason for hiding this comment

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

👍🏼 Looks good. It's been a long road but it will be very good to have this stable bridge in place.

@mashhurs mashhurs merged commit fd524b7 into elastic:main Sep 8, 2025
4 checks passed
@mashhurs mashhurs deleted the move-to-es-bridge-investigation branch September 8, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip Skip automated backport with mergify

Projects

None yet

3 participants