Skip to content

Conversation

@dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Oct 19, 2025

https://issues.apache.org/jira/browse/SOLR-17962

This is branched from another PR #3792 with a few lingering Apache HttpClient/SolrClient references; ignore those changes here. That PR should be reviewed and merged first, then this.

solrj-streaming DatabaseMetaDataImpl
ZkController
ConcurrentUpdateHttp2SolrClient (jetty)
They will eventually be deleted after tests are migrated.
Copy link
Contributor

@epugh epugh left a comment

Choose a reason for hiding this comment

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

I am surprised by how little impact this has on actual Java code!

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 19, 2025
@dsmiley
Copy link
Contributor Author

dsmiley commented Oct 28, 2025

Keeping them in the same package created a split-package situation, which was problematic for javadoc. So I changed "impl" for "apache", and so there are a bunch of import statement changes. I also moved some tests specific to these classes along with them into the tests of the test framework, for at least one reason being to retain package access. I found I needed to make a member or inner class or two public in solrj for this move, which is a good outcome since if someone wants to create their very own variant, we wouldn't want them to do so in whatever package they want, not Solr's.

Looks like there's one failing test related to this move. I'll fix and merge this branch tonight.

@dsmiley dsmiley merged commit cf7f507 into apache:main Oct 30, 2025
6 of 7 checks passed
@dsmiley dsmiley deleted the SOLR-17962-MoveDeprecatedToTestFramework branch October 30, 2025 02:02
dsmiley added a commit that referenced this pull request Oct 30, 2025
…st-framework (#3793)

They will eventually be deleted after tests are migrated.
Move to package org.apache.solr.client.solrj.apache.  Uncovered a couple trivial visibility matters.

* ignore ConnectionReuseTest -- we're going to delete soon anyway
dsmiley added a commit that referenced this pull request Oct 30, 2025
…st-framework (#3793)

They will eventually be deleted after tests are migrated.
Move to package org.apache.solr.client.solrj.apache.  Uncovered a couple trivial visibility matters.

* ignore ConnectionReuseTest -- we're going to delete soon anyway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants