You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2023/04/03 17:49: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=17708062#comment-17708062 ] 

Jason Gerlowski commented on SOLR-10888:
----------------------------------------

+1 to close this out.  It's a shame since the idea was so cool, but at this point OpenAPI specs and the associated tooling have superseded the "introspect" endpoints as the more maintainable way to do this sort of thing going forward.



> 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