Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 139655

Summary: [connector] Scarab
Product: z_Archived Reporter: Jim Bethancourt <jimbethancourt>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P4 CC: anlarionov, etiennel, pombredanne, ruediger
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jim Bethancourt CLA 2006-05-01 23:43:57 EDT
Hi all,
It looks like Scarab (http://scarab.tigris.org) support might be fairly easy to add on, as they provide a fairly straightforward XMLRPC api in their org.tigris.scarab.xmlrpc package, and a sample client to boot.

Unfortunately, I don't know how much market penetration they're getting.

I'm adding this to Core since it doesn't fall under Bugzilla or Jira.

Cheers,
Jim

Here's the sample client source code from their docs:


package org.tigris.scarab.xmlrpc;

import java.net.URL;
import java.util.Vector;

import org.apache.fulcrum.xmlrpc.DefaultXmlRpcClientComponent;
import org.apache.fulcrum.xmlrpc.XmlRpcClientComponent;

/**
 * This class is just an example of invoking the SimpleHandler class via
 * the XmlRpc service.
 * 
 * @author jorgeuriarte
 * @see org.tigris.scarab.util.SimpleHandler
 *
 */
public class SimpleHandlerClient
{

    public void testXmlRpc() throws Exception
    {
        XmlRpcClientComponent cli = new DefaultXmlRpcClientComponent();
        Vector v = new Vector();
        v.add("Pacman JVM");            // Module
        v.add("PAC1");                  // IssueID
        v.add("Administrator");         // User
        v.add("Prueba pruebilla");      // Comment
        v.add(new Integer(1));          // DISABLE email sending
        Vector vRdo = (Vector)cli.executeRpc(new URL("http://localhost:12345/simple"), "simple.addComment", v);
        System.out.println("The call was successful: " + (vRdo.size()==1));
        System.out.println("The comment was added: " + vRdo.get(0));
    }
    
    public static void main(String args[])
    {
        SimpleHandlerClient shc = new SimpleHandlerClient();
        try
        {
            shc.testXmlRpc();
        }
        catch (Exception e)
        {
            System.err.println("Error invoking service: " + e);
        }
    }
}
Comment 1 Mik Kersten CLA 2006-05-03 19:17:25 EDT
Thanks Jim, that API looks promosing.  I'll update the web site with a prominent link for people to vote for new connectors.
Comment 2 Eugene Kuleshov CLA 2007-07-18 16:25:42 EDT
*** Bug 197017 has been marked as a duplicate of this bug. ***
Comment 3 Andrey Larionov CLA 2007-10-05 02:34:43 EDT
My company starts to use Scarab. I interested in development of this connector. Now i investigating codebase of scarab. And analyze. From scarab side need to be wrtiten XML-RPC Handler which covers needed functionality.
Comment 4 Eugene Kuleshov CLA 2007-10-05 02:42:40 EDT
Is Scarab is the same things as the CollabNet's Project Tracker?
Comment 5 Andrey Larionov CLA 2007-10-05 05:21:58 EDT
I dont know. Cant find any usable information. Bu now downloading CollabNet Enterprise to view.
Comment 6 Andrey Larionov CLA 2007-10-05 08:10:15 EDT
wheneve ProjectTracker fork of scarab or not this is not same. By default scarab dose not provide needed functionality via XML-RPC.
Comment 7 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn