[
https://issues.apache.org/jira/browse/SOLR-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler resolved SOLR-5960.
---------------------------------
Resolution: Fixed
Fix Version/s: 5.0
4.8
I commmited your patch, I just added a simple test for the URL parsing to
SimplePostToolTest.
Unfortunately the whole tool has no real test case, it just uses a "mock mode"
where it does nothing.
To setup a real test we would need to spawn a Jetty and configure it to use
basic auth. I cannot do this at the moment, so I just leave this as "untested
code".
> Add Support for Basic Authentication to Post.jar
> ------------------------------------------------
>
> Key: SOLR-5960
> URL: https://issues.apache.org/jira/browse/SOLR-5960
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Affects Versions: 4.7
> Reporter: Sameer Maggon
> Assignee: Uwe Schindler
> Priority: Minor
> Fix For: 4.8, 5.0
>
> Attachments: solr-5960-1.patch, solr-5960.patch
>
>
> Post.jar currently doesn't support Basic Authentication if Solr is configured
> to use Basic Authentication.
> I've attached a patch that enables users to use post.jar if their Solr is
> configured with Basic Authentication.
> Here's the example usage:
> java -Durl="http://username:password@hostname:8080/solr/update" -jar post.jar
> sample.xml
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]