Skip to content

Conversation

jedrazb
Copy link
Member

@jedrazb jedrazb commented Jan 15, 2025

Changes

Add hard URL param to DELETE _connector/{id} endpoint.

If:

  • hard=true connector doc is hard-deleted from connector index
  • hard=false (default) connector doc is marked as deleted with a flag, doc stays in the index

Added unit tests and yaml e2e tests.

Remove unused wire serialisation code from the delete action, use localOnly() as the request is always executed on the node receiving the request.

Copy link
Contributor

Documentation preview:

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-eng (Team:SearchOrg)

@elasticsearchmachine elasticsearchmachine added the Team:SearchOrg Meta label for the Search Org (Enterprise Search) label Jan 15, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-extract-and-transform (Team:Search - Extract & Transform)

@elasticsearchmachine
Copy link
Collaborator

Hi @jedrazb, I've created a changelog YAML for you.

Copy link
Contributor

@navarone-feekery navarone-feekery left a comment

Choose a reason for hiding this comment

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

LGTM!

---
"List Connectors - Soft deleted connectors / no deleted":
- requires:
cluster_features: ["connector_soft_deletes"]
Copy link
Member Author

Choose a reason for hiding this comment

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

we actually don't have this feature, I ended up deleting this 90862f2

@jedrazb jedrazb merged commit 0317c1c into elastic:main Jan 16, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>feature :SearchOrg/Extract&Transform Label for the Search E&T team Team:Search - Extract & Transform Team:SearchOrg Meta label for the Search Org (Enterprise Search) v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants