[ https://issues.apache.org/jira/browse/NIFI-4583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308955#comment-16308955 ]
ASF subversion and git services commented on NIFI-4583: ------------------------------------------------------- Commit 9f919b9b650bbec647d1d5acbc1a63b721ce84e3 in nifi's branch refs/heads/master from U-WOODMARK\johannes.peter [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=9f919b9 ] NIFI-4583 Restructure nifi-solr-processors Make all methods static NIFI-4583 Restructure nifi-solr-processors R2 This closes #2285. Signed-off-by: Koji Kawamura <ijokaruma...@apache.org> > Restructure package nifi-solr-processors > ---------------------------------------- > > Key: NIFI-4583 > URL: https://issues.apache.org/jira/browse/NIFI-4583 > Project: Apache NiFi > Issue Type: Improvement > Reporter: Johannes Peter > Assignee: Johannes Peter > Priority: Minor > > Several functionalities currently implemented e. g. in GetSolr or > SolrProcessor should be made available for other processors or controller > services. A class SolrUtils should be created containing several static > methods. This includes the methods > - getRequestParams (PutSolrContentStream) > - solrDocumentsToRecordSet (GetSolr) > - createSolrClient (SolrProcessor) > and the inner class QueryResponseOutputStreamCallback (GetSolr) > Some unit tests might be affected. > The method declaration > protected SolrClient createSolrClient(final ProcessContext context, final > String solrLocation) > should be changed to > public static SolrClient createSolrClient(final PropertyContext context, > final String solrLocation) > to be suitable also for controller services. -- This message was sent by Atlassian JIRA (v6.4.14#64029)