Thursday, September 24, 2009

Development Discussions - Mooshabaya

August 28th, 2009 [Dr.Srinath/All members] : The design constraints of Mooshabaya : [CSE/CSLR4 9.30 a.m - 10.30 a.m]

The design constraints of Mooshabaya was discussed. The development updates were discussed with Dr.Srinath. Cleaning up XBaya code and the UI for Mooshabaya, Integrating WSO2 Identity Server along with WSO2 Registry to Mooshabaya to retrieve services, Deploying the generated mashups into WSO2 Mashup Server by configuring a Mashup Server into the Mooshabaya, and configuring the workflow monitoring to monitor the executing workflows were discussed. These initial design level constraints were discussed during the meeting.



September 24th, 2009 [Dr.Srinath/All members] : Initial Developments : [CSE/Tutorial Room 11 a.m - 12.00 p.m]

The development processes and the development decisions were discussed. The mashups generations for the deployed workflows, the constraints in integrating openID credentials for WSO2 Identity Server, monitoring the workflow events, using axis2 in place of XSUL, and the other input sources like web feeds were discussed. The initial developments were demonstrated.

Ubuntu and SLT ADSL

When it comes to Linux, most of the software for the commonly used peripherals remain unsupported in Sri Lanka. Sometimes the software can be downloaded from the community forums, though the remaining stuff still, is on your hands. Recently when I switched to Ubuntu 9.04 (Jaunty), completely from Windows XP, I had to replace my Prolink H9601 ADSL USB Modem with a router since SLT(Sri Lanka Telecom) explicitly mentions that the above modem suits for Windows only. There was a program named UbuDSL which works for Prolink modems *sometimes*, on Ubuntu.

Configuring the CT-5624 4 port ADSL Router was a piece of cake though.

[1]. Just open http://192.168.1.1 and enter both username - admin and password - admin.

[2] Quick Setup will take you to the web page where you will have to input the username and password given by SLT. After this click 'Save & Reboot'; wait for the router to reboot. After rebooting you will mostly be able to connect to the Internet.

The below describes the further configuration, if the above fails. Since the router comes preconfigured for SLT it should work without these though.

[3]. Configuring Computer [From the SLT Router guide - for Windows Operating System]
TCP/IP Properties (You will not need to do this mostly.) .
Use IP address in the range of 192.168.1.2 - 192.168.1.254
Subnet mask 255.255.255.0
Default gateway 192.168.1.1

Preferred DNS Server 203.115.0.46
Alternate DNS Server 203.115.0.47

[4]. Configuring CT-5624
After the initial configuration, as mentioned in [1], Select WAN under Advanced Setup tab, and Click Edit.

VPI = 8
VCI = 35
[Next]

Connection Type - PPP over Ethernet (PPPoE)
Encapsulation Mode - LLC / SNAP-BRIDGING
[Next]

Enter the username and password provided by SLT.
[Next]
Enable WAN Service
[Next]
Check the summary and Save if it is correct. Save/Reboot.
Wait for the router to reboot.
This should work by now.. :)
Click the DNS Server option under Advance Setup to set the DNS Server address.

Tuesday, September 15, 2009

Mooshabaya - Fortnight Reports

Initial Discussions
We decided to develop a Mashup generator for XBaya workflow composer, after the initial discussions with Dr.Srinath Perera and Dr.Sanjiva Weerawarana. Our team Mooshabaya, along with the Bissa team is collectively developing 'Mora Middleware for Scalable Computing (M2SC)'. We have submitted the Project Proposal, followed by the Software Requirement Specification. Design Document yet to be submitted. We have started developing Mooshabaya.

Other FOSS Specific tasks
Mooshabaya being a FOSS project, we decided to carry out the development in a FOSS specific manner.

IRC
I registered an irc channel ##m2sc on gnome(irc.gnome.org) for the communication among the M2SC combined group members. We are currently using this channel for our project based discussions.

Documentation
I have been posting updates on my project work, regularly on my blog. [1]

Project Proposal
I wrote the Introduction, Project description and an introduction to M2SC.

Software Requirement Specification
I wrote the overall description and also wrote the System features with another member of the group.

Initial Development
Since I had worked on Extreme! Labs projects during my internship at WSO2, I had some prior experience in WS-Messenger and XBaya. So I started modifying the GUI of XBaya for Mooshabaya. Mooshabaya includes options for Mashup generation and other input sources. I first included options for these in the GUI. I committed the changes to our SVN.[2]

System Design
After a design level meeting[3] with Dr.Srinath Perera on 6th of August, we started the design and the development of the project. Since I have modified the XBaya GUI and created the Mooshabaya GUI, I generated the Screenshots[4] for the design document. I have also written the introduction, a basic overview for M2SC and Mooshabaya, and design considerations.[5] I have also drawn the class diagrams[6] for the Mooshabaya core and the monitoring component.

Further Reading
I started reading about the web feeds RSS and Atoms, and parsing them using XMLBeans. I will develop the code for the input from web feeds in the upcoming fortnight. Researched on the Extreme! Labs projects for the LEAD [Linked Environments for Atmospheric Discovery] Systems. Further Literature Survey on the areas I was mainly involved throughout the project for the final report draft.

Documentation - Initial Chapters of the final report

Main contributor to the first two chapters of the final report - Introduction and Objectives, and the overall report formatting. Literature Survey on Web feeds, XMLBeans, and XSUL2.0.

[1] http://kkpradeeban.blogspot.com/search/label/mooshabaya
[2] https://mooshabaya.svn.sourceforge.net/svnroot/mooshabaya/
[3] http://kkpradeeban.blogspot.com/2009/08/design-constraints-mooshabaya.html
[4] http://kkpradeeban.blogspot.com/2009/08/mooshabaya-design-document-31st-of-aug.html
[5] http://mooshabaya.wikidot.com/design-document
[6] http://kkpradeeban.blogspot.com/2009/08/mooshabaya-class-diagrams.html

Saturday, September 12, 2009

Web feed


When considering web 2.0 paradigm web feeds become an important topic to discuss. Syndication of site content is considered an important Web 2.0 feature, where the users can grab the information from many sources and customize them to retrieve them in a more convenient manner. A web feed or news feed is a data format used for providing users with frequently updated content. RSS which is commonly known as the abbreviation of "Really Simple Syndication" or sometimes "Rich Site Summary" is a family of web feed formats used to publish frequently updated web contents. RSS has many different versions, with two mostly known parallel formats. RSS 1.* and RSS 2.* both are maintained parallel by different organizations and have two unique formats. RSS 1.* (RDF branch) is owned by RSS-DEV Working Group and RSS 2.* is owned by UserLand.

The Atom Syndication Format is an XML language used for web feeds, while the Atom Publishing Protocol (AtomPub or APP) is a simple HTTP-based protocol for creating and updating web resources. Being an XML themselves, web feeds can be parsed to java objects using XMLBeans.

A well known application for creating mashups from the web feeds is Yahoo Pipes. Pipes is a free online service that lets you remix popular feed types and create data mashups using a visual editor.[1]

References
[3] A Pipe.
[5] Sample RSS 2 and RSS 1

Modules Registration

Registrations for our subject modules are done online through Learning management system (LMS). Basically we will be anxiously waiting for the moment to click the 'Enroll' button for our preferred modules as the Module registration is about to begin. Some subjects have more demand than the supply, where some modules do not have such limitations of head count. In level 2, we had CS3300 Image Processing, where only 60 slots were allocated whilst we are 100 in number. We faced more competition for level 2 June term subjects, as those subjects are common for all the departments of the Engineering faculty.

There exists rules such as minimum 6 credits from the Management department and 10 credits from the other departments, for level 3 and level 4. Literally we test the response time and the efficiency of the browsers at this time. I always prefer and use Mozilla Firefox (ff3), while some prefer Safari and Google Chrome. At the time of registration, LMS failures are not so rare, due to the overload of the server. Just like a denial of service attack. :)

We never fail to disable the browser cache [1],[2] of the browser before the registration begins. However we set the values to default or the standard immediately after the registration, to avoid delayed response of the browser.