[jira] [Commented] (SOLR-5626) Would like to be able to 'upconfig' and 'linkconfig' via collections api
[ https://issues.apache.org/jira/browse/SOLR-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043559#comment-15043559 ] Erick Erickson commented on SOLR-5626: -- Also be aware that uploading arbitrary XML files is a security hole, see the discussion at: SOLR-5287 [~shalinmangar] Should we close this? > Would like to be able to 'upconfig' and 'linkconfig' via collections api > > > Key: SOLR-5626 > URL: https://issues.apache.org/jira/browse/SOLR-5626 > Project: Solr > Issue Type: Wish > Components: SolrCloud >Reporter: Nathan Neulinger >Assignee: Shalin Shekhar Mangar > Labels: api, collections, rest, zkcli.sh, zookeeper > > Right now, the collections API isn't self contained - to do server > administration, you still have to externally use the zkCli.sh scripts to > upload configs. > It would be really nice to be able to issue a collections API call to upload > a configuration and link that config. I realize that this providing a direct > layer into Zk, but the benefit is that at that point - Zk could be completely > hidden and behind the scenes - and only exposed to Solr itself. > I would suggest that it take a file upload, examples: > /solr/admin/collections >action=UPCONFIG >configName=whatevername >configSolrHome=whateverpath >configContent=fileUpload/multipart >configContentType=typeOfUpload(mimetype?) > /solr/admin/collections >action=LINKCONFIG >collection=collname >configName=whatevername > You could even extend the CREATE operation/api to take configContent and > configContentType file upload, and dynamically create a configName. Then > creating a collection becomes a one-shot API call with no outside > dependencies. > I would suggest that the zip/tar content be specified as rooted at the based > of the config dir. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5626) Would like to be able to 'upconfig' and 'linkconfig' via collections api
[ https://issues.apache.org/jira/browse/SOLR-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905575#comment-13905575 ] Shalin Shekhar Mangar commented on SOLR-5626: - I think that the LINKCONFIG action can be folded inside the modifyCollection API in SOLR-5132 > Would like to be able to 'upconfig' and 'linkconfig' via collections api > > > Key: SOLR-5626 > URL: https://issues.apache.org/jira/browse/SOLR-5626 > Project: Solr > Issue Type: Wish > Components: SolrCloud >Reporter: Nathan Neulinger > Labels: api, collections, rest, zkcli.sh, zookeeper > > Right now, the collections API isn't self contained - to do server > administration, you still have to externally use the zkCli.sh scripts to > upload configs. > It would be really nice to be able to issue a collections API call to upload > a configuration and link that config. I realize that this providing a direct > layer into Zk, but the benefit is that at that point - Zk could be completely > hidden and behind the scenes - and only exposed to Solr itself. > I would suggest that it take a file upload, examples: > /solr/admin/collections >action=UPCONFIG >configName=whatevername >configSolrHome=whateverpath >configContent=fileUpload/multipart >configContentType=typeOfUpload(mimetype?) > /solr/admin/collections >action=LINKCONFIG >collection=collname >configName=whatevername > You could even extend the CREATE operation/api to take configContent and > configContentType file upload, and dynamically create a configName. Then > creating a collection becomes a one-shot API call with no outside > dependencies. > I would suggest that the zip/tar content be specified as rooted at the based > of the config dir. -- This message was sent by Atlassian JIRA (v6.1.5#6160) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5626) Would like to be able to 'upconfig' and 'linkconfig' via collections api
[ https://issues.apache.org/jira/browse/SOLR-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869695#comment-13869695 ] Nathan Neulinger commented on SOLR-5626: In terms of making the collections API self-sufficient, somewhat related to the request for a 'LIST' operation. > Would like to be able to 'upconfig' and 'linkconfig' via collections api > > > Key: SOLR-5626 > URL: https://issues.apache.org/jira/browse/SOLR-5626 > Project: Solr > Issue Type: Wish > Components: SolrCloud >Reporter: Nathan Neulinger > Labels: api, collections, rest, zkcli.sh, zookeeper > > Right now, the collections API isn't self contained - to do server > administration, you still have to externally use the zkCli.sh scripts to > upload configs. > It would be really nice to be able to issue a collections API call to upload > a configuration and link that config. I realize that this providing a direct > layer into Zk, but the benefit is that at that point - Zk could be completely > hidden and behind the scenes - and only exposed to Solr itself. > I would suggest that it take a file upload, examples: > /solr/admin/collections >action=UPCONFIG >configName=whatevername >configSolrHome=whateverpath >configContent=fileUpload/multipart >configContentType=typeOfUpload(mimetype?) > /solr/admin/collections >action=LINKCONFIG >collection=collname >configName=whatevername > You could even extend the CREATE operation/api to take configContent and > configContentType file upload, and dynamically create a configName. Then > creating a collection becomes a one-shot API call with no outside > dependencies. > I would suggest that the zip/tar content be specified as rooted at the based > of the config dir. -- This message was sent by Atlassian JIRA (v6.1.5#6160) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org