Posts

Showing posts from 2011

Creating a JSON client for AXIS2

Image
This post will try to explain how to develop a sample for Axis2 that uses the JSON module in Axis2. Before you read this blog post read this article to get a understanding about Axis2 JSON module

Creating the folder structure

Before we start to do anything lets create the folder structure that will be needed to create the sample. For this sample we will create a folder structure simmilar to the structure given below






The resources folder will contain the axis2.xml and the Java code will be added in to src/samples/googleservices/JSONSearch. We will look into each part separately.
Before we start working on the sample there are a few simple things that we have to do. Since we will be using the Yahoo Boss API to retrive the search results in JSON format, we need to acquire a API-Key that is needed when using the Boss API. You can create a Yahoo Boss API-Key here, this should not take more than 5 minutes if you already have a Yahoo account. Now that we have a Yahoo Boss API-Key we can go onto…

Full featured JIRA Issue Tracking Gadget

Image
During my internship at WSO2 I created a JIRA issue tracking gadget as a small project. This is flexible gadget made according to the Google gadgets API so it works on any gadget container that supports Google gadgets API such as iGoogle, orkut, WSO2 Gadget Server, etc. In my previous post i explained the data retrieval method I used to gather data for the gadget.

Features

Allows the user to specify any company or organisation he/she wants to track the JIRA issues.Displays the most important data and provides a link for additional information.Includes a search tab that provides all the search options provided by the JIRA dashboardThe user can specify the URL of the organisation or company he/she wants to track. Lets say you want to track the Issues of apache.org you have to set "https://issues.apache.org" as the URL likewise the user can specify any JIRA URL that needs to be tracked.
The interface is created using jQuery UI, jQuery UI is a very nice library that can be used to…

Retrieving And Filtering JIRA Issue Views Through Request URL

When developing a JIRA gadget for the WSO2 Gadget Server i found out that some aspects of the JIRA facilities are not well documented. This post will try to help with one such not-well documented service provided by Atlassian JIRA.
      In my gadget i had to filter the data that i needed according to several parameter that would vary from request to request.I decided to use "searchrequest-xml" that is provided by Atlassian JIRA this can be accessed by a simple URL and can also be filtered using parameters in the URL. This will return a XML containing the data that was requested. How the parameters should be defined to filter the request is not clearly documented. The aim of this post to provide a brief documentation as to how the parameters can be set for the "searchrequest-xml" URL request.
What You Need To Know     The things given below are not that necessary to understand this post as the purpose of the post is to document the format of the "searchre…