FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

LinkBack Thread Tools
Old 08-08-2011, 07:28 PM
Kiu Leung
Default Question about koji hub opts and Java

Hi all,

This is Ken Leung, the Red Hat intern student has been trying to create a java client for koji hub. I ran a few koji debugs with koji web and
my java client and noticed that koji web has been generating web method calls with opts instead of parms for a listBuild
by task ID, as shown below:

2011-08-08 14:41:48,533 [DEBUG] m=listBuilds u=None koji.xmlrpc: Handling method listBuilds for session None (#None)
2011-08-08 14:41:48,533 [DEBUG] m=listBuilds u=None koji.xmlrpc: Params: ()
2011-08-08 14:41:48,533 [DEBUG] m=listBuilds u=None koji.xmlrpc: Opts: {'taskID': 4623}

If I use the apache xmlrpc library, I can only generate a call with the following:

2011-08-08 14:55:01,171 [DEBUG] m=getBuild u=testuser koji.xmlrpc: Handling method getBuild for session 14571 (#None)
2011-08-08 14:55:01,172 [DEBUG] m=getBuild u=testuser koji.xmlrpc: Params: ({'taskID': 4623},)
2011-08-08 14:55:01,173 [DEBUG] m=getBuild u=testuser koji.xmlrpc: Opts: {}

So I wonder if anybody knows how to generate the koji hub desired Opts with apache xmlrpc library? Or is Opts a python specific
feature which is not reproducable with Java and apache xmlrpc?

You kind advice is appreciated and thanks in advance!

Best regards,

Ken Leung
buildsys mailing list

Thread Tools

All times are GMT. The time now is 08:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org