I think that it should be possible. Sam
-- Sam Davis Senior Software Engineer, Tasktop Committer, Eclipse Mylyn http://tasktop.com On Wed, Jul 5, 2017 at 11:10 AM, Michał Zegan <[email protected]> wrote: > 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 > > <[email protected] <mailto:[email protected]>> 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 < > [email protected] <mailto:[email protected]> > > > <mailto:[email protected] <mailto:webczat_200@poczta. > onet.pl>>> 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 > > > [email protected] > > <mailto:[email protected]> > > <mailto:[email protected] > > <mailto:[email protected]>> > > > 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 > > > [email protected] <mailto:mylyn-integrators@ > eclipse.org> > > > 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 > > [email protected] > > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > > > >
_______________________________________________ mylyn-integrators mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
