GSOC 2015 Proposal : Tooling Support for OSGI Remote Services
Abstract –
There are main two tasks will be consist with this project the objective of both two tasks will be, provide resources to the people who are interested towards the ecf to get to understand the remote services and make it easy to work with ecf on aspect of creating OSGi Remote Services.so as the first task there is my gsoc 2014 project which is provided 4 PDE templates for osgi remote services. So this PDE templates need to be prepared for inclusion in ECF proper. by adding them to ecf it make it easy for any new ecf user to understand how remote services work and what are things that need completed in oder to create OSGI remote service. Next would be creating eclipse wizard for creating OSGI services. The idea here would be for Eclipse users to use wizards to create OSGi services (and remote services) like they create projects, classes, packages. This may lead to start of creating eclipse based eclipse nature for Remote services.
Detailed Information –
First task is to prepare that already developed PDE templates to include with ecf proper to get benefit to the users. Under bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=454062) there are few errors that need to be fixed before the inclusion so that errors will be corrected throughout the first time period of this project.so mainly befor the inlution this primary subtask will be done
1. Remove the errors that contain in the projects
2. Remove the errors in templates
3. Make them available on other projects not only pure OSGI projects
Except for the fixing errors that showed in the bug, it will be added new template. This template would be related to the tutorial in the wiki (http://wiki.eclipse.org/Tutorial:_Raspberry_Pi_GPIO_with_OSGi_Services) . This tutorial shows how to use OSGi Services to access the Raspberry Pi GPIO. Adding this template into eclipse ecf as PDE template that may allow user to get to know about that how simple implementation of remote service can be done and by using raspberry pi. For adding templates mainly eclipse PDE will be used.
Second task would be creating complete new wizard for creating osgi remote service wizard
When user create OSGI remote service
• Create a interface and include all the methods
• Create an implementation for above interface
• Register the service
Would be a basic three steps. Those first two steps can all be done via any existing tooling and/or frameworks...e.g. Eclipse, bndtools, declarative services, blueprint. Also in the PDE there is PDE project examples that shows two new PDE example templates but this depends upon PDE templates, so it's only usable with PDE. so there is no any other simple way to create complete generic OSGI remote service projects.
This task focus on creating brand new wizard for simplifying the creation and registration of OSGi Remote Services with specific distribution providers and specifications. And the related documentation to the project.
This project will develop a new project category call “ECF OSGI Remote Service” in to eclipse following new project wizard.
Users will be able to select the category and able to create new OSGI remote service project using Wizard like shown below this wizard will allow user to specify the project name, working directory and execution environment settings.
Once we collect those information it will direct to next page that asks user about basic infrastructure of the remote service project.
In that wizard page it will gather information about service interfaces and their implementation classes and their packaging information. for this phase I think Eclipse JFace TableViewer in JFace framework would be suitable. Once user complete this wizard page those information will be added to MANIFEST.MF file in OSGI bundle.
After that wizard it will direct to another wizard page which ask about the dependencies of the OSGI project. in this phase it will add those dependencies to the MENFEST.MF of the OSGI project. Page may look like page shown below.
Once user have completed the page it will invoke another page.In that wizard page it will ask information about service registration
In this phase it user can specify about their distribution provider and which of the interfaces of the service need to be exported all of the above information may gather into final service activator class which will register the service as a remote service.The ability to create a OSGI remote service project via simplified automated way it will really appealing. particularly for the novice OSGI developers. Since additional Eclipse-based tooling were made available, it would be helpful to provide more tutorial-style documentation that uses that improved tooling .therefor creating Tooling support for OSGI Remote Services will be a benefit to developers.
Background –
Last year also I have participated wit google summer of code with eclipse foundation and completed it success fully. so this year In the time leading up to the start of the GSoC program I am going to improve my knowledge about Eclipse Communication Framework . And my major goal is to get familiar with the OSGi Remote Services and Eclipse based Tooling .And thoroughly study the source code for existing Tooling supports for various eclipse projects. To improve my knowledge on above aspects I expect to read the documents regarding them and to have a discussion with the project mentors.
Deliverables –
What do you expect to deliver? Be as specific as possible.
Schedule –
- March 31 - April 2
- April 3 – April 13
- April 14- April 28
- April 29 – May 10
- May 10 – May 12
- May 13- May 16
- May 17 - June 15
Discuss and design UI and its requirements for proposed wizard
Start coding
Start working on GUI
Testing
- June 16 - June 26
- June 28 - July 24
Further develop the GUI and integrate it with the code
Integrate all implemented parts eclipse single project.
- July 25 - August 6
Do the required changes to fix the bugs.
- August 7 - August 14
- August 14 - August 28
Expectations –
What do you expect from your mentor? What help are you going to need? (e.g. will you need help learning about Eclipse plug-in development, or about any specific features of Eclipse that you'll need to leverage as part of your project?).
Contact Information –
Email : gmsakith@gmail.com
Phone number : +94776070991
Time-Zone : GMT+5:30
I’m Sakith Indula. I am a fourth year undergraduate in Department of Computing and information System in Sabaragamuwa University Of Srilanka .last year also I have participated with Google summer of code with eclipse ECF and I worked on creating PDE templates for OSGI remote services and successfully completed it on last august. I have much experience in java and developing various applications, basically I am doing programming with Java therefor I have a advance knowledge with programming in Java also I have experience with programming in C,C++ and XML.I have implemented many projects in java including a one which spanned for four months .Also I was a project team member of the following projects.
Track M : Bus Tracking System For National Trans Port Board [1]
Scloud : cloud base file sharing platform for any kind of mobile through Apache Stratos.
I am able to work 50 hours a week for GSoC from April to August ( 6 hours on weekdays and 10 hours on weekends).So I’m confident enough to take up this project as I have the required skill set for this project and I will deliver my best to make this project a success. ‘And I would like continue forward the work for ECF even after GSoC finishes and to complete the work all the way to deployment.
[1] https://www.facebook.com/projecttrackm
Comments
Post a Comment