You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@petehayes any thoughts on putting together a library, in the same vein as bitbucket-rest, to work against our API? I've actually proposed this before, and not sure what its use-case would be at the moment, but would at least serve as an example of how to work with PRPC's API.
Thoughts?
The text was updated successfully, but these errors were encountered:
We were investigating this, but the RAML path was more expedient for our purposes. We may post a java-based client, depending on the development cost and whether it satisfies a need that the RAML doc does not. It looks like you used JAX-RS as the client library/toolkit to build the Bitbucket API client. I'd like to ask about the effort required to develop this client, how much of the code was auto-generated, and what the source metadata was for auto-generation.
@ptandara jclouds-core is being used which indeed brings in jax-rs. The idea with this library is that you focus solely on defining the interface while the underlying implementation is hidden from the user/client behind the scenes. I've used it in a few different projects with great success. The bitbucket-rest library I noted above we use here extensively for our PullRequest code.
As far as effort is concerned: I could whip something together, which in turn would be based on the work @petehayes and I have been working on here, and have something going in a couple days. To get things up and going I'd do this in off hours so as not to stop current development. I've written enough of these so far that it's more/less second nature to me at this point ;)
EDIT: no auto-generated code per se unless you're referring to the libraries use of AutoValue?
@petehayes any thoughts on putting together a library, in the same vein as bitbucket-rest, to work against our API? I've actually proposed this before, and not sure what its use-case would be at the moment, but would at least serve as an example of how to work with PRPC's API.
Thoughts?
The text was updated successfully, but these errors were encountered: