[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-integrators] http connections to repositories
|
btw in general can you authenticate with something other than
username/password pair? example, api token? I didn't look for the api of
RepositoryLocation and such stuff for now...
W dniu 05.07.2017 o 19:59, Sam Davis pisze:
> It is meant to promote separation of concerns. Each subclass of
> HudsonOperation encodes the business logic for a single operation.
> HudsonOperation itself provides behaviour common to all operations but
> specific to the Hudson connector, e.g. authentication, whereas
> CommonHttpOperation provides behaviour common across connectors.
> CommonHttpClient takes care of the details of making HTTP requests.
>
> Cheers,
> Sam
>
>
> --
> Sam Davis
> Senior Software Engineer, Tasktop
> Committer, Eclipse Mylyn
> http://tasktop.com
>
> On Wed, Jul 5, 2017 at 10:30 AM, Michał Zegan
> <webczat_200@xxxxxxxxxxxxxx <mailto:webczat_200@xxxxxxxxxxxxxx>> wrote:
>
> I have looked there.
> The thing is I do not quite get it why CommonOperation needed to be
> extended, why CommonOperation and CommonHttpClient are separate, etc.
> I do not quite get the reasoning for such api.
>
> W dniu 05.07.2017 o 19:27, Sam Davis pisze:
> > Hi,
> >
> > You might want to look at RestfulHudsonClient. It does the HTTP
> > communication using HudsonOperations, which extend CommonHttpOperation.
> > Each method of the client creates and runs an operation, which in turn
> > creates an HTTP request and calls execute on it.
> >
> > HTH,
> > Sam
> >
> >
> > --
> > Sam Davis
> > Senior Software Engineer, Tasktop
> > Committer, Eclipse Mylyn
> > http://tasktop.com
> >
> > On Wed, Jul 5, 2017 at 9:47 AM, Michał Zegan <webczat_200@xxxxxxxxxxxxxx <mailto:webczat_200@xxxxxxxxxxxxxx>
> > <mailto:webczat_200@xxxxxxxxxxxxxx <mailto:webczat_200@xxxxxxxxxxxxxx>>> wrote:
> >
> > Hello.
> >
> > I wanted to try and create a builds connector, but I am not sure what to
> > use to actually communicate with the repository over http.
> > I was looking at the hudson connector and at the
> > commons.repository.http.core plugin, but I got lost in all those
> > operations, clients and whatever else is there.
> >
> >
> > _______________________________________________
> > mylyn-integrators mailing list
> > mylyn-integrators@xxxxxxxxxxx
> <mailto:mylyn-integrators@xxxxxxxxxxx>
> <mailto:mylyn-integrators@xxxxxxxxxxx
> <mailto:mylyn-integrators@xxxxxxxxxxx>>
> > To change your delivery options, retrieve your password, or
> > unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
> <https://dev.eclipse.org/mailman/listinfo/mylyn-integrators>
> > <https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
> <https://dev.eclipse.org/mailman/listinfo/mylyn-integrators>>
> >
> >
> >
> >
> > _______________________________________________
> > mylyn-integrators mailing list
> > mylyn-integrators@xxxxxxxxxxx <mailto:mylyn-integrators@xxxxxxxxxxx>
> > To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
> <https://dev.eclipse.org/mailman/listinfo/mylyn-integrators>
> >
>
>
>
>
> _______________________________________________
> mylyn-integrators mailing list
> mylyn-integrators@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
>
Attachment:
signature.asc
Description: OpenPGP digital signature