Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-30 Thread Jasintha Dasanayake
ise . middleware
>>>>>>>>>>>> Mobile - +94779145123
>>>>>>>>>>>> Linkedin
>>>>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Aug 18, 2016 at 11:55 AM, Nathiesha Maddage <
>>>>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have completed almost all of the coding part now, and
>>>>>>>>>>>>> working with fixing a few left errors and tidying the code.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I plan to submit the plugin project, feature project and the
>>>>>>>>>>>>> documentation as the deliverable.
>>>>>>>>>>>>> For the final submission, I need to upload a URL that contains
>>>>>>>>>>>>> our project. For that Google has provided certain examples such 
>>>>>>>>>>>>> as the link
>>>>>>>>>>>>> of Git Hub commits, a web page or a blog post, public folder in 
>>>>>>>>>>>>> Google
>>>>>>>>>>>>> Drive etc. [1]
>>>>>>>>>>>>>
>>>>>>>>>>>>> What would be the best way of submission, for our project?
>>>>>>>>>>>>>
>>>>>>>>>>>>> [1]. https://developers.google.com/open-source/gsoc/help/wor
>>>>>>>>>>>>> k-product
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks and regards
>>>>>>>>>>>>>
>>>>>>>>>>>>> Nathiesha
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Aug 11, 2016 at 4:40 PM, Kavith Lokuhewage <
>>>>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Great! We can have the meeting at 3.00pm to 4.00pm tomorrow.
>>>>>>>>>>>>>> I will send the invitation. Meanwhile, please push the latest 
>>>>>>>>>>>>>> changes to
>>>>>>>>>>>>>> github before the meeting.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>>>>>>> Senior Software Engineer
>>>>>>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>>>>> Mobile - +94779145123
>>>>>>>>>>>>>> Linkedin
>>>>>>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
>>>>>>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Kavith,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I externalized the credentials in micro-service code and
>>>>>>>>>>>>>>> implemented the extension point. I plan to start on OSGI 
>>>>>>>>>>>>>>> services part once
>>>>>>>>>>

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-30 Thread Nathiesha Maddage
ples such as 
>>>>>>>>>>>> the link
>>>>>>>>>>>> of Git Hub commits, a web page or a blog post, public folder in 
>>>>>>>>>>>> Google
>>>>>>>>>>>> Drive etc. [1]
>>>>>>>>>>>>
>>>>>>>>>>>> What would be the best way of submission, for our project?
>>>>>>>>>>>>
>>>>>>>>>>>> [1]. https://developers.google.com/open-source/gsoc/help/wor
>>>>>>>>>>>> k-product
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks and regards
>>>>>>>>>>>>
>>>>>>>>>>>> Nathiesha
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Aug 11, 2016 at 4:40 PM, Kavith Lokuhewage <
>>>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Great! We can have the meeting at 3.00pm to 4.00pm tomorrow. I
>>>>>>>>>>>>> will send the invitation. Meanwhile, please push the latest 
>>>>>>>>>>>>> changes to
>>>>>>>>>>>>> github before the meeting.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>
>>>>>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>>>>>> Senior Software Engineer
>>>>>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>>>> Mobile - +94779145123
>>>>>>>>>>>>> Linkedin
>>>>>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
>>>>>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Kavith,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I externalized the credentials in micro-service code and
>>>>>>>>>>>>>> implemented the extension point. I plan to start on OSGI 
>>>>>>>>>>>>>> services part once
>>>>>>>>>>>>>> I finalize the remaining small tasks in these sections.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> How about tomorrow evening for the next meeting? I have
>>>>>>>>>>>>>> lectures in the morning. So it would be easy if we can arrange 
>>>>>>>>>>>>>> the meeting
>>>>>>>>>>>>>> after 2 pm.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks and regards
>>>>>>>>>>>>>> Nathiesha
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <
>>>>>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> How is the progress on remaining tasks? As per the previous
>>>>>>>>>>>>>>> update, you are already done with configuring maven build + 
>>>>>>>>>>>>>>> creating a
>>>>>>>>>>>>>>> basic micro-service for publishing reports, aren't you?
>>>>>>>>>>>>>>>
>>>>&

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-25 Thread Awanthika Senarath
;>> Nathiesha
>>>>>>>>>
>>>>>>>>> On Fri, Aug 19, 2016 at 8:31 AM, Kavith Lokuhewage <
>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>
>>>>>>>>>> You already have two standalone github repos for the plugin and
>>>>>>>>>> micro-service. Furthermore, you have a fork of devs-kernel repo with 
>>>>>>>>>> the
>>>>>>>>>> code for the plugin is merged - the one you have prepared to send 
>>>>>>>>>> the pull
>>>>>>>>>> request.
>>>>>>>>>>
>>>>>>>>>> Since there are multiple places and we cannot submit a single
>>>>>>>>>> link for them - in my point of view - the best option is to write a 
>>>>>>>>>> blog
>>>>>>>>>> post as they have suggested. You can include the links to individual 
>>>>>>>>>> repos
>>>>>>>>>> and forked repo with a filter for your commits. Importantly, you can 
>>>>>>>>>> put
>>>>>>>>>> the link for pull request too - once you sent it.
>>>>>>>>>>
>>>>>>>>>> This way, everyone will have a clear picture of your work and the
>>>>>>>>>> best part - what is the final work that is going to be merged into 
>>>>>>>>>> WSO2
>>>>>>>>>> repository.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>>> Senior Software Engineer
>>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>> Mobile - +94779145123
>>>>>>>>>> Linkedin
>>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>>
>>>>>>>>>> On Thu, Aug 18, 2016 at 11:55 AM, Nathiesha Maddage <
>>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I have completed almost all of the coding part now, and working
>>>>>>>>>>> with fixing a few left errors and tidying the code.
>>>>>>>>>>>
>>>>>>>>>>> I plan to submit the plugin project, feature project and the
>>>>>>>>>>> documentation as the deliverable.
>>>>>>>>>>> For the final submission, I need to upload a URL that contains
>>>>>>>>>>> our project. For that Google has provided certain examples such as 
>>>>>>>>>>> the link
>>>>>>>>>>> of Git Hub commits, a web page or a blog post, public folder in 
>>>>>>>>>>> Google
>>>>>>>>>>> Drive etc. [1]
>>>>>>>>>>>
>>>>>>>>>>> What would be the best way of submission, for our project?
>>>>>>>>>>>
>>>>>>>>>>> [1]. https://developers.google.com/open-source/gsoc/help/wor
>>>>>>>>>>> k-product
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Thanks and regards
>>>>>>>>>>>
>>>>>>>>>>> Nathiesha
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Aug 11, 2016 at 4:40 PM, Kavith Lokuhewage <
>>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>>
>>>>>>>>>>>> Great! We can have the meeting at 3.00pm to 4.00pm tomorrow. I
>>>>>>>>>>>> will

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-25 Thread Nathiesha Maddage
they have suggested. You can include the links to individual repos and
>>>>>>>>> forked repo with a filter for your commits. Importantly, you can put 
>>>>>>>>> the
>>>>>>>>> link for pull request too - once you sent it.
>>>>>>>>>
>>>>>>>>> This way, everyone will have a clear picture of your work and the
>>>>>>>>> best part - what is the final work that is going to be merged into 
>>>>>>>>> WSO2
>>>>>>>>> repository.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>> Senior Software Engineer
>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>> lean . enterprise . middleware
>>>>>>>>> Mobile - +94779145123
>>>>>>>>> Linkedin
>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>
>>>>>>>>> On Thu, Aug 18, 2016 at 11:55 AM, Nathiesha Maddage <
>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I have completed almost all of the coding part now, and working
>>>>>>>>>> with fixing a few left errors and tidying the code.
>>>>>>>>>>
>>>>>>>>>> I plan to submit the plugin project, feature project and the
>>>>>>>>>> documentation as the deliverable.
>>>>>>>>>> For the final submission, I need to upload a URL that contains
>>>>>>>>>> our project. For that Google has provided certain examples such as 
>>>>>>>>>> the link
>>>>>>>>>> of Git Hub commits, a web page or a blog post, public folder in 
>>>>>>>>>> Google
>>>>>>>>>> Drive etc. [1]
>>>>>>>>>>
>>>>>>>>>> What would be the best way of submission, for our project?
>>>>>>>>>>
>>>>>>>>>> [1]. https://developers.google.com/open-source/gsoc/help/wor
>>>>>>>>>> k-product
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks and regards
>>>>>>>>>>
>>>>>>>>>> Nathiesha
>>>>>>>>>>
>>>>>>>>>> On Thu, Aug 11, 2016 at 4:40 PM, Kavith Lokuhewage <
>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>
>>>>>>>>>>> Great! We can have the meeting at 3.00pm to 4.00pm tomorrow. I
>>>>>>>>>>> will send the invitation. Meanwhile, please push the latest changes 
>>>>>>>>>>> to
>>>>>>>>>>> github before the meeting.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>>
>>>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>>>> Senior Software Engineer
>>>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>> Mobile - +94779145123
>>>>>>>>>>> Linkedin
>>>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
>>>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Kavith,
>>>>>>>>>>>>
>>>>>>>>>>>> I externalized the credentials in mi

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-23 Thread Awanthika Senarath
;>>
>>>>>>>>> [1]. https://developers.google.com/open-source/gsoc/help/wor
>>>>>>>>> k-product
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks and regards
>>>>>>>>>
>>>>>>>>> Nathiesha
>>>>>>>>>
>>>>>>>>> On Thu, Aug 11, 2016 at 4:40 PM, Kavith Lokuhewage <
>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>
>>>>>>>>>> Great! We can have the meeting at 3.00pm to 4.00pm tomorrow. I
>>>>>>>>>> will send the invitation. Meanwhile, please push the latest changes 
>>>>>>>>>> to
>>>>>>>>>> github before the meeting.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>>> Senior Software Engineer
>>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>> Mobile - +94779145123
>>>>>>>>>> Linkedin
>>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>>
>>>>>>>>>> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
>>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Kavith,
>>>>>>>>>>>
>>>>>>>>>>> I externalized the credentials in micro-service code and
>>>>>>>>>>> implemented the extension point. I plan to start on OSGI services 
>>>>>>>>>>> part once
>>>>>>>>>>> I finalize the remaining small tasks in these sections.
>>>>>>>>>>>
>>>>>>>>>>> How about tomorrow evening for the next meeting? I have lectures
>>>>>>>>>>> in the morning. So it would be easy if we can arrange the meeting 
>>>>>>>>>>> after 2
>>>>>>>>>>> pm.
>>>>>>>>>>>
>>>>>>>>>>> Thanks and regards
>>>>>>>>>>> Nathiesha
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <
>>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>>
>>>>>>>>>>>> How is the progress on remaining tasks? As per the previous
>>>>>>>>>>>> update, you are already done with configuring maven build + 
>>>>>>>>>>>> creating a
>>>>>>>>>>>> basic micro-service for publishing reports, aren't you?
>>>>>>>>>>>>
>>>>>>>>>>>> The remaining work was to externalize hard coded credentials in
>>>>>>>>>>>> micro-service code, implement the extension point for providing 
>>>>>>>>>>>> different
>>>>>>>>>>>> JIRA keys to report errors for specific java packages and define 
>>>>>>>>>>>> an OSGI
>>>>>>>>>>>> service to be able to contribute publishers via other eclipse 
>>>>>>>>>>>> plugins - if
>>>>>>>>>>>> needed in future.
>>>>>>>>>>>>
>>>>>>>>>>>> It would be great if we can finalize these soon as we are
>>>>>>>>>>>> reaching towards the end of GSOC program. Please suggest a time 
>>>>>>>>>>>> for a
>>>>>>>>>>>> meeting tomorrow. We can discuss about the issues you are facing - 
>>>>>>>>>>&

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-23 Thread Susinda Perera
<http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>
>>>>>>>>> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
>>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Kavith,
>>>>>>>>>>
>>>>>>>>>> I externalized the credentials in micro-service code and
>>>>>>>>>> implemented the extension point. I plan to start on OSGI services 
>>>>>>>>>> part once
>>>>>>>>>> I finalize the remaining small tasks in these sections.
>>>>>>>>>>
>>>>>>>>>> How about tomorrow evening for the next meeting? I have lectures
>>>>>>>>>> in the morning. So it would be easy if we can arrange the meeting 
>>>>>>>>>> after 2
>>>>>>>>>> pm.
>>>>>>>>>>
>>>>>>>>>> Thanks and regards
>>>>>>>>>> Nathiesha
>>>>>>>>>>
>>>>>>>>>> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <
>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>
>>>>>>>>>>> How is the progress on remaining tasks? As per the previous
>>>>>>>>>>> update, you are already done with configuring maven build + 
>>>>>>>>>>> creating a
>>>>>>>>>>> basic micro-service for publishing reports, aren't you?
>>>>>>>>>>>
>>>>>>>>>>> The remaining work was to externalize hard coded credentials in
>>>>>>>>>>> micro-service code, implement the extension point for providing 
>>>>>>>>>>> different
>>>>>>>>>>> JIRA keys to report errors for specific java packages and define an 
>>>>>>>>>>> OSGI
>>>>>>>>>>> service to be able to contribute publishers via other eclipse 
>>>>>>>>>>> plugins - if
>>>>>>>>>>> needed in future.
>>>>>>>>>>>
>>>>>>>>>>> It would be great if we can finalize these soon as we are
>>>>>>>>>>> reaching towards the end of GSOC program. Please suggest a time for 
>>>>>>>>>>> a
>>>>>>>>>>> meeting tomorrow. We can discuss about the issues you are facing - 
>>>>>>>>>>> if any -
>>>>>>>>>>> and discuss the plat to wrap the rest of the work by end of next 
>>>>>>>>>>> week.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>>
>>>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>>>> Senior Software Engineer
>>>>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>> Mobile - +94779145123
>>>>>>>>>>> Linkedin
>>>>>>>>>>> <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <
>>>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Nathiesha,
>>>>>>>>>>>>
>>>>>>>>>>>> Please join the hangout https://hangouts.googl
>>>>>>>>>>>> e.com/hangouts/_/wso2.com/kavith
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>
>>>>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>>>>> Senior S

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-23 Thread Nathiesha Maddage
gt;>
>>>>> Thanks,
>>>>>
>>>>> *Kavith Lokuhewage*
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. - http://wso2.com
>>>>> lean . enterprise . middleware
>>>>> Mobile - +94779145123
>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>
>>>>> On Thu, Aug 18, 2016 at 11:55 AM, Nathiesha Maddage <
>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have completed almost all of the coding part now, and working with
>>>>>> fixing a few left errors and tidying the code.
>>>>>>
>>>>>> I plan to submit the plugin project, feature project and the
>>>>>> documentation as the deliverable.
>>>>>> For the final submission, I need to upload a URL that contains our
>>>>>> project. For that Google has provided certain examples such as the link 
>>>>>> of
>>>>>> Git Hub commits, a web page or a blog post, public folder in Google Drive
>>>>>> etc. [1]
>>>>>>
>>>>>> What would be the best way of submission, for our project?
>>>>>>
>>>>>> [1]. https://developers.google.com/open-source/gsoc/help/work-product
>>>>>>
>>>>>>
>>>>>> Thanks and regards
>>>>>>
>>>>>> Nathiesha
>>>>>>
>>>>>> On Thu, Aug 11, 2016 at 4:40 PM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Nathiesha,
>>>>>>>
>>>>>>> Great! We can have the meeting at 3.00pm to 4.00pm tomorrow. I will
>>>>>>> send the invitation. Meanwhile, please push the latest changes to github
>>>>>>> before the meeting.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> *Kavith Lokuhewage*
>>>>>>> Senior Software Engineer
>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>> Mobile - +94779145123
>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>
>>>>>>> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Kavith,
>>>>>>>>
>>>>>>>> I externalized the credentials in micro-service code and
>>>>>>>> implemented the extension point. I plan to start on OSGI services part 
>>>>>>>> once
>>>>>>>> I finalize the remaining small tasks in these sections.
>>>>>>>>
>>>>>>>> How about tomorrow evening for the next meeting? I have lectures in
>>>>>>>> the morning. So it would be easy if we can arrange the meeting after 2 
>>>>>>>> pm.
>>>>>>>>
>>>>>>>> Thanks and regards
>>>>>>>> Nathiesha
>>>>>>>>
>>>>>>>> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <
>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Nathiesha,
>>>>>>>>>
>>>>>>>>> How is the progress on remaining tasks? As per the previous
>>>>>>>>> update, you are already done with configuring maven build + creating a
>>>>>>>>> basic micro-service for publishing reports, aren't you?
>>>>>>>>>
>>>>>>>>> The remaining work was to externalize hard coded credentials in
>>>>>>>>> micro-service code, implement the extension point for providing 
>>>>>>>>> different
>>>>>>>>> JIRA keys to report errors for specific java packages and define an 
>>>>>>>>> OSGI
>>>>>>>>> service to be able to contribute publishers via other eclipse plugins 
>>>>>>

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-22 Thread Kavith Lokuhewage
>>>
>>>>> Thanks,
>>>>>
>>>>> *Kavith Lokuhewage*
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. - http://wso2.com
>>>>> lean . enterprise . middleware
>>>>> Mobile - +94779145123
>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>
>>>>> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>
>>>>>> Hi Kavith,
>>>>>>
>>>>>> I externalized the credentials in micro-service code and implemented
>>>>>> the extension point. I plan to start on OSGI services part once I 
>>>>>> finalize
>>>>>> the remaining small tasks in these sections.
>>>>>>
>>>>>> How about tomorrow evening for the next meeting? I have lectures in
>>>>>> the morning. So it would be easy if we can arrange the meeting after 2 
>>>>>> pm.
>>>>>>
>>>>>> Thanks and regards
>>>>>> Nathiesha
>>>>>>
>>>>>> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Nathiesha,
>>>>>>>
>>>>>>> How is the progress on remaining tasks? As per the previous update,
>>>>>>> you are already done with configuring maven build + creating a basic
>>>>>>> micro-service for publishing reports, aren't you?
>>>>>>>
>>>>>>> The remaining work was to externalize hard coded credentials in
>>>>>>> micro-service code, implement the extension point for providing 
>>>>>>> different
>>>>>>> JIRA keys to report errors for specific java packages and define an OSGI
>>>>>>> service to be able to contribute publishers via other eclipse plugins - 
>>>>>>> if
>>>>>>> needed in future.
>>>>>>>
>>>>>>> It would be great if we can finalize these soon as we are reaching
>>>>>>> towards the end of GSOC program. Please suggest a time for a meeting
>>>>>>> tomorrow. We can discuss about the issues you are facing - if any - and
>>>>>>> discuss the plat to wrap the rest of the work by end of next week.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> *Kavith Lokuhewage*
>>>>>>> Senior Software Engineer
>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>> Mobile - +94779145123
>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>
>>>>>>> On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Nathiesha,
>>>>>>>>
>>>>>>>> Please join the hangout https://hangouts.googl
>>>>>>>> e.com/hangouts/_/wso2.com/kavith
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> *Kavith Lokuhewage*
>>>>>>>> Senior Software Engineer
>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>> lean . enterprise . middleware
>>>>>>>> Mobile - +94779145123
>>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>
>>>>>>>> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Nathiesha,
>>>>>>>>>
>>>>>>>>> Great! I have sent you the invitation.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> *Kavith Lokuhewage*
>>>>>>>>> Senior Software Engineer
&g

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-21 Thread Nathiesha Maddage
pm.
>>>>>
>>>>> Thanks and regards
>>>>> Nathiesha
>>>>>
>>>>> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Nathiesha,
>>>>>>
>>>>>> How is the progress on remaining tasks? As per the previous update,
>>>>>> you are already done with configuring maven build + creating a basic
>>>>>> micro-service for publishing reports, aren't you?
>>>>>>
>>>>>> The remaining work was to externalize hard coded credentials in
>>>>>> micro-service code, implement the extension point for providing different
>>>>>> JIRA keys to report errors for specific java packages and define an OSGI
>>>>>> service to be able to contribute publishers via other eclipse plugins - 
>>>>>> if
>>>>>> needed in future.
>>>>>>
>>>>>> It would be great if we can finalize these soon as we are reaching
>>>>>> towards the end of GSOC program. Please suggest a time for a meeting
>>>>>> tomorrow. We can discuss about the issues you are facing - if any - and
>>>>>> discuss the plat to wrap the rest of the work by end of next week.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> *Kavith Lokuhewage*
>>>>>> Senior Software Engineer
>>>>>> WSO2 Inc. - http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>> Mobile - +94779145123
>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>
>>>>>> On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Nathiesha,
>>>>>>>
>>>>>>> Please join the hangout https://hangouts.googl
>>>>>>> e.com/hangouts/_/wso2.com/kavith
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> *Kavith Lokuhewage*
>>>>>>> Senior Software Engineer
>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>> Mobile - +94779145123
>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>
>>>>>>> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Nathiesha,
>>>>>>>>
>>>>>>>> Great! I have sent you the invitation.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> *Kavith Lokuhewage*
>>>>>>>> Senior Software Engineer
>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>> lean . enterprise . middleware
>>>>>>>> Mobile - +94779145123
>>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>
>>>>>>>> -- Forwarded message --
>>>>>>>> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
>>>>>>>> Date: Fri, Aug 5, 2016 at 9:36 AM
>>>>>>>> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
>>>>>>>> To: Kavith Lokuhewage <kav...@wso2.com>
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi Kavith,
>>>>>>>>
>>>>>>>> That time is OK with me.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Nathiesha
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Nathiesha,
>>>>>>>>>
>>>>>>>>> Shall

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-19 Thread Nathiesha Maddage
st of the work by end of next week.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> *Kavith Lokuhewage*
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. - http://wso2.com
>>>>> lean . enterprise . middleware
>>>>> Mobile - +94779145123
>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>
>>>>> On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <kav...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Nathiesha,
>>>>>>
>>>>>> Please join the hangout https://hangouts.googl
>>>>>> e.com/hangouts/_/wso2.com/kavith
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> *Kavith Lokuhewage*
>>>>>> Senior Software Engineer
>>>>>> WSO2 Inc. - http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>> Mobile - +94779145123
>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>
>>>>>> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Nathiesha,
>>>>>>>
>>>>>>> Great! I have sent you the invitation.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> *Kavith Lokuhewage*
>>>>>>> Senior Software Engineer
>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>> Mobile - +94779145123
>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>
>>>>>>> -- Forwarded message --
>>>>>>> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
>>>>>>> Date: Fri, Aug 5, 2016 at 9:36 AM
>>>>>>> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
>>>>>>> To: Kavith Lokuhewage <kav...@wso2.com>
>>>>>>>
>>>>>>>
>>>>>>> Hi Kavith,
>>>>>>>
>>>>>>> That time is OK with me.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Nathiesha
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Nathiesha,
>>>>>>>>
>>>>>>>> Shall we have the meeting at 2pm – 3pm today? Please let us know
>>>>>>>> your availability.
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> *Kavith Lokuhewage*
>>>>>>>> Senior Software Engineer
>>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>>> lean . enterprise . middleware
>>>>>>>> Mobile - +94779145123
>>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>>
>>>>>>>> On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
>>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Kavith,
>>>>>>>>>
>>>>>>>>> I started with creating a micro service. Thank you for the
>>>>>>>>> reference.
>>>>>>>>> If you can please show me how to host it in the cloud, maybe
>>>>>>>>> during tomorrow meeting.
>>>>>>>>>
>>>>>>>>> Thanks and regards
>>>>>>>>>
>>>>>>>>> Nathiesha
>>>>>>>>>
>>>>>>>>> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage <
>>>>>>>>> kav...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-18 Thread Kavith Lokuhewage
t;> e.com/hangouts/_/wso2.com/kavith
>>>>>
>>>>> Thanks,
>>>>>
>>>>> *Kavith Lokuhewage*
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. - http://wso2.com
>>>>> lean . enterprise . middleware
>>>>> Mobile - +94779145123
>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>
>>>>> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Nathiesha,
>>>>>>
>>>>>> Great! I have sent you the invitation.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> *Kavith Lokuhewage*
>>>>>> Senior Software Engineer
>>>>>> WSO2 Inc. - http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>> Mobile - +94779145123
>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>
>>>>>> -- Forwarded message --
>>>>>> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
>>>>>> Date: Fri, Aug 5, 2016 at 9:36 AM
>>>>>> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
>>>>>> To: Kavith Lokuhewage <kav...@wso2.com>
>>>>>>
>>>>>>
>>>>>> Hi Kavith,
>>>>>>
>>>>>> That time is OK with me.
>>>>>>
>>>>>> Thanks
>>>>>> Nathiesha
>>>>>>
>>>>>>
>>>>>> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Nathiesha,
>>>>>>>
>>>>>>> Shall we have the meeting at 2pm – 3pm today? Please let us know
>>>>>>> your availability.
>>>>>>> Thanks,
>>>>>>>
>>>>>>> *Kavith Lokuhewage*
>>>>>>> Senior Software Engineer
>>>>>>> WSO2 Inc. - http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>> Mobile - +94779145123
>>>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>>>
>>>>>>> On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
>>>>>>> nathieshamadd...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Kavith,
>>>>>>>>
>>>>>>>> I started with creating a micro service. Thank you for the
>>>>>>>> reference.
>>>>>>>> If you can please show me how to host it in the cloud, maybe during
>>>>>>>> tomorrow meeting.
>>>>>>>>
>>>>>>>> Thanks and regards
>>>>>>>>
>>>>>>>> Nathiesha
>>>>>>>>
>>>>>>>> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage <kav...@wso2.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Nathiesha,
>>>>>>>>>
>>>>>>>>> Friday morning seems to work for us. I will send you an invitation
>>>>>>>>> shortly.
>>>>>>>>>
>>>>>>>>> BTW, instead of implementing a JAX-RS service, we can implement a
>>>>>>>>> micro service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports
>>>>>>>>> deploying micro-services on the cloud.
>>>>>>>>>
>>>>>>>>> Please follow [1] to create a micro service. It has detailed steps
>>>>>>>>> with a hello world service sample. Once you define the service 
>>>>>>>>> structure,
>>>>>>>>> you will be able to reuse most of the code from existing publishers.
>>>>>>>>> However we have to externalize credentials for JIRA and SMTP to a
>>>>>>>>> file. You may use Java Preferences API to do that.
>

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-18 Thread Nathiesha Maddage
Hi,

I have completed almost all of the coding part now, and working with fixing
a few left errors and tidying the code.

I plan to submit the plugin project, feature project and the documentation
as the deliverable.
For the final submission, I need to upload a URL that contains our project.
For that Google has provided certain examples such as the link of Git Hub
commits, a web page or a blog post, public folder in Google Drive etc. [1]

What would be the best way of submission, for our project?

[1]. https://developers.google.com/open-source/gsoc/help/work-product


Thanks and regards

Nathiesha

On Thu, Aug 11, 2016 at 4:40 PM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Nathiesha,
>
> Great! We can have the meeting at 3.00pm to 4.00pm tomorrow. I will send
> the invitation. Meanwhile, please push the latest changes to github before
> the meeting.
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi Kavith,
>>
>> I externalized the credentials in micro-service code and implemented the
>> extension point. I plan to start on OSGI services part once I finalize the
>> remaining small tasks in these sections.
>>
>> How about tomorrow evening for the next meeting? I have lectures in the
>> morning. So it would be easy if we can arrange the meeting after 2 pm.
>>
>> Thanks and regards
>> Nathiesha
>>
>> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <kav...@wso2.com>
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> How is the progress on remaining tasks? As per the previous update, you
>>> are already done with configuring maven build + creating a basic
>>> micro-service for publishing reports, aren't you?
>>>
>>> The remaining work was to externalize hard coded credentials in
>>> micro-service code, implement the extension point for providing different
>>> JIRA keys to report errors for specific java packages and define an OSGI
>>> service to be able to contribute publishers via other eclipse plugins - if
>>> needed in future.
>>>
>>> It would be great if we can finalize these soon as we are reaching
>>> towards the end of GSOC program. Please suggest a time for a meeting
>>> tomorrow. We can discuss about the issues you are facing - if any - and
>>> discuss the plat to wrap the rest of the work by end of next week.
>>>
>>> Thanks,
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>> Twitter <https://twitter.com/KavithThiranga>
>>>
>>> On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <kav...@wso2.com>
>>> wrote:
>>>
>>>> Hi Nathiesha,
>>>>
>>>> Please join the hangout https://hangouts.googl
>>>> e.com/hangouts/_/wso2.com/kavith
>>>>
>>>> Thanks,
>>>>
>>>> *Kavith Lokuhewage*
>>>> Senior Software Engineer
>>>> WSO2 Inc. - http://wso2.com
>>>> lean . enterprise . middleware
>>>> Mobile - +94779145123
>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>
>>>> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Nathiesha,
>>>>>
>>>>> Great! I have sent you the invitation.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> *Kavith Lokuhewage*
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. - http://wso2.com
>>>>> lean . enterprise . middleware
>>>>> Mobile - +94779145123
>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>>
>>>>> -- Forwarded message --
>>>>> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
>>>>> Date: Fri, Aug 5, 2016 at 9:36 AM
>>>>> Subject: Re: [Dev] GS

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-11 Thread Kavith Lokuhewage
Hi Nathiesha,

Great! We can have the meeting at 3.00pm to 4.00pm tomorrow. I will send
the invitation. Meanwhile, please push the latest changes to github before
the meeting.

Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>  Twitter
<https://twitter.com/KavithThiranga>

On Thu, Aug 11, 2016 at 4:35 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I externalized the credentials in micro-service code and implemented the
> extension point. I plan to start on OSGI services part once I finalize the
> remaining small tasks in these sections.
>
> How about tomorrow evening for the next meeting? I have lectures in the
> morning. So it would be easy if we can arrange the meeting after 2 pm.
>
> Thanks and regards
> Nathiesha
>
> On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <kav...@wso2.com>
> wrote:
>
>> Hi Nathiesha,
>>
>> How is the progress on remaining tasks? As per the previous update, you
>> are already done with configuring maven build + creating a basic
>> micro-service for publishing reports, aren't you?
>>
>> The remaining work was to externalize hard coded credentials in
>> micro-service code, implement the extension point for providing different
>> JIRA keys to report errors for specific java packages and define an OSGI
>> service to be able to contribute publishers via other eclipse plugins - if
>> needed in future.
>>
>> It would be great if we can finalize these soon as we are reaching
>> towards the end of GSOC program. Please suggest a time for a meeting
>> tomorrow. We can discuss about the issues you are facing - if any - and
>> discuss the plat to wrap the rest of the work by end of next week.
>>
>> Thanks,
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>> Twitter <https://twitter.com/KavithThiranga>
>>
>> On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <kav...@wso2.com>
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Please join the hangout https://hangouts.googl
>>> e.com/hangouts/_/wso2.com/kavith
>>>
>>> Thanks,
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>> Twitter <https://twitter.com/KavithThiranga>
>>>
>>> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com>
>>> wrote:
>>>
>>>> Hi Nathiesha,
>>>>
>>>> Great! I have sent you the invitation.
>>>>
>>>> Thanks,
>>>>
>>>> *Kavith Lokuhewage*
>>>> Senior Software Engineer
>>>> WSO2 Inc. - http://wso2.com
>>>> lean . enterprise . middleware
>>>> Mobile - +94779145123
>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>
>>>> -- Forwarded message --
>>>> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
>>>> Date: Fri, Aug 5, 2016 at 9:36 AM
>>>> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
>>>> To: Kavith Lokuhewage <kav...@wso2.com>
>>>>
>>>>
>>>> Hi Kavith,
>>>>
>>>> That time is OK with me.
>>>>
>>>> Thanks
>>>> Nathiesha
>>>>
>>>>
>>>> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Nathiesha,
>>>>>
>>>>> Shall we have the meeting at 2pm – 3pm today? Please let us know your
>>>>> availability.
>>>>> Thanks,
>>>>>
>>>>> *Kavith Lokuhewage*
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. - http://wso2.com
>>>>> lean . enterprise . middleware
>>>>> Mobile - +94779145123
>>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>>> Twitter <https://twitter.com/KavithThiranga>
>>&g

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-11 Thread Nathiesha Maddage
Hi Kavith,

I externalized the credentials in micro-service code and implemented the
extension point. I plan to start on OSGI services part once I finalize the
remaining small tasks in these sections.

How about tomorrow evening for the next meeting? I have lectures in the
morning. So it would be easy if we can arrange the meeting after 2 pm.

Thanks and regards
Nathiesha

On Thu, Aug 11, 2016 at 11:42 AM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Nathiesha,
>
> How is the progress on remaining tasks? As per the previous update, you
> are already done with configuring maven build + creating a basic
> micro-service for publishing reports, aren't you?
>
> The remaining work was to externalize hard coded credentials in
> micro-service code, implement the extension point for providing different
> JIRA keys to report errors for specific java packages and define an OSGI
> service to be able to contribute publishers via other eclipse plugins - if
> needed in future.
>
> It would be great if we can finalize these soon as we are reaching towards
> the end of GSOC program. Please suggest a time for a meeting tomorrow. We
> can discuss about the issues you are facing - if any - and discuss the plat
> to wrap the rest of the work by end of next week.
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <kav...@wso2.com> wrote:
>
>> Hi Nathiesha,
>>
>> Please join the hangout https://hangouts.google.com/hangouts/_/wso2.com/
>> kavith
>>
>> Thanks,
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>> Twitter <https://twitter.com/KavithThiranga>
>>
>> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com>
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Great! I have sent you the invitation.
>>>
>>> Thanks,
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>> Twitter <https://twitter.com/KavithThiranga>
>>>
>>> -- Forwarded message --
>>> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
>>> Date: Fri, Aug 5, 2016 at 9:36 AM
>>> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
>>> To: Kavith Lokuhewage <kav...@wso2.com>
>>>
>>>
>>> Hi Kavith,
>>>
>>> That time is OK with me.
>>>
>>> Thanks
>>> Nathiesha
>>>
>>>
>>> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com>
>>> wrote:
>>>
>>>> Hi Nathiesha,
>>>>
>>>> Shall we have the meeting at 2pm – 3pm today? Please let us know your
>>>> availability.
>>>> Thanks,
>>>>
>>>> *Kavith Lokuhewage*
>>>> Senior Software Engineer
>>>> WSO2 Inc. - http://wso2.com
>>>> lean . enterprise . middleware
>>>> Mobile - +94779145123
>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>
>>>> On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
>>>> nathieshamadd...@gmail.com> wrote:
>>>>
>>>>> Hi Kavith,
>>>>>
>>>>> I started with creating a micro service. Thank you for the reference.
>>>>> If you can please show me how to host it in the cloud, maybe during
>>>>> tomorrow meeting.
>>>>>
>>>>> Thanks and regards
>>>>>
>>>>> Nathiesha
>>>>>
>>>>> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Nathiesha,
>>>>>>
>>>>>> Friday morning seems to work for us. I will send you an invitation
>>>>>> shortly.
>>>>>>
>>>>>> BTW, instead of implementing a JAX-RS ser

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-11 Thread Kavith Lokuhewage
Hi Nathiesha,

How is the progress on remaining tasks? As per the previous update, you are
already done with configuring maven build + creating a basic micro-service
for publishing reports, aren't you?

The remaining work was to externalize hard coded credentials in
micro-service code, implement the extension point for providing different
JIRA keys to report errors for specific java packages and define an OSGI
service to be able to contribute publishers via other eclipse plugins - if
needed in future.

It would be great if we can finalize these soon as we are reaching towards
the end of GSOC program. Please suggest a time for a meeting tomorrow. We
can discuss about the issues you are facing - if any - and discuss the plat
to wrap the rest of the work by end of next week.

Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>  Twitter
<https://twitter.com/KavithThiranga>

On Fri, Aug 5, 2016 at 2:06 PM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Nathiesha,
>
> Please join the hangout https://hangouts.google.com/hangouts/_/wso2.
> com/kavith
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com>
> wrote:
>
>> Hi Nathiesha,
>>
>> Great! I have sent you the invitation.
>>
>> Thanks,
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>> Twitter <https://twitter.com/KavithThiranga>
>>
>> -- Forwarded message --
>> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
>> Date: Fri, Aug 5, 2016 at 9:36 AM
>> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
>> To: Kavith Lokuhewage <kav...@wso2.com>
>>
>>
>> Hi Kavith,
>>
>> That time is OK with me.
>>
>> Thanks
>> Nathiesha
>>
>>
>> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com>
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Shall we have the meeting at 2pm – 3pm today? Please let us know your
>>> availability.
>>> Thanks,
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>> Twitter <https://twitter.com/KavithThiranga>
>>>
>>> On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
>>>> Hi Kavith,
>>>>
>>>> I started with creating a micro service. Thank you for the reference.
>>>> If you can please show me how to host it in the cloud, maybe during
>>>> tomorrow meeting.
>>>>
>>>> Thanks and regards
>>>>
>>>> Nathiesha
>>>>
>>>> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage <kav...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Nathiesha,
>>>>>
>>>>> Friday morning seems to work for us. I will send you an invitation
>>>>> shortly.
>>>>>
>>>>> BTW, instead of implementing a JAX-RS service, we can implement a
>>>>> micro service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports
>>>>> deploying micro-services on the cloud.
>>>>>
>>>>> Please follow [1] to create a micro service. It has detailed steps
>>>>> with a hello world service sample. Once you define the service structure,
>>>>> you will be able to reuse most of the code from existing publishers.
>>>>> However we have to externalize credentials for JIRA and SMTP to a
>>>>> file. You may use Java Preferences API to do that.
>>>>>
>>>>> For now, test it on your local env. We can directly host the jar in
>>>>> the cloud and get a URL for the service. I can show you how to do it in a
>>>>> quick call if needed. Anyway, local testing is sufficient for now and make
>

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-05 Thread Kavith Lokuhewage
Hi Nathiesha,

Please join the hangout
https://hangouts.google.com/hangouts/_/wso2.com/kavith

Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>  Twitter
<https://twitter.com/KavithThiranga>

On Fri, Aug 5, 2016 at 11:49 AM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Nathiesha,
>
> Great! I have sent you the invitation.
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> -- Forwarded message --
> From: Nathiesha Maddage <nathieshamadd...@gmail.com>
> Date: Fri, Aug 5, 2016 at 9:36 AM
> Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
> To: Kavith Lokuhewage <kav...@wso2.com>
>
>
> Hi Kavith,
>
> That time is OK with me.
>
> Thanks
> Nathiesha
>
>
> On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com> wrote:
>
>> Hi Nathiesha,
>>
>> Shall we have the meeting at 2pm – 3pm today? Please let us know your
>> availability.
>> Thanks,
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>> Twitter <https://twitter.com/KavithThiranga>
>>
>> On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi Kavith,
>>>
>>> I started with creating a micro service. Thank you for the reference.
>>> If you can please show me how to host it in the cloud, maybe during
>>> tomorrow meeting.
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage <kav...@wso2.com>
>>> wrote:
>>>
>>>> Hi Nathiesha,
>>>>
>>>> Friday morning seems to work for us. I will send you an invitation
>>>> shortly.
>>>>
>>>> BTW, instead of implementing a JAX-RS service, we can implement a micro
>>>> service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports deploying
>>>> micro-services on the cloud.
>>>>
>>>> Please follow [1] to create a micro service. It has detailed steps with
>>>> a hello world service sample. Once you define the service structure, you
>>>> will be able to reuse most of the code from existing publishers.
>>>> However we have to externalize credentials for JIRA and SMTP to a file.
>>>> You may use Java Preferences API to do that.
>>>>
>>>> For now, test it on your local env. We can directly host the jar in the
>>>> cloud and get a URL for the service. I can show you how to do it in a quick
>>>> call if needed. Anyway, local testing is sufficient for now and make sure
>>>> that the service URL is configurable via eclipse preferences.
>>>>
>>>> Thanks,
>>>>
>>>> [1] *https://github.com/wso2/msf4j <https://github.com/wso2/msf4j>*
>>>>
>>>> *Kavith Lokuhewage*
>>>> Senior Software Engineer
>>>> WSO2 Inc. - http://wso2.com
>>>> lean . enterprise . middleware
>>>> Mobile - +94779145123
>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>
>>>> On Wed, Aug 3, 2016 at 8:58 AM, Nathiesha Maddage <
>>>> nathieshamadd...@gmail.com> wrote:
>>>>
>>>>> Hi Kavith,
>>>>>
>>>>> I will fork the repo as you have suggested and I got started with the
>>>>> REST API part.
>>>>> How about Friday morning for the next meeting?
>>>>>
>>>>> Thanks and Regards
>>>>>
>>>>> Nathiesha
>>>>>
>>>>> On Tue, Aug 2, 2016 at 9:42 PM, Kavith Lokuhewage <kav...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Nathiesha,
>>>>>>
>>>>>> Nothing wrong with both poms and yeah, pom1.xml will break the build.
>>>>>> However, I think there's a proper solution to this.
>>

[Dev] GSoC2016-Contact Development Team Feature

2016-08-05 Thread Kavith Lokuhewage
Hi Nathiesha,

Great! I have sent you the invitation.

Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>  Twitter
<https://twitter.com/KavithThiranga>

-- Forwarded message --
From: Nathiesha Maddage <nathieshamadd...@gmail.com>
Date: Fri, Aug 5, 2016 at 9:36 AM
Subject: Re: [Dev] GSoC2016-Contact Development Team Feature
To: Kavith Lokuhewage <kav...@wso2.com>


Hi Kavith,

That time is OK with me.

Thanks
Nathiesha


On Fri, Aug 5, 2016 at 8:01 AM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Nathiesha,
>
> Shall we have the meeting at 2pm – 3pm today? Please let us know your
> availability.
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi Kavith,
>>
>> I started with creating a micro service. Thank you for the reference.
>> If you can please show me how to host it in the cloud, maybe during
>> tomorrow meeting.
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage <kav...@wso2.com>
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Friday morning seems to work for us. I will send you an invitation
>>> shortly.
>>>
>>> BTW, instead of implementing a JAX-RS service, we can implement a micro
>>> service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports deploying
>>> micro-services on the cloud.
>>>
>>> Please follow [1] to create a micro service. It has detailed steps with
>>> a hello world service sample. Once you define the service structure, you
>>> will be able to reuse most of the code from existing publishers.
>>> However we have to externalize credentials for JIRA and SMTP to a file.
>>> You may use Java Preferences API to do that.
>>>
>>> For now, test it on your local env. We can directly host the jar in the
>>> cloud and get a URL for the service. I can show you how to do it in a quick
>>> call if needed. Anyway, local testing is sufficient for now and make sure
>>> that the service URL is configurable via eclipse preferences.
>>>
>>> Thanks,
>>>
>>> [1] *https://github.com/wso2/msf4j <https://github.com/wso2/msf4j>*
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>> Twitter <https://twitter.com/KavithThiranga>
>>>
>>> On Wed, Aug 3, 2016 at 8:58 AM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
>>>> Hi Kavith,
>>>>
>>>> I will fork the repo as you have suggested and I got started with the
>>>> REST API part.
>>>> How about Friday morning for the next meeting?
>>>>
>>>> Thanks and Regards
>>>>
>>>> Nathiesha
>>>>
>>>> On Tue, Aug 2, 2016 at 9:42 PM, Kavith Lokuhewage <kav...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Nathiesha,
>>>>>
>>>>> Nothing wrong with both poms and yeah, pom1.xml will break the build.
>>>>> However, I think there's a proper solution to this.
>>>>> Take a fork of the developer-studio-kernel repo, add your plugin to
>>>>> plugins folder. Keep working on that repo afterwards. This way, after
>>>>> finalizing the development, you can directly send a pull request to kernel
>>>>> repo from your fork.
>>>>> Yes, we use the qualifier in versions, in addition to major, minor and
>>>>> patch version components.
>>>>>
>>>>> As we discussed during previous meeting, you can now start working on
>>>>> moving email and jira publishing logic to a web app and expose a single
>>>>> rest API for to invoke them. So, eclipse plugin will call to this rest
>>>>> service and only a single publisher will be implemented in the plugin. In
>>>>> this way, we can get rid of asking users to

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-04 Thread Kavith Lokuhewage
Hi Nathiesha,

Shall we have the meeting at 2pm – 3pm today? Please let us know your
availability.
Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter


On Thu, Aug 4, 2016 at 12:21 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I started with creating a micro service. Thank you for the reference.
> If you can please show me how to host it in the cloud, maybe during
> tomorrow meeting.
>
> Thanks and regards
>
> Nathiesha
>
> On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> Friday morning seems to work for us. I will send you an invitation
>> shortly.
>>
>> BTW, instead of implementing a JAX-RS service, we can implement a micro
>> service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports deploying
>> micro-services on the cloud.
>>
>> Please follow [1] to create a micro service. It has detailed steps with a
>> hello world service sample. Once you define the service structure, you will
>> be able to reuse most of the code from existing publishers.
>> However we have to externalize credentials for JIRA and SMTP to a file.
>> You may use Java Preferences API to do that.
>>
>> For now, test it on your local env. We can directly host the jar in the
>> cloud and get a URL for the service. I can show you how to do it in a quick
>> call if needed. Anyway, local testing is sufficient for now and make sure
>> that the service URL is configurable via eclipse preferences.
>>
>> Thanks,
>>
>> [1] *https://github.com/wso2/msf4j *
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin 
>> Twitter 
>>
>> On Wed, Aug 3, 2016 at 8:58 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi Kavith,
>>>
>>> I will fork the repo as you have suggested and I got started with the
>>> REST API part.
>>> How about Friday morning for the next meeting?
>>>
>>> Thanks and Regards
>>>
>>> Nathiesha
>>>
>>> On Tue, Aug 2, 2016 at 9:42 PM, Kavith Lokuhewage 
>>> wrote:
>>>
 Hi Nathiesha,

 Nothing wrong with both poms and yeah, pom1.xml will break the build.
 However, I think there's a proper solution to this.
 Take a fork of the developer-studio-kernel repo, add your plugin to
 plugins folder. Keep working on that repo afterwards. This way, after
 finalizing the development, you can directly send a pull request to kernel
 repo from your fork.
 Yes, we use the qualifier in versions, in addition to major, minor and
 patch version components.

 As we discussed during previous meeting, you can now start working on
 moving email and jira publishing logic to a web app and expose a single
 rest API for to invoke them. So, eclipse plugin will call to this rest
 service and only a single publisher will be implemented in the plugin. In
 this way, we can get rid of asking users to register on our jira and asking
 them to enter their gmail credentials - both which are most likely ignored
 by users. We will create a bot jira user and email account and keep those
 credentials within the web app it self - and only ask users about their
 contact information (name, email - in case we need to get back - and
 company) when sending the error report.

 BTW, we can have another review on this Friday. Please propose a time
 which fits for you.

 Thanks,


 *Kavith Lokuhewage*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.com
 lean . enterprise . middleware
 Mobile - +94779145123
 Linkedin 
 Twitter 

 On Tue, Aug 2, 2016 at 8:33 AM, Nathiesha Maddage <
 nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I tried creating the pom.xml by referring to the Developer Studio
> plugin projects in git hub. Following the same structure as in the github
> plugin projects. I came up with this, pom1.xml.
>
> However since my project is still not under those parent projects as
> in github, I created another pom2.xml as follows, by removing the parent
> tag, by adding p2 repositaries and tycho plugin. After fixing couple of
> errors, I could successfully build the project using pom2.xml.
>
> Can you please have a look at the two pom.xml files and tell me if
> they seem to be OK or if there are any issues in them? If that is OK, I 
> can
> move to the next milestone of the project.
>
> Furthermore I changed the 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-04 Thread Nathiesha Maddage
Hi Kavith,

I started with creating a micro service. Thank you for the reference.
If you can please show me how to host it in the cloud, maybe during
tomorrow meeting.

Thanks and regards

Nathiesha

On Wed, Aug 3, 2016 at 10:22 AM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> Friday morning seems to work for us. I will send you an invitation shortly.
>
> BTW, instead of implementing a JAX-RS service, we can implement a micro
> service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports deploying
> micro-services on the cloud.
>
> Please follow [1] to create a micro service. It has detailed steps with a
> hello world service sample. Once you define the service structure, you will
> be able to reuse most of the code from existing publishers.
> However we have to externalize credentials for JIRA and SMTP to a file.
> You may use Java Preferences API to do that.
>
> For now, test it on your local env. We can directly host the jar in the
> cloud and get a URL for the service. I can show you how to do it in a quick
> call if needed. Anyway, local testing is sufficient for now and make sure
> that the service URL is configurable via eclipse preferences.
>
> Thanks,
>
> [1] *https://github.com/wso2/msf4j *
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> On Wed, Aug 3, 2016 at 8:58 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi Kavith,
>>
>> I will fork the repo as you have suggested and I got started with the
>> REST API part.
>> How about Friday morning for the next meeting?
>>
>> Thanks and Regards
>>
>> Nathiesha
>>
>> On Tue, Aug 2, 2016 at 9:42 PM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Nothing wrong with both poms and yeah, pom1.xml will break the build.
>>> However, I think there's a proper solution to this.
>>> Take a fork of the developer-studio-kernel repo, add your plugin to
>>> plugins folder. Keep working on that repo afterwards. This way, after
>>> finalizing the development, you can directly send a pull request to kernel
>>> repo from your fork.
>>> Yes, we use the qualifier in versions, in addition to major, minor and
>>> patch version components.
>>>
>>> As we discussed during previous meeting, you can now start working on
>>> moving email and jira publishing logic to a web app and expose a single
>>> rest API for to invoke them. So, eclipse plugin will call to this rest
>>> service and only a single publisher will be implemented in the plugin. In
>>> this way, we can get rid of asking users to register on our jira and asking
>>> them to enter their gmail credentials - both which are most likely ignored
>>> by users. We will create a bot jira user and email account and keep those
>>> credentials within the web app it self - and only ask users about their
>>> contact information (name, email - in case we need to get back - and
>>> company) when sending the error report.
>>>
>>> BTW, we can have another review on this Friday. Please propose a time
>>> which fits for you.
>>>
>>> Thanks,
>>>
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> Linkedin 
>>> Twitter 
>>>
>>> On Tue, Aug 2, 2016 at 8:33 AM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi Kavith,

 I tried creating the pom.xml by referring to the Developer Studio
 plugin projects in git hub. Following the same structure as in the github
 plugin projects. I came up with this, pom1.xml.

 However since my project is still not under those parent projects as in
 github, I created another pom2.xml as follows, by removing the parent tag,
 by adding p2 repositaries and tycho plugin. After fixing couple of errors,
 I could successfully build the project using pom2.xml.

 Can you please have a look at the two pom.xml files and tell me if they
 seem to be OK or if there are any issues in them? If that is OK, I can move
 to the next milestone of the project.

 Furthermore I changed the Bundle-Version in the project manifest to
 4.2.0.qualifier, because the plugin projects in git hub under Developer
 studio seem to have that version. I hope that is OK.

 Thanks for the article on osgi services. I will go through it.

 Thanks and regards

 Nathiesha

 On Mon, Aug 1, 2016 at 8:22 AM, Kavith Lokuhewage 
 wrote:

> Hi Nathiesha,
>
> How is the progress on converting project to a maven project? Please
> let us know if you face any issues.
>
> BTW, [1] is a good article on 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-02 Thread Kavith Lokuhewage
Hi Nathiesha,

Friday morning seems to work for us. I will send you an invitation shortly.

BTW, instead of implementing a JAX-RS service, we can implement a micro
service using WSO2 MSF4J 2.0.0. And WSO2 app cloud now supports deploying
micro-services on the cloud.

Please follow [1] to create a micro service. It has detailed steps with a
hello world service sample. Once you define the service structure, you will
be able to reuse most of the code from existing publishers.
However we have to externalize credentials for JIRA and SMTP to a file. You
may use Java Preferences API to do that.

For now, test it on your local env. We can directly host the jar in the
cloud and get a URL for the service. I can show you how to do it in a quick
call if needed. Anyway, local testing is sufficient for now and make sure
that the service URL is configurable via eclipse preferences.

Thanks,

[1] *https://github.com/wso2/msf4j *

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter


On Wed, Aug 3, 2016 at 8:58 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I will fork the repo as you have suggested and I got started with the REST
> API part.
> How about Friday morning for the next meeting?
>
> Thanks and Regards
>
> Nathiesha
>
> On Tue, Aug 2, 2016 at 9:42 PM, Kavith Lokuhewage  wrote:
>
>> Hi Nathiesha,
>>
>> Nothing wrong with both poms and yeah, pom1.xml will break the build.
>> However, I think there's a proper solution to this.
>> Take a fork of the developer-studio-kernel repo, add your plugin to
>> plugins folder. Keep working on that repo afterwards. This way, after
>> finalizing the development, you can directly send a pull request to kernel
>> repo from your fork.
>> Yes, we use the qualifier in versions, in addition to major, minor and
>> patch version components.
>>
>> As we discussed during previous meeting, you can now start working on
>> moving email and jira publishing logic to a web app and expose a single
>> rest API for to invoke them. So, eclipse plugin will call to this rest
>> service and only a single publisher will be implemented in the plugin. In
>> this way, we can get rid of asking users to register on our jira and asking
>> them to enter their gmail credentials - both which are most likely ignored
>> by users. We will create a bot jira user and email account and keep those
>> credentials within the web app it self - and only ask users about their
>> contact information (name, email - in case we need to get back - and
>> company) when sending the error report.
>>
>> BTW, we can have another review on this Friday. Please propose a time
>> which fits for you.
>>
>> Thanks,
>>
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin 
>> Twitter 
>>
>> On Tue, Aug 2, 2016 at 8:33 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi Kavith,
>>>
>>> I tried creating the pom.xml by referring to the Developer Studio plugin
>>> projects in git hub. Following the same structure as in the github plugin
>>> projects. I came up with this, pom1.xml.
>>>
>>> However since my project is still not under those parent projects as in
>>> github, I created another pom2.xml as follows, by removing the parent tag,
>>> by adding p2 repositaries and tycho plugin. After fixing couple of errors,
>>> I could successfully build the project using pom2.xml.
>>>
>>> Can you please have a look at the two pom.xml files and tell me if they
>>> seem to be OK or if there are any issues in them? If that is OK, I can move
>>> to the next milestone of the project.
>>>
>>> Furthermore I changed the Bundle-Version in the project manifest to
>>> 4.2.0.qualifier, because the plugin projects in git hub under Developer
>>> studio seem to have that version. I hope that is OK.
>>>
>>> Thanks for the article on osgi services. I will go through it.
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>> On Mon, Aug 1, 2016 at 8:22 AM, Kavith Lokuhewage 
>>> wrote:
>>>
 Hi Nathiesha,

 How is the progress on converting project to a maven project? Please
 let us know if you face any issues.

 BTW, [1] is a good article on osgi services with eclipse plugins. We
 can use them for further decoupling publishers and report generators.

 Thanks,

 [1] http://www.vogella.com/tutorials/OSGiServices/article.html

 On 29 Jul 2016 5:19 p.m., "Nathiesha Maddage" <
 nathieshamadd...@gmail.com> wrote:

> Hi Jasintha and Kavith,
>
> Here is the project plan for the upcoming 3/4 weeks.
>
>   

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-02 Thread Nathiesha Maddage
Hi Kavith,

I will fork the repo as you have suggested and I got started with the REST
API part.
How about Friday morning for the next meeting?

Thanks and Regards

Nathiesha

On Tue, Aug 2, 2016 at 9:42 PM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> Nothing wrong with both poms and yeah, pom1.xml will break the build.
> However, I think there's a proper solution to this.
> Take a fork of the developer-studio-kernel repo, add your plugin to
> plugins folder. Keep working on that repo afterwards. This way, after
> finalizing the development, you can directly send a pull request to kernel
> repo from your fork.
> Yes, we use the qualifier in versions, in addition to major, minor and
> patch version components.
>
> As we discussed during previous meeting, you can now start working on
> moving email and jira publishing logic to a web app and expose a single
> rest API for to invoke them. So, eclipse plugin will call to this rest
> service and only a single publisher will be implemented in the plugin. In
> this way, we can get rid of asking users to register on our jira and asking
> them to enter their gmail credentials - both which are most likely ignored
> by users. We will create a bot jira user and email account and keep those
> credentials within the web app it self - and only ask users about their
> contact information (name, email - in case we need to get back - and
> company) when sending the error report.
>
> BTW, we can have another review on this Friday. Please propose a time
> which fits for you.
>
> Thanks,
>
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> On Tue, Aug 2, 2016 at 8:33 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi Kavith,
>>
>> I tried creating the pom.xml by referring to the Developer Studio plugin
>> projects in git hub. Following the same structure as in the github plugin
>> projects. I came up with this, pom1.xml.
>>
>> However since my project is still not under those parent projects as in
>> github, I created another pom2.xml as follows, by removing the parent tag,
>> by adding p2 repositaries and tycho plugin. After fixing couple of errors,
>> I could successfully build the project using pom2.xml.
>>
>> Can you please have a look at the two pom.xml files and tell me if they
>> seem to be OK or if there are any issues in them? If that is OK, I can move
>> to the next milestone of the project.
>>
>> Furthermore I changed the Bundle-Version in the project manifest to
>> 4.2.0.qualifier, because the plugin projects in git hub under Developer
>> studio seem to have that version. I hope that is OK.
>>
>> Thanks for the article on osgi services. I will go through it.
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>> On Mon, Aug 1, 2016 at 8:22 AM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> How is the progress on converting project to a maven project? Please let
>>> us know if you face any issues.
>>>
>>> BTW, [1] is a good article on osgi services with eclipse plugins. We can
>>> use them for further decoupling publishers and report generators.
>>>
>>> Thanks,
>>>
>>> [1] http://www.vogella.com/tutorials/OSGiServices/article.html
>>>
>>> On 29 Jul 2016 5:19 p.m., "Nathiesha Maddage" <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi Jasintha and Kavith,

 Here is the project plan for the upcoming 3/4 weeks.

   *July 30th-1st Aug*


-  Add and configure pom.xml
-  Use Maven tycho plugin
-  Build project using Maven



   *2nd Aug-6th Aug*


- Write a REST web service to publish errors, deploy in tomcat and
testing.
-  Add options for the current plugin project to use above web
service
-  Add current project classes and methods to be comply with above
changes


   *7th Aug-11th Aug*


- Define an extension point of the plugin
-  Add methods to get the registered plugins and their Project
keys, to maintain a map
- Add methods to group errors under their required plugins
-  Change the publisher methods to create multiple issues in Jira


   *12th Aug -15th Aug*


- Improve ErrorPublisher interfaces
-  Write OSGI services for ErrorPublisher interfaces



   *16th Aug – 17th Aug*


- Create Feature Project using the plugin


 * 18th Aug – 20th Aug*


-  Refine the code
-  Fix bugs
- Testing


  *21st Aug – 22nd Aug*


-  Documentation


 Thanks and regards

 Nathiesha


 On Fri, Jul 29, 2016 at 9:48 AM, 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-02 Thread Kavith Lokuhewage
Hi Nathiesha,

Nothing wrong with both poms and yeah, pom1.xml will break the build.
However, I think there's a proper solution to this.
Take a fork of the developer-studio-kernel repo, add your plugin to plugins
folder. Keep working on that repo afterwards. This way, after finalizing
the development, you can directly send a pull request to kernel repo from
your fork.
Yes, we use the qualifier in versions, in addition to major, minor and
patch version components.

As we discussed during previous meeting, you can now start working on
moving email and jira publishing logic to a web app and expose a single
rest API for to invoke them. So, eclipse plugin will call to this rest
service and only a single publisher will be implemented in the plugin. In
this way, we can get rid of asking users to register on our jira and asking
them to enter their gmail credentials - both which are most likely ignored
by users. We will create a bot jira user and email account and keep those
credentials within the web app it self - and only ask users about their
contact information (name, email - in case we need to get back - and
company) when sending the error report.

BTW, we can have another review on this Friday. Please propose a time which
fits for you.

Thanks,


*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter


On Tue, Aug 2, 2016 at 8:33 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I tried creating the pom.xml by referring to the Developer Studio plugin
> projects in git hub. Following the same structure as in the github plugin
> projects. I came up with this, pom1.xml.
>
> However since my project is still not under those parent projects as in
> github, I created another pom2.xml as follows, by removing the parent tag,
> by adding p2 repositaries and tycho plugin. After fixing couple of errors,
> I could successfully build the project using pom2.xml.
>
> Can you please have a look at the two pom.xml files and tell me if they
> seem to be OK or if there are any issues in them? If that is OK, I can move
> to the next milestone of the project.
>
> Furthermore I changed the Bundle-Version in the project manifest to
> 4.2.0.qualifier, because the plugin projects in git hub under Developer
> studio seem to have that version. I hope that is OK.
>
> Thanks for the article on osgi services. I will go through it.
>
> Thanks and regards
>
> Nathiesha
>
> On Mon, Aug 1, 2016 at 8:22 AM, Kavith Lokuhewage  wrote:
>
>> Hi Nathiesha,
>>
>> How is the progress on converting project to a maven project? Please let
>> us know if you face any issues.
>>
>> BTW, [1] is a good article on osgi services with eclipse plugins. We can
>> use them for further decoupling publishers and report generators.
>>
>> Thanks,
>>
>> [1] http://www.vogella.com/tutorials/OSGiServices/article.html
>>
>> On 29 Jul 2016 5:19 p.m., "Nathiesha Maddage" 
>> wrote:
>>
>>> Hi Jasintha and Kavith,
>>>
>>> Here is the project plan for the upcoming 3/4 weeks.
>>>
>>>   *July 30th-1st Aug*
>>>
>>>
>>>-  Add and configure pom.xml
>>>-  Use Maven tycho plugin
>>>-  Build project using Maven
>>>
>>>
>>>
>>>   *2nd Aug-6th Aug*
>>>
>>>
>>>- Write a REST web service to publish errors, deploy in tomcat and
>>>testing.
>>>-  Add options for the current plugin project to use above web
>>>service
>>>-  Add current project classes and methods to be comply with above
>>>changes
>>>
>>>
>>>   *7th Aug-11th Aug*
>>>
>>>
>>>- Define an extension point of the plugin
>>>-  Add methods to get the registered plugins and their Project keys,
>>>to maintain a map
>>>- Add methods to group errors under their required plugins
>>>-  Change the publisher methods to create multiple issues in Jira
>>>
>>>
>>>   *12th Aug -15th Aug*
>>>
>>>
>>>- Improve ErrorPublisher interfaces
>>>-  Write OSGI services for ErrorPublisher interfaces
>>>
>>>
>>>
>>>   *16th Aug – 17th Aug*
>>>
>>>
>>>- Create Feature Project using the plugin
>>>
>>>
>>> * 18th Aug – 20th Aug*
>>>
>>>
>>>-  Refine the code
>>>-  Fix bugs
>>>- Testing
>>>
>>>
>>>  *21st Aug – 22nd Aug*
>>>
>>>
>>>-  Documentation
>>>
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>>
>>> On Fri, Jul 29, 2016 at 9:48 AM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi all,

 Here are the minutes of the meeting I had yesterday (28/07/16) with
 Jasintha and Kavith.

 During the meeting the current project progress was discussed and
 suggestions were made to improve and finalize the development of the
 project. Listed below are the key points discussed during the meeting.

 1.   Instructions 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-01 Thread Nathiesha Maddage
Hi Kavith,

I tried creating the pom.xml by referring to the Developer Studio plugin
projects in git hub. Following the same structure as in the github plugin
projects. I came up with this, pom1.xml.

However since my project is still not under those parent projects as in
github, I created another pom2.xml as follows, by removing the parent tag,
by adding p2 repositaries and tycho plugin. After fixing couple of errors,
I could successfully build the project using pom2.xml.

Can you please have a look at the two pom.xml files and tell me if they
seem to be OK or if there are any issues in them? If that is OK, I can move
to the next milestone of the project.

Furthermore I changed the Bundle-Version in the project manifest to
4.2.0.qualifier, because the plugin projects in git hub under Developer
studio seem to have that version. I hope that is OK.

Thanks for the article on osgi services. I will go through it.

Thanks and regards

Nathiesha

On Mon, Aug 1, 2016 at 8:22 AM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> How is the progress on converting project to a maven project? Please let
> us know if you face any issues.
>
> BTW, [1] is a good article on osgi services with eclipse plugins. We can
> use them for further decoupling publishers and report generators.
>
> Thanks,
>
> [1] http://www.vogella.com/tutorials/OSGiServices/article.html
>
> On 29 Jul 2016 5:19 p.m., "Nathiesha Maddage" 
> wrote:
>
>> Hi Jasintha and Kavith,
>>
>> Here is the project plan for the upcoming 3/4 weeks.
>>
>>   *July 30th-1st Aug*
>>
>>
>>-  Add and configure pom.xml
>>-  Use Maven tycho plugin
>>-  Build project using Maven
>>
>>
>>
>>   *2nd Aug-6th Aug*
>>
>>
>>- Write a REST web service to publish errors, deploy in tomcat and
>>testing.
>>-  Add options for the current plugin project to use above web service
>>-  Add current project classes and methods to be comply with above
>>changes
>>
>>
>>   *7th Aug-11th Aug*
>>
>>
>>- Define an extension point of the plugin
>>-  Add methods to get the registered plugins and their Project keys,
>>to maintain a map
>>- Add methods to group errors under their required plugins
>>-  Change the publisher methods to create multiple issues in Jira
>>
>>
>>   *12th Aug -15th Aug*
>>
>>
>>- Improve ErrorPublisher interfaces
>>-  Write OSGI services for ErrorPublisher interfaces
>>
>>
>>
>>   *16th Aug – 17th Aug*
>>
>>
>>- Create Feature Project using the plugin
>>
>>
>> * 18th Aug – 20th Aug*
>>
>>
>>-  Refine the code
>>-  Fix bugs
>>- Testing
>>
>>
>>  *21st Aug – 22nd Aug*
>>
>>
>>-  Documentation
>>
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>>
>> On Fri, Jul 29, 2016 at 9:48 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Here are the minutes of the meeting I had yesterday (28/07/16) with
>>> Jasintha and Kavith.
>>>
>>> During the meeting the current project progress was discussed and
>>> suggestions were made to improve and finalize the development of the
>>> project. Listed below are the key points discussed during the meeting.
>>>
>>> 1.   Instructions were given on how to add pom.xml, to change its
>>> fields to match with the project , to use Maven tycho plugin and to build
>>> the project using maven.
>>>
>>> 2.   Suggestions were made on creating and improving interfaces
>>> like ErrorPublisher and ReportGenerator, and how to call the publish method
>>> of all the registered publishers using an iterator in the main controller
>>> class.
>>>
>>> 3.   We planned to add another option for the user, where he does
>>> not have any gmail and jira credentials, but a remote server would take
>>> care of publishing the error using a common general account. For that I was
>>> asked to write a REST web service that would handle this procedure, and to
>>> deploy it in tomcat for testing. Possibility of using micro services for
>>> this was also discussed.
>>>
>>> 4.   We planned to add multiple project keys for the jira create
>>> issue option where required, and to assign the project key based on the
>>> plugin that is responsible for the error. For that purpose, it was
>>> suggested to create an extension point of the project, so other plugins can
>>> extend it and define their own project key. Using this all the plugins that
>>> have extended the error reporter plugin and their respective project keys
>>> can be fetched, and a map can be maintained, to be used during the error
>>> reporting process.
>>>
>>> 5.   To expose the Publisher classes, OSGI services will be
>>> introduced to the project.
>>>
>>> 6.   It was suggested to create a feature by adding this plugin.
>>>
>>>
>>> Furthermore instructions were given on the documentation required for
>>> the project, and time frame for documentation was suggested. And I was
>>> asked to send a 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-31 Thread Kavith Lokuhewage
Hi Nathiesha,

How is the progress on converting project to a maven project? Please let us
know if you face any issues.

BTW, [1] is a good article on osgi services with eclipse plugins. We can
use them for further decoupling publishers and report generators.

Thanks,

[1] http://www.vogella.com/tutorials/OSGiServices/article.html

On 29 Jul 2016 5:19 p.m., "Nathiesha Maddage" 
wrote:

> Hi Jasintha and Kavith,
>
> Here is the project plan for the upcoming 3/4 weeks.
>
>   *July 30th-1st Aug*
>
>
>-  Add and configure pom.xml
>-  Use Maven tycho plugin
>-  Build project using Maven
>
>
>
>   *2nd Aug-6th Aug*
>
>
>- Write a REST web service to publish errors, deploy in tomcat and
>testing.
>-  Add options for the current plugin project to use above web service
>-  Add current project classes and methods to be comply with above
>changes
>
>
>   *7th Aug-11th Aug*
>
>
>- Define an extension point of the plugin
>-  Add methods to get the registered plugins and their Project keys,
>to maintain a map
>- Add methods to group errors under their required plugins
>-  Change the publisher methods to create multiple issues in Jira
>
>
>   *12th Aug -15th Aug*
>
>
>- Improve ErrorPublisher interfaces
>-  Write OSGI services for ErrorPublisher interfaces
>
>
>
>   *16th Aug – 17th Aug*
>
>
>- Create Feature Project using the plugin
>
>
> * 18th Aug – 20th Aug*
>
>
>-  Refine the code
>-  Fix bugs
>- Testing
>
>
>  *21st Aug – 22nd Aug*
>
>
>-  Documentation
>
>
> Thanks and regards
>
> Nathiesha
>
>
> On Fri, Jul 29, 2016 at 9:48 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> Here are the minutes of the meeting I had yesterday (28/07/16) with
>> Jasintha and Kavith.
>>
>> During the meeting the current project progress was discussed and
>> suggestions were made to improve and finalize the development of the
>> project. Listed below are the key points discussed during the meeting.
>>
>> 1.   Instructions were given on how to add pom.xml, to change its
>> fields to match with the project , to use Maven tycho plugin and to build
>> the project using maven.
>>
>> 2.   Suggestions were made on creating and improving interfaces like
>> ErrorPublisher and ReportGenerator, and how to call the publish method of
>> all the registered publishers using an iterator in the main controller
>> class.
>>
>> 3.   We planned to add another option for the user, where he does
>> not have any gmail and jira credentials, but a remote server would take
>> care of publishing the error using a common general account. For that I was
>> asked to write a REST web service that would handle this procedure, and to
>> deploy it in tomcat for testing. Possibility of using micro services for
>> this was also discussed.
>>
>> 4.   We planned to add multiple project keys for the jira create
>> issue option where required, and to assign the project key based on the
>> plugin that is responsible for the error. For that purpose, it was
>> suggested to create an extension point of the project, so other plugins can
>> extend it and define their own project key. Using this all the plugins that
>> have extended the error reporter plugin and their respective project keys
>> can be fetched, and a map can be maintained, to be used during the error
>> reporting process.
>>
>> 5.   To expose the Publisher classes, OSGI services will be
>> introduced to the project.
>>
>> 6.   It was suggested to create a feature by adding this plugin.
>>
>>
>> Furthermore instructions were given on the documentation required for the
>> project, and time frame for documentation was suggested. And I was asked to
>> send a project plan for the upcoming 3 weeks.
>>
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>>
>> On Tue, Jul 26, 2016 at 7:39 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi Kavith,
>>>
>>> I accepted the invitation.
>>>
>>> Thanks and regards
>>> Nathiesha
>>>
>>> On Mon, Jul 25, 2016 at 8:42 PM, Kavith Lokuhewage 
>>> wrote:
>>>
 Hi Nathiesha,

 I have sent the invitation for the meeting at 2pm-3pm on 28/07/2016 [1].

 Thanks,

 [1] https://goo.gl/PLEWQd


 *Kavith Lokuhewage*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.com
 lean . enterprise . middleware
 Mobile - +94779145123
 Linkedin 
 Twitter 

 On Mon, Jul 25, 2016 at 8:13 PM, Nathiesha Maddage <
 nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> How about Thursday evening, for the meeting? I am free after 1 pm.
>
> Thank you for the examples. I was going to refactor the code by
> introducing the interfaces as you suggested during the mid evaluation. 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-29 Thread Nathiesha Maddage
Hi Jasintha and Kavith,

Here is the project plan for the upcoming 3/4 weeks.

  *July 30th-1st Aug*


   -  Add and configure pom.xml
   -  Use Maven tycho plugin
   -  Build project using Maven



  *2nd Aug-6th Aug*


   - Write a REST web service to publish errors, deploy in tomcat and
   testing.
   -  Add options for the current plugin project to use above web service
   -  Add current project classes and methods to be comply with above
   changes


  *7th Aug-11th Aug*


   - Define an extension point of the plugin
   -  Add methods to get the registered plugins and their Project keys, to
   maintain a map
   - Add methods to group errors under their required plugins
   -  Change the publisher methods to create multiple issues in Jira


  *12th Aug -15th Aug*


   - Improve ErrorPublisher interfaces
   -  Write OSGI services for ErrorPublisher interfaces



  *16th Aug – 17th Aug*


   - Create Feature Project using the plugin


* 18th Aug – 20th Aug*


   -  Refine the code
   -  Fix bugs
   - Testing


 *21st Aug – 22nd Aug*


   -  Documentation


Thanks and regards

Nathiesha


On Fri, Jul 29, 2016 at 9:48 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> Here are the minutes of the meeting I had yesterday (28/07/16) with
> Jasintha and Kavith.
>
> During the meeting the current project progress was discussed and
> suggestions were made to improve and finalize the development of the
> project. Listed below are the key points discussed during the meeting.
>
> 1.   Instructions were given on how to add pom.xml, to change its
> fields to match with the project , to use Maven tycho plugin and to build
> the project using maven.
>
> 2.   Suggestions were made on creating and improving interfaces like
> ErrorPublisher and ReportGenerator, and how to call the publish method of
> all the registered publishers using an iterator in the main controller
> class.
>
> 3.   We planned to add another option for the user, where he does not
> have any gmail and jira credentials, but a remote server would take care of
> publishing the error using a common general account. For that I was asked
> to write a REST web service that would handle this procedure, and to deploy
> it in tomcat for testing. Possibility of using micro services for this was
> also discussed.
>
> 4.   We planned to add multiple project keys for the jira create
> issue option where required, and to assign the project key based on the
> plugin that is responsible for the error. For that purpose, it was
> suggested to create an extension point of the project, so other plugins can
> extend it and define their own project key. Using this all the plugins that
> have extended the error reporter plugin and their respective project keys
> can be fetched, and a map can be maintained, to be used during the error
> reporting process.
>
> 5.   To expose the Publisher classes, OSGI services will be
> introduced to the project.
>
> 6.   It was suggested to create a feature by adding this plugin.
>
>
> Furthermore instructions were given on the documentation required for the
> project, and time frame for documentation was suggested. And I was asked to
> send a project plan for the upcoming 3 weeks.
>
>
> Thanks and regards
>
> Nathiesha
>
>
> On Tue, Jul 26, 2016 at 7:39 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi Kavith,
>>
>> I accepted the invitation.
>>
>> Thanks and regards
>> Nathiesha
>>
>> On Mon, Jul 25, 2016 at 8:42 PM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> I have sent the invitation for the meeting at 2pm-3pm on 28/07/2016 [1].
>>>
>>> Thanks,
>>>
>>> [1] https://goo.gl/PLEWQd
>>>
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> Linkedin 
>>> Twitter 
>>>
>>> On Mon, Jul 25, 2016 at 8:13 PM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi Kavith,

 How about Thursday evening, for the meeting? I am free after 1 pm.

 Thank you for the examples. I was going to refactor the code by
 introducing the interfaces as you suggested during the mid evaluation. But
 I was not sure how to do that. I will try to change the code as given in
 the examples before the next meeting.

 I think it is good to start converting the project to a maven project
 as only a few weeks remaining to finalize the project. We can discuss about
 that during the meeting.

 Thanks and regards

 Nathiesha

 On Mon, Jul 25, 2016 at 3:10 PM, Kavith Lokuhewage 
 wrote:

> Hi Nathiesha,
>
> I noticed that there are some more pending tasks to restructure the
> code base as per the discussion we had 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-28 Thread Nathiesha Maddage
Hi all,

Here are the minutes of the meeting I had yesterday (28/07/16) with
Jasintha and Kavith.

During the meeting the current project progress was discussed and
suggestions were made to improve and finalize the development of the
project. Listed below are the key points discussed during the meeting.

1.   Instructions were given on how to add pom.xml, to change its
fields to match with the project , to use Maven tycho plugin and to build
the project using maven.

2.   Suggestions were made on creating and improving interfaces like
ErrorPublisher and ReportGenerator, and how to call the publish method of
all the registered publishers using an iterator in the main controller
class.

3.   We planned to add another option for the user, where he does not
have any gmail and jira credentials, but a remote server would take care of
publishing the error using a common general account. For that I was asked
to write a REST web service that would handle this procedure, and to deploy
it in tomcat for testing. Possibility of using micro services for this was
also discussed.

4.   We planned to add multiple project keys for the jira create issue
option where required, and to assign the project key based on the plugin
that is responsible for the error. For that purpose, it was suggested to
create an extension point of the project, so other plugins can extend it
and define their own project key. Using this all the plugins that have
extended the error reporter plugin and their respective project keys can be
fetched, and a map can be maintained, to be used during the error reporting
process.

5.   To expose the Publisher classes, OSGI services will be introduced
to the project.

6.   It was suggested to create a feature by adding this plugin.


Furthermore instructions were given on the documentation required for the
project, and time frame for documentation was suggested. And I was asked to
send a project plan for the upcoming 3 weeks.


Thanks and regards

Nathiesha


On Tue, Jul 26, 2016 at 7:39 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I accepted the invitation.
>
> Thanks and regards
> Nathiesha
>
> On Mon, Jul 25, 2016 at 8:42 PM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> I have sent the invitation for the meeting at 2pm-3pm on 28/07/2016 [1].
>>
>> Thanks,
>>
>> [1] https://goo.gl/PLEWQd
>>
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin 
>> Twitter 
>>
>> On Mon, Jul 25, 2016 at 8:13 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi Kavith,
>>>
>>> How about Thursday evening, for the meeting? I am free after 1 pm.
>>>
>>> Thank you for the examples. I was going to refactor the code by
>>> introducing the interfaces as you suggested during the mid evaluation. But
>>> I was not sure how to do that. I will try to change the code as given in
>>> the examples before the next meeting.
>>>
>>> I think it is good to start converting the project to a maven project as
>>> only a few weeks remaining to finalize the project. We can discuss about
>>> that during the meeting.
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>> On Mon, Jul 25, 2016 at 3:10 PM, Kavith Lokuhewage 
>>> wrote:
>>>
 Hi Nathiesha,

 I noticed that there are some more pending tasks to restructure the
 code base as per the discussion we had during last code review. Just
 putting them down here again, so that you are able to go through again and
 complete any missing parts.

 *Introduce interfaces for the each sub component  to decouple main
 controller logic from implementation specific things*

 For example, right now, the controller class (ErrorReporter) is hardly
 coupled with EmailSender and RemoteJiraConnector. We can think latter two
 as error report publishers and introduce an interface called ErrorPublisher
 as below.

 public interface ErrorPublisher{
 void publish(ReportGenerator reportGen) throws IOException;
 }

 And then EmailSender and RemoreJiraConnector classes can be refactored
 like below.

 public class EmailPublisher implements ErrorPublisher{

  void init () throws IOException{
//init : read preferences for SMTP connection params
  }

 // implement publish method
 void publish(ReportGenerator reportGen) throws IOException{
 init();
//send mail
 }
 }

 public class JiraPublisher implements ErrorPublisher{

  void init () throws IOException{
   //init : read preferences for JIRA resp API connection params
  }

// implement publish method
void publish(ReportGenerator 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-25 Thread Nathiesha Maddage
Hi Kavith,

I accepted the invitation.

Thanks and regards
Nathiesha

On Mon, Jul 25, 2016 at 8:42 PM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> I have sent the invitation for the meeting at 2pm-3pm on 28/07/2016 [1].
>
> Thanks,
>
> [1] https://goo.gl/PLEWQd
>
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> On Mon, Jul 25, 2016 at 8:13 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi Kavith,
>>
>> How about Thursday evening, for the meeting? I am free after 1 pm.
>>
>> Thank you for the examples. I was going to refactor the code by
>> introducing the interfaces as you suggested during the mid evaluation. But
>> I was not sure how to do that. I will try to change the code as given in
>> the examples before the next meeting.
>>
>> I think it is good to start converting the project to a maven project as
>> only a few weeks remaining to finalize the project. We can discuss about
>> that during the meeting.
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>> On Mon, Jul 25, 2016 at 3:10 PM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> I noticed that there are some more pending tasks to restructure the code
>>> base as per the discussion we had during last code review. Just putting
>>> them down here again, so that you are able to go through again and complete
>>> any missing parts.
>>>
>>> *Introduce interfaces for the each sub component  to decouple main
>>> controller logic from implementation specific things*
>>>
>>> For example, right now, the controller class (ErrorReporter) is hardly
>>> coupled with EmailSender and RemoteJiraConnector. We can think latter two
>>> as error report publishers and introduce an interface called ErrorPublisher
>>> as below.
>>>
>>> public interface ErrorPublisher{
>>> void publish(ReportGenerator reportGen) throws IOException;
>>> }
>>>
>>> And then EmailSender and RemoreJiraConnector classes can be refactored
>>> like below.
>>>
>>> public class EmailPublisher implements ErrorPublisher{
>>>
>>>  void init () throws IOException{
>>>//init : read preferences for SMTP connection params
>>>  }
>>>
>>> // implement publish method
>>> void publish(ReportGenerator reportGen) throws IOException{
>>> init();
>>>//send mail
>>> }
>>> }
>>>
>>> public class JiraPublisher implements ErrorPublisher{
>>>
>>>  void init () throws IOException{
>>>   //init : read preferences for JIRA resp API connection params
>>>  }
>>>
>>>// implement publish method
>>>void publish(ReportGenerator reportGen) throws IOException{
>>>init();
>>>   //post to JIRA api and create issue
>>>}
>>> }
>>>
>>> Finally refactor ErrorReporter class to use only ErrorPublisher
>>> interface. Further more, introduce methods to bind/unbind error publishers.
>>>
>>> public class ErrorReporter {
>>> Map registeredPublishers;
>>>
>>> public void addPublisher (String id, ErrorPublisher publisher){
>>>registeredPublishers.put(id,publisher);
>>>}
>>>
>>>   public void reportError(){
>>>  //iterate over all publishers
>>>  // and call  publish() method
>>>   }
>>> }
>>>
>>> (We can further ErrorReporter class by using OSGI services to let other
>>> devstudio plugins to contribute publishers as needed - we can do that later
>>> as time permits)
>>>
>>> For another example, currently you have used a class
>>> called ReportGenerator to generate the report in plain text and directly
>>> used that generator inside main controller. Instead, you can introduce an
>>> interface called ReportGenerator and create a class called
>>> TextReportGenerator and move the code there - and decouple main controller
>>> and let other people add report generators later (say an HTML report
>>> generator) as needed. It can be done in same manner as above example I have
>>> provided .
>>>
>>> Once you do above restructuring, we can further improve the code to use
>>> OSGI services to decouple these components even further.
>>>
>>> Finally, I think it is time for us to convert the project to a maven
>>> project and use tycho maven plugins for building it. I can assist you with
>>> this task - let's discuss this furthermore during the call. The main
>>> requirement here is to make this project directly mergable to developer
>>> studio repository. Since we are now reaching to the final weeks of GSOC
>>> coding period, I think we should concentrate a little more on this task.
>>>
>>> Please a suggest a time for the meeting so we are able to discuss
>>> these in-detail.
>>>
>>> Thanks,
>>>
>>> *Kavith Lokuhewage*
>>> Senior Software Engineer
>>> WSO2 Inc. - http://wso2.com
>>> lean . enterprise . middleware
>>> Mobile - +94779145123
>>> 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-25 Thread Kavith Lokuhewage
Hi Nathiesha,

I have sent the invitation for the meeting at 2pm-3pm on 28/07/2016 [1].

Thanks,

[1] https://goo.gl/PLEWQd


*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter


On Mon, Jul 25, 2016 at 8:13 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> How about Thursday evening, for the meeting? I am free after 1 pm.
>
> Thank you for the examples. I was going to refactor the code by
> introducing the interfaces as you suggested during the mid evaluation. But
> I was not sure how to do that. I will try to change the code as given in
> the examples before the next meeting.
>
> I think it is good to start converting the project to a maven project as
> only a few weeks remaining to finalize the project. We can discuss about
> that during the meeting.
>
> Thanks and regards
>
> Nathiesha
>
> On Mon, Jul 25, 2016 at 3:10 PM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> I noticed that there are some more pending tasks to restructure the code
>> base as per the discussion we had during last code review. Just putting
>> them down here again, so that you are able to go through again and complete
>> any missing parts.
>>
>> *Introduce interfaces for the each sub component  to decouple main
>> controller logic from implementation specific things*
>>
>> For example, right now, the controller class (ErrorReporter) is hardly
>> coupled with EmailSender and RemoteJiraConnector. We can think latter two
>> as error report publishers and introduce an interface called ErrorPublisher
>> as below.
>>
>> public interface ErrorPublisher{
>> void publish(ReportGenerator reportGen) throws IOException;
>> }
>>
>> And then EmailSender and RemoreJiraConnector classes can be refactored
>> like below.
>>
>> public class EmailPublisher implements ErrorPublisher{
>>
>>  void init () throws IOException{
>>//init : read preferences for SMTP connection params
>>  }
>>
>> // implement publish method
>> void publish(ReportGenerator reportGen) throws IOException{
>> init();
>>//send mail
>> }
>> }
>>
>> public class JiraPublisher implements ErrorPublisher{
>>
>>  void init () throws IOException{
>>   //init : read preferences for JIRA resp API connection params
>>  }
>>
>>// implement publish method
>>void publish(ReportGenerator reportGen) throws IOException{
>>init();
>>   //post to JIRA api and create issue
>>}
>> }
>>
>> Finally refactor ErrorReporter class to use only ErrorPublisher
>> interface. Further more, introduce methods to bind/unbind error publishers.
>>
>> public class ErrorReporter {
>> Map registeredPublishers;
>>
>> public void addPublisher (String id, ErrorPublisher publisher){
>>registeredPublishers.put(id,publisher);
>>}
>>
>>   public void reportError(){
>>  //iterate over all publishers
>>  // and call  publish() method
>>   }
>> }
>>
>> (We can further ErrorReporter class by using OSGI services to let other
>> devstudio plugins to contribute publishers as needed - we can do that later
>> as time permits)
>>
>> For another example, currently you have used a class
>> called ReportGenerator to generate the report in plain text and directly
>> used that generator inside main controller. Instead, you can introduce an
>> interface called ReportGenerator and create a class called
>> TextReportGenerator and move the code there - and decouple main controller
>> and let other people add report generators later (say an HTML report
>> generator) as needed. It can be done in same manner as above example I have
>> provided .
>>
>> Once you do above restructuring, we can further improve the code to use
>> OSGI services to decouple these components even further.
>>
>> Finally, I think it is time for us to convert the project to a maven
>> project and use tycho maven plugins for building it. I can assist you with
>> this task - let's discuss this furthermore during the call. The main
>> requirement here is to make this project directly mergable to developer
>> studio repository. Since we are now reaching to the final weeks of GSOC
>> coding period, I think we should concentrate a little more on this task.
>>
>> Please a suggest a time for the meeting so we are able to discuss
>> these in-detail.
>>
>> Thanks,
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> lean . enterprise . middleware
>> Mobile - +94779145123
>> Linkedin 
>> Twitter 
>>
>> On Mon, Jul 25, 2016 at 2:11 PM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> There were some changes done to preference API since Eclipse Mars. I

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-25 Thread Nathiesha Maddage
Hi Kavith,

How about Thursday evening, for the meeting? I am free after 1 pm.

Thank you for the examples. I was going to refactor the code by introducing
the interfaces as you suggested during the mid evaluation. But I was not
sure how to do that. I will try to change the code as given in the examples
before the next meeting.

I think it is good to start converting the project to a maven project as
only a few weeks remaining to finalize the project. We can discuss about
that during the meeting.

Thanks and regards

Nathiesha

On Mon, Jul 25, 2016 at 3:10 PM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> I noticed that there are some more pending tasks to restructure the code
> base as per the discussion we had during last code review. Just putting
> them down here again, so that you are able to go through again and complete
> any missing parts.
>
> *Introduce interfaces for the each sub component  to decouple main
> controller logic from implementation specific things*
>
> For example, right now, the controller class (ErrorReporter) is hardly
> coupled with EmailSender and RemoteJiraConnector. We can think latter two
> as error report publishers and introduce an interface called ErrorPublisher
> as below.
>
> public interface ErrorPublisher{
> void publish(ReportGenerator reportGen) throws IOException;
> }
>
> And then EmailSender and RemoreJiraConnector classes can be refactored
> like below.
>
> public class EmailPublisher implements ErrorPublisher{
>
>  void init () throws IOException{
>//init : read preferences for SMTP connection params
>  }
>
> // implement publish method
> void publish(ReportGenerator reportGen) throws IOException{
> init();
>//send mail
> }
> }
>
> public class JiraPublisher implements ErrorPublisher{
>
>  void init () throws IOException{
>   //init : read preferences for JIRA resp API connection params
>  }
>
>// implement publish method
>void publish(ReportGenerator reportGen) throws IOException{
>init();
>   //post to JIRA api and create issue
>}
> }
>
> Finally refactor ErrorReporter class to use only ErrorPublisher interface.
> Further more, introduce methods to bind/unbind error publishers.
>
> public class ErrorReporter {
> Map registeredPublishers;
>
> public void addPublisher (String id, ErrorPublisher publisher){
>registeredPublishers.put(id,publisher);
>}
>
>   public void reportError(){
>  //iterate over all publishers
>  // and call  publish() method
>   }
> }
>
> (We can further ErrorReporter class by using OSGI services to let other
> devstudio plugins to contribute publishers as needed - we can do that later
> as time permits)
>
> For another example, currently you have used a class
> called ReportGenerator to generate the report in plain text and directly
> used that generator inside main controller. Instead, you can introduce an
> interface called ReportGenerator and create a class called
> TextReportGenerator and move the code there - and decouple main controller
> and let other people add report generators later (say an HTML report
> generator) as needed. It can be done in same manner as above example I have
> provided .
>
> Once you do above restructuring, we can further improve the code to use
> OSGI services to decouple these components even further.
>
> Finally, I think it is time for us to convert the project to a maven
> project and use tycho maven plugins for building it. I can assist you with
> this task - let's discuss this furthermore during the call. The main
> requirement here is to make this project directly mergable to developer
> studio repository. Since we are now reaching to the final weeks of GSOC
> coding period, I think we should concentrate a little more on this task.
>
> Please a suggest a time for the meeting so we are able to discuss
> these in-detail.
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> On Mon, Jul 25, 2016 at 2:11 PM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> There were some changes done to preference API since Eclipse Mars. I
>> suspect that the root cause for the issue should be it. I will go through
>> the changes we did in Developer Studio to fix issues with new pref API and
>> confirm you whether it is the root cause or not.
>>
>> Meanwhile, please suggest a time for another meeting this week - probably
>> on Thursday or Friday. We will go through the complete implementation to
>> verify that everything is in order.
>> I went through the code and have some comments too. I will put them in
>> github it self.
>>
>> Thanks,
>>
>> *Kavith Lokuhewage*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.com
>> 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-25 Thread Kavith Lokuhewage
Hi Nathiesha,

I noticed that there are some more pending tasks to restructure the code
base as per the discussion we had during last code review. Just putting
them down here again, so that you are able to go through again and complete
any missing parts.

*Introduce interfaces for the each sub component  to decouple main
controller logic from implementation specific things*

For example, right now, the controller class (ErrorReporter) is hardly
coupled with EmailSender and RemoteJiraConnector. We can think latter two
as error report publishers and introduce an interface called ErrorPublisher
as below.

public interface ErrorPublisher{
void publish(ReportGenerator reportGen) throws IOException;
}

And then EmailSender and RemoreJiraConnector classes can be refactored like
below.

public class EmailPublisher implements ErrorPublisher{

 void init () throws IOException{
   //init : read preferences for SMTP connection params
 }

// implement publish method
void publish(ReportGenerator reportGen) throws IOException{
init();
   //send mail
}
}

public class JiraPublisher implements ErrorPublisher{

 void init () throws IOException{
  //init : read preferences for JIRA resp API connection params
 }

   // implement publish method
   void publish(ReportGenerator reportGen) throws IOException{
   init();
  //post to JIRA api and create issue
   }
}

Finally refactor ErrorReporter class to use only ErrorPublisher interface.
Further more, introduce methods to bind/unbind error publishers.

public class ErrorReporter {
Map registeredPublishers;

public void addPublisher (String id, ErrorPublisher publisher){
   registeredPublishers.put(id,publisher);
   }

  public void reportError(){
 //iterate over all publishers
 // and call  publish() method
  }
}

(We can further ErrorReporter class by using OSGI services to let other
devstudio plugins to contribute publishers as needed - we can do that later
as time permits)

For another example, currently you have used a class called ReportGenerator
to generate the report in plain text and directly used that generator
inside main controller. Instead, you can introduce an interface called
ReportGenerator and create a class called TextReportGenerator and move the
code there - and decouple main controller and let other people add report
generators later (say an HTML report generator) as needed. It can be done
in same manner as above example I have provided .

Once you do above restructuring, we can further improve the code to use
OSGI services to decouple these components even further.

Finally, I think it is time for us to convert the project to a maven
project and use tycho maven plugins for building it. I can assist you with
this task - let's discuss this furthermore during the call. The main
requirement here is to make this project directly mergable to developer
studio repository. Since we are now reaching to the final weeks of GSOC
coding period, I think we should concentrate a little more on this task.

Please a suggest a time for the meeting so we are able to discuss
these in-detail.

Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter


On Mon, Jul 25, 2016 at 2:11 PM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> There were some changes done to preference API since Eclipse Mars. I
> suspect that the root cause for the issue should be it. I will go through
> the changes we did in Developer Studio to fix issues with new pref API and
> confirm you whether it is the root cause or not.
>
> Meanwhile, please suggest a time for another meeting this week - probably
> on Thursday or Friday. We will go through the complete implementation to
> verify that everything is in order.
> I went through the code and have some comments too. I will put them in
> github it self.
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> On Wed, Jul 20, 2016 at 10:20 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> I started unit testing with InfoCollector and Startup Classes, and
>> created a few unit tests using JUnit.
>>
>> Regarding the progress of the project, I am currently working on the
>> ReportArchive module. The ReportArchive module currently displays all the
>> sent error reports to the user in a window, and I am  working on adding a
>> context menu option for each error report to inquire the current status of
>> the issue.
>>
>> Regarding the Preference page, I tried creating a Input Dialog, that
>> would open up for 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-25 Thread Kavith Lokuhewage
Hi Nathiesha,

There were some changes done to preference API since Eclipse Mars. I
suspect that the root cause for the issue should be it. I will go through
the changes we did in Developer Studio to fix issues with new pref API and
confirm you whether it is the root cause or not.

Meanwhile, please suggest a time for another meeting this week - probably
on Thursday or Friday. We will go through the complete implementation to
verify that everything is in order.
I went through the code and have some comments too. I will put them in
github it self.

Thanks,

*Kavith Lokuhewage*
Senior Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +94779145123
Linkedin   Twitter


On Wed, Jul 20, 2016 at 10:20 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I started unit testing with InfoCollector and Startup Classes, and created
> a few unit tests using JUnit.
>
> Regarding the progress of the project, I am currently working on the
> ReportArchive module. The ReportArchive module currently displays all the
> sent error reports to the user in a window, and I am  working on adding a
> context menu option for each error report to inquire the current status of
> the issue.
>
> Regarding the Preference page, I tried creating a Input Dialog, that would
> open up for the very first time the plugin  reports an error to the user.
> This dialog would ask the user to fill  values to compulsory fields like
> Jira Username and Password, and it would store these values in the
> preference page as well, for future use.
>
> I tried to save the user entered values in Input dialog, to the preference
> page using Activator.getDefault().getPreferenceStore().setValue() method.
> This method would set the user entered values in respective fields of the
> preference page, but that is just temporary. These values disappear from
> the preference page the next time I run it. Only the default set values by
> the code and the values that I enter in the preference page there itself
> would retain permanently. I tried to fix this for a couple of days and
> tried almost every solution I could find in the internet regarding this.
>
> Have you encountered a situation like this where you have to set the
> values in preference page through code? Any idea whether this is possible
> and if so how to do it would be of big help!
>
> Best regards
>
> Nathiesha
>
>
> On Thu, Jul 7, 2016 at 6:31 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> Regarding the current status of the project, I am working on the
>> development of the report Archive module, where the user can view the
>> previously sent error reports and also the current status of those issues.
>> Meanwhile I thought to look into the testing part of the project as well.
>> Is their any special testing framework used in Developer Studio testing,
>> that I need to adopt? I though to use JUnit. Is it OK?
>>
>> Regards
>>
>> Nathiesha
>>
>> On Tue, Jun 28, 2016 at 9:34 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I downloaded and tried running the Data Analytics Server . Currently I
>>> am going through the DAS documentation and the REST API. Is it possible to
>>> post data using the REST API? As I noticed, it only allows to retrieve data
>>> from the DAS.
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-19 Thread Nathiesha Maddage
Hi all,

I started unit testing with InfoCollector and Startup Classes, and created
a few unit tests using JUnit.

Regarding the progress of the project, I am currently working on the
ReportArchive module. The ReportArchive module currently displays all the
sent error reports to the user in a window, and I am  working on adding a
context menu option for each error report to inquire the current status of
the issue.

Regarding the Preference page, I tried creating a Input Dialog, that would
open up for the very first time the plugin  reports an error to the user.
This dialog would ask the user to fill  values to compulsory fields like
Jira Username and Password, and it would store these values in the
preference page as well, for future use.

I tried to save the user entered values in Input dialog, to the preference
page using Activator.getDefault().getPreferenceStore().setValue() method.
This method would set the user entered values in respective fields of the
preference page, but that is just temporary. These values disappear from
the preference page the next time I run it. Only the default set values by
the code and the values that I enter in the preference page there itself
would retain permanently. I tried to fix this for a couple of days and
tried almost every solution I could find in the internet regarding this.

Have you encountered a situation like this where you have to set the values
in preference page through code? Any idea whether this is possible and if
so how to do it would be of big help!

Best regards

Nathiesha


On Thu, Jul 7, 2016 at 6:31 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> Regarding the current status of the project, I am working on the
> development of the report Archive module, where the user can view the
> previously sent error reports and also the current status of those issues.
> Meanwhile I thought to look into the testing part of the project as well.
> Is their any special testing framework used in Developer Studio testing,
> that I need to adopt? I though to use JUnit. Is it OK?
>
> Regards
>
> Nathiesha
>
> On Tue, Jun 28, 2016 at 9:34 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> I downloaded and tried running the Data Analytics Server . Currently I am
>> going through the DAS documentation and the REST API. Is it possible to
>> post data using the REST API? As I noticed, it only allows to retrieve data
>> from the DAS.
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-07-06 Thread Nathiesha Maddage
Hi all,

Regarding the current status of the project, I am working on the
development of the report Archive module, where the user can view the
previously sent error reports and also the current status of those issues.
Meanwhile I thought to look into the testing part of the project as well.
Is their any special testing framework used in Developer Studio testing,
that I need to adopt? I though to use JUnit. Is it OK?

Regards

Nathiesha

On Tue, Jun 28, 2016 at 9:34 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I downloaded and tried running the Data Analytics Server . Currently I am
> going through the DAS documentation and the REST API. Is it possible to
> post data using the REST API? As I noticed, it only allows to retrieve data
> from the DAS.
>
> Thanks and regards
>
> Nathiesha
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-27 Thread Nathiesha Maddage
Hi all,

I downloaded and tried running the Data Analytics Server . Currently I am
going through the DAS documentation and the REST API. Is it possible to
post data using the REST API? As I noticed, it only allows to retrieve data
from the DAS.

Thanks and regards

Nathiesha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-24 Thread Nathiesha Maddage
Hi all,

This is the list of external libraries I have added to the project. Pleases
let me know if they satisfy the licience requirements.

commons-codec-1.9.jar
json-simple.jar
java-mail-1.4.4.jar
com.sun.net.ssl.jar

Thanks and regards

Nathiesha

On Wed, Jun 22, 2016 at 9:23 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi Kavith,
>
> I pushed the latest code to the Git repository now. [1]
> [1]-
> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>
> Thanks and regards
>
> Nathiesha
>
> On Wed, Jun 22, 2016 at 8:48 AM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> Can you please push your latest code Base to the git hub repository? We
>> need to have a code review before winding up mid term evaluation.
>>
>> Thanks
>>
>>
>> On Wednesday, June 22, 2016, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Here I have attached a draft class diagram of the Error Reporting tool.
>>> Please suggest on any modifications needed to be done to its structure.
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>> On Wed, Jun 8, 2016 at 10:44 AM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi all,

 I think what you suggest is a good idea. I am quite familiar with WSO2
 Online Support System now, but I am quite new to WSO2-DAS. I went
 through the http://wso2.com/products/data-analytics-server/ website to
 get a basic idea on what WSO2-DAS is about. I will refer more to get a
 clear picture on how it works.


 Thanks and regards

 Nathiesha

 On Tue, Jun 7, 2016 at 7:12 PM, Susinda Perera 
 wrote:

> Hi All
>
> How about configuring wso2-DAS at the wso2 side to collect and analyse
> error/logs. It is not only reporting to wso2 JIRA, it may be some other
> system so 'reporting to' should be an configurable and pluggable feature.
> If we are publishing to DAS, we have to come up with format for stream
> definition, which may need some literature survey on how other log
> analysers work etc.
>
> Thanks
> Susinda
>
> On Tue, Jun 7, 2016 at 3:48 PM, Jasintha Dasanayake  > wrote:
>
>> HI Nathiesha
>>
>> I couldn't see any commit[1] during the last couple of week, it's
>> good practices to do commit stuff daily basis, because it's easy for us 
>> to
>> review and provide regular feedbacks.
>>
>> Shall we have a progress review during the next week ?.
>>
>> Thanks and Regards
>> /Jasintha
>>
>> [1]-
>> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>>
>> On Sat, May 14, 2016 at 6:12 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I formatted and cleaned the code and added the licence header.
>>> Regarding the naming of the project, I named the project
>>> as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
>>> packages, I referred to the developer studio plugins projects you have 
>>> sent
>>> me. However as I am still not familiar with the naming conventions for
>>> developer studio plugins I temporarily created a couple of packages to
>>> group the Java classes. I hope I can do the proper renaming and 
>>> packaging
>>> later with your support.
>>>
>>> I created the ErrorInfoCollector class and there all the system
>>> information and error related information is fetched. However I couldn't
>>> find a method to get the plugin version and I am still working on it. 
>>> And
>>> the error report that I have sent you previously had an attribute called
>>> fingerprint and it also contained a set of bundle information. Those two
>>> parts I could not understand. So I left them for now.
>>> As you suggested, this class can be improved later to
>>> collect further information regarding the error.
>>>
>>> I started with preferences page as well. I created a draft
>>> preference page and currently working on improving it.
>>>
>>> This is the new GitHub link of the project repository. Please refer
>>> to this afterwards.
>>>
>>> Link-
>>> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>>>
>>> Thanks and Regards
>>>
>>> Nathiesha
>>>
>>>
>>>
>>> On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage >> > wrote:
>>>
 Hi Nathiesha,

 Please find my inline comments.

 On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
 nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> Regarding the preference settings, as I have read, the plugins
> that are started early are listed in preferences-general-startup and

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-21 Thread Nathiesha Maddage
Hi Kavith,

I pushed the latest code to the Git repository now. [1]
[1]-
https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git

Thanks and regards

Nathiesha

On Wed, Jun 22, 2016 at 8:48 AM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> Can you please push your latest code Base to the git hub repository? We
> need to have a code review before winding up mid term evaluation.
>
> Thanks
>
>
> On Wednesday, June 22, 2016, Nathiesha Maddage 
> wrote:
>
>> Hi all,
>>
>> Here I have attached a draft class diagram of the Error Reporting tool.
>> Please suggest on any modifications needed to be done to its structure.
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>> On Wed, Jun 8, 2016 at 10:44 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I think what you suggest is a good idea. I am quite familiar with WSO2
>>> Online Support System now, but I am quite new to WSO2-DAS. I went
>>> through the http://wso2.com/products/data-analytics-server/ website to
>>> get a basic idea on what WSO2-DAS is about. I will refer more to get a
>>> clear picture on how it works.
>>>
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>> On Tue, Jun 7, 2016 at 7:12 PM, Susinda Perera  wrote:
>>>
 Hi All

 How about configuring wso2-DAS at the wso2 side to collect and analyse
 error/logs. It is not only reporting to wso2 JIRA, it may be some other
 system so 'reporting to' should be an configurable and pluggable feature.
 If we are publishing to DAS, we have to come up with format for stream
 definition, which may need some literature survey on how other log
 analysers work etc.

 Thanks
 Susinda

 On Tue, Jun 7, 2016 at 3:48 PM, Jasintha Dasanayake 
 wrote:

> HI Nathiesha
>
> I couldn't see any commit[1] during the last couple of week, it's good
> practices to do commit stuff daily basis, because it's easy for us to
> review and provide regular feedbacks.
>
> Shall we have a progress review during the next week ?.
>
> Thanks and Regards
> /Jasintha
>
> [1]-
> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>
> On Sat, May 14, 2016 at 6:12 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> I formatted and cleaned the code and added the licence header.
>> Regarding the naming of the project, I named the project
>> as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
>> packages, I referred to the developer studio plugins projects you have 
>> sent
>> me. However as I am still not familiar with the naming conventions for
>> developer studio plugins I temporarily created a couple of packages to
>> group the Java classes. I hope I can do the proper renaming and packaging
>> later with your support.
>>
>> I created the ErrorInfoCollector class and there all the system
>> information and error related information is fetched. However I couldn't
>> find a method to get the plugin version and I am still working on it. And
>> the error report that I have sent you previously had an attribute called
>> fingerprint and it also contained a set of bundle information. Those two
>> parts I could not understand. So I left them for now.
>> As you suggested, this class can be improved later to
>> collect further information regarding the error.
>>
>> I started with preferences page as well. I created a draft preference
>> page and currently working on improving it.
>>
>> This is the new GitHub link of the project repository. Please refer
>> to this afterwards.
>>
>> Link-
>> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>>
>> Thanks and Regards
>>
>> Nathiesha
>>
>>
>>
>> On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Please find my inline comments.
>>>
>>> On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi all,

 Regarding the preference settings, as I have read, the plugins that
 are started early are listed in preferences-general-startup and 
 shutdown
 page. So the user can deselect the plugin from that list and then it 
 will
 not be started once Eclipse starts. Is this what is expected?

>>>
>>> No. This is not the expectation.
>>>
>>> Or I can add an option for the user to configure the start up
 settings of the error reporting plugin, in a separate preference page, 
 that
 I am going to develop for the Error Reporting plugin settings.

>>>
>>> Yes. 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-21 Thread Kavith Lokuhewage
Hi Nathiesha,

Can you please push your latest code Base to the git hub repository? We
need to have a code review before winding up mid term evaluation.

Thanks

On Wednesday, June 22, 2016, Nathiesha Maddage 
wrote:

> Hi all,
>
> Here I have attached a draft class diagram of the Error Reporting tool.
> Please suggest on any modifications needed to be done to its structure.
>
> Thanks and regards
>
> Nathiesha
>
> On Wed, Jun 8, 2016 at 10:44 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com
> > wrote:
>
>> Hi all,
>>
>> I think what you suggest is a good idea. I am quite familiar with WSO2
>> Online Support System now, but I am quite new to WSO2-DAS. I went
>> through the http://wso2.com/products/data-analytics-server/ website to
>> get a basic idea on what WSO2-DAS is about. I will refer more to get a
>> clear picture on how it works.
>>
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>> On Tue, Jun 7, 2016 at 7:12 PM, Susinda Perera > > wrote:
>>
>>> Hi All
>>>
>>> How about configuring wso2-DAS at the wso2 side to collect and analyse
>>> error/logs. It is not only reporting to wso2 JIRA, it may be some other
>>> system so 'reporting to' should be an configurable and pluggable feature.
>>> If we are publishing to DAS, we have to come up with format for stream
>>> definition, which may need some literature survey on how other log
>>> analysers work etc.
>>>
>>> Thanks
>>> Susinda
>>>
>>> On Tue, Jun 7, 2016 at 3:48 PM, Jasintha Dasanayake >> > wrote:
>>>
 HI Nathiesha

 I couldn't see any commit[1] during the last couple of week, it's good
 practices to do commit stuff daily basis, because it's easy for us to
 review and provide regular feedbacks.

 Shall we have a progress review during the next week ?.

 Thanks and Regards
 /Jasintha

 [1]-
 https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git

 On Sat, May 14, 2016 at 6:12 PM, Nathiesha Maddage <
 nathieshamadd...@gmail.com
 > wrote:

> Hi all,
>
> I formatted and cleaned the code and added the licence header.
> Regarding the naming of the project, I named the project
> as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
> packages, I referred to the developer studio plugins projects you have 
> sent
> me. However as I am still not familiar with the naming conventions for
> developer studio plugins I temporarily created a couple of packages to
> group the Java classes. I hope I can do the proper renaming and packaging
> later with your support.
>
> I created the ErrorInfoCollector class and there all the system
> information and error related information is fetched. However I couldn't
> find a method to get the plugin version and I am still working on it. And
> the error report that I have sent you previously had an attribute called
> fingerprint and it also contained a set of bundle information. Those two
> parts I could not understand. So I left them for now.
> As you suggested, this class can be improved later to
> collect further information regarding the error.
>
> I started with preferences page as well. I created a draft preference
> page and currently working on improving it.
>
> This is the new GitHub link of the project repository. Please refer to
> this afterwards.
>
> Link-
> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>
> Thanks and Regards
>
> Nathiesha
>
>
>
> On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage  > wrote:
>
>> Hi Nathiesha,
>>
>> Please find my inline comments.
>>
>> On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com
>> > wrote:
>>
>>> Hi all,
>>>
>>> Regarding the preference settings, as I have read, the plugins that
>>> are started early are listed in preferences-general-startup and shutdown
>>> page. So the user can deselect the plugin from that list and then it 
>>> will
>>> not be started once Eclipse starts. Is this what is expected?
>>>
>>
>> No. This is not the expectation.
>>
>> Or I can add an option for the user to configure the start up
>>> settings of the error reporting plugin, in a separate preference page, 
>>> that
>>> I am going to develop for the Error Reporting plugin settings.
>>>
>>
>> Yes. This is the expectation.
>>
>>
>>> And regarding 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-07 Thread Nathiesha Maddage
Hi all,

I think what you suggest is a good idea. I am quite familiar with WSO2
Online Support System now, but I am quite new to WSO2-DAS. I went through
the http://wso2.com/products/data-analytics-server/ website to get a basic
idea on what WSO2-DAS is about. I will refer more to get a clear picture on
how it works.


Thanks and regards

Nathiesha

On Tue, Jun 7, 2016 at 7:12 PM, Susinda Perera  wrote:

> Hi All
>
> How about configuring wso2-DAS at the wso2 side to collect and analyse
> error/logs. It is not only reporting to wso2 JIRA, it may be some other
> system so 'reporting to' should be an configurable and pluggable feature.
> If we are publishing to DAS, we have to come up with format for stream
> definition, which may need some literature survey on how other log
> analysers work etc.
>
> Thanks
> Susinda
>
> On Tue, Jun 7, 2016 at 3:48 PM, Jasintha Dasanayake 
> wrote:
>
>> HI Nathiesha
>>
>> I couldn't see any commit[1] during the last couple of week, it's good
>> practices to do commit stuff daily basis, because it's easy for us to
>> review and provide regular feedbacks.
>>
>> Shall we have a progress review during the next week ?.
>>
>> Thanks and Regards
>> /Jasintha
>>
>> [1]-
>> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>>
>> On Sat, May 14, 2016 at 6:12 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I formatted and cleaned the code and added the licence header.
>>> Regarding the naming of the project, I named the project
>>> as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
>>> packages, I referred to the developer studio plugins projects you have sent
>>> me. However as I am still not familiar with the naming conventions for
>>> developer studio plugins I temporarily created a couple of packages to
>>> group the Java classes. I hope I can do the proper renaming and packaging
>>> later with your support.
>>>
>>> I created the ErrorInfoCollector class and there all the system
>>> information and error related information is fetched. However I couldn't
>>> find a method to get the plugin version and I am still working on it. And
>>> the error report that I have sent you previously had an attribute called
>>> fingerprint and it also contained a set of bundle information. Those two
>>> parts I could not understand. So I left them for now.
>>> As you suggested, this class can be improved later to
>>> collect further information regarding the error.
>>>
>>> I started with preferences page as well. I created a draft preference
>>> page and currently working on improving it.
>>>
>>> This is the new GitHub link of the project repository. Please refer to
>>> this afterwards.
>>>
>>> Link-
>>> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>>>
>>> Thanks and Regards
>>>
>>> Nathiesha
>>>
>>>
>>>
>>> On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage 
>>> wrote:
>>>
 Hi Nathiesha,

 Please find my inline comments.

 On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
 nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> Regarding the preference settings, as I have read, the plugins that
> are started early are listed in preferences-general-startup and shutdown
> page. So the user can deselect the plugin from that list and then it will
> not be started once Eclipse starts. Is this what is expected?
>

 No. This is not the expectation.

 Or I can add an option for the user to configure the start up settings
> of the error reporting plugin, in a separate preference page, that I am
> going to develop for the Error Reporting plugin settings.
>

 Yes. This is the expectation.


> And regarding the multi status of IStatus, I will look into that and I
> will try to fetch all the previously failed operation information. Here I
> have attached a error report that Eclipse error reporting tool produces.
> Please have a look at the information listed in that report regarding the
> error. As you have mentioned earlier, I will add the previously failed
> operation details if available. Other than previously failed operations 
> and
> the information listed in the attached report , what else need to be added
> to the error report? Or is that information sufficient for the development
> team?
>

 For now, we will keep our focus on this information and give priority
 to them. However, there's always chance for improvements. Later, if time
 permits, we may focus on the aspects such as attaching the artifacts which
 could have caused the issue (with the permission of user), information
 about project hierarchy, active editor, perspective etc. (we should analyse
 the needs for these further), etc.


>
> And thank you for the tips about getting the run 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-07 Thread Nathiesha Maddage
Hi Jasintha,

I will commit to gitHub more frequently as you suggested, so it is easy to
get the feedback on the code.

Since I had no prior experience in Jira and REST Client, I had a bit
trouble in creating and issue by a REST client. I tried to create a Client
using a couple of external libraries like Apache Http, Jersey and JRJC. But
as I got many dependency issues and troubles in attaching the libraries, I
finally created the method without using any external libraries.
So now the plugin is capable of creating an issue in WSo2 Jira, and I am
currently working on further improving it.

During the last meeting, Kavith mentioned about the P2 API. I could not
look into that during the last two weeks. If there is any reference
materials for that, please be kind enough to send me so that I will start
looking into that part as well.

Lets have a progress meeting during next week.

Thanks and regards

Nathiesha



On Tue, Jun 7, 2016 at 3:48 PM, Jasintha Dasanayake 
wrote:

> HI Nathiesha
>
> I couldn't see any commit[1] during the last couple of week, it's good
> practices to do commit stuff daily basis, because it's easy for us to
> review and provide regular feedbacks.
>
> Shall we have a progress review during the next week ?.
>
> Thanks and Regards
> /Jasintha
>
> [1]-
> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>
> On Sat, May 14, 2016 at 6:12 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> I formatted and cleaned the code and added the licence header.
>> Regarding the naming of the project, I named the project
>> as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
>> packages, I referred to the developer studio plugins projects you have sent
>> me. However as I am still not familiar with the naming conventions for
>> developer studio plugins I temporarily created a couple of packages to
>> group the Java classes. I hope I can do the proper renaming and packaging
>> later with your support.
>>
>> I created the ErrorInfoCollector class and there all the system
>> information and error related information is fetched. However I couldn't
>> find a method to get the plugin version and I am still working on it. And
>> the error report that I have sent you previously had an attribute called
>> fingerprint and it also contained a set of bundle information. Those two
>> parts I could not understand. So I left them for now.
>> As you suggested, this class can be improved later to
>> collect further information regarding the error.
>>
>> I started with preferences page as well. I created a draft preference
>> page and currently working on improving it.
>>
>> This is the new GitHub link of the project repository. Please refer to
>> this afterwards.
>>
>> Link-
>> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>>
>> Thanks and Regards
>>
>> Nathiesha
>>
>>
>>
>> On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Please find my inline comments.
>>>
>>> On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi all,

 Regarding the preference settings, as I have read, the plugins that are
 started early are listed in preferences-general-startup and shutdown page.
 So the user can deselect the plugin from that list and then it will not be
 started once Eclipse starts. Is this what is expected?

>>>
>>> No. This is not the expectation.
>>>
>>> Or I can add an option for the user to configure the start up settings
 of the error reporting plugin, in a separate preference page, that I am
 going to develop for the Error Reporting plugin settings.

>>>
>>> Yes. This is the expectation.
>>>
>>>
 And regarding the multi status of IStatus, I will look into that and I
 will try to fetch all the previously failed operation information. Here I
 have attached a error report that Eclipse error reporting tool produces.
 Please have a look at the information listed in that report regarding the
 error. As you have mentioned earlier, I will add the previously failed
 operation details if available. Other than previously failed operations and
 the information listed in the attached report , what else need to be added
 to the error report? Or is that information sufficient for the development
 team?

>>>
>>> For now, we will keep our focus on this information and give priority to
>>> them. However, there's always chance for improvements. Later, if time
>>> permits, we may focus on the aspects such as attaching the artifacts which
>>> could have caused the issue (with the permission of user), information
>>> about project hierarchy, active editor, perspective etc. (we should analyse
>>> the needs for these further), etc.
>>>
>>>

 And thank you for the tips about getting the run time details. That
 saved my 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-07 Thread Susinda Perera
Hi All

How about configuring wso2-DAS at the wso2 side to collect and analyse
error/logs. It is not only reporting to wso2 JIRA, it may be some other
system so 'reporting to' should be an configurable and pluggable feature.
If we are publishing to DAS, we have to come up with format for stream
definition, which may need some literature survey on how other log
analysers work etc.

Thanks
Susinda

On Tue, Jun 7, 2016 at 3:48 PM, Jasintha Dasanayake 
wrote:

> HI Nathiesha
>
> I couldn't see any commit[1] during the last couple of week, it's good
> practices to do commit stuff daily basis, because it's easy for us to
> review and provide regular feedbacks.
>
> Shall we have a progress review during the next week ?.
>
> Thanks and Regards
> /Jasintha
>
> [1]-
> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>
> On Sat, May 14, 2016 at 6:12 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> I formatted and cleaned the code and added the licence header.
>> Regarding the naming of the project, I named the project
>> as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
>> packages, I referred to the developer studio plugins projects you have sent
>> me. However as I am still not familiar with the naming conventions for
>> developer studio plugins I temporarily created a couple of packages to
>> group the Java classes. I hope I can do the proper renaming and packaging
>> later with your support.
>>
>> I created the ErrorInfoCollector class and there all the system
>> information and error related information is fetched. However I couldn't
>> find a method to get the plugin version and I am still working on it. And
>> the error report that I have sent you previously had an attribute called
>> fingerprint and it also contained a set of bundle information. Those two
>> parts I could not understand. So I left them for now.
>> As you suggested, this class can be improved later to
>> collect further information regarding the error.
>>
>> I started with preferences page as well. I created a draft preference
>> page and currently working on improving it.
>>
>> This is the new GitHub link of the project repository. Please refer to
>> this afterwards.
>>
>> Link-
>> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>>
>> Thanks and Regards
>>
>> Nathiesha
>>
>>
>>
>> On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Please find my inline comments.
>>>
>>> On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
>>> nathieshamadd...@gmail.com> wrote:
>>>
 Hi all,

 Regarding the preference settings, as I have read, the plugins that are
 started early are listed in preferences-general-startup and shutdown page.
 So the user can deselect the plugin from that list and then it will not be
 started once Eclipse starts. Is this what is expected?

>>>
>>> No. This is not the expectation.
>>>
>>> Or I can add an option for the user to configure the start up settings
 of the error reporting plugin, in a separate preference page, that I am
 going to develop for the Error Reporting plugin settings.

>>>
>>> Yes. This is the expectation.
>>>
>>>
 And regarding the multi status of IStatus, I will look into that and I
 will try to fetch all the previously failed operation information. Here I
 have attached a error report that Eclipse error reporting tool produces.
 Please have a look at the information listed in that report regarding the
 error. As you have mentioned earlier, I will add the previously failed
 operation details if available. Other than previously failed operations and
 the information listed in the attached report , what else need to be added
 to the error report? Or is that information sufficient for the development
 team?

>>>
>>> For now, we will keep our focus on this information and give priority to
>>> them. However, there's always chance for improvements. Later, if time
>>> permits, we may focus on the aspects such as attaching the artifacts which
>>> could have caused the issue (with the permission of user), information
>>> about project hierarchy, active editor, perspective etc. (we should analyse
>>> the needs for these further), etc.
>>>
>>>

 And thank you for the tips about getting the run time details. That
 saved my time. I will try those. And as you have suggested, it is good to
 use the proper coding standards from the beginning. I will get an idea from
 the example project you have sent me, and I will refactor the code
 accordingly.


>>>
 Thanks and regards

 Nathiesha



 On Wed, May 11, 2016 at 10:08 AM, Kavith Lokuhewage 
 wrote:

> Hi Nathiesha,
>
> Great start! Just some heads up for your next steps.
>
> An IStatus instance sometimes 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-06-07 Thread Jasintha Dasanayake
HI Nathiesha

I couldn't see any commit[1] during the last couple of week, it's good
practices to do commit stuff daily basis, because it's easy for us to
review and provide regular feedbacks.

Shall we have a progress review during the next week ?.

Thanks and Regards
/Jasintha

[1]-
https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git

On Sat, May 14, 2016 at 6:12 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I formatted and cleaned the code and added the licence header.
> Regarding the naming of the project, I named the project
> as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
> packages, I referred to the developer studio plugins projects you have sent
> me. However as I am still not familiar with the naming conventions for
> developer studio plugins I temporarily created a couple of packages to
> group the Java classes. I hope I can do the proper renaming and packaging
> later with your support.
>
> I created the ErrorInfoCollector class and there all the system
> information and error related information is fetched. However I couldn't
> find a method to get the plugin version and I am still working on it. And
> the error report that I have sent you previously had an attribute called
> fingerprint and it also contained a set of bundle information. Those two
> parts I could not understand. So I left them for now.
> As you suggested, this class can be improved later to
> collect further information regarding the error.
>
> I started with preferences page as well. I created a draft preference page
> and currently working on improving it.
>
> This is the new GitHub link of the project repository. Please refer to
> this afterwards.
>
> Link-
> https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git
>
> Thanks and Regards
>
> Nathiesha
>
>
>
> On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> Please find my inline comments.
>>
>> On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Regarding the preference settings, as I have read, the plugins that are
>>> started early are listed in preferences-general-startup and shutdown page.
>>> So the user can deselect the plugin from that list and then it will not be
>>> started once Eclipse starts. Is this what is expected?
>>>
>>
>> No. This is not the expectation.
>>
>> Or I can add an option for the user to configure the start up settings of
>>> the error reporting plugin, in a separate preference page, that I am going
>>> to develop for the Error Reporting plugin settings.
>>>
>>
>> Yes. This is the expectation.
>>
>>
>>> And regarding the multi status of IStatus, I will look into that and I
>>> will try to fetch all the previously failed operation information. Here I
>>> have attached a error report that Eclipse error reporting tool produces.
>>> Please have a look at the information listed in that report regarding the
>>> error. As you have mentioned earlier, I will add the previously failed
>>> operation details if available. Other than previously failed operations and
>>> the information listed in the attached report , what else need to be added
>>> to the error report? Or is that information sufficient for the development
>>> team?
>>>
>>
>> For now, we will keep our focus on this information and give priority to
>> them. However, there's always chance for improvements. Later, if time
>> permits, we may focus on the aspects such as attaching the artifacts which
>> could have caused the issue (with the permission of user), information
>> about project hierarchy, active editor, perspective etc. (we should analyse
>> the needs for these further), etc.
>>
>>
>>>
>>> And thank you for the tips about getting the run time details. That
>>> saved my time. I will try those. And as you have suggested, it is good to
>>> use the proper coding standards from the beginning. I will get an idea from
>>> the example project you have sent me, and I will refactor the code
>>> accordingly.
>>>
>>>
>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>>
>>>
>>> On Wed, May 11, 2016 at 10:08 AM, Kavith Lokuhewage 
>>> wrote:
>>>
 Hi Nathiesha,

 Great start! Just some heads up for your next steps.

 An IStatus instance sometimes could be a multi status instance where
 you can get other IStatus instances associated with it using the
 getChildren() method[1]. This simply means that a series of operations
 failed and information about previously failed operations are also valuable
 when making the report.

 There are multiple ways to read java run-time version, the easiest
 would be to read the system property called "java.runtime.version".

 Furthermore, org.eclipse.core.runtime.Platform class [2] provides
 multiple methods to fetch run-time environment information such as OS name,
 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-14 Thread Nathiesha Maddage
Hi all,

I formatted and cleaned the code and added the licence header.
Regarding the naming of the project, I named the project
as org.wso2.developerstudio.eclipse.errorreporter for now. And about the
packages, I referred to the developer studio plugins projects you have sent
me. However as I am still not familiar with the naming conventions for
developer studio plugins I temporarily created a couple of packages to
group the Java classes. I hope I can do the proper renaming and packaging
later with your support.

I created the ErrorInfoCollector class and there all the system information
and error related information is fetched. However I couldn't find a method
to get the plugin version and I am still working on it. And the error
report that I have sent you previously had an attribute called fingerprint
and it also contained a set of bundle information. Those two parts I could
not understand. So I left them for now.
As you suggested, this class can be improved later to
collect further information regarding the error.

I started with preferences page as well. I created a draft preference page
and currently working on improving it.

This is the new GitHub link of the project repository. Please refer to this
afterwards.

Link-
https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter.git

Thanks and Regards

Nathiesha



On Fri, May 13, 2016 at 12:26 PM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> Please find my inline comments.
>
> On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> Regarding the preference settings, as I have read, the plugins that are
>> started early are listed in preferences-general-startup and shutdown page.
>> So the user can deselect the plugin from that list and then it will not be
>> started once Eclipse starts. Is this what is expected?
>>
>
> No. This is not the expectation.
>
> Or I can add an option for the user to configure the start up settings of
>> the error reporting plugin, in a separate preference page, that I am going
>> to develop for the Error Reporting plugin settings.
>>
>
> Yes. This is the expectation.
>
>
>> And regarding the multi status of IStatus, I will look into that and I
>> will try to fetch all the previously failed operation information. Here I
>> have attached a error report that Eclipse error reporting tool produces.
>> Please have a look at the information listed in that report regarding the
>> error. As you have mentioned earlier, I will add the previously failed
>> operation details if available. Other than previously failed operations and
>> the information listed in the attached report , what else need to be added
>> to the error report? Or is that information sufficient for the development
>> team?
>>
>
> For now, we will keep our focus on this information and give priority to
> them. However, there's always chance for improvements. Later, if time
> permits, we may focus on the aspects such as attaching the artifacts which
> could have caused the issue (with the permission of user), information
> about project hierarchy, active editor, perspective etc. (we should analyse
> the needs for these further), etc.
>
>
>>
>> And thank you for the tips about getting the run time details. That saved
>> my time. I will try those. And as you have suggested, it is good to use the
>> proper coding standards from the beginning. I will get an idea from the
>> example project you have sent me, and I will refactor the code accordingly.
>>
>>
>
>> Thanks and regards
>>
>> Nathiesha
>>
>>
>>
>> On Wed, May 11, 2016 at 10:08 AM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Nathiesha,
>>>
>>> Great start! Just some heads up for your next steps.
>>>
>>> An IStatus instance sometimes could be a multi status instance where you
>>> can get other IStatus instances associated with it using the getChildren()
>>> method[1]. This simply means that a series of operations failed and
>>> information about previously failed operations are also valuable when
>>> making the report.
>>>
>>> There are multiple ways to read java run-time version, the easiest would
>>> be to read the system property called "java.runtime.version".
>>>
>>> Furthermore, org.eclipse.core.runtime.Platform class [2] provides
>>> multiple methods to fetch run-time environment information such as OS name,
>>> architecture and windowing library etc. It will also be helpful for you
>>> fetch additional information about the run-time environment.
>>>
>>> On a side note, I would suggest that it will be good if you starts
>>> coding with the proper coding standards we use, from the beginning. This
>>> will reduce the time it takes to refactor the code later, in a great
>>> amount. As a start you can refactor the current package hierarchy to a
>>> proper package hierarchy we use for developer studio plugins [get an idea
>>> from - 3].
>>>
>>> I am attaching the license header and eclipse code cleanup and
>>> 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-13 Thread Kavith Lokuhewage
Hi Nathiesha,

Please find my inline comments.

On Wed, May 11, 2016 at 12:10 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> Regarding the preference settings, as I have read, the plugins that are
> started early are listed in preferences-general-startup and shutdown page.
> So the user can deselect the plugin from that list and then it will not be
> started once Eclipse starts. Is this what is expected?
>

No. This is not the expectation.

Or I can add an option for the user to configure the start up settings of
> the error reporting plugin, in a separate preference page, that I am going
> to develop for the Error Reporting plugin settings.
>

Yes. This is the expectation.


> And regarding the multi status of IStatus, I will look into that and I
> will try to fetch all the previously failed operation information. Here I
> have attached a error report that Eclipse error reporting tool produces.
> Please have a look at the information listed in that report regarding the
> error. As you have mentioned earlier, I will add the previously failed
> operation details if available. Other than previously failed operations and
> the information listed in the attached report , what else need to be added
> to the error report? Or is that information sufficient for the development
> team?
>

For now, we will keep our focus on this information and give priority to
them. However, there's always chance for improvements. Later, if time
permits, we may focus on the aspects such as attaching the artifacts which
could have caused the issue (with the permission of user), information
about project hierarchy, active editor, perspective etc. (we should analyse
the needs for these further), etc.


>
> And thank you for the tips about getting the run time details. That saved
> my time. I will try those. And as you have suggested, it is good to use the
> proper coding standards from the beginning. I will get an idea from the
> example project you have sent me, and I will refactor the code accordingly.
>
>

> Thanks and regards
>
> Nathiesha
>
>
>
> On Wed, May 11, 2016 at 10:08 AM, Kavith Lokuhewage 
> wrote:
>
>> Hi Nathiesha,
>>
>> Great start! Just some heads up for your next steps.
>>
>> An IStatus instance sometimes could be a multi status instance where you
>> can get other IStatus instances associated with it using the getChildren()
>> method[1]. This simply means that a series of operations failed and
>> information about previously failed operations are also valuable when
>> making the report.
>>
>> There are multiple ways to read java run-time version, the easiest would
>> be to read the system property called "java.runtime.version".
>>
>> Furthermore, org.eclipse.core.runtime.Platform class [2] provides
>> multiple methods to fetch run-time environment information such as OS name,
>> architecture and windowing library etc. It will also be helpful for you
>> fetch additional information about the run-time environment.
>>
>> On a side note, I would suggest that it will be good if you starts coding
>> with the proper coding standards we use, from the beginning. This will
>> reduce the time it takes to refactor the code later, in a great amount. As
>> a start you can refactor the current package hierarchy to a proper package
>> hierarchy we use for developer studio plugins [get an idea from - 3].
>>
>> I am attaching the license header and eclipse code cleanup and formatting
>> templates for java.
>> Go to Window -> Preferences -> Java-> Code Style
>>1. Set attached templates as cleanup and formatting templates
>> (next format current classes)
>>2. Set the contents of license header file as the java file
>> comment template in code templates section.
>>
>> Thanks,
>> Kavith Lokuhewage
>>
>> [1]
>> http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FIStatus.html
>> [2]
>> http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FPlatform.html
>> [3]
>> https://github.com/wso2/developer-studio/tree/master/plugins/org.wso2.developerstudio.eclipse.updater
>>
>>
>>
>> On Wed, May 11, 2016 at 9:25 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I created a git hub repository, so the project progress can easily be
>>> tracked.
>>>
>>> I could start up the plugin when the IDE starts up, by implementing
>>> Istartup interface. I tested it as well. Then I created a log listener
>>> class and attached that to the platform log, so any error is notified.
>>> The next task is to filter the Dev studio plugin errors out of them. For
>>> testing purposes, currently my code filters out the errors caused
>>> by org.eclipse.core.runtime, and that seem to work fine. I created a very
>>> basic dialog to notify the error, which will be triggered when an error
>>> occurs. I will further improve 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-11 Thread Nathiesha Maddage
Hi all,

Regarding the preference settings, as I have read, the plugins that are
started early are listed in preferences-general-startup and shutdown page.
So the user can deselect the plugin from that list and then it will not be
started once Eclipse starts. Is this what is expected? Or I can add an
option for the user to configure the start up settings of the error
reporting plugin, in a separate preference page, that I am going to develop
for the Error Reporting plugin settings.

And regarding the multi status of IStatus, I will look into that and I will
try to fetch all the previously failed operation information. Here I have
attached a error report that Eclipse error reporting tool produces. Please
have a look at the information listed in that report regarding the error.
As you have mentioned earlier, I will add the previously failed operation
details if available. Other than previously failed operations and the
information listed in the attached report , what else need to be added to
the error report? Or is that information sufficient for the development
team?

And thank you for the tips about getting the run time details. That saved
my time. I will try those. And as you have suggested, it is good to use the
proper coding standards from the beginning. I will get an idea from the
example project you have sent me, and I will refactor the code accordingly.


Thanks and regards

Nathiesha



On Wed, May 11, 2016 at 10:08 AM, Kavith Lokuhewage  wrote:

> Hi Nathiesha,
>
> Great start! Just some heads up for your next steps.
>
> An IStatus instance sometimes could be a multi status instance where you
> can get other IStatus instances associated with it using the getChildren()
> method[1]. This simply means that a series of operations failed and
> information about previously failed operations are also valuable when
> making the report.
>
> There are multiple ways to read java run-time version, the easiest would
> be to read the system property called "java.runtime.version".
>
> Furthermore, org.eclipse.core.runtime.Platform class [2] provides multiple
> methods to fetch run-time environment information such as OS name,
> architecture and windowing library etc. It will also be helpful for you
> fetch additional information about the run-time environment.
>
> On a side note, I would suggest that it will be good if you starts coding
> with the proper coding standards we use, from the beginning. This will
> reduce the time it takes to refactor the code later, in a great amount. As
> a start you can refactor the current package hierarchy to a proper package
> hierarchy we use for developer studio plugins [get an idea from - 3].
>
> I am attaching the license header and eclipse code cleanup and formatting
> templates for java.
> Go to Window -> Preferences -> Java-> Code Style
>1. Set attached templates as cleanup and formatting templates
> (next format current classes)
>2. Set the contents of license header file as the java file
> comment template in code templates section.
>
> Thanks,
> Kavith Lokuhewage
>
> [1]
> http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FIStatus.html
> [2]
> http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FPlatform.html
> [3]
> https://github.com/wso2/developer-studio/tree/master/plugins/org.wso2.developerstudio.eclipse.updater
>
>
>
> On Wed, May 11, 2016 at 9:25 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> I created a git hub repository, so the project progress can easily be
>> tracked.
>>
>> I could start up the plugin when the IDE starts up, by implementing
>> Istartup interface. I tested it as well. Then I created a log listener
>> class and attached that to the platform log, so any error is notified.
>> The next task is to filter the Dev studio plugin errors out of them. For
>> testing purposes, currently my code filters out the errors caused
>> by org.eclipse.core.runtime, and that seem to work fine. I created a very
>> basic dialog to notify the error, which will be triggered when an error
>> occurs. I will further improve the UI later.
>> And currently I am working on collecting the information regarding the
>> error, that need to be included in the report. Certain information like
>> plugin id, error message and severity can be easily obtained by the Istatus
>> object, and now I am searching for ways to fetch the other information like
>> java version, plugin version, osgi and bundle related information.
>>
>> GitHub Link- https://github.com/nathiesha/ErrorReportingTool.git
>>
>>
>> Regards
>>
>> Nathiesha
>>
>> On Thu, May 5, 2016 at 6:39 PM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> This is the summary of the facts we discussed during the chat.
>>>
>>>
>>>- Original project proposal was discussed 

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-10 Thread Kavith Lokuhewage
Hi Nathiesha,

Great start! Just some heads up for your next steps.

An IStatus instance sometimes could be a multi status instance where you
can get other IStatus instances associated with it using the getChildren()
method[1]. This simply means that a series of operations failed and
information about previously failed operations are also valuable when
making the report.

There are multiple ways to read java run-time version, the easiest would be
to read the system property called "java.runtime.version".

Furthermore, org.eclipse.core.runtime.Platform class [2] provides multiple
methods to fetch run-time environment information such as OS name,
architecture and windowing library etc. It will also be helpful for you
fetch additional information about the run-time environment.

On a side note, I would suggest that it will be good if you starts coding
with the proper coding standards we use, from the beginning. This will
reduce the time it takes to refactor the code later, in a great amount. As
a start you can refactor the current package hierarchy to a proper package
hierarchy we use for developer studio plugins [get an idea from - 3].

I am attaching the license header and eclipse code cleanup and formatting
templates for java.
Go to Window -> Preferences -> Java-> Code Style
   1. Set attached templates as cleanup and formatting templates
(next format current classes)
   2. Set the contents of license header file as the java file
comment template in code templates section.

Thanks,
Kavith Lokuhewage

[1]
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FIStatus.html
[2]
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcore%2Fruntime%2FPlatform.html
[3]
https://github.com/wso2/developer-studio/tree/master/plugins/org.wso2.developerstudio.eclipse.updater



On Wed, May 11, 2016 at 9:25 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I created a git hub repository, so the project progress can easily be
> tracked.
>
> I could start up the plugin when the IDE starts up, by implementing
> Istartup interface. I tested it as well. Then I created a log listener
> class and attached that to the platform log, so any error is notified.
> The next task is to filter the Dev studio plugin errors out of them. For
> testing purposes, currently my code filters out the errors caused
> by org.eclipse.core.runtime, and that seem to work fine. I created a very
> basic dialog to notify the error, which will be triggered when an error
> occurs. I will further improve the UI later.
> And currently I am working on collecting the information regarding the
> error, that need to be included in the report. Certain information like
> plugin id, error message and severity can be easily obtained by the Istatus
> object, and now I am searching for ways to fetch the other information like
> java version, plugin version, osgi and bundle related information.
>
> GitHub Link- https://github.com/nathiesha/ErrorReportingTool.git
>
>
> Regards
>
> Nathiesha
>
> On Thu, May 5, 2016 at 6:39 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> This is the summary of the facts we discussed during the chat.
>>
>>
>>- Original project proposal was discussed and it was confirmed that a
>>new plugin would be developed for developer studio to report errors, that
>>would have similar functionalities like  code recommenders error reporting
>>tool.
>>
>>
>>- Certain suggestions were proposed for the original project proposal.
>>
>>
>>1. Instead of using an xml file to store user preferences, a separate
>>preference page was suggested.
>>2. For a first time user, a dialog box to get the user input was
>>suggested to be develop. The user given values for this dialog box would 
>> be
>>stored in the preference page as well so that user can change those values
>>later on using the preference page.
>>3. To get the information about the error and the error stack, the
>>original idea was to read the log file and fetch the information. However
>>it was suggested to make use the IStatus object instead, to get the error
>>related data as it provided methods to fetch those data.
>>4. The plugin should only report the errors that is concerned with
>>the developer studio. So as the first step, it was suggested to track all
>>the errors caused by the developer studio plugin. This is to be 
>> implemented
>>by listening to the error log of the dev studio plugin only. Once this 
>> task
>>is accomplished, I was advised to implement a mechanism to filter all the
>>other errors as well and find and any errors that has any connection with
>>the developer studio and to report them as well.
>>
>>
>>
>>- I had an issue about registering to the error event. That you
>>

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-10 Thread Jasintha Dasanayake
On Wed, May 11, 2016 at 9:25 AM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I created a git hub repository, so the project progress can easily be
> tracked.
>

That's good ,

>
> I could start up the plugin when the IDE starts up,
>

By default yes it could startup when IDE is loading however this setting
should be configureable , if user need to off this service should be able
to do that  , you can keep that setting in eclipse preferences store

Thanks and Regards
/Jasintha



> by implementing Istartup interface. I tested it as well. Then I created a
> log listener class and attached that to the platform log, so any error is
> notified.
>





> The next task is to filter the Dev studio plugin errors out of them. For
> testing purposes, currently my code filters out the errors caused
> by org.eclipse.core.runtime, and that seem to work fine. I created a very
> basic dialog to notify the error, which will be triggered when an error
> occurs. I will further improve the UI later.
> And currently I am working on collecting the information regarding the
> error, that need to be included in the report. Certain information like
> plugin id, error message and severity can be easily obtained by the Istatus
> object, and now I am searching for ways to fetch the other information like
> java version, plugin version, osgi and bundle related information.
>
> GitHub Link- https://github.com/nathiesha/ErrorReportingTool.git
>
>
> Regards
>
> Nathiesha
>
> On Thu, May 5, 2016 at 6:39 PM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> This is the summary of the facts we discussed during the chat.
>>
>>
>>- Original project proposal was discussed and it was confirmed that a
>>new plugin would be developed for developer studio to report errors, that
>>would have similar functionalities like  code recommenders error reporting
>>tool.
>>
>>
>>- Certain suggestions were proposed for the original project proposal.
>>
>>
>>1. Instead of using an xml file to store user preferences, a separate
>>preference page was suggested.
>>2. For a first time user, a dialog box to get the user input was
>>suggested to be develop. The user given values for this dialog box would 
>> be
>>stored in the preference page as well so that user can change those values
>>later on using the preference page.
>>3. To get the information about the error and the error stack, the
>>original idea was to read the log file and fetch the information. However
>>it was suggested to make use the IStatus object instead, to get the error
>>related data as it provided methods to fetch those data.
>>4. The plugin should only report the errors that is concerned with
>>the developer studio. So as the first step, it was suggested to track all
>>the errors caused by the developer studio plugin. This is to be 
>> implemented
>>by listening to the error log of the dev studio plugin only. Once this 
>> task
>>is accomplished, I was advised to implement a mechanism to filter all the
>>other errors as well and find and any errors that has any connection with
>>the developer studio and to report them as well.
>>
>>
>>
>>- I had an issue about registering to the error event. That you
>>clarified by suggesting to do the initialization in the start method of 
>> the
>>BundleActivator implemented plugin class. And suggested me to try changing
>>the start up behavior of the plugin from the default lazy initialization
>>method into some different method in the manifest file of the plugin.
>>
>>
>>- I was asked to get started with coding, and to maintain a git-hub
>>repository, so you can view and comment on the parts I have done so far.
>>
>>
>>- I was also asked to get started with the error capturing part first
>>as it is of highest priority, and then to focus on the UI and connecting
>>with Jira.
>>
>>
>>- To track the progress of the project, a milestone plan was asked to
>>be prepared on daily basis.
>>
>>
>>- It was discussed to arrange the next meeting/call in another two
>>weeks time.
>>
>>
>>
>> Please point out if I have missed any important fact in our discussion.
>> I am currently preparing the milestone plan. I will send it soon.
>>
>> Regards
>>
>> Nathiesha
>>
>>
>


-- 

*Jasintha Dasanayake*

*Senior Software EngineerWSO2 Inc. | http://wso2.com lean
. enterprise . middleware*


*mobile :- 0711368118*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-05-10 Thread Nathiesha Maddage
Hi all,

I created a git hub repository, so the project progress can easily be
tracked.

I could start up the plugin when the IDE starts up, by implementing
Istartup interface. I tested it as well. Then I created a log listener
class and attached that to the platform log, so any error is notified.
The next task is to filter the Dev studio plugin errors out of them. For
testing purposes, currently my code filters out the errors caused
by org.eclipse.core.runtime, and that seem to work fine. I created a very
basic dialog to notify the error, which will be triggered when an error
occurs. I will further improve the UI later.
And currently I am working on collecting the information regarding the
error, that need to be included in the report. Certain information like
plugin id, error message and severity can be easily obtained by the Istatus
object, and now I am searching for ways to fetch the other information like
java version, plugin version, osgi and bundle related information.

GitHub Link- https://github.com/nathiesha/ErrorReportingTool.git


Regards

Nathiesha

On Thu, May 5, 2016 at 6:39 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> This is the summary of the facts we discussed during the chat.
>
>
>- Original project proposal was discussed and it was confirmed that a
>new plugin would be developed for developer studio to report errors, that
>would have similar functionalities like  code recommenders error reporting
>tool.
>
>
>- Certain suggestions were proposed for the original project proposal.
>
>
>1. Instead of using an xml file to store user preferences, a separate
>preference page was suggested.
>2. For a first time user, a dialog box to get the user input was
>suggested to be develop. The user given values for this dialog box would be
>stored in the preference page as well so that user can change those values
>later on using the preference page.
>3. To get the information about the error and the error stack, the
>original idea was to read the log file and fetch the information. However
>it was suggested to make use the IStatus object instead, to get the error
>related data as it provided methods to fetch those data.
>4. The plugin should only report the errors that is concerned with the
>developer studio. So as the first step, it was suggested to track all the
>errors caused by the developer studio plugin. This is to be implemented by
>listening to the error log of the dev studio plugin only. Once this task is
>accomplished, I was advised to implement a mechanism to filter all the
>other errors as well and find and any errors that has any connection with
>the developer studio and to report them as well.
>
>
>
>- I had an issue about registering to the error event. That you
>clarified by suggesting to do the initialization in the start method of the
>BundleActivator implemented plugin class. And suggested me to try changing
>the start up behavior of the plugin from the default lazy initialization
>method into some different method in the manifest file of the plugin.
>
>
>- I was asked to get started with coding, and to maintain a git-hub
>repository, so you can view and comment on the parts I have done so far.
>
>
>- I was also asked to get started with the error capturing part first
>as it is of highest priority, and then to focus on the UI and connecting
>with Jira.
>
>
>- To track the progress of the project, a milestone plan was asked to
>be prepared on daily basis.
>
>
>- It was discussed to arrange the next meeting/call in another two
>weeks time.
>
>
>
> Please point out if I have missed any important fact in our discussion.
> I am currently preparing the milestone plan. I will send it soon.
>
> Regards
>
> Nathiesha
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev