Community
Participate
Working Groups
We currently rely on JIRA Core Services from tigris.org, but would benefit from maintaining our own wrapper so that we could fix and evolve it. We would provide this wrapper as a headless Java API to JIRA as we do with Bugzilla.
Created attachment 55113 [details] Jira core plugin Attached is the source for 0.9.3 of the Jira Dashboard core services plugin that has been refactored for inclusion in eclipse as a bundle. This plugin contains no third party libraries. References to libraries will have to be replaced with require bundle directives. We will need to ensure that the Axis bundle from orbit has an optional require-bundle on commons HTTPClient (my guess is that it won't).
We may need to regenerate soap stubs to match Mylar packages. Probably something like this: set cp=axis.jar set cp=%cp%;commons-logging-1.0.4.jar set cp=%cp%;commons-discovery-0.2.jar set cp=%cp%;commons-codec-1.3.jar set cp=%cp%;jaxrpc.jar set cp=%cp%;saaj.jar set cp=%cp%;wsdl4j-1.5.1.jar set opts=-v set opts=%opts% --NStoPkg http://beans.soap.rpc.jira.atlassian.com=org.eclipse.mylar.jira.beans set opts=%opts% --NStoPkg http://exception.rpc.jira.atlassian.com=org.eclipse.mylar.jira.exceptions set opts=%opts% --NStoPkg http://jira.atlassian.com/rpc/soap/jirasoapservice-v2=org.eclipse.mylar.jira.service java -cp %cp% org.apache.axis.wsdl.WSDL2Java %opts% http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl Though I am not sure where to get wsdl for the minimally required version. One available at above url has little more stuff in it comparing to stubs Brock generated half a year ago.
Great to see this Brock! I will review this early next week, once we get 1.0 out.
Still waiting on IP approval.
On Monday this week I inquired on the IPZilla report about status, still waiting for reply.
IPZilla status changed to "triage", which is good.
Submission is approved! Finally. Eugene: I assume you're still willing to take a pass at integrating the patch? Please make sure to use the version of the Zip that I'm about to attach, because it excludes the two non-EPL files that did not get approved. - EasySSLProtocolSocketFactory.Java - EasyX509TrustManager.Java
Created attachment 57731 [details] updated contribution
(In reply to comment #7) > Submission is approved! Finally. > Eugene: I assume you're still willing to take a pass at integrating the patch? Sure. Did that commit access request for the new project went trough? I haven't seen response from the webmaster... Should I regenerate the wsdl stubs for org.eclipse.mylar packages?
Excellent. You should have permission now. It's up to you if you want to re-generate the WSDL, since we have permission to use it. However, we should not have com.atlassian packages in our repository. How about the following package name: org.eclipse.mylar.jira.core.wsdl.. ?
I just realized that we'll need Axis 1.4 1855 April 22 2006 - axis.jar Which also require the following jars: commons-discovery-0.2.jar jaxrpc.jar saaj.jar wsdl4j-1.5.1.jar these 4 jars are part of WTP's Axis plugin, but WTP's Axis is 1.3 2244 October 5 2005. What are we going to do about that?
Mhm. Something like Axis should probably go into the Orbit.
(In reply to comment #12) > Mhm. Something like Axis should probably go into the Orbit. It might, but doesn't necessary have to. Besides, at this point Orbit is still another hassle for us.
Gunnar: Yes, it would be nice to have Axis in Orbit so I created bug 172264. Let's not hold this up on that though, because we need to get this in asap. Also, our first orbit priority is httpclient, bug 167362). Eugene: you can commit the following libraries into org.eclipse.mylar.jira.core/lib * axis: 1.3 * commons-discovery: 0.2 * jaxrpc: 1.1 * saaj.jar: 1.1, 1.2, or 1.3 * wsdl4j: 1.4, 1.5.2
Mik, what version should I use for org.eclipse.mylar.jira.core plugin?
Ok. I committed quite huge chunk of changes: -- Brock's code renamed to org.eclipse.mylar.jira.core.internal packages (as per Mik's advise) -- regenerated wsdl stubs into org.eclipse.mylar.jira.core.internal.soap and org.eclipse.mylar.jira.core.internal.beans packages -- axis and the required jars Here is the command I used to generate stugs from Jira wsdl: set cp=lib/axis-1.3.jar set cp=%cp%;lib/commons-discovery-0.2.jar set cp=%cp%;lib/jaxrpc.jar set cp=%cp%;lib/saaj.jar set cp=%cp%;lib/wsdl4j-1.5.1.jar set cp=%cp%;../org.eclipse.mylar.context.core/lib/commons-codec-1.3.jar set cp=%cp%;../org.eclipse.mylar.context.core/lib/commons-logging.jar set cp=%cp%;../org.eclipse.mylar.context.core/lib/commons-logging-api.jar set opts=-v set opts=%opts% --NStoPkg http://beans.soap.rpc.jira.atlassian.com=org.eclipse.mylar.jira.core.internal.beans set opts=%opts% --NStoPkg http://exception.rpc.jira.atlassian.com=org.eclipse.mylar.jira.core.internal.soap set opts=%opts% --NStoPkg http://jira.atlassian.com/rpc/soap/jirasoapservice-v2=org.eclipse.mylar.jira.core.internal.soap java -cp %cp% org.apache.axis.wsdl.WSDL2Java %opts% http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl I only did very minor smoke testing, but server validation, query configuration and synchronization, as well as JIRA editors are working. Please check this code. Note that if you had org.tigris.jira.core and org.tigris.jira.core.soap plugins you can remove them now.
Eugene: please don't touch the jira.core code until I post here again, donig some major clean-up...
I've done the following: * Enforced the eclipse.org convention and changed the packages to org.eclipse.mylar.internal.jira.core.. * Moved the Axis generated files to the ..jira.core.wsdl.beans and .soap packages. I want to make it clear that these are generated, don't have EPL headers, etc. * Suppressed the various warnings that come from the generated files via @SuppressWarnings({ "unchecked", "serial", "unused" }). I did this manually so not all have the same suppressions. However, if we re-generate it would be easier to add that string to each class declaration. * Generified all non-type safe references. * Fixed the EPL header on every file. * Added an @author Brock Janiczak tag to all of the files (most didn't have it). In other words, the hundreds of warnings are now gone so we adhere to our "no warnings" convention. AllJiraTests pass but this needs more testing as indicated. Eugene: let's go for a dev build tomorrow? I'll also bootstrap onto it.
Dev build would be a good idea. I won't be able to do much work on this before weekend.
Reassigning to Brock, whom we have to thank for this contribution.
The integration is done, and I'm sending a message to mylar-dev describing the effects of this change.