You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2023/03/20 17:27:00 UTC
[jira] [Commented] (SOLR-10888) almost self-generating python script(s) to access V2 APIs
[ https://issues.apache.org/jira/browse/SOLR-10888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702860#comment-17702860 ]
Eric Pugh commented on SOLR-10888:
----------------------------------
I think this ticket has been obsoleted by the new V2 API's support OpenAPI annotations, and that is what we'll use to generate language specific clients! Thoughts on closing this one?
> almost self-generating python script(s) to access V2 APIs
> ---------------------------------------------------------
>
> Key: SOLR-10888
> URL: https://issues.apache.org/jira/browse/SOLR-10888
> Project: Solr
> Issue Type: New Feature
> Components: v2 API
> Reporter: Christine Poerschke
> Priority: Minor
> Attachments: SOLR-10888.patch, solr_cli.py
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The V2 API supports introspection and the results of such introspection(s) can be used to automatically on-the-fly generate a (nested) {{argparse.ArgumentParser}} in a python script and then to again automatically transform the script arguments into a url and http call to the V2 API.
> Illustrative patch and sample output to follow.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org