Plugin development: sending PUT requests

31 views
Skip to first unread message

Tobias

unread,
Apr 9, 2015, 5:20:55 PM4/9/15
to scmma...@googlegroups.com
Hi,

the scm-fisheye-plugin uses the HttpClient already provided by scm manager. This client only allows GET and POST requests.
To use the new fisheye API, it is required to send PUT requests.

What is the best approach to send PUT request?

Is there already a solution integrated in the scm manager?
Should I copy-paste the URLWebHookHttpClient from the scm-webhook-plugin, which already provides sending arbitrary requests (I'd prefer not to duplicate code)?

Best,
Tobias

Sebastian Sdorra

unread,
Apr 13, 2015, 7:51:46 AM4/13/15
to scmma...@googlegroups.com
Hi,
I think we should to extend the HttpClient and URLHttpClient of scm-manager core. It is possible that you open a ticket at https://bitbucket.org/sdorra/scm-manager/issues?status=new&status=open ?

Sebastian

--
You received this message because you are subscribed to the Google Groups "scmmanager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scmmanager+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tobias

unread,
Apr 21, 2015, 1:40:17 PM4/21/15
to scmma...@googlegroups.com
Thanks for your answer. This is the ticket on bitbucket: https://bitbucket.org/sdorra/scm-manager/issue/709

Best,
Tobias
Reply all
Reply to author
Forward
0 new messages