Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[!!!][TASK] Remove deprecated Node class #3803

Conversation

dkd-friedrich
Copy link
Member

@dkd-friedrich dkd-friedrich commented Sep 25, 2023

What this pr does

Removes deprecated class ApacheSolrForTypo3\Solr\System\Solr\Node and it's usages.

  • Replace deprecated Node class with Endpoint
  • Replace getUsername/getPassword with getAuthentication()
  • Change SolrConnection->getNode() to SolrConnection->getEndpoint
  • Update documentation and release notes

Resolves: #3630

@dkd-friedrich
Copy link
Member Author

Originates from #3665

@dkd-friedrich dkd-friedrich force-pushed the task/main/3630-replace_node_with_endpoint branch from 72adf9b to 3e1cb41 Compare September 26, 2023 14:05
@dkd-friedrich
Copy link
Member Author

Necessary adjustments made, final tests are still pending

We have to decide if we still want to support the solr/ path segment in the configuration.

@dkd-friedrich
Copy link
Member Author

We have to decide if we still want to support the solr/ path segment in the configuration.

We discussed this and we'll drop this backwards compatibility with EXT:solr 12, to reduce the complexity and to follow the standards.

@dkd-friedrich dkd-friedrich force-pushed the task/main/3630-replace_node_with_endpoint branch 3 times, most recently from 262474f to f6e7fd4 Compare September 29, 2023 05:08
@dkd-kaehm dkd-kaehm force-pushed the task/main/3630-replace_node_with_endpoint branch from f6e7fd4 to 666529c Compare October 6, 2023 10:34
Removes deprecated class ApacheSolrForTypo3\Solr\System\Solr\Node
and it's usages.

- Replace deprecated Node class with Endpoint
- Replace getUsername/getPassword with getAuthentication()
- Change SolrConnection->getNode() to SolrConnection->getEndpoint

Resolves: TYPO3-Solr#3630, TYPO3-Solr#3043
Replaces: TYPO3-Solr#3518
@dkd-kaehm dkd-kaehm force-pushed the task/main/3630-replace_node_with_endpoint branch from 666529c to 53d4c44 Compare October 6, 2023 10:36
Copy link
Collaborator

@dkd-kaehm dkd-kaehm left a comment

Choose a reason for hiding this comment

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

LGTM,
can merge.

@dkd-kaehm dkd-kaehm merged commit 5043cdd into TYPO3-Solr:main Oct 6, 2023
8 checks passed
@dkd-friedrich dkd-friedrich deleted the task/main/3630-replace_node_with_endpoint branch October 6, 2023 13:55
@dkd-kaehm dkd-kaehm mentioned this pull request Oct 13, 2023
1 task
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.

[!!!][TASK:T12] Remove deprecated .\System\Solr\Node class and its usages
2 participants