You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Tushar Mishra <tu...@gmail.com> on 2016/04/27 17:39:33 UTC

Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Hello devs,

My name is Tushar Mishra and I am currently pursuing a Bachelor’s degree in
Computer Science with specialization in Open Source Software and Open
Standards from the University of Petroleum and Energy Studies, Dehradun,
India as a 3rd year Undergraduate student.

Recently, my proposal for developing an Eclipse Plugin (as stated in
[SYNCOPE-809]) was accepted at the Google Summer of Code. Consequently, I
have been assigned to the issue under the supervision of Mr. Francesco
Chicchiriccò who is my mentor for the same.

I look forward to working under your guidance and I believe I can do
wonders with your help.

Regards,
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
It's great to hear that. The IRC archives seem to be a bit empty maybe
because most developers use the mailing list more. So, I've been reading up
on resolved issues on the ML archives while flipping over the
documentation. It's pretty exciting to see how quickly issues are solved
here.

It would be great if I could have a look at your plugin if you have it
saved somewhere. I've been working on making those using how-to s and yours
would be of great help.

Regards,

On Thu, Apr 28, 2016 at 12:40 AM Giacomo Lamonaco <
giacomo.lamonaco@tirasa.net> wrote:

> Hi Tushar,
>
> Thanks for your interest on Apache Sycnope project. As you can see from
> our user & dev ML, there is a great community: we always try to do our
> best, to get every feedback from each user in order to improve this
> project. As you can image, developers that want to extend syncope are the
> welcome ;-) Moreover, there is an #apache-syncope channel on freenode: you
> can ask questions also there.
>
> From my side, I have a good level of experience with syncope, but I'm sure
> your mentor will give all the support needed. You can find a lot of useful
> information in the documentation: please always have a look there before
> asking any question.
>
> During my studies I tried also to develop a simple plugin for eclipse: it
> was a basic application, but maybe it could be useful.
>
> Good luck,
> Giacomo
>
> Il 27 aprile 2016 17:39:33 CEST, Tushar Mishra <tu...@gmail.com> ha
> scritto:
> >Hello devs,
> >
> >My name is Tushar Mishra and I am currently pursuing a Bachelor’s
> >degree in
> >Computer Science with specialization in Open Source Software and Open
> >Standards from the University of Petroleum and Energy Studies,
> >Dehradun,
> >India as a 3rd year Undergraduate student.
> >
> >Recently, my proposal for developing an Eclipse Plugin (as stated in
> >[SYNCOPE-809]) was accepted at the Google Summer of Code. Consequently,
> >I
> >have been assigned to the issue under the supervision of Mr. Francesco
> >Chicchiriccò who is my mentor for the same.
> >
> >I look forward to working under your guidance and I believe I can do
> >wonders with your help.
> >
> >Regards,
> >--
> >Tushar Mishra
> >University of Petroleum and Energy Studies
> >Computer Science with specialization in ​Open Source Software and Open
> >Standards
> >Semester VI
> >+91-9675785996
>
> --
> Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Giacomo Lamonaco <gi...@tirasa.net>.
Hi Tushar,

Thanks for your interest on Apache Sycnope project. As you can see from our user & dev ML, there is a great community: we always try to do our best, to get every feedback from each user in order to improve this project. As you can image, developers that want to extend syncope are the welcome ;-) Moreover, there is an #apache-syncope channel on freenode: you can ask questions also there.

>From my side, I have a good level of experience with syncope, but I'm sure your mentor will give all the support needed. You can find a lot of useful information in the documentation: please always have a look there before asking any question.

During my studies I tried also to develop a simple plugin for eclipse: it was a basic application, but maybe it could be useful.

Good luck,
Giacomo

Il 27 aprile 2016 17:39:33 CEST, Tushar Mishra <tu...@gmail.com> ha scritto:
>Hello devs,
>
>My name is Tushar Mishra and I am currently pursuing a Bachelor’s
>degree in
>Computer Science with specialization in Open Source Software and Open
>Standards from the University of Petroleum and Energy Studies,
>Dehradun,
>India as a 3rd year Undergraduate student.
>
>Recently, my proposal for developing an Eclipse Plugin (as stated in
>[SYNCOPE-809]) was accepted at the Google Summer of Code. Consequently,
>I
>have been assigned to the issue under the supervision of Mr. Francesco
>Chicchiriccò who is my mentor for the same.
>
>I look forward to working under your guidance and I believe I can do
>wonders with your help.
>
>Regards,
>-- 
>Tushar Mishra
>University of Petroleum and Energy Studies
>Computer Science with specialization in ​Open Source Software and Open
>Standards
>Semester VI
>+91-9675785996

-- 
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update:
I have added the Formatting feature for the HTML Editor

TODO: TestCases

On Wed, Jul 27, 2016 at 6:59 PM Tushar Mishra <tu...@gmail.com> wrote:

> Thanks for addressing that. I'll rebase when I'm about to commit next.
> I am working on the auto-format feature right now - XSLT editor already
> has this feature (try using Ctrl+Shift+F).
> I will create the tests after I build this for the HTML Editor.
>
> On Wed, Jul 27, 2016 at 3:46 PM Francesco Chicchiriccò <
> ilgrosso@apache.org> wrote:
>
>> Hi Tushar,
>> FYI I have just pushed a commit
>>
>>
>> https://github.com/apache/syncope/commit/1f62e6fb91d0766a85015a99bf1269ad6eadf6f5
>>
>> addressing some legal aspects of the new artifact (i.e. the Eclipse IDE
>> Plugin) that will be downloadable since next stable release.
>>
>> About further tasks / improvements on SYNCOPE-809, I would enlist:
>>
>>   1. tests
>>   2. auto-format feature for HTML / XSLT editors
>>
>> Regards.
>>
>> On 22/07/2016 12:32, Tushar Mishra wrote:
>> > Thanks for the merge and the tweet. As I said before, I am working on
>> the
>> > tests for this module.
>> > If there are any other improvements you have in mind, please do tell me
>> so
>> > I can work on them during the weekend.
>> >
>> > Regards,
>> >
>> > On Fri, Jul 22, 2016 at 3:58 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org>
>> > wrote:
>> >
>> >> As you might have seen, I have just merge PR #28 - this means we start
>> >> having an Eclipse plugin, cool :-)
>> >>
>> >> Nice job so far: now we need to finalize some stuff to have it properly
>> >> ready for wide usage.
>> >>
>> >> Regards.
>> >>
>> >> On 20/07/2016 16:46, Tushar Mishra wrote:
>> >>> Update:
>> >>> Solved issues #4 <https://github.com/tmess567/SYNCOPE-809/issues/4>
>> and
>> >> #9
>> >>> <https://github.com/tmess567/SYNCOPE-809/issues/9> and opened pull
>> >> request
>> >>> <https://github.com/apache/syncope/pull/28>
>> >>>
>> >>> I am making the suggested changes and preparing the next commit.
>> >>>
>> >>> On Mon, Jul 18, 2016 at 8:55 PM Tushar Mishra <tu...@gmail.com>
>> >> wrote:
>> >>>> I've added an issue <
>> https://github.com/tmess567/SYNCOPE-809/issues/21>
>> >>>> to track the progress on the p2 repository and I will resume work
>> with
>> >> the
>> >>>> pom manifest.
>> >>>> Also, I will try to start merging this project as a module of my
>> fork of
>> >>>> syncope <https://github.com/tmess567/syncope> to ensure rat and
>> >>>> checkstyle requirements are met.
>> >>>>
>> >>>> Regards,
>> >>>>
>> >>>> On Mon, Jul 18, 2016 at 8:33 PM Francesco Chicchiriccò <
>> >>>> ilgrosso@apache.org> wrote:
>> >>>>
>> >>>>> Please start a separate thread for this.
>> >>>>> Regards.
>> >>>>>
>> >>>>> On 16/07/2016 07:49, Tushar Mishra wrote:
>> >>>>>> I received an email from GSoC stating that during the final
>> >>>>> evaluations, I
>> >>>>>> will need to submit a link to the code written during the project.
>> See
>> >>>>>> https://developers.google.com/open-source/gsoc/help/work-product
>> >>>>>>
>> >>>>>> I believe that this should be the commits page
>> >>>>>> <https://github.com/tmess567/SYNCOPE-809/commits/master> of my
>> >> project
>> >>>>>> repository <https://github.com/tmess567/SYNCOPE-809>. Will this be
>> >> OK?
>> >>>>>> I am also working on updating and maintaining a set of tagged
>> posts on
>> >>>>> my
>> >>>>>> blog which can be added to the submitted links and might also be
>> >>>>>> helpful in documentation.
>> >>>>>>
>> >>>>>> Regards,
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>> http://home.apache.org/~ilgrosso/
>>
>> --
> Tushar Mishra
> Website: tusharmishra.in
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VII
> +91-9675785996
>
-- 
Tushar Mishra
Website: tusharmishra.in
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Thanks for addressing that. I'll rebase when I'm about to commit next.
I am working on the auto-format feature right now - XSLT editor already has
this feature (try using Ctrl+Shift+F).
I will create the tests after I build this for the HTML Editor.

On Wed, Jul 27, 2016 at 3:46 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> Hi Tushar,
> FYI I have just pushed a commit
>
>
> https://github.com/apache/syncope/commit/1f62e6fb91d0766a85015a99bf1269ad6eadf6f5
>
> addressing some legal aspects of the new artifact (i.e. the Eclipse IDE
> Plugin) that will be downloadable since next stable release.
>
> About further tasks / improvements on SYNCOPE-809, I would enlist:
>
>   1. tests
>   2. auto-format feature for HTML / XSLT editors
>
> Regards.
>
> On 22/07/2016 12:32, Tushar Mishra wrote:
> > Thanks for the merge and the tweet. As I said before, I am working on the
> > tests for this module.
> > If there are any other improvements you have in mind, please do tell me
> so
> > I can work on them during the weekend.
> >
> > Regards,
> >
> > On Fri, Jul 22, 2016 at 3:58 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> As you might have seen, I have just merge PR #28 - this means we start
> >> having an Eclipse plugin, cool :-)
> >>
> >> Nice job so far: now we need to finalize some stuff to have it properly
> >> ready for wide usage.
> >>
> >> Regards.
> >>
> >> On 20/07/2016 16:46, Tushar Mishra wrote:
> >>> Update:
> >>> Solved issues #4 <https://github.com/tmess567/SYNCOPE-809/issues/4>
> and
> >> #9
> >>> <https://github.com/tmess567/SYNCOPE-809/issues/9> and opened pull
> >> request
> >>> <https://github.com/apache/syncope/pull/28>
> >>>
> >>> I am making the suggested changes and preparing the next commit.
> >>>
> >>> On Mon, Jul 18, 2016 at 8:55 PM Tushar Mishra <tu...@gmail.com>
> >> wrote:
> >>>> I've added an issue <
> https://github.com/tmess567/SYNCOPE-809/issues/21>
> >>>> to track the progress on the p2 repository and I will resume work with
> >> the
> >>>> pom manifest.
> >>>> Also, I will try to start merging this project as a module of my fork
> of
> >>>> syncope <https://github.com/tmess567/syncope> to ensure rat and
> >>>> checkstyle requirements are met.
> >>>>
> >>>> Regards,
> >>>>
> >>>> On Mon, Jul 18, 2016 at 8:33 PM Francesco Chicchiriccò <
> >>>> ilgrosso@apache.org> wrote:
> >>>>
> >>>>> Please start a separate thread for this.
> >>>>> Regards.
> >>>>>
> >>>>> On 16/07/2016 07:49, Tushar Mishra wrote:
> >>>>>> I received an email from GSoC stating that during the final
> >>>>> evaluations, I
> >>>>>> will need to submit a link to the code written during the project.
> See
> >>>>>> https://developers.google.com/open-source/gsoc/help/work-product
> >>>>>>
> >>>>>> I believe that this should be the commits page
> >>>>>> <https://github.com/tmess567/SYNCOPE-809/commits/master> of my
> >> project
> >>>>>> repository <https://github.com/tmess567/SYNCOPE-809>. Will this be
> >> OK?
> >>>>>> I am also working on updating and maintaining a set of tagged posts
> on
> >>>>> my
> >>>>>> blog which can be added to the submitted links and might also be
> >>>>>> helpful in documentation.
> >>>>>>
> >>>>>> Regards,
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
Website: tusharmishra.in
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi Tushar,
FYI I have just pushed a commit

https://github.com/apache/syncope/commit/1f62e6fb91d0766a85015a99bf1269ad6eadf6f5

addressing some legal aspects of the new artifact (i.e. the Eclipse IDE 
Plugin) that will be downloadable since next stable release.

About further tasks / improvements on SYNCOPE-809, I would enlist:

  1. tests
  2. auto-format feature for HTML / XSLT editors

Regards.

On 22/07/2016 12:32, Tushar Mishra wrote:
> Thanks for the merge and the tweet. As I said before, I am working on the
> tests for this module.
> If there are any other improvements you have in mind, please do tell me so
> I can work on them during the weekend.
>
> Regards,
>
> On Fri, Jul 22, 2016 at 3:58 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> As you might have seen, I have just merge PR #28 - this means we start
>> having an Eclipse plugin, cool :-)
>>
>> Nice job so far: now we need to finalize some stuff to have it properly
>> ready for wide usage.
>>
>> Regards.
>>
>> On 20/07/2016 16:46, Tushar Mishra wrote:
>>> Update:
>>> Solved issues #4 <https://github.com/tmess567/SYNCOPE-809/issues/4> and
>> #9
>>> <https://github.com/tmess567/SYNCOPE-809/issues/9> and opened pull
>> request
>>> <https://github.com/apache/syncope/pull/28>
>>>
>>> I am making the suggested changes and preparing the next commit.
>>>
>>> On Mon, Jul 18, 2016 at 8:55 PM Tushar Mishra <tu...@gmail.com>
>> wrote:
>>>> I've added an issue <https://github.com/tmess567/SYNCOPE-809/issues/21>
>>>> to track the progress on the p2 repository and I will resume work with
>> the
>>>> pom manifest.
>>>> Also, I will try to start merging this project as a module of my fork of
>>>> syncope <https://github.com/tmess567/syncope> to ensure rat and
>>>> checkstyle requirements are met.
>>>>
>>>> Regards,
>>>>
>>>> On Mon, Jul 18, 2016 at 8:33 PM Francesco Chicchiricc� <
>>>> ilgrosso@apache.org> wrote:
>>>>
>>>>> Please start a separate thread for this.
>>>>> Regards.
>>>>>
>>>>> On 16/07/2016 07:49, Tushar Mishra wrote:
>>>>>> I received an email from GSoC stating that during the final
>>>>> evaluations, I
>>>>>> will need to submit a link to the code written during the project. See
>>>>>> https://developers.google.com/open-source/gsoc/help/work-product
>>>>>>
>>>>>> I believe that this should be the commits page
>>>>>> <https://github.com/tmess567/SYNCOPE-809/commits/master> of my
>> project
>>>>>> repository <https://github.com/tmess567/SYNCOPE-809>. Will this be
>> OK?
>>>>>> I am also working on updating and maintaining a set of tagged posts on
>>>>> my
>>>>>> blog which can be added to the submitted links and might also be
>>>>>> helpful in documentation.
>>>>>>
>>>>>> Regards,

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Thanks for the merge and the tweet. As I said before, I am working on the
tests for this module.
If there are any other improvements you have in mind, please do tell me so
I can work on them during the weekend.

Regards,

On Fri, Jul 22, 2016 at 3:58 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> As you might have seen, I have just merge PR #28 - this means we start
> having an Eclipse plugin, cool :-)
>
> Nice job so far: now we need to finalize some stuff to have it properly
> ready for wide usage.
>
> Regards.
>
> On 20/07/2016 16:46, Tushar Mishra wrote:
> > Update:
> > Solved issues #4 <https://github.com/tmess567/SYNCOPE-809/issues/4> and
> #9
> > <https://github.com/tmess567/SYNCOPE-809/issues/9> and opened pull
> request
> > <https://github.com/apache/syncope/pull/28>
> >
> > I am making the suggested changes and preparing the next commit.
> >
> > On Mon, Jul 18, 2016 at 8:55 PM Tushar Mishra <tu...@gmail.com>
> wrote:
> >
> >> I've added an issue <https://github.com/tmess567/SYNCOPE-809/issues/21>
> >> to track the progress on the p2 repository and I will resume work with
> the
> >> pom manifest.
> >> Also, I will try to start merging this project as a module of my fork of
> >> syncope <https://github.com/tmess567/syncope> to ensure rat and
> >> checkstyle requirements are met.
> >>
> >> Regards,
> >>
> >> On Mon, Jul 18, 2016 at 8:33 PM Francesco Chicchiriccò <
> >> ilgrosso@apache.org> wrote:
> >>
> >>> Please start a separate thread for this.
> >>> Regards.
> >>>
> >>> On 16/07/2016 07:49, Tushar Mishra wrote:
> >>>> I received an email from GSoC stating that during the final
> >>> evaluations, I
> >>>> will need to submit a link to the code written during the project. See
> >>>> https://developers.google.com/open-source/gsoc/help/work-product
> >>>>
> >>>> I believe that this should be the commits page
> >>>> <https://github.com/tmess567/SYNCOPE-809/commits/master> of my
> project
> >>>> repository <https://github.com/tmess567/SYNCOPE-809>. Will this be
> OK?
> >>>>
> >>>> I am also working on updating and maintaining a set of tagged posts on
> >>> my
> >>>> blog which can be added to the submitted links and might also be
> >>>> helpful in documentation.
> >>>>
> >>>> Regards,
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
Website: tusharmishra.in
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
As you might have seen, I have just merge PR #28 - this means we start 
having an Eclipse plugin, cool :-)

Nice job so far: now we need to finalize some stuff to have it properly 
ready for wide usage.

Regards.

On 20/07/2016 16:46, Tushar Mishra wrote:
> Update:
> Solved issues #4 <https://github.com/tmess567/SYNCOPE-809/issues/4> and #9
> <https://github.com/tmess567/SYNCOPE-809/issues/9> and opened pull request
> <https://github.com/apache/syncope/pull/28>
>
> I am making the suggested changes and preparing the next commit.
>
> On Mon, Jul 18, 2016 at 8:55 PM Tushar Mishra <tu...@gmail.com> wrote:
>
>> I've added an issue <https://github.com/tmess567/SYNCOPE-809/issues/21>
>> to track the progress on the p2 repository and I will resume work with the
>> pom manifest.
>> Also, I will try to start merging this project as a module of my fork of
>> syncope <https://github.com/tmess567/syncope> to ensure rat and
>> checkstyle requirements are met.
>>
>> Regards,
>>
>> On Mon, Jul 18, 2016 at 8:33 PM Francesco Chicchiricc� <
>> ilgrosso@apache.org> wrote:
>>
>>> Please start a separate thread for this.
>>> Regards.
>>>
>>> On 16/07/2016 07:49, Tushar Mishra wrote:
>>>> I received an email from GSoC stating that during the final
>>> evaluations, I
>>>> will need to submit a link to the code written during the project. See
>>>> https://developers.google.com/open-source/gsoc/help/work-product
>>>>
>>>> I believe that this should be the commits page
>>>> <https://github.com/tmess567/SYNCOPE-809/commits/master> of my project
>>>> repository <https://github.com/tmess567/SYNCOPE-809>. Will this be OK?
>>>>
>>>> I am also working on updating and maintaining a set of tagged posts on
>>> my
>>>> blog which can be added to the submitted links and might also be
>>>> helpful in documentation.
>>>>
>>>> Regards,

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update:
Solved issues #4 <https://github.com/tmess567/SYNCOPE-809/issues/4> and #9
<https://github.com/tmess567/SYNCOPE-809/issues/9> and opened pull request
<https://github.com/apache/syncope/pull/28>

I am making the suggested changes and preparing the next commit.

On Mon, Jul 18, 2016 at 8:55 PM Tushar Mishra <tu...@gmail.com> wrote:

> I've added an issue <https://github.com/tmess567/SYNCOPE-809/issues/21>
> to track the progress on the p2 repository and I will resume work with the
> pom manifest.
> Also, I will try to start merging this project as a module of my fork of
> syncope <https://github.com/tmess567/syncope> to ensure rat and
> checkstyle requirements are met.
>
> Regards,
>
> On Mon, Jul 18, 2016 at 8:33 PM Francesco Chicchiriccò <
> ilgrosso@apache.org> wrote:
>
>> Please start a separate thread for this.
>> Regards.
>>
>> On 16/07/2016 07:49, Tushar Mishra wrote:
>> > I received an email from GSoC stating that during the final
>> evaluations, I
>> > will need to submit a link to the code written during the project. See
>> > https://developers.google.com/open-source/gsoc/help/work-product
>> >
>> > I believe that this should be the commits page
>> > <https://github.com/tmess567/SYNCOPE-809/commits/master> of my project
>> > repository <https://github.com/tmess567/SYNCOPE-809>. Will this be OK?
>> >
>> > I am also working on updating and maintaining a set of tagged posts on
>> my
>> > blog which can be added to the submitted links and might also be
>> helpful in
>> > documentation.
>> >
>> > Regards,
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>> http://home.apache.org/~ilgrosso/
>>
>> --
> Tushar Mishra
> Website: tusharmishra.in
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VII
> +91-9675785996
>
-- 
Tushar Mishra
Website: tusharmishra.in
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I've added an issue <https://github.com/tmess567/SYNCOPE-809/issues/21> to
track the progress on the p2 repository and I will resume work with the pom
manifest.
Also, I will try to start merging this project as a module of my fork of
syncope <https://github.com/tmess567/syncope> to ensure rat and checkstyle
requirements are met.

Regards,

On Mon, Jul 18, 2016 at 8:33 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> Please start a separate thread for this.
> Regards.
>
> On 16/07/2016 07:49, Tushar Mishra wrote:
> > I received an email from GSoC stating that during the final evaluations,
> I
> > will need to submit a link to the code written during the project. See
> > https://developers.google.com/open-source/gsoc/help/work-product
> >
> > I believe that this should be the commits page
> > <https://github.com/tmess567/SYNCOPE-809/commits/master> of my project
> > repository <https://github.com/tmess567/SYNCOPE-809>. Will this be OK?
> >
> > I am also working on updating and maintaining a set of tagged posts on my
> > blog which can be added to the submitted links and might also be helpful
> in
> > documentation.
> >
> > Regards,
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
Website: tusharmishra.in
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
Please start a separate thread for this.
Regards.

On 16/07/2016 07:49, Tushar Mishra wrote:
> I received an email from GSoC stating that during the final evaluations, I
> will need to submit a link to the code written during the project. See
> https://developers.google.com/open-source/gsoc/help/work-product
>
> I believe that this should be the commits page
> <https://github.com/tmess567/SYNCOPE-809/commits/master> of my project
> repository <https://github.com/tmess567/SYNCOPE-809>. Will this be OK?
>
> I am also working on updating and maintaining a set of tagged posts on my
> blog which can be added to the submitted links and might also be helpful in
> documentation.
>
> Regards,

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 16/07/2016 07:34, Tushar Mishra wrote:
> I've posted the problem and the proposed solution on this issue page
> <https://github.com/tmess567/SYNCOPE-809/issues/9>. Please have a look and
> advise on the changes required.

Please check my latest comment there.
Regards.

> On Fri, Jul 15, 2016 at 8:23 PM Tushar Mishra <tu...@gmail.com> wrote:
>
>> This is being caused because tycho eclipse-plugin causes dependency skips.
>> Running a second build is successful. I am working on the poms to fix this.
>>
>>
>> On Fri, Jul 15, 2016 at 8:21 PM Francesco Chicchiricc� <
>> ilgrosso@apache.org> wrote:
>>
>>> On 15/07/2016 16:20, Tushar Mishra wrote:
>>>> Yeah, I just saw. I just pushed the solution. Please try again.
>>> Sorry, it did not work, apparently.
>>>
>>>> On Fri, Jul 15, 2016 at 7:47 PM Francesco Chicchiricc� <
>>> ilgrosso@apache.org>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I am currently unable to build the project; see
>>>>>
>>>>> https://github.com/tmess567/SYNCOPE-809/issues/20
>>>>>
>>>>> Regards.
>>>>>
>>>>> On 12/07/2016 11:37, Tushar Mishra wrote:
>>>>>> Update:
>>>>>> The editors were completed last weekend (see 0208a4
>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315
>>>>>> ),
>>>>>> now I am reading up on and writing tests for the plugin. I am
>>> currently
>>>>>> using the demo deployment available here, but once this project is
>>> added
>>>>> to
>>>>>> the syncope project, I will replace it with the server generated for
>>>>> tests.
>>>>>> I have also commented on an issue
>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the
>>>>> MANIFEST
>>>>>> file which might need to be placed (even if it is empty) to allow
>>> tycho
>>>>> to
>>>>>> build the project as an eclipse plugin and not as a maven project. I
>>>>>> acknowledge that this is a feasible solution and will be trying to
>>> solve
>>>>>> this problem as well.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com>
>>>>> wrote:
>>>>>>> The XML and XML Schema Editors are designed for their specific files
>>> and
>>>>>>> if I try to open html files using any of those, they throw fatal
>>> errors.
>>>>>>> Besides the separate design and source pages of such editors
>>> wouldn't be
>>>>>>> compatible with html text anyway since they are made to parse xml.
>>>>>>>
>>>>>>> I will try and work out the problems with the html editor by
>>> tomorrow.
>>>>> If
>>>>>>> it doesn't work by then, it would be better to go with a simple text
>>>>> editor
>>>>>>> for now and work on this as a feature once the basic plugin is done.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiricc� <
>>>>> ilgrosso@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> On 05/07/2016 12:09, Tushar Mishra wrote:
>>>>>>>>> Eclipse has the following options to open an html file
>>>>>>>>> Web Browser
>>>>>>>>> Text Editor
>>>>>>>>> System Editor (Opens up in Host OS)
>>>>>>>>> Schema HTML Viewer
>>>>>>>>>
>>>>>>>>> None of these provide any of the expected Editor features which is
>>> why
>>>>>>>> I am
>>>>>>>>> working on this. I can later add the web browser as a page in the
>>>>>>>> editor to
>>>>>>>>> provide extra functionality, but syntax highlighting and content
>>>>> assist
>>>>>>>>> should be included in my opinion.
>>>>>>>>>
>>>>>>>>> Eclipse does include an XML Schema Editor which can be used for the
>>>>> XSL
>>>>>>>>> formats and I plan on using it.
>>>>>>>> Not even a bare XML editor? You could use that in first place for
>>> both
>>>>>>>> HTML and XSLT.
>>>>>>>> Regards.
>>>>>>>>
>>>>>>>>> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiricc� <
>>>>>>>> ilgrosso@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> On 05/07/2016 11:53, Tushar Mishra wrote:
>>>>>>>>>>> Hello,
>>>>>>>>>>>
>>>>>>>>>>> I would like to update you on my progress. I am currently
>>> working on
>>>>>>>> the
>>>>>>>>>>> HTML Editor and syntax highlighting, content assist.
>>>>>>>>>>>
>>>>>>>>>>> Instead of building it from scratch, I am trying to use the
>>> classes
>>>>>>>>>>> available in [1]. But I am facing some problems in doing so. The
>>>>>>>>>> Preference
>>>>>>>>>>> store used in the amateras project is separate from my own when I
>>>>>>>> import
>>>>>>>>>> it
>>>>>>>>>>> as a jar. I am adopting multiple approaches in doing this and I
>>> have
>>>>>>>> also
>>>>>>>>>>> contacted the author of the repository to help out. This might
>>> take
>>>>>>>> some
>>>>>>>>>>> time.
>>>>>>>>>> Couldn't you just rely on the default HTML editor in Eclipse? I
>>>>>>>>>> understand that [1] is more advanced, but we can take it as an
>>>>>>>> improvement.
>>>>>>>>>> Regards.
>>>>>>>>>>
>>>>>>>>>>> [1] : https://github.com/takezoe/amateras-html-editor
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiricc� <
>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
>>>>>>>>>>>>> Update:
>>>>>>>>>>>>> 1. Added refresh button
>>>>>>>>>>>>> 2. Handled empty templates
>>>>>>>>>>>>>
>>>>>>>>>>>>> TODO:
>>>>>>>>>>>>> 1. Saving templates (using setFormat)
>>>>>>>>>>>>> 2. HTML and XSLT editors
>>>>>>>>>>>>> This will include Syntax Highlighting, Content Assist
>>> (including
>>>>>>>>>> syncope
>>>>>>>>>>>>> specific variables, as stated here
>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>>>>>>>>>>>>> )
>>>>>>>>>>>> Please open issues on your GitHub repos for all the tasks left
>>> on
>>>>> the
>>>>>>>>>>>> project (including the two above).
>>>>>>>>>>>> This will help tracking your work.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards.
>>>>>>>>>>>>
>>>>>>>>>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>>>>>>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <
>>>>> tusharm567@gmail.com
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Update: Fixed Issue #5 <
>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>>>>>>>>>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I've commented on the issue #7
>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a
>>> fix
>>>>> for
>>>>>>>>>> the
>>>>>>>>>>>>>>> problem. The issue was being caused by the classpath file
>>> which
>>>>>>>> was
>>>>>>>>>>>>>>> pointing to the wrong jars. I believe this solves the
>>> problem,
>>>>> if
>>>>>>>> it
>>>>>>>>>>>>>>> doesn't please do comment and let me know.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I was hoping to solve this before the midterm evaluations, so
>>>>> you
>>>>>>>>>> could
>>>>>>>>>>>>>>> see the plugin before that. If this still does not solve the
>>>>>>>> problem,
>>>>>>>>>>>>>>> please do tell me so I can send you a packaged plugin to run
>>> on
>>>>>>>> your
>>>>>>>>>>>>>>> eclipse installation.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks, I'll look into it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>> sorry for late reaction.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I have opened some issues in the GitHub repo.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>> Changed editor to show multiple pages for different
>>> formats
>>>>>>>>>>>>>>>>> (Screenshot
>>>>>>>>>>>>>>>>>> <http://imgur.com/kAI78ts>).
>>>>>>>>>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
>>>>>>>>>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> TODO:
>>>>>>>>>>>>>>>>>> Handle save and save as events.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
>>>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>>> 1. Editor classes added
>>>>>>>>>>>>>>>>>>> 2. Template is read and displayed in editor
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> TODO:
>>>>>>>>>>>>>>>>>>> 1. Allow template to be viewed in different formats
>>> (HTML,
>>>>>>>> text)
>>>>>>>>>>>>>>>>>>> 2. Allow changes made in template to be sent to
>>> deployment
>>>>>>>>>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>> Update: Added the following with this commit
>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>>>>>>>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>>>>>>>>>>>>>>>>>>>>> Right click on
>>>>>>>>>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
>>>>>>>>>>>>>>>>>>>>> 2. TreeObject allows removing key
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Problems:
>>>>>>>>>>>>>>>>>>>>> 1. Users except admin do not return any template keys.
>>> Can
>>>>>>>> only
>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>> admin
>>>>>>>>>>>>>>>>>>>>> have mail and report Templates or can any normal user
>>> have
>>>>>>>> them
>>>>>>>>>>>>>>>>> too?
>>>>>>>>>>>>>>>>>>>> The internal security model [1] requires that the
>>>>> requesting
>>>>>>>>>> user
>>>>>>>>>>>>>>>>> owns
>>>>>>>>>>>>>>>>>>>> different entitlements for being allowed to invoke
>>>>> different
>>>>>>>>>> REST
>>>>>>>>>>>>>>>>>>>> endpoints; for example, to list all mail templates
>>>>> available,
>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> You will need then to create a role R, assign the needed
>>>>>>>>>>>>>>>>> entitlements to
>>>>>>>>>>>>>>>>>>>> it and finally make the new user member of such role.
>>>>>>>>>>>>>>>>>>>> Only at this point such user will be allowed to invoke
>>> the
>>>>>>>>>>>>>>>>> corresponding
>>>>>>>>>>>>>>>>>>>> REST calls.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> "admin" owns all defined entitlements.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2. When trying to add an already existing key,
>>>>> SyncopeClient
>>>>>>>>>>>>>>>>> doesn't
>>>>>>>>>>>>>>>>>>>>> throw
>>>>>>>>>>>>>>>>>>>>> any error. I can simply check against the loaded key
>>> list,
>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>> shouldn't
>>>>>>>>>>>>>>>>>>>>> that be done by SyncopeClient itself?
>>>>>>>>>>>>>>>>>>>> The Syncope client library does not throw any exception
>>>>>>>> because
>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> Syncope core does not throw any exception in case one if
>>>>>>>>>>>> attempting
>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>> create a mail template with an existing key; if you
>>> believe
>>>>>>>> that
>>>>>>>>>>>> an
>>>>>>>>>>>>>>>>>>>> exception should be raised, please fill an improvement
>>> on
>>>>>>>> JIRA
>>>>>>>>>>>>>>>>> (with fix
>>>>>>>>>>>>>>>>>>>> version 2.0.0 and component "core").
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>>>>>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>>>>>>>>>>>>>>>>>>> [3]
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>>>>>>>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>>>>>>>>>>>> tusharm567@gmail.com
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Update: Added the following on this commit
>>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>>>>>>>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>>>>>>>>>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist
>>>>> through
>>>>>>>>>>>> eclipse
>>>>>>>>>>>>>>>>>>>>>> restart)
>>>>>>>>>>>>>>>>>>>>>>                a) Deployment url through eclipse
>>>>> installation
>>>>>>>>>>>>>>>>>>>>>>                b) User credentials through workspace
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Please advise on any further features required in the
>>>>>>>>>>>> TreeViewer.
>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco
>>> Chicchiricc� <
>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now
>>> be
>>>>>>>> built
>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>>>>> maven.
>>>>>>>>>>>>>>>>>>>>>>>> Please check it out and inform me if there are any
>>>>>>>> problems
>>>>>>>>>> or
>>>>>>>>>>>>>>>>>>>> changes
>>>>>>>>>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
>>>>>>>> tomorrow.
>>>>>>>>>>>>>>>>>>>>>>> I have verified that now the Maven build works fine,
>>> and
>>>>>>>>>>>>>>>>> commented
>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>> relevant issues on GitHub.
>>>>>>>>>>>>>>>>>>>>>>> Nice job!
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Now let's concentrate on adding features.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco
>>> Chicchiricc�
>>>>> <
>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci
>>>>> here
>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4
>>>> .
>>>>>>>>>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
>>>>>>>> following
>>>>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>>>>>>>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
>>>>>>>> during
>>>>>>>>>>>>>>>>>>>> checkstyle
>>>>>>>>>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
>>>>>>>> location:
>>>>>>>>
>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>>>>>>>>>>>>>>>>>>>>>>>> Could not find resource
>>> '/home/nitrous/syncope-ide/
>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>>>>>>>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> <properties>
>>>>>>>>>>>>>>>>>>>>>>>>>              <checkstyle.skip>true</checkstyle.skip>
>>>>>>>>>>>>>>>>>>>>>>>>>            </properties>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you
>>>>> will
>>>>>>>>>>>> place
>>>>>>>>>>>>>>>>> your
>>>>>>>>>>>>>>>>>>>>>>> code
>>>>>>>>>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will
>>> need
>>>>> to
>>>>>>>>>> make
>>>>>>>>>>>>>>>>> some
>>>>>>>>>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
>>>>>>>>>> property.
>>>>>>>>>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>>>>>>>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho
>>> better,
>>>>>>>> but
>>>>>>>>>>>> since
>>>>>>>>>>>>>>>>>>>> I've
>>>>>>>>>>>>>>>>>>>>>>> never
>>>>>>>>>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
>>>>>>>> taking
>>>>>>>>>>>> some
>>>>>>>>>>>>>>>>>>>> time.
>>>>>>>>>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted
>>>>> with
>>>>>>>>>>>> Apache
>>>>>>>>>>>>>>>>>>>> Maven:
>>>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
>>>>>>>>>> thousands
>>>>>>>>>>>>>>>>> more
>>>>>>>>>>>>>>>>>>>> Open
>>>>>>>>>>>>>>>>>>>>>>>>> Source projects out there).
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco
>>>>> Chicchiricc�
>>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>>>>> I have commented
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> and also opened
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiricc�
>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC
>>> channel
>>>>>>>> for
>>>>>>>>>>>>>>>>> eclipse
>>>>>>>>>>>>>>>>>>>>>>> (Refer
>>>>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> comments on this issue
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>> ).
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query
>>>>> out
>>>>>>>> to
>>>>>>>>>>>> some
>>>>>>>>>>>>>>>>>>>> plugin
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still
>>>>> awaiting
>>>>>>>> any
>>>>>>>>>>>>>>>>>>>> response
>>>>>>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for
>>>>> the
>>>>>>>>>>>>>>>>> plugin. I
>>>>>>>>>>>>>>>>>>>>>>> believe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which
>>>>> case,
>>>>>>>> I
>>>>>>>>>>>> will
>>>>>>>>>>>>>>>>>>>> start
>>>>>>>>>>>>>>>>>>>>>>> work
>>>>>>>>>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
>>>>>>>> plugin
>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>> post
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> issues on
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>>>>>>>>>>>>>>>>>>>> if
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> you find
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> any problems.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on
>>> Monday at
>>>>>>>>>>>>>>>>> earliest.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>>>>>>>>>>>>>>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
>>>>>>>> doesn't
>>>>>>>>>>>>>>>>> seem to
>>>>>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> directly
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF
>>> and
>>>>>>>>>>>>>>>>> MANIFEST.MF
>>>>>>>>>>>>>>>>>>>> to be
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
>>>>>>>>>> directory
>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>>>> well.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
>>>>>>>>>> developers
>>>>>>>>>>>>>>>>>>>> until I'm
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> sure.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in
>>> the
>>>>>>>> tree
>>>>>>>>>>>> view
>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>> represent
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
>>>>>>>> helpful
>>>>>>>>>> if
>>>>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>>>>> could
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> point me
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>>>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> GSoC project.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
>>>>>>>>>> Chicchiricc� <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my
>>>>> project:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
>>>>>>>> parent
>>>>>>>>>> POM
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
>>>>>>>> binary
>>>>>>>>>>>> files
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain
>>> Eclipse
>>>>>>>>>> project
>>>>>>>>>>>>>>>>>>>> instead of
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> entire
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> workspace
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
>>>>>>>>>> repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from
>>> "eclipseplugin" to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user
>>> to
>>>>>>>> define
>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> url of
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> syncope
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath
>>> and
>>>>>>>>>>>>>>>>>>>> build.properties
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> files and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required
>>> or
>>>>>>>>>> problems
>>>>>>>>>>>>>>>>>>>> observed.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have opened
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with some indications.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>>>>>>>>>>>> Chicchiricc�
>>>>>>>>>>>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a
>>>>> Maven
>>>>>>>>>>>> project
>>>>>>>>>>>>>>>>>>>> having
>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>              <parent>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>   <artifactId>syncope</artifactId>
>>>   <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>              </parent>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your
>>>>> (and
>>>>>>>>>> Nuwan
>>>>>>>>>>>>>>>>>>>> Sameera's
>>>>>>>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
>>>>>>>> merged
>>>>>>>>>>>>>>>>> into the
>>>>>>>>>>>>>>>>>>>>>>> Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the
>>> source
>>>>>>>> tree
>>>>>>>>>>>>>>>>> (Maven
>>>>>>>>>>>>>>>>>>>> will
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> greatly
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on
>>> how to
>>>>>>>> (1)
>>>>>>>>>>>>>>>>> build
>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>> (2)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
>>>>>>>> Eclipse
>>>>>>>>>>>>>>>>>>>> versions)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client
>>> library to
>>>>>>>>>> access
>>>>>>>>>>>>>>>>> data
>>>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> REST
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me
>>> on
>>>>>>>> any
>>>>>>>>>>>>>>>>> required
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> changes or
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar
>>> Mishra
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my
>>> progress in
>>>>>>>> the
>>>>>>>>>>>>>>>>> project.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my
>>>>> project,
>>>>>>>>>> I've
>>>>>>>>>>>>>>>>>>>> built a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> java REST
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
>>>>>>>> templates
>>>>>>>>>>>> using
>>>>>>>>>>>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data
>>> from
>>>>> the
>>>>>>>>>> REST
>>>>>>>>>>>>>>>>> API
>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> have been
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> added
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of
>>> the
>>>>>>>> mail
>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>> report
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> templates
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>>>>>>>>>>>>>>>>>>>>> A
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded
>>>>>>>> here <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
>>>>>>>> should be
>>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending
>>> data
>>>>>>>> to
>>>>>>>>>> the
>>>>>>>>>>>>>>>>> rest
>>>>>>>>>>>>>>>>>>>> API.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be
>>>>> updating
>>>>>>>>>> you
>>>>>>>>>>>>>>>>> guys
>>>>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> progress
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one
>>>>> with
>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here <
>>>>> https://github.com/tmess567/SYNCOPE-809
>>>>>>>>> .
>>>>>>>>>>>>>>>>> Please
>>>>>>>>>>>>>>>>>>>> take
>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> look
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiricc�
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software
>>> Foundation:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC,
>>>>> Olingo
>>>>>>>>>> PMC,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer,
>>> PonyMail
>>>>>>>> PPMC
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I received an email from GSoC stating that during the final evaluations, I
will need to submit a link to the code written during the project. See
https://developers.google.com/open-source/gsoc/help/work-product

I believe that this should be the commits page
<https://github.com/tmess567/SYNCOPE-809/commits/master> of my project
repository <https://github.com/tmess567/SYNCOPE-809>. Will this be OK?

I am also working on updating and maintaining a set of tagged posts on my
blog which can be added to the submitted links and might also be helpful in
documentation.

Regards,

On Sat, Jul 16, 2016 at 11:04 AM Tushar Mishra <tu...@gmail.com> wrote:

> I've posted the problem and the proposed solution on this issue page
> <https://github.com/tmess567/SYNCOPE-809/issues/9>. Please have a look
> and advise on the changes required.
>
> On Fri, Jul 15, 2016 at 8:23 PM Tushar Mishra <tu...@gmail.com>
> wrote:
>
>> This is being caused because tycho eclipse-plugin causes dependency
>> skips. Running a second build is successful. I am working on the poms to
>> fix this.
>>
>>
>> On Fri, Jul 15, 2016 at 8:21 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org> wrote:
>>
>>> On 15/07/2016 16:20, Tushar Mishra wrote:
>>> > Yeah, I just saw. I just pushed the solution. Please try again.
>>>
>>> Sorry, it did not work, apparently.
>>>
>>> > On Fri, Jul 15, 2016 at 7:47 PM Francesco Chicchiriccò <
>>> ilgrosso@apache.org>
>>> > wrote:
>>> >
>>> >> Hi,
>>> >> I am currently unable to build the project; see
>>> >>
>>> >> https://github.com/tmess567/SYNCOPE-809/issues/20
>>> >>
>>> >> Regards.
>>> >>
>>> >> On 12/07/2016 11:37, Tushar Mishra wrote:
>>> >>> Update:
>>> >>> The editors were completed last weekend (see 0208a4
>>> >>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315
>>> >>> ),
>>> >>> now I am reading up on and writing tests for the plugin. I am
>>> currently
>>> >>> using the demo deployment available here, but once this project is
>>> added
>>> >> to
>>> >>> the syncope project, I will replace it with the server generated for
>>> >> tests.
>>> >>> I have also commented on an issue
>>> >>> <https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the
>>> >> MANIFEST
>>> >>> file which might need to be placed (even if it is empty) to allow
>>> tycho
>>> >> to
>>> >>> build the project as an eclipse plugin and not as a maven project. I
>>> >>> acknowledge that this is a feasible solution and will be trying to
>>> solve
>>> >>> this problem as well.
>>> >>>
>>> >>> Regards,
>>> >>>
>>> >>> On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com>
>>> >> wrote:
>>> >>>> The XML and XML Schema Editors are designed for their specific
>>> files and
>>> >>>> if I try to open html files using any of those, they throw fatal
>>> errors.
>>> >>>> Besides the separate design and source pages of such editors
>>> wouldn't be
>>> >>>> compatible with html text anyway since they are made to parse xml.
>>> >>>>
>>> >>>> I will try and work out the problems with the html editor by
>>> tomorrow.
>>> >> If
>>> >>>> it doesn't work by then, it would be better to go with a simple text
>>> >> editor
>>> >>>> for now and work on this as a feature once the basic plugin is done.
>>> >>>>
>>> >>>>
>>> >>>> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiriccò <
>>> >> ilgrosso@apache.org>
>>> >>>> wrote:
>>> >>>>
>>> >>>>> On 05/07/2016 12:09, Tushar Mishra wrote:
>>> >>>>>> Eclipse has the following options to open an html file
>>> >>>>>> Web Browser
>>> >>>>>> Text Editor
>>> >>>>>> System Editor (Opens up in Host OS)
>>> >>>>>> Schema HTML Viewer
>>> >>>>>>
>>> >>>>>> None of these provide any of the expected Editor features which
>>> is why
>>> >>>>> I am
>>> >>>>>> working on this. I can later add the web browser as a page in the
>>> >>>>> editor to
>>> >>>>>> provide extra functionality, but syntax highlighting and content
>>> >> assist
>>> >>>>>> should be included in my opinion.
>>> >>>>>>
>>> >>>>>> Eclipse does include an XML Schema Editor which can be used for
>>> the
>>> >> XSL
>>> >>>>>> formats and I plan on using it.
>>> >>>>> Not even a bare XML editor? You could use that in first place for
>>> both
>>> >>>>> HTML and XSLT.
>>> >>>>> Regards.
>>> >>>>>
>>> >>>>>> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiriccò <
>>> >>>>> ilgrosso@apache.org>
>>> >>>>>> wrote:
>>> >>>>>>
>>> >>>>>>> On 05/07/2016 11:53, Tushar Mishra wrote:
>>> >>>>>>>> Hello,
>>> >>>>>>>>
>>> >>>>>>>> I would like to update you on my progress. I am currently
>>> working on
>>> >>>>> the
>>> >>>>>>>> HTML Editor and syntax highlighting, content assist.
>>> >>>>>>>>
>>> >>>>>>>> Instead of building it from scratch, I am trying to use the
>>> classes
>>> >>>>>>>> available in [1]. But I am facing some problems in doing so. The
>>> >>>>>>> Preference
>>> >>>>>>>> store used in the amateras project is separate from my own when
>>> I
>>> >>>>> import
>>> >>>>>>> it
>>> >>>>>>>> as a jar. I am adopting multiple approaches in doing this and I
>>> have
>>> >>>>> also
>>> >>>>>>>> contacted the author of the repository to help out. This might
>>> take
>>> >>>>> some
>>> >>>>>>>> time.
>>> >>>>>>> Couldn't you just rely on the default HTML editor in Eclipse? I
>>> >>>>>>> understand that [1] is more advanced, but we can take it as an
>>> >>>>> improvement.
>>> >>>>>>> Regards.
>>> >>>>>>>
>>> >>>>>>>> [1] : https://github.com/takezoe/amateras-html-editor
>>> >>>>>>>>
>>> >>>>>>>> Regards,
>>> >>>>>>>>
>>> >>>>>>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <
>>> >>>>>>> ilgrosso@apache.org>
>>> >>>>>>>> wrote:
>>> >>>>>>>>
>>> >>>>>>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
>>> >>>>>>>>>> Update:
>>> >>>>>>>>>> 1. Added refresh button
>>> >>>>>>>>>> 2. Handled empty templates
>>> >>>>>>>>>>
>>> >>>>>>>>>> TODO:
>>> >>>>>>>>>> 1. Saving templates (using setFormat)
>>> >>>>>>>>>> 2. HTML and XSLT editors
>>> >>>>>>>>>> This will include Syntax Highlighting, Content Assist
>>> (including
>>> >>>>>>> syncope
>>> >>>>>>>>>> specific variables, as stated here
>>> >>>>>>>>>> <
>>> >>
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>>> >>>>>>>>>> )
>>> >>>>>>>>> Please open issues on your GitHub repos for all the tasks left
>>> on
>>> >> the
>>> >>>>>>>>> project (including the two above).
>>> >>>>>>>>> This will help tracking your work.
>>> >>>>>>>>>
>>> >>>>>>>>> Regards.
>>> >>>>>>>>>
>>> >>>>>>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>> >>>>>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>> >>>>>>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <
>>> >> tusharm567@gmail.com
>>> >>>>>>>>> wrote:
>>> >>>>>>>>>>> Update: Fixed Issue #5 <
>>> >>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>>> >>>>>>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
>>> >>>>> tusharm567@gmail.com>
>>> >>>>>>>>>>> wrote:
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>> I've commented on the issue #7
>>> >>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a
>>> fix
>>> >> for
>>> >>>>>>> the
>>> >>>>>>>>>>>> problem. The issue was being caused by the classpath file
>>> which
>>> >>>>> was
>>> >>>>>>>>>>>> pointing to the wrong jars. I believe this solves the
>>> problem,
>>> >> if
>>> >>>>> it
>>> >>>>>>>>>>>> doesn't please do comment and let me know.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> I was hoping to solve this before the midterm evaluations,
>>> so
>>> >> you
>>> >>>>>>> could
>>> >>>>>>>>>>>> see the plugin before that. If this still does not solve the
>>> >>>>> problem,
>>> >>>>>>>>>>>> please do tell me so I can send you a packaged plugin to
>>> run on
>>> >>>>> your
>>> >>>>>>>>>>>> eclipse installation.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Regards,
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
>>> >>>>> tusharm567@gmail.com>
>>> >>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>>> Thanks, I'll look into it.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
>>> >>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> Hi,
>>> >>>>>>>>>>>>>> sorry for late reaction.
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> I have opened some issues in the GitHub repo.
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>> Update:
>>> >>>>>>>>>>>>>>> Changed editor to show multiple pages for different
>>> formats
>>> >>>>>>>>>>>>>> (Screenshot
>>> >>>>>>>>>>>>>>> <http://imgur.com/kAI78ts>).
>>> >>>>>>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
>>> >>>>>>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> TODO:
>>> >>>>>>>>>>>>>>> Handle save and save as events.
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>> >>>>>>>>>>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>> >>>>>>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
>>> >>>>>>> tusharm567@gmail.com>
>>> >>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>> Update:
>>> >>>>>>>>>>>>>>>> 1. Editor classes added
>>> >>>>>>>>>>>>>>>> 2. Template is read and displayed in editor
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> TODO:
>>> >>>>>>>>>>>>>>>> 1. Allow template to be viewed in different formats
>>> (HTML,
>>> >>>>> text)
>>> >>>>>>>>>>>>>>>> 2. Allow changes made in template to be sent to
>>> deployment
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>> >>>>>>>>>>>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>> >>>>>>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
>>> >>>>>>>>>>>>>> ilgrosso@apache.org>
>>> >>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>>>>> Update: Added the following with this commit
>>> >>>>>>>>>>>>>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>> >>>>>>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>>> >>>>>>>>>>>>>>>>>> Right click on
>>> >>>>>>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
>>> >>>>>>>>>>>>>>>>>> 2. TreeObject allows removing key
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> Problems:
>>> >>>>>>>>>>>>>>>>>> 1. Users except admin do not return any template
>>> keys. Can
>>> >>>>> only
>>> >>>>>>>>> the
>>> >>>>>>>>>>>>>>>>>> admin
>>> >>>>>>>>>>>>>>>>>> have mail and report Templates or can any normal user
>>> have
>>> >>>>> them
>>> >>>>>>>>>>>>>> too?
>>> >>>>>>>>>>>>>>>>> The internal security model [1] requires that the
>>> >> requesting
>>> >>>>>>> user
>>> >>>>>>>>>>>>>> owns
>>> >>>>>>>>>>>>>>>>> different entitlements for being allowed to invoke
>>> >> different
>>> >>>>>>> REST
>>> >>>>>>>>>>>>>>>>> endpoints; for example, to list all mail templates
>>> >> available,
>>> >>>>>>> the
>>> >>>>>>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> You will need then to create a role R, assign the
>>> needed
>>> >>>>>>>>>>>>>> entitlements to
>>> >>>>>>>>>>>>>>>>> it and finally make the new user member of such role.
>>> >>>>>>>>>>>>>>>>> Only at this point such user will be allowed to invoke
>>> the
>>> >>>>>>>>>>>>>> corresponding
>>> >>>>>>>>>>>>>>>>> REST calls.
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> "admin" owns all defined entitlements.
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> 2. When trying to add an already existing key,
>>> >> SyncopeClient
>>> >>>>>>>>>>>>>> doesn't
>>> >>>>>>>>>>>>>>>>>> throw
>>> >>>>>>>>>>>>>>>>>> any error. I can simply check against the loaded key
>>> list,
>>> >>>>> but
>>> >>>>>>>>>>>>>>>>>> shouldn't
>>> >>>>>>>>>>>>>>>>>> that be done by SyncopeClient itself?
>>> >>>>>>>>>>>>>>>>> The Syncope client library does not throw any exception
>>> >>>>> because
>>> >>>>>>>>> the
>>> >>>>>>>>>>>>>>>>> Syncope core does not throw any exception in case one
>>> if
>>> >>>>>>>>> attempting
>>> >>>>>>>>>>>>>> to
>>> >>>>>>>>>>>>>>>>> create a mail template with an existing key; if you
>>> believe
>>> >>>>> that
>>> >>>>>>>>> an
>>> >>>>>>>>>>>>>>>>> exception should be raised, please fill an improvement
>>> on
>>> >>>>> JIRA
>>> >>>>>>>>>>>>>> (with fix
>>> >>>>>>>>>>>>>>>>> version 2.0.0 and component "core").
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> [1]
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>
>>> >>
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>> >>>>>>>>>>>>>>>>> [2]
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>
>>> >>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>> >>>>>>>>>>>>>>>>> [3]
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>
>>> >>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>> >>>>>>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>>> >>>>>>>>> tusharm567@gmail.com
>>> >>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>> Update: Added the following on this commit
>>> >>>>>>>>>>>>>>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>> >>>>>>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>>> >>>>>>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist
>>> >> through
>>> >>>>>>>>> eclipse
>>> >>>>>>>>>>>>>>>>>>> restart)
>>> >>>>>>>>>>>>>>>>>>>               a) Deployment url through eclipse
>>> >> installation
>>> >>>>>>>>>>>>>>>>>>>               b) User credentials through workspace
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>> Please advise on any further features required in the
>>> >>>>>>>>> TreeViewer.
>>> >>>>>>>>>>>>>>>>>>> Regards,
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco
>>> Chicchiriccò <
>>> >>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now
>>> be
>>> >>>>> built
>>> >>>>>>>>> with
>>> >>>>>>>>>>>>>>>>> maven.
>>> >>>>>>>>>>>>>>>>>>>>> Please check it out and inform me if there are any
>>> >>>>> problems
>>> >>>>>>> or
>>> >>>>>>>>>>>>>>>>> changes
>>> >>>>>>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
>>> >>>>> tomorrow.
>>> >>>>>>>>>>>>>>>>>>>> I have verified that now the Maven build works
>>> fine, and
>>> >>>>>>>>>>>>>> commented
>>> >>>>>>>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>>>>>>> relevant issues on GitHub.
>>> >>>>>>>>>>>>>>>>>>>> Nice job!
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> Now let's concentrate on adding features.
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco
>>> Chicchiriccò
>>> >> <
>>> >>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>> >>>>>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci
>>> >> here
>>> >>>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>> >>>>>>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
>>> >>>>> following
>>> >>>>>>>>>>>>>> error.
>>> >>>>>>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>> >>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>> >>>>>>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
>>> >>>>> during
>>> >>>>>>>>>>>>>>>>> checkstyle
>>> >>>>>>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
>>> >>>>> location:
>>> >>>>>
>>> >>
>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>> >>>>>>>>>>>>>>>>>>>>>>> Could not find resource
>>> '/home/nitrous/syncope-ide/
>>> >>>>>>>>>>>>>>>>>>>>>>>
>>> >> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>> >>>>>>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>>> >>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>> <properties>
>>> >>>>>>>>>>>>>>>>>>>>>>
>>>  <checkstyle.skip>true</checkstyle.skip>
>>> >>>>>>>>>>>>>>>>>>>>>>           </properties>
>>> >>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time
>>> you
>>> >> will
>>> >>>>>>>>> place
>>> >>>>>>>>>>>>>> your
>>> >>>>>>>>>>>>>>>>>>>> code
>>> >>>>>>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will
>>> need
>>> >> to
>>> >>>>>>> make
>>> >>>>>>>>>>>>>> some
>>> >>>>>>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
>>> >>>>>>> property.
>>> >>>>>>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>>> >>>>>>>>>>>>>>>>>>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>> >>>>>>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho
>>> better,
>>> >>>>> but
>>> >>>>>>>>> since
>>> >>>>>>>>>>>>>>>>> I've
>>> >>>>>>>>>>>>>>>>>>>> never
>>> >>>>>>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it
>>> is
>>> >>>>> taking
>>> >>>>>>>>> some
>>> >>>>>>>>>>>>>>>>> time.
>>> >>>>>>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted
>>> >> with
>>> >>>>>>>>> Apache
>>> >>>>>>>>>>>>>>>>> Maven:
>>> >>>>>>>>>>>>>>>>>>>> it
>>> >>>>>>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope
>>> (and
>>> >>>>>>> thousands
>>> >>>>>>>>>>>>>> more
>>> >>>>>>>>>>>>>>>>> Open
>>> >>>>>>>>>>>>>>>>>>>>>> Source projects out there).
>>> >>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco
>>> >> Chicchiriccò
>>> >>>>> <
>>> >>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>> >>>>>>>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>> >>>>>>>>>>>>>>>>>>>>>>>> I have commented
>>> >>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>
>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> >>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>> and also opened
>>> >>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>
>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>> >>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò
>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC
>>> channel
>>> >>>>> for
>>> >>>>>>>>>>>>>> eclipse
>>> >>>>>>>>>>>>>>>>>>>> (Refer
>>> >>>>>>>>>>>>>>>>>>>>>> to
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> comments on this issue
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> >>>>>> ).
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the
>>> query
>>> >> out
>>> >>>>> to
>>> >>>>>>>>> some
>>> >>>>>>>>>>>>>>>>> plugin
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still
>>> >> awaiting
>>> >>>>> any
>>> >>>>>>>>>>>>>>>>> response
>>> >>>>>>>>>>>>>>>>>>>> from
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> them.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests
>>> for
>>> >> the
>>> >>>>>>>>>>>>>> plugin. I
>>> >>>>>>>>>>>>>>>>>>>> believe
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> this
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which
>>> >> case,
>>> >>>>> I
>>> >>>>>>>>> will
>>> >>>>>>>>>>>>>>>>> start
>>> >>>>>>>>>>>>>>>>>>>> work
>>> >>>>>>>>>>>>>>>>>>>>>> on
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out
>>> the
>>> >>>>> plugin
>>> >>>>>>>>> and
>>> >>>>>>>>>>>>>> post
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> issues on
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
>>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>>> >>>>>>>>>>>>>>>>> if
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> you find
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> any problems.
>>> >>>>>>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on
>>> Monday at
>>> >>>>>>>>>>>>>> earliest.
>>> >>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra
>>> <
>>> >>>>>>>>>>>>>>>>>>>> tusharm567@gmail.com>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Update:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> >> https://github.com/tmess567/SYNCOPE-809/issues/3>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
>>> >>>>> doesn't
>>> >>>>>>>>>>>>>> seem to
>>> >>>>>>>>>>>>>>>>> be
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> directly
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF
>>> and
>>> >>>>>>>>>>>>>> MANIFEST.MF
>>> >>>>>>>>>>>>>>>>> to be
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> in the
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
>>> >>>>>>> directory
>>> >>>>>>>>> as
>>> >>>>>>>>>>>>>>>>> well.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
>>> >>>>>>> developers
>>> >>>>>>>>>>>>>>>>> until I'm
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> sure.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in
>>> the
>>> >>>>> tree
>>> >>>>>>>>> view
>>> >>>>>>>>>>>>>> to
>>> >>>>>>>>>>>>>>>>>>>>>> represent
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
>>> >>>>> helpful
>>> >>>>>>> if
>>> >>>>>>>>>>>>>> you
>>> >>>>>>>>>>>>>>>>> could
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> point me
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> >>
>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> you
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> >>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>> >>>>>>>>>>>>>>>>>>>> for
>>> >>>>>>>>>>>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> GSoC project.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
>>> >>>>>>> Chicchiriccò <
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my
>>> >> project:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
>>> >>>>> parent
>>> >>>>>>> POM
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
>>> >>>>> binary
>>> >>>>>>>>> files
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain
>>> Eclipse
>>> >>>>>>> project
>>> >>>>>>>>>>>>>>>>> instead of
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> entire
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> workspace
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
>>> >>>>>>> repository
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from
>>> "eclipseplugin" to
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user
>>> to
>>> >>>>> define
>>> >>>>>>>>> the
>>> >>>>>>>>>>>>>>>>> url of
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> syncope
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password
>>> combination
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath
>>> and
>>> >>>>>>>>>>>>>>>>> build.properties
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> files and
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required
>>> or
>>> >>>>>>> problems
>>> >>>>>>>>>>>>>>>>> observed.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> I have opened
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >> https://github.com/tmess567/SYNCOPE-809/issues/1
>>> >> https://github.com/tmess567/SYNCOPE-809/issues/2
>>> >> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> with some indications.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>>> >>>>>>>>> Chicchiriccò
>>> >>>>>>>>>>>>>> <
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a
>>> >> Maven
>>> >>>>>>>>> project
>>> >>>>>>>>>>>>>>>>> having
>>> >>>>>>>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             <parent>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>  <artifactId>syncope</artifactId>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>  <version>2.0.0-SNAPSHOT</version>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             </parent>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your
>>> >> (and
>>> >>>>>>> Nuwan
>>> >>>>>>>>>>>>>>>>> Sameera's
>>> >>>>>>>>>>>>>>>>>>>>>> for
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to
>>> be
>>> >>>>> merged
>>> >>>>>>>>>>>>>> into the
>>> >>>>>>>>>>>>>>>>>>>> Apache
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the
>>> source
>>> >>>>> tree
>>> >>>>>>>>>>>>>> (Maven
>>> >>>>>>>>>>>>>>>>> will
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> greatly
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>> >>>>>
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on
>>> how to
>>> >>>>> (1)
>>> >>>>>>>>>>>>>> build
>>> >>>>>>>>>>>>>>>>> and
>>> >>>>>>>>>>>>>>>>>>>> (2)
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> use
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
>>> >>>>> Eclipse
>>> >>>>>>>>>>>>>>>>> versions)
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809>
>>> to
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client
>>> library to
>>> >>>>>>> access
>>> >>>>>>>>>>>>>> data
>>> >>>>>>>>>>>>>>>>> from
>>> >>>>>>>>>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> REST
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise
>>> me on
>>> >>>>> any
>>> >>>>>>>>>>>>>> required
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> changes or
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar
>>> Mishra
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my
>>> progress in
>>> >>>>> the
>>> >>>>>>>>>>>>>> project.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my
>>> >> project,
>>> >>>>>>> I've
>>> >>>>>>>>>>>>>>>>> built a
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> java REST
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
>>> >>>>> templates
>>> >>>>>>>>> using
>>> >>>>>>>>>>>>>>>>>>>> Apache's
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> HTTP
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data
>>> from
>>> >> the
>>> >>>>>>> REST
>>> >>>>>>>>>>>>>> API
>>> >>>>>>>>>>>>>>>>> and
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> have been
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> added
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys
>>> of the
>>> >>>>> mail
>>> >>>>>>>>> and
>>> >>>>>>>>>>>>>>>>> report
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> templates
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in a
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> >>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>> >>>>>>>>>>>>>>>>>>>> A
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been
>>> uploaded
>>> >>>>> here <
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
>>> >>>>> should be
>>> >>>>>>>>>>>>>> using
>>> >>>>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending
>>> data
>>> >>>>> to
>>> >>>>>>> the
>>> >>>>>>>>>>>>>> rest
>>> >>>>>>>>>>>>>>>>> API.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> I am
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be
>>> >> updating
>>> >>>>>>> you
>>> >>>>>>>>>>>>>> guys
>>> >>>>>>>>>>>>>>>>> on
>>> >>>>>>>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> progress
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one
>>> >> with
>>> >>>>> the
>>> >>>>>>>>>>>>>>>>> Apache's
>>> >>>>>>>>>>>>>>>>>>>> HTTP
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here <
>>> >> https://github.com/tmess567/SYNCOPE-809
>>> >>>>>> .
>>> >>>>>>>>>>>>>> Please
>>> >>>>>>>>>>>>>>>>> take
>>> >>>>>>>>>>>>>>>>>>>> a
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> look
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> and
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software
>>> Foundation:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC,
>>> >> Olingo
>>> >>>>>>> PMC,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer,
>>> PonyMail
>>> >>>>> PPMC
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>>>
>>> --
>>> Francesco Chicchiriccò
>>>
>>> Tirasa - Open Source Excellence
>>> http://www.tirasa.net/
>>>
>>> Involved at The Apache Software Foundation:
>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>>> http://home.apache.org/~ilgrosso/
>>>
>>> --
>> Tushar Mishra
>> University of Petroleum and Energy Studies
>> Computer Science with specialization in ​Open Source Software and Open
>> Standards
>> Semester VII
>> +91-9675785996
>>
> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VII
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I've posted the problem and the proposed solution on this issue page
<https://github.com/tmess567/SYNCOPE-809/issues/9>. Please have a look and
advise on the changes required.

On Fri, Jul 15, 2016 at 8:23 PM Tushar Mishra <tu...@gmail.com> wrote:

> This is being caused because tycho eclipse-plugin causes dependency skips.
> Running a second build is successful. I am working on the poms to fix this.
>
>
> On Fri, Jul 15, 2016 at 8:21 PM Francesco Chicchiriccò <
> ilgrosso@apache.org> wrote:
>
>> On 15/07/2016 16:20, Tushar Mishra wrote:
>> > Yeah, I just saw. I just pushed the solution. Please try again.
>>
>> Sorry, it did not work, apparently.
>>
>> > On Fri, Jul 15, 2016 at 7:47 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org>
>> > wrote:
>> >
>> >> Hi,
>> >> I am currently unable to build the project; see
>> >>
>> >> https://github.com/tmess567/SYNCOPE-809/issues/20
>> >>
>> >> Regards.
>> >>
>> >> On 12/07/2016 11:37, Tushar Mishra wrote:
>> >>> Update:
>> >>> The editors were completed last weekend (see 0208a4
>> >>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315
>> >>> ),
>> >>> now I am reading up on and writing tests for the plugin. I am
>> currently
>> >>> using the demo deployment available here, but once this project is
>> added
>> >> to
>> >>> the syncope project, I will replace it with the server generated for
>> >> tests.
>> >>> I have also commented on an issue
>> >>> <https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the
>> >> MANIFEST
>> >>> file which might need to be placed (even if it is empty) to allow
>> tycho
>> >> to
>> >>> build the project as an eclipse plugin and not as a maven project. I
>> >>> acknowledge that this is a feasible solution and will be trying to
>> solve
>> >>> this problem as well.
>> >>>
>> >>> Regards,
>> >>>
>> >>> On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com>
>> >> wrote:
>> >>>> The XML and XML Schema Editors are designed for their specific files
>> and
>> >>>> if I try to open html files using any of those, they throw fatal
>> errors.
>> >>>> Besides the separate design and source pages of such editors
>> wouldn't be
>> >>>> compatible with html text anyway since they are made to parse xml.
>> >>>>
>> >>>> I will try and work out the problems with the html editor by
>> tomorrow.
>> >> If
>> >>>> it doesn't work by then, it would be better to go with a simple text
>> >> editor
>> >>>> for now and work on this as a feature once the basic plugin is done.
>> >>>>
>> >>>>
>> >>>> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiriccò <
>> >> ilgrosso@apache.org>
>> >>>> wrote:
>> >>>>
>> >>>>> On 05/07/2016 12:09, Tushar Mishra wrote:
>> >>>>>> Eclipse has the following options to open an html file
>> >>>>>> Web Browser
>> >>>>>> Text Editor
>> >>>>>> System Editor (Opens up in Host OS)
>> >>>>>> Schema HTML Viewer
>> >>>>>>
>> >>>>>> None of these provide any of the expected Editor features which is
>> why
>> >>>>> I am
>> >>>>>> working on this. I can later add the web browser as a page in the
>> >>>>> editor to
>> >>>>>> provide extra functionality, but syntax highlighting and content
>> >> assist
>> >>>>>> should be included in my opinion.
>> >>>>>>
>> >>>>>> Eclipse does include an XML Schema Editor which can be used for the
>> >> XSL
>> >>>>>> formats and I plan on using it.
>> >>>>> Not even a bare XML editor? You could use that in first place for
>> both
>> >>>>> HTML and XSLT.
>> >>>>> Regards.
>> >>>>>
>> >>>>>> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiriccò <
>> >>>>> ilgrosso@apache.org>
>> >>>>>> wrote:
>> >>>>>>
>> >>>>>>> On 05/07/2016 11:53, Tushar Mishra wrote:
>> >>>>>>>> Hello,
>> >>>>>>>>
>> >>>>>>>> I would like to update you on my progress. I am currently
>> working on
>> >>>>> the
>> >>>>>>>> HTML Editor and syntax highlighting, content assist.
>> >>>>>>>>
>> >>>>>>>> Instead of building it from scratch, I am trying to use the
>> classes
>> >>>>>>>> available in [1]. But I am facing some problems in doing so. The
>> >>>>>>> Preference
>> >>>>>>>> store used in the amateras project is separate from my own when I
>> >>>>> import
>> >>>>>>> it
>> >>>>>>>> as a jar. I am adopting multiple approaches in doing this and I
>> have
>> >>>>> also
>> >>>>>>>> contacted the author of the repository to help out. This might
>> take
>> >>>>> some
>> >>>>>>>> time.
>> >>>>>>> Couldn't you just rely on the default HTML editor in Eclipse? I
>> >>>>>>> understand that [1] is more advanced, but we can take it as an
>> >>>>> improvement.
>> >>>>>>> Regards.
>> >>>>>>>
>> >>>>>>>> [1] : https://github.com/takezoe/amateras-html-editor
>> >>>>>>>>
>> >>>>>>>> Regards,
>> >>>>>>>>
>> >>>>>>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <
>> >>>>>>> ilgrosso@apache.org>
>> >>>>>>>> wrote:
>> >>>>>>>>
>> >>>>>>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
>> >>>>>>>>>> Update:
>> >>>>>>>>>> 1. Added refresh button
>> >>>>>>>>>> 2. Handled empty templates
>> >>>>>>>>>>
>> >>>>>>>>>> TODO:
>> >>>>>>>>>> 1. Saving templates (using setFormat)
>> >>>>>>>>>> 2. HTML and XSLT editors
>> >>>>>>>>>> This will include Syntax Highlighting, Content Assist
>> (including
>> >>>>>>> syncope
>> >>>>>>>>>> specific variables, as stated here
>> >>>>>>>>>> <
>> >>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>> >>>>>>>>>> )
>> >>>>>>>>> Please open issues on your GitHub repos for all the tasks left
>> on
>> >> the
>> >>>>>>>>> project (including the two above).
>> >>>>>>>>> This will help tracking your work.
>> >>>>>>>>>
>> >>>>>>>>> Regards.
>> >>>>>>>>>
>> >>>>>>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>> >>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>> >>>>>>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <
>> >> tusharm567@gmail.com
>> >>>>>>>>> wrote:
>> >>>>>>>>>>> Update: Fixed Issue #5 <
>> >>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>> >>>>>>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>> >>>>>>>>>>>
>> >>>>>>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
>> >>>>> tusharm567@gmail.com>
>> >>>>>>>>>>> wrote:
>> >>>>>>>>>>>
>> >>>>>>>>>>>> I've commented on the issue #7
>> >>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a
>> fix
>> >> for
>> >>>>>>> the
>> >>>>>>>>>>>> problem. The issue was being caused by the classpath file
>> which
>> >>>>> was
>> >>>>>>>>>>>> pointing to the wrong jars. I believe this solves the
>> problem,
>> >> if
>> >>>>> it
>> >>>>>>>>>>>> doesn't please do comment and let me know.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> I was hoping to solve this before the midterm evaluations, so
>> >> you
>> >>>>>>> could
>> >>>>>>>>>>>> see the plugin before that. If this still does not solve the
>> >>>>> problem,
>> >>>>>>>>>>>> please do tell me so I can send you a packaged plugin to run
>> on
>> >>>>> your
>> >>>>>>>>>>>> eclipse installation.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
>> >>>>> tusharm567@gmail.com>
>> >>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>> Thanks, I'll look into it.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
>> >>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>> sorry for late reaction.
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> I have opened some issues in the GitHub repo.
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>> Update:
>> >>>>>>>>>>>>>>> Changed editor to show multiple pages for different
>> formats
>> >>>>>>>>>>>>>> (Screenshot
>> >>>>>>>>>>>>>>> <http://imgur.com/kAI78ts>).
>> >>>>>>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
>> >>>>>>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> TODO:
>> >>>>>>>>>>>>>>> Handle save and save as events.
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>> >>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>> >>>>>>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
>> >>>>>>> tusharm567@gmail.com>
>> >>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>> Update:
>> >>>>>>>>>>>>>>>> 1. Editor classes added
>> >>>>>>>>>>>>>>>> 2. Template is read and displayed in editor
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> TODO:
>> >>>>>>>>>>>>>>>> 1. Allow template to be viewed in different formats
>> (HTML,
>> >>>>> text)
>> >>>>>>>>>>>>>>>> 2. Allow changes made in template to be sent to
>> deployment
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>> >>>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>> >>>>>>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
>> >>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>> Update: Added the following with this commit
>> >>>>>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>> >>>>>>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>> >>>>>>>>>>>>>>>>>> Right click on
>> >>>>>>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
>> >>>>>>>>>>>>>>>>>> 2. TreeObject allows removing key
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Problems:
>> >>>>>>>>>>>>>>>>>> 1. Users except admin do not return any template keys.
>> Can
>> >>>>> only
>> >>>>>>>>> the
>> >>>>>>>>>>>>>>>>>> admin
>> >>>>>>>>>>>>>>>>>> have mail and report Templates or can any normal user
>> have
>> >>>>> them
>> >>>>>>>>>>>>>> too?
>> >>>>>>>>>>>>>>>>> The internal security model [1] requires that the
>> >> requesting
>> >>>>>>> user
>> >>>>>>>>>>>>>> owns
>> >>>>>>>>>>>>>>>>> different entitlements for being allowed to invoke
>> >> different
>> >>>>>>> REST
>> >>>>>>>>>>>>>>>>> endpoints; for example, to list all mail templates
>> >> available,
>> >>>>>>> the
>> >>>>>>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> You will need then to create a role R, assign the needed
>> >>>>>>>>>>>>>> entitlements to
>> >>>>>>>>>>>>>>>>> it and finally make the new user member of such role.
>> >>>>>>>>>>>>>>>>> Only at this point such user will be allowed to invoke
>> the
>> >>>>>>>>>>>>>> corresponding
>> >>>>>>>>>>>>>>>>> REST calls.
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> "admin" owns all defined entitlements.
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> 2. When trying to add an already existing key,
>> >> SyncopeClient
>> >>>>>>>>>>>>>> doesn't
>> >>>>>>>>>>>>>>>>>> throw
>> >>>>>>>>>>>>>>>>>> any error. I can simply check against the loaded key
>> list,
>> >>>>> but
>> >>>>>>>>>>>>>>>>>> shouldn't
>> >>>>>>>>>>>>>>>>>> that be done by SyncopeClient itself?
>> >>>>>>>>>>>>>>>>> The Syncope client library does not throw any exception
>> >>>>> because
>> >>>>>>>>> the
>> >>>>>>>>>>>>>>>>> Syncope core does not throw any exception in case one if
>> >>>>>>>>> attempting
>> >>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>> create a mail template with an existing key; if you
>> believe
>> >>>>> that
>> >>>>>>>>> an
>> >>>>>>>>>>>>>>>>> exception should be raised, please fill an improvement
>> on
>> >>>>> JIRA
>> >>>>>>>>>>>>>> (with fix
>> >>>>>>>>>>>>>>>>> version 2.0.0 and component "core").
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> [1]
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>
>> >>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>> >>>>>>>>>>>>>>>>> [2]
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>
>> >>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>> >>>>>>>>>>>>>>>>> [3]
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>
>> >>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>> >>>>>>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>> >>>>>>>>> tusharm567@gmail.com
>> >>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> Update: Added the following on this commit
>> >>>>>>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>> >>>>>>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>> >>>>>>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist
>> >> through
>> >>>>>>>>> eclipse
>> >>>>>>>>>>>>>>>>>>> restart)
>> >>>>>>>>>>>>>>>>>>>               a) Deployment url through eclipse
>> >> installation
>> >>>>>>>>>>>>>>>>>>>               b) User credentials through workspace
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> Please advise on any further features required in the
>> >>>>>>>>> TreeViewer.
>> >>>>>>>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco
>> Chicchiriccò <
>> >>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now
>> be
>> >>>>> built
>> >>>>>>>>> with
>> >>>>>>>>>>>>>>>>> maven.
>> >>>>>>>>>>>>>>>>>>>>> Please check it out and inform me if there are any
>> >>>>> problems
>> >>>>>>> or
>> >>>>>>>>>>>>>>>>> changes
>> >>>>>>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
>> >>>>> tomorrow.
>> >>>>>>>>>>>>>>>>>>>> I have verified that now the Maven build works fine,
>> and
>> >>>>>>>>>>>>>> commented
>> >>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>> relevant issues on GitHub.
>> >>>>>>>>>>>>>>>>>>>> Nice job!
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> Now let's concentrate on adding features.
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco
>> Chicchiriccò
>> >> <
>> >>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci
>> >> here
>> >>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4
>> >.
>> >>>>>>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
>> >>>>> following
>> >>>>>>>>>>>>>> error.
>> >>>>>>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>> >>>>>>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
>> >>>>> during
>> >>>>>>>>>>>>>>>>> checkstyle
>> >>>>>>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
>> >>>>> location:
>> >>>>>
>> >>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>> >>>>>>>>>>>>>>>>>>>>>>> Could not find resource
>> '/home/nitrous/syncope-ide/
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >> src/main/resources/org/apache/syncope/checkstyle.xml'.
>> >>>>>>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> <properties>
>> >>>>>>>>>>>>>>>>>>>>>>             <checkstyle.skip>true</checkstyle.skip>
>> >>>>>>>>>>>>>>>>>>>>>>           </properties>
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you
>> >> will
>> >>>>>>>>> place
>> >>>>>>>>>>>>>> your
>> >>>>>>>>>>>>>>>>>>>> code
>> >>>>>>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will
>> need
>> >> to
>> >>>>>>> make
>> >>>>>>>>>>>>>> some
>> >>>>>>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
>> >>>>>>> property.
>> >>>>>>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>> >>>>>>>>>>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>> >>>>>>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho
>> better,
>> >>>>> but
>> >>>>>>>>> since
>> >>>>>>>>>>>>>>>>> I've
>> >>>>>>>>>>>>>>>>>>>> never
>> >>>>>>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
>> >>>>> taking
>> >>>>>>>>> some
>> >>>>>>>>>>>>>>>>> time.
>> >>>>>>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted
>> >> with
>> >>>>>>>>> Apache
>> >>>>>>>>>>>>>>>>> Maven:
>> >>>>>>>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
>> >>>>>>> thousands
>> >>>>>>>>>>>>>> more
>> >>>>>>>>>>>>>>>>> Open
>> >>>>>>>>>>>>>>>>>>>>>> Source projects out there).
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco
>> >> Chicchiriccò
>> >>>>> <
>> >>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>>>>>>>>>>>> I have commented
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> and also opened
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò
>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC
>> channel
>> >>>>> for
>> >>>>>>>>>>>>>> eclipse
>> >>>>>>>>>>>>>>>>>>>> (Refer
>> >>>>>>>>>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>>>>>>> comments on this issue
>> >>>>>>>>>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>> ).
>> >>>>>>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query
>> >> out
>> >>>>> to
>> >>>>>>>>> some
>> >>>>>>>>>>>>>>>>> plugin
>> >>>>>>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still
>> >> awaiting
>> >>>>> any
>> >>>>>>>>>>>>>>>>> response
>> >>>>>>>>>>>>>>>>>>>> from
>> >>>>>>>>>>>>>>>>>>>>>>>>>> them.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for
>> >> the
>> >>>>>>>>>>>>>> plugin. I
>> >>>>>>>>>>>>>>>>>>>> believe
>> >>>>>>>>>>>>>>>>>>>>>>>>>> this
>> >>>>>>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which
>> >> case,
>> >>>>> I
>> >>>>>>>>> will
>> >>>>>>>>>>>>>>>>> start
>> >>>>>>>>>>>>>>>>>>>> work
>> >>>>>>>>>>>>>>>>>>>>>> on
>> >>>>>>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
>> >>>>> plugin
>> >>>>>>>>> and
>> >>>>>>>>>>>>>> post
>> >>>>>>>>>>>>>>>>>>>>>>>>>> issues on
>> >>>>>>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>> >>>>>>>>>>>>>>>>> if
>> >>>>>>>>>>>>>>>>>>>>>>>>>> you find
>> >>>>>>>>>>>>>>>>>>>>>>>>>> any problems.
>> >>>>>>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on
>> Monday at
>> >>>>>>>>>>>>>> earliest.
>> >>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>> >>>>>>>>>>>>>>>>>>>> tusharm567@gmail.com>
>> >>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Update:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >> https://github.com/tmess567/SYNCOPE-809/issues/3>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
>> >>>>> doesn't
>> >>>>>>>>>>>>>> seem to
>> >>>>>>>>>>>>>>>>> be
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> directly
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF
>> and
>> >>>>>>>>>>>>>> MANIFEST.MF
>> >>>>>>>>>>>>>>>>> to be
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> in the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
>> >>>>>>> directory
>> >>>>>>>>> as
>> >>>>>>>>>>>>>>>>> well.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
>> >>>>>>> developers
>> >>>>>>>>>>>>>>>>> until I'm
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> sure.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in
>> the
>> >>>>> tree
>> >>>>>>>>> view
>> >>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>>> represent
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
>> >>>>> helpful
>> >>>>>>> if
>> >>>>>>>>>>>>>> you
>> >>>>>>>>>>>>>>>>> could
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> point me
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >>
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> you
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>> >>>>>>>>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> GSoC project.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
>> >>>>>>> Chicchiriccò <
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my
>> >> project:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
>> >>>>> parent
>> >>>>>>> POM
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
>> >>>>> binary
>> >>>>>>>>> files
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain
>> Eclipse
>> >>>>>>> project
>> >>>>>>>>>>>>>>>>> instead of
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> entire
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> workspace
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
>> >>>>>>> repository
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from
>> "eclipseplugin" to
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user
>> to
>> >>>>> define
>> >>>>>>>>> the
>> >>>>>>>>>>>>>>>>> url of
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> syncope
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath
>> and
>> >>>>>>>>>>>>>>>>> build.properties
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> files and
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required
>> or
>> >>>>>>> problems
>> >>>>>>>>>>>>>>>>> observed.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> I have opened
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >> https://github.com/tmess567/SYNCOPE-809/issues/1
>> >> https://github.com/tmess567/SYNCOPE-809/issues/2
>> >> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> with some indications.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>> >>>>>>>>> Chicchiriccò
>> >>>>>>>>>>>>>> <
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a
>> >> Maven
>> >>>>>>>>> project
>> >>>>>>>>>>>>>>>>> having
>> >>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             <parent>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>  <artifactId>syncope</artifactId>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>  <version>2.0.0-SNAPSHOT</version>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             </parent>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your
>> >> (and
>> >>>>>>> Nuwan
>> >>>>>>>>>>>>>>>>> Sameera's
>> >>>>>>>>>>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
>> >>>>> merged
>> >>>>>>>>>>>>>> into the
>> >>>>>>>>>>>>>>>>>>>> Apache
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the
>> source
>> >>>>> tree
>> >>>>>>>>>>>>>> (Maven
>> >>>>>>>>>>>>>>>>> will
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> greatly
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> >>>>>
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on
>> how to
>> >>>>> (1)
>> >>>>>>>>>>>>>> build
>> >>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>> (2)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> use
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
>> >>>>> Eclipse
>> >>>>>>>>>>>>>>>>> versions)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client
>> library to
>> >>>>>>> access
>> >>>>>>>>>>>>>> data
>> >>>>>>>>>>>>>>>>> from
>> >>>>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> REST
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me
>> on
>> >>>>> any
>> >>>>>>>>>>>>>> required
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> changes or
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar
>> Mishra
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my
>> progress in
>> >>>>> the
>> >>>>>>>>>>>>>> project.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my
>> >> project,
>> >>>>>>> I've
>> >>>>>>>>>>>>>>>>> built a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> java REST
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
>> >>>>> templates
>> >>>>>>>>> using
>> >>>>>>>>>>>>>>>>>>>> Apache's
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> HTTP
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data
>> from
>> >> the
>> >>>>>>> REST
>> >>>>>>>>>>>>>> API
>> >>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> have been
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> added
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of
>> the
>> >>>>> mail
>> >>>>>>>>> and
>> >>>>>>>>>>>>>>>>> report
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> templates
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>> >>>>>>>>>>>>>>>>>>>> A
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded
>> >>>>> here <
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
>> >>>>> should be
>> >>>>>>>>>>>>>> using
>> >>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending
>> data
>> >>>>> to
>> >>>>>>> the
>> >>>>>>>>>>>>>> rest
>> >>>>>>>>>>>>>>>>> API.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> I am
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be
>> >> updating
>> >>>>>>> you
>> >>>>>>>>>>>>>> guys
>> >>>>>>>>>>>>>>>>> on
>> >>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> progress
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one
>> >> with
>> >>>>> the
>> >>>>>>>>>>>>>>>>> Apache's
>> >>>>>>>>>>>>>>>>>>>> HTTP
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here <
>> >> https://github.com/tmess567/SYNCOPE-809
>> >>>>>> .
>> >>>>>>>>>>>>>> Please
>> >>>>>>>>>>>>>>>>> take
>> >>>>>>>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> look
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software
>> Foundation:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC,
>> >> Olingo
>> >>>>>>> PMC,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer,
>> PonyMail
>> >>>>> PPMC
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>> http://home.apache.org/~ilgrosso/
>>
>> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VII
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
This is being caused because tycho eclipse-plugin causes dependency skips.
Running a second build is successful. I am working on the poms to fix this.

On Fri, Jul 15, 2016 at 8:21 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 15/07/2016 16:20, Tushar Mishra wrote:
> > Yeah, I just saw. I just pushed the solution. Please try again.
>
> Sorry, it did not work, apparently.
>
> > On Fri, Jul 15, 2016 at 7:47 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> Hi,
> >> I am currently unable to build the project; see
> >>
> >> https://github.com/tmess567/SYNCOPE-809/issues/20
> >>
> >> Regards.
> >>
> >> On 12/07/2016 11:37, Tushar Mishra wrote:
> >>> Update:
> >>> The editors were completed last weekend (see 0208a4
> >>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315
> >>> ),
> >>> now I am reading up on and writing tests for the plugin. I am currently
> >>> using the demo deployment available here, but once this project is
> added
> >> to
> >>> the syncope project, I will replace it with the server generated for
> >> tests.
> >>> I have also commented on an issue
> >>> <https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the
> >> MANIFEST
> >>> file which might need to be placed (even if it is empty) to allow tycho
> >> to
> >>> build the project as an eclipse plugin and not as a maven project. I
> >>> acknowledge that this is a feasible solution and will be trying to
> solve
> >>> this problem as well.
> >>>
> >>> Regards,
> >>>
> >>> On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com>
> >> wrote:
> >>>> The XML and XML Schema Editors are designed for their specific files
> and
> >>>> if I try to open html files using any of those, they throw fatal
> errors.
> >>>> Besides the separate design and source pages of such editors wouldn't
> be
> >>>> compatible with html text anyway since they are made to parse xml.
> >>>>
> >>>> I will try and work out the problems with the html editor by tomorrow.
> >> If
> >>>> it doesn't work by then, it would be better to go with a simple text
> >> editor
> >>>> for now and work on this as a feature once the basic plugin is done.
> >>>>
> >>>>
> >>>> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiriccò <
> >> ilgrosso@apache.org>
> >>>> wrote:
> >>>>
> >>>>> On 05/07/2016 12:09, Tushar Mishra wrote:
> >>>>>> Eclipse has the following options to open an html file
> >>>>>> Web Browser
> >>>>>> Text Editor
> >>>>>> System Editor (Opens up in Host OS)
> >>>>>> Schema HTML Viewer
> >>>>>>
> >>>>>> None of these provide any of the expected Editor features which is
> why
> >>>>> I am
> >>>>>> working on this. I can later add the web browser as a page in the
> >>>>> editor to
> >>>>>> provide extra functionality, but syntax highlighting and content
> >> assist
> >>>>>> should be included in my opinion.
> >>>>>>
> >>>>>> Eclipse does include an XML Schema Editor which can be used for the
> >> XSL
> >>>>>> formats and I plan on using it.
> >>>>> Not even a bare XML editor? You could use that in first place for
> both
> >>>>> HTML and XSLT.
> >>>>> Regards.
> >>>>>
> >>>>>> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiriccò <
> >>>>> ilgrosso@apache.org>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> On 05/07/2016 11:53, Tushar Mishra wrote:
> >>>>>>>> Hello,
> >>>>>>>>
> >>>>>>>> I would like to update you on my progress. I am currently working
> on
> >>>>> the
> >>>>>>>> HTML Editor and syntax highlighting, content assist.
> >>>>>>>>
> >>>>>>>> Instead of building it from scratch, I am trying to use the
> classes
> >>>>>>>> available in [1]. But I am facing some problems in doing so. The
> >>>>>>> Preference
> >>>>>>>> store used in the amateras project is separate from my own when I
> >>>>> import
> >>>>>>> it
> >>>>>>>> as a jar. I am adopting multiple approaches in doing this and I
> have
> >>>>> also
> >>>>>>>> contacted the author of the repository to help out. This might
> take
> >>>>> some
> >>>>>>>> time.
> >>>>>>> Couldn't you just rely on the default HTML editor in Eclipse? I
> >>>>>>> understand that [1] is more advanced, but we can take it as an
> >>>>> improvement.
> >>>>>>> Regards.
> >>>>>>>
> >>>>>>>> [1] : https://github.com/takezoe/amateras-html-editor
> >>>>>>>>
> >>>>>>>> Regards,
> >>>>>>>>
> >>>>>>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <
> >>>>>>> ilgrosso@apache.org>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
> >>>>>>>>>> Update:
> >>>>>>>>>> 1. Added refresh button
> >>>>>>>>>> 2. Handled empty templates
> >>>>>>>>>>
> >>>>>>>>>> TODO:
> >>>>>>>>>> 1. Saving templates (using setFormat)
> >>>>>>>>>> 2. HTML and XSLT editors
> >>>>>>>>>> This will include Syntax Highlighting, Content Assist (including
> >>>>>>> syncope
> >>>>>>>>>> specific variables, as stated here
> >>>>>>>>>> <
> >>
> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
> >>>>>>>>>> )
> >>>>>>>>> Please open issues on your GitHub repos for all the tasks left on
> >> the
> >>>>>>>>> project (including the two above).
> >>>>>>>>> This will help tracking your work.
> >>>>>>>>>
> >>>>>>>>> Regards.
> >>>>>>>>>
> >>>>>>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>>>>>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <
> >> tusharm567@gmail.com
> >>>>>>>>> wrote:
> >>>>>>>>>>> Update: Fixed Issue #5 <
> >>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
> >>>>>>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
> >>>>>>>>>>>
> >>>>>>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
> >>>>> tusharm567@gmail.com>
> >>>>>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> I've commented on the issue #7
> >>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix
> >> for
> >>>>>>> the
> >>>>>>>>>>>> problem. The issue was being caused by the classpath file
> which
> >>>>> was
> >>>>>>>>>>>> pointing to the wrong jars. I believe this solves the problem,
> >> if
> >>>>> it
> >>>>>>>>>>>> doesn't please do comment and let me know.
> >>>>>>>>>>>>
> >>>>>>>>>>>> I was hoping to solve this before the midterm evaluations, so
> >> you
> >>>>>>> could
> >>>>>>>>>>>> see the plugin before that. If this still does not solve the
> >>>>> problem,
> >>>>>>>>>>>> please do tell me so I can send you a packaged plugin to run
> on
> >>>>> your
> >>>>>>>>>>>> eclipse installation.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Regards,
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
> >>>>> tusharm567@gmail.com>
> >>>>>>>>>>>> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Thanks, I'll look into it.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>> sorry for late reaction.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I have opened some issues in the GitHub repo.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
> >>>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>>> Changed editor to show multiple pages for different formats
> >>>>>>>>>>>>>> (Screenshot
> >>>>>>>>>>>>>>> <http://imgur.com/kAI78ts>).
> >>>>>>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
> >>>>>>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> TODO:
> >>>>>>>>>>>>>>> Handle save and save as events.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
> >>>>>>> tusharm567@gmail.com>
> >>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>>>> 1. Editor classes added
> >>>>>>>>>>>>>>>> 2. Template is read and displayed in editor
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> TODO:
> >>>>>>>>>>>>>>>> 1. Allow template to be viewed in different formats (HTML,
> >>>>> text)
> >>>>>>>>>>>>>>>> 2. Allow changes made in template to be sent to deployment
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>> Update: Added the following with this commit
> >>>>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
> >>>>>>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
> >>>>>>>>>>>>>>>>>> Right click on
> >>>>>>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
> >>>>>>>>>>>>>>>>>> 2. TreeObject allows removing key
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Problems:
> >>>>>>>>>>>>>>>>>> 1. Users except admin do not return any template keys.
> Can
> >>>>> only
> >>>>>>>>> the
> >>>>>>>>>>>>>>>>>> admin
> >>>>>>>>>>>>>>>>>> have mail and report Templates or can any normal user
> have
> >>>>> them
> >>>>>>>>>>>>>> too?
> >>>>>>>>>>>>>>>>> The internal security model [1] requires that the
> >> requesting
> >>>>>>> user
> >>>>>>>>>>>>>> owns
> >>>>>>>>>>>>>>>>> different entitlements for being allowed to invoke
> >> different
> >>>>>>> REST
> >>>>>>>>>>>>>>>>> endpoints; for example, to list all mail templates
> >> available,
> >>>>>>> the
> >>>>>>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> You will need then to create a role R, assign the needed
> >>>>>>>>>>>>>> entitlements to
> >>>>>>>>>>>>>>>>> it and finally make the new user member of such role.
> >>>>>>>>>>>>>>>>> Only at this point such user will be allowed to invoke
> the
> >>>>>>>>>>>>>> corresponding
> >>>>>>>>>>>>>>>>> REST calls.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> "admin" owns all defined entitlements.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> 2. When trying to add an already existing key,
> >> SyncopeClient
> >>>>>>>>>>>>>> doesn't
> >>>>>>>>>>>>>>>>>> throw
> >>>>>>>>>>>>>>>>>> any error. I can simply check against the loaded key
> list,
> >>>>> but
> >>>>>>>>>>>>>>>>>> shouldn't
> >>>>>>>>>>>>>>>>>> that be done by SyncopeClient itself?
> >>>>>>>>>>>>>>>>> The Syncope client library does not throw any exception
> >>>>> because
> >>>>>>>>> the
> >>>>>>>>>>>>>>>>> Syncope core does not throw any exception in case one if
> >>>>>>>>> attempting
> >>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>> create a mail template with an existing key; if you
> believe
> >>>>> that
> >>>>>>>>> an
> >>>>>>>>>>>>>>>>> exception should be raised, please fill an improvement on
> >>>>> JIRA
> >>>>>>>>>>>>>> (with fix
> >>>>>>>>>>>>>>>>> version 2.0.0 and component "core").
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> [1]
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>
> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
> >>>>>>>>>>>>>>>>> [2]
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
> >>>>>>>>>>>>>>>>> [3]
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
> >>>>>>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
> >>>>>>>>> tusharm567@gmail.com
> >>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Update: Added the following on this commit
> >>>>>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
> >>>>>>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
> >>>>>>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist
> >> through
> >>>>>>>>> eclipse
> >>>>>>>>>>>>>>>>>>> restart)
> >>>>>>>>>>>>>>>>>>>               a) Deployment url through eclipse
> >> installation
> >>>>>>>>>>>>>>>>>>>               b) User credentials through workspace
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Please advise on any further features required in the
> >>>>>>>>> TreeViewer.
> >>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò
> <
> >>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be
> >>>>> built
> >>>>>>>>> with
> >>>>>>>>>>>>>>>>> maven.
> >>>>>>>>>>>>>>>>>>>>> Please check it out and inform me if there are any
> >>>>> problems
> >>>>>>> or
> >>>>>>>>>>>>>>>>> changes
> >>>>>>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
> >>>>> tomorrow.
> >>>>>>>>>>>>>>>>>>>> I have verified that now the Maven build works fine,
> and
> >>>>>>>>>>>>>> commented
> >>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>> relevant issues on GitHub.
> >>>>>>>>>>>>>>>>>>>> Nice job!
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Now let's concentrate on adding features.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco
> Chicchiriccò
> >> <
> >>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci
> >> here
> >>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4
> >.
> >>>>>>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
> >>>>> following
> >>>>>>>>>>>>>> error.
> >>>>>>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>>>>>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
> >>>>> during
> >>>>>>>>>>>>>>>>> checkstyle
> >>>>>>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
> >>>>> location:
> >>>>>
> >>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>>>>>>>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
> >>>>>>>>>>>>>>>>>>>>>>>
> >> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >>>>>>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> <properties>
> >>>>>>>>>>>>>>>>>>>>>>             <checkstyle.skip>true</checkstyle.skip>
> >>>>>>>>>>>>>>>>>>>>>>           </properties>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you
> >> will
> >>>>>>>>> place
> >>>>>>>>>>>>>> your
> >>>>>>>>>>>>>>>>>>>> code
> >>>>>>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need
> >> to
> >>>>>>> make
> >>>>>>>>>>>>>> some
> >>>>>>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
> >>>>>>> property.
> >>>>>>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
> >>>>>>>>>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>>>>>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho
> better,
> >>>>> but
> >>>>>>>>> since
> >>>>>>>>>>>>>>>>> I've
> >>>>>>>>>>>>>>>>>>>> never
> >>>>>>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
> >>>>> taking
> >>>>>>>>> some
> >>>>>>>>>>>>>>>>> time.
> >>>>>>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted
> >> with
> >>>>>>>>> Apache
> >>>>>>>>>>>>>>>>> Maven:
> >>>>>>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
> >>>>>>> thousands
> >>>>>>>>>>>>>> more
> >>>>>>>>>>>>>>>>> Open
> >>>>>>>>>>>>>>>>>>>>>> Source projects out there).
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco
> >> Chicchiriccò
> >>>>> <
> >>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>>>>>>>>>>> I have commented
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> and also opened
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC
> channel
> >>>>> for
> >>>>>>>>>>>>>> eclipse
> >>>>>>>>>>>>>>>>>>>> (Refer
> >>>>>>>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>>>>>> comments on this issue
> >>>>>>>>>>>>>>>>>>>>>>>>>> <
> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>> ).
> >>>>>>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query
> >> out
> >>>>> to
> >>>>>>>>> some
> >>>>>>>>>>>>>>>>> plugin
> >>>>>>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still
> >> awaiting
> >>>>> any
> >>>>>>>>>>>>>>>>> response
> >>>>>>>>>>>>>>>>>>>> from
> >>>>>>>>>>>>>>>>>>>>>>>>>> them.
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for
> >> the
> >>>>>>>>>>>>>> plugin. I
> >>>>>>>>>>>>>>>>>>>> believe
> >>>>>>>>>>>>>>>>>>>>>>>>>> this
> >>>>>>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which
> >> case,
> >>>>> I
> >>>>>>>>> will
> >>>>>>>>>>>>>>>>> start
> >>>>>>>>>>>>>>>>>>>> work
> >>>>>>>>>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
> >>>>> plugin
> >>>>>>>>> and
> >>>>>>>>>>>>>> post
> >>>>>>>>>>>>>>>>>>>>>>>>>> issues on
> >>>>>>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
> >>>>>>>>>>>>>>>>> if
> >>>>>>>>>>>>>>>>>>>>>>>>>> you find
> >>>>>>>>>>>>>>>>>>>>>>>>>> any problems.
> >>>>>>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday
> at
> >>>>>>>>>>>>>> earliest.
> >>>>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
> >>>>>>>>>>>>>>>>>>>> tusharm567@gmail.com>
> >>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >> https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
> >>>>> doesn't
> >>>>>>>>>>>>>> seem to
> >>>>>>>>>>>>>>>>> be
> >>>>>>>>>>>>>>>>>>>>>>>>>>> directly
> >>>>>>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF
> and
> >>>>>>>>>>>>>> MANIFEST.MF
> >>>>>>>>>>>>>>>>> to be
> >>>>>>>>>>>>>>>>>>>>>>>>>>> in the
> >>>>>>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
> >>>>>>> directory
> >>>>>>>>> as
> >>>>>>>>>>>>>>>>> well.
> >>>>>>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
> >>>>>>> developers
> >>>>>>>>>>>>>>>>> until I'm
> >>>>>>>>>>>>>>>>>>>>>>>>>>> sure.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the
> >>>>> tree
> >>>>>>>>> view
> >>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>> represent
> >>>>>>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
> >>>>> helpful
> >>>>>>> if
> >>>>>>>>>>>>>> you
> >>>>>>>>>>>>>>>>> could
> >>>>>>>>>>>>>>>>>>>>>>>>>>> point me
> >>>>>>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>>>>>>>>>>>>>>>>>>>>>>>> you
> >>>>>>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
> >>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
> >>>>>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>> GSoC project.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
> >>>>>>> Chicchiriccò <
> >>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my
> >> project:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
> >>>>> parent
> >>>>>>> POM
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
> >>>>> binary
> >>>>>>>>> files
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
> >>>>>>> project
> >>>>>>>>>>>>>>>>> instead of
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> entire
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> workspace
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
> >>>>>>> repository
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin"
> to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to
> >>>>> define
> >>>>>>>>> the
> >>>>>>>>>>>>>>>>> url of
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> syncope
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
> >>>>>>>>>>>>>>>>> build.properties
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> files and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
> >>>>>>> problems
> >>>>>>>>>>>>>>>>> observed.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> I have opened
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> https://github.com/tmess567/SYNCOPE-809/issues/1
> >> https://github.com/tmess567/SYNCOPE-809/issues/2
> >> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> with some indications.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
> >>>>>>>>> Chicchiriccò
> >>>>>>>>>>>>>> <
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a
> >> Maven
> >>>>>>>>> project
> >>>>>>>>>>>>>>>>> having
> >>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             <parent>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>  <artifactId>syncope</artifactId>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>  <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             </parent>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your
> >> (and
> >>>>>>> Nuwan
> >>>>>>>>>>>>>>>>> Sameera's
> >>>>>>>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
> >>>>> merged
> >>>>>>>>>>>>>> into the
> >>>>>>>>>>>>>>>>>>>> Apache
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the
> source
> >>>>> tree
> >>>>>>>>>>>>>> (Maven
> >>>>>>>>>>>>>>>>> will
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> greatly
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>>>>
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how
> to
> >>>>> (1)
> >>>>>>>>>>>>>> build
> >>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>> (2)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
> >>>>> Eclipse
> >>>>>>>>>>>>>>>>> versions)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library
> to
> >>>>>>> access
> >>>>>>>>>>>>>> data
> >>>>>>>>>>>>>>>>> from
> >>>>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> REST
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me
> on
> >>>>> any
> >>>>>>>>>>>>>> required
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> changes or
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar
> Mishra
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress
> in
> >>>>> the
> >>>>>>>>>>>>>> project.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my
> >> project,
> >>>>>>> I've
> >>>>>>>>>>>>>>>>> built a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> java REST
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
> >>>>> templates
> >>>>>>>>> using
> >>>>>>>>>>>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from
> >> the
> >>>>>>> REST
> >>>>>>>>>>>>>> API
> >>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> have been
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> added
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of
> the
> >>>>> mail
> >>>>>>>>> and
> >>>>>>>>>>>>>>>>> report
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> templates
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
> >>>>>>>>>>>>>>>>>>>> A
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded
> >>>>> here <
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
> >>>>> should be
> >>>>>>>>>>>>>> using
> >>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending
> data
> >>>>> to
> >>>>>>> the
> >>>>>>>>>>>>>> rest
> >>>>>>>>>>>>>>>>> API.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> I am
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be
> >> updating
> >>>>>>> you
> >>>>>>>>>>>>>> guys
> >>>>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> progress
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one
> >> with
> >>>>> the
> >>>>>>>>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here <
> >> https://github.com/tmess567/SYNCOPE-809
> >>>>>> .
> >>>>>>>>>>>>>> Please
> >>>>>>>>>>>>>>>>> take
> >>>>>>>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> look
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software
> Foundation:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC,
> >> Olingo
> >>>>>>> PMC,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail
> >>>>> PPMC
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 15/07/2016 16:20, Tushar Mishra wrote:
> Yeah, I just saw. I just pushed the solution. Please try again.

Sorry, it did not work, apparently.

> On Fri, Jul 15, 2016 at 7:47 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> Hi,
>> I am currently unable to build the project; see
>>
>> https://github.com/tmess567/SYNCOPE-809/issues/20
>>
>> Regards.
>>
>> On 12/07/2016 11:37, Tushar Mishra wrote:
>>> Update:
>>> The editors were completed last weekend (see 0208a4
>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315
>>> ),
>>> now I am reading up on and writing tests for the plugin. I am currently
>>> using the demo deployment available here, but once this project is added
>> to
>>> the syncope project, I will replace it with the server generated for
>> tests.
>>> I have also commented on an issue
>>> <https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the
>> MANIFEST
>>> file which might need to be placed (even if it is empty) to allow tycho
>> to
>>> build the project as an eclipse plugin and not as a maven project. I
>>> acknowledge that this is a feasible solution and will be trying to solve
>>> this problem as well.
>>>
>>> Regards,
>>>
>>> On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com>
>> wrote:
>>>> The XML and XML Schema Editors are designed for their specific files and
>>>> if I try to open html files using any of those, they throw fatal errors.
>>>> Besides the separate design and source pages of such editors wouldn't be
>>>> compatible with html text anyway since they are made to parse xml.
>>>>
>>>> I will try and work out the problems with the html editor by tomorrow.
>> If
>>>> it doesn't work by then, it would be better to go with a simple text
>> editor
>>>> for now and work on this as a feature once the basic plugin is done.
>>>>
>>>>
>>>> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiricc� <
>> ilgrosso@apache.org>
>>>> wrote:
>>>>
>>>>> On 05/07/2016 12:09, Tushar Mishra wrote:
>>>>>> Eclipse has the following options to open an html file
>>>>>> Web Browser
>>>>>> Text Editor
>>>>>> System Editor (Opens up in Host OS)
>>>>>> Schema HTML Viewer
>>>>>>
>>>>>> None of these provide any of the expected Editor features which is why
>>>>> I am
>>>>>> working on this. I can later add the web browser as a page in the
>>>>> editor to
>>>>>> provide extra functionality, but syntax highlighting and content
>> assist
>>>>>> should be included in my opinion.
>>>>>>
>>>>>> Eclipse does include an XML Schema Editor which can be used for the
>> XSL
>>>>>> formats and I plan on using it.
>>>>> Not even a bare XML editor? You could use that in first place for both
>>>>> HTML and XSLT.
>>>>> Regards.
>>>>>
>>>>>> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiricc� <
>>>>> ilgrosso@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> On 05/07/2016 11:53, Tushar Mishra wrote:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I would like to update you on my progress. I am currently working on
>>>>> the
>>>>>>>> HTML Editor and syntax highlighting, content assist.
>>>>>>>>
>>>>>>>> Instead of building it from scratch, I am trying to use the classes
>>>>>>>> available in [1]. But I am facing some problems in doing so. The
>>>>>>> Preference
>>>>>>>> store used in the amateras project is separate from my own when I
>>>>> import
>>>>>>> it
>>>>>>>> as a jar. I am adopting multiple approaches in doing this and I have
>>>>> also
>>>>>>>> contacted the author of the repository to help out. This might take
>>>>> some
>>>>>>>> time.
>>>>>>> Couldn't you just rely on the default HTML editor in Eclipse? I
>>>>>>> understand that [1] is more advanced, but we can take it as an
>>>>> improvement.
>>>>>>> Regards.
>>>>>>>
>>>>>>>> [1] : https://github.com/takezoe/amateras-html-editor
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiricc� <
>>>>>>> ilgrosso@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
>>>>>>>>>> Update:
>>>>>>>>>> 1. Added refresh button
>>>>>>>>>> 2. Handled empty templates
>>>>>>>>>>
>>>>>>>>>> TODO:
>>>>>>>>>> 1. Saving templates (using setFormat)
>>>>>>>>>> 2. HTML and XSLT editors
>>>>>>>>>> This will include Syntax Highlighting, Content Assist (including
>>>>>>> syncope
>>>>>>>>>> specific variables, as stated here
>>>>>>>>>> <
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>>>>>>>>>> )
>>>>>>>>> Please open issues on your GitHub repos for all the tasks left on
>> the
>>>>>>>>> project (including the two above).
>>>>>>>>> This will help tracking your work.
>>>>>>>>>
>>>>>>>>> Regards.
>>>>>>>>>
>>>>>>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>>>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <
>> tusharm567@gmail.com
>>>>>>>>> wrote:
>>>>>>>>>>> Update: Fixed Issue #5 <
>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>>>>>>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>>>>>>>>>>>
>>>>>>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
>>>>> tusharm567@gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I've commented on the issue #7
>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix
>> for
>>>>>>> the
>>>>>>>>>>>> problem. The issue was being caused by the classpath file which
>>>>> was
>>>>>>>>>>>> pointing to the wrong jars. I believe this solves the problem,
>> if
>>>>> it
>>>>>>>>>>>> doesn't please do comment and let me know.
>>>>>>>>>>>>
>>>>>>>>>>>> I was hoping to solve this before the midterm evaluations, so
>> you
>>>>>>> could
>>>>>>>>>>>> see the plugin before that. If this still does not solve the
>>>>> problem,
>>>>>>>>>>>> please do tell me so I can send you a packaged plugin to run on
>>>>> your
>>>>>>>>>>>> eclipse installation.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
>>>>> tusharm567@gmail.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks, I'll look into it.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiricc� <
>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>> sorry for late reaction.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have opened some issues in the GitHub repo.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>> Changed editor to show multiple pages for different formats
>>>>>>>>>>>>>> (Screenshot
>>>>>>>>>>>>>>> <http://imgur.com/kAI78ts>).
>>>>>>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
>>>>>>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> TODO:
>>>>>>>>>>>>>>> Handle save and save as events.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>> 1. Editor classes added
>>>>>>>>>>>>>>>> 2. Template is read and displayed in editor
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> TODO:
>>>>>>>>>>>>>>>> 1. Allow template to be viewed in different formats (HTML,
>>>>> text)
>>>>>>>>>>>>>>>> 2. Allow changes made in template to be sent to deployment
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>> Update: Added the following with this commit
>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>>>>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>>>>>>>>>>>>>>>>>> Right click on
>>>>>>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
>>>>>>>>>>>>>>>>>> 2. TreeObject allows removing key
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Problems:
>>>>>>>>>>>>>>>>>> 1. Users except admin do not return any template keys. Can
>>>>> only
>>>>>>>>> the
>>>>>>>>>>>>>>>>>> admin
>>>>>>>>>>>>>>>>>> have mail and report Templates or can any normal user have
>>>>> them
>>>>>>>>>>>>>> too?
>>>>>>>>>>>>>>>>> The internal security model [1] requires that the
>> requesting
>>>>>>> user
>>>>>>>>>>>>>> owns
>>>>>>>>>>>>>>>>> different entitlements for being allowed to invoke
>> different
>>>>>>> REST
>>>>>>>>>>>>>>>>> endpoints; for example, to list all mail templates
>> available,
>>>>>>> the
>>>>>>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> You will need then to create a role R, assign the needed
>>>>>>>>>>>>>> entitlements to
>>>>>>>>>>>>>>>>> it and finally make the new user member of such role.
>>>>>>>>>>>>>>>>> Only at this point such user will be allowed to invoke the
>>>>>>>>>>>>>> corresponding
>>>>>>>>>>>>>>>>> REST calls.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> "admin" owns all defined entitlements.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2. When trying to add an already existing key,
>> SyncopeClient
>>>>>>>>>>>>>> doesn't
>>>>>>>>>>>>>>>>>> throw
>>>>>>>>>>>>>>>>>> any error. I can simply check against the loaded key list,
>>>>> but
>>>>>>>>>>>>>>>>>> shouldn't
>>>>>>>>>>>>>>>>>> that be done by SyncopeClient itself?
>>>>>>>>>>>>>>>>> The Syncope client library does not throw any exception
>>>>> because
>>>>>>>>> the
>>>>>>>>>>>>>>>>> Syncope core does not throw any exception in case one if
>>>>>>>>> attempting
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>> create a mail template with an existing key; if you believe
>>>>> that
>>>>>>>>> an
>>>>>>>>>>>>>>>>> exception should be raised, please fill an improvement on
>>>>> JIRA
>>>>>>>>>>>>>> (with fix
>>>>>>>>>>>>>>>>> version 2.0.0 and component "core").
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>>>>>>>>>>>>>>>> [3]
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>>>>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>>>>>>>>> tusharm567@gmail.com
>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Update: Added the following on this commit
>>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>>>>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>>>>>>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist
>> through
>>>>>>>>> eclipse
>>>>>>>>>>>>>>>>>>> restart)
>>>>>>>>>>>>>>>>>>>               a) Deployment url through eclipse
>> installation
>>>>>>>>>>>>>>>>>>>               b) User credentials through workspace
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Please advise on any further features required in the
>>>>>>>>> TreeViewer.
>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be
>>>>> built
>>>>>>>>> with
>>>>>>>>>>>>>>>>> maven.
>>>>>>>>>>>>>>>>>>>>> Please check it out and inform me if there are any
>>>>> problems
>>>>>>> or
>>>>>>>>>>>>>>>>> changes
>>>>>>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
>>>>> tomorrow.
>>>>>>>>>>>>>>>>>>>> I have verified that now the Maven build works fine, and
>>>>>>>>>>>>>> commented
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> relevant issues on GitHub.
>>>>>>>>>>>>>>>>>>>> Nice job!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Now let's concentrate on adding features.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiricc�
>> <
>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci
>> here
>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>>>>>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
>>>>> following
>>>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>>>>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
>>>>> during
>>>>>>>>>>>>>>>>> checkstyle
>>>>>>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
>>>>> location:
>>>>>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>>>>>>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>>>>>>>>>>>>>>>>>>>>>>
>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>>>>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> <properties>
>>>>>>>>>>>>>>>>>>>>>>             <checkstyle.skip>true</checkstyle.skip>
>>>>>>>>>>>>>>>>>>>>>>           </properties>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you
>> will
>>>>>>>>> place
>>>>>>>>>>>>>> your
>>>>>>>>>>>>>>>>>>>> code
>>>>>>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need
>> to
>>>>>>> make
>>>>>>>>>>>>>> some
>>>>>>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
>>>>>>> property.
>>>>>>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>>>>>>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>>>>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho better,
>>>>> but
>>>>>>>>> since
>>>>>>>>>>>>>>>>> I've
>>>>>>>>>>>>>>>>>>>> never
>>>>>>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
>>>>> taking
>>>>>>>>> some
>>>>>>>>>>>>>>>>> time.
>>>>>>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted
>> with
>>>>>>>>> Apache
>>>>>>>>>>>>>>>>> Maven:
>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
>>>>>>> thousands
>>>>>>>>>>>>>> more
>>>>>>>>>>>>>>>>> Open
>>>>>>>>>>>>>>>>>>>>>> Source projects out there).
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco
>> Chicchiricc�
>>>>> <
>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>> I have commented
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> and also opened
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>>>>>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel
>>>>> for
>>>>>>>>>>>>>> eclipse
>>>>>>>>>>>>>>>>>>>> (Refer
>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>>> comments on this issue
>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>> ).
>>>>>>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query
>> out
>>>>> to
>>>>>>>>> some
>>>>>>>>>>>>>>>>> plugin
>>>>>>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still
>> awaiting
>>>>> any
>>>>>>>>>>>>>>>>> response
>>>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for
>> the
>>>>>>>>>>>>>> plugin. I
>>>>>>>>>>>>>>>>>>>> believe
>>>>>>>>>>>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which
>> case,
>>>>> I
>>>>>>>>> will
>>>>>>>>>>>>>>>>> start
>>>>>>>>>>>>>>>>>>>> work
>>>>>>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
>>>>> plugin
>>>>>>>>> and
>>>>>>>>>>>>>> post
>>>>>>>>>>>>>>>>>>>>>>>>>> issues on
>>>>>>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>>>>>>>>>>>>>>>>> if
>>>>>>>>>>>>>>>>>>>>>>>>>> you find
>>>>>>>>>>>>>>>>>>>>>>>>>> any problems.
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
>>>>>>>>>>>>>> earliest.
>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>>>>>>>>>>>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
>>>>> doesn't
>>>>>>>>>>>>>> seem to
>>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>>>>>>>>>> directly
>>>>>>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>>>>>>>>>>>>>> MANIFEST.MF
>>>>>>>>>>>>>>>>> to be
>>>>>>>>>>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
>>>>>>> directory
>>>>>>>>> as
>>>>>>>>>>>>>>>>> well.
>>>>>>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
>>>>>>> developers
>>>>>>>>>>>>>>>>> until I'm
>>>>>>>>>>>>>>>>>>>>>>>>>>> sure.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the
>>>>> tree
>>>>>>>>> view
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>> represent
>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
>>>>> helpful
>>>>>>> if
>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>> could
>>>>>>>>>>>>>>>>>>>>>>>>>>> point me
>>>>>>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>>>>>>>>>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>> GSoC project.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
>>>>>>> Chicchiricc� <
>>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my
>> project:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
>>>>> parent
>>>>>>> POM
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
>>>>> binary
>>>>>>>>> files
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
>>>>>>> project
>>>>>>>>>>>>>>>>> instead of
>>>>>>>>>>>>>>>>>>>>>>>>>>>> entire
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> workspace
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
>>>>>>> repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to
>>>>> define
>>>>>>>>> the
>>>>>>>>>>>>>>>>> url of
>>>>>>>>>>>>>>>>>>>>>>>>>>>> syncope
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>>>>>>>>>>>>>>>> build.properties
>>>>>>>>>>>>>>>>>>>>>>>>>>>> files and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
>>>>>>> problems
>>>>>>>>>>>>>>>>> observed.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have opened
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> https://github.com/tmess567/SYNCOPE-809/issues/1
>> https://github.com/tmess567/SYNCOPE-809/issues/2
>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>>>>>>>> with some indications.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>>>>>>>>> Chicchiricc�
>>>>>>>>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a
>> Maven
>>>>>>>>> project
>>>>>>>>>>>>>>>>> having
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             <parent>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>               <artifactId>syncope</artifactId>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>               <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>             </parent>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your
>> (and
>>>>>>> Nuwan
>>>>>>>>>>>>>>>>> Sameera's
>>>>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
>>>>> merged
>>>>>>>>>>>>>> into the
>>>>>>>>>>>>>>>>>>>> Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source
>>>>> tree
>>>>>>>>>>>>>> (Maven
>>>>>>>>>>>>>>>>> will
>>>>>>>>>>>>>>>>>>>>>>>>>>>> greatly
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>>>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to
>>>>> (1)
>>>>>>>>>>>>>> build
>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>> (2)
>>>>>>>>>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
>>>>> Eclipse
>>>>>>>>>>>>>>>>> versions)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to
>>>>>>> access
>>>>>>>>>>>>>> data
>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>> REST
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on
>>>>> any
>>>>>>>>>>>>>> required
>>>>>>>>>>>>>>>>>>>>>>>>>>>> changes or
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in
>>>>> the
>>>>>>>>>>>>>> project.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my
>> project,
>>>>>>> I've
>>>>>>>>>>>>>>>>> built a
>>>>>>>>>>>>>>>>>>>>>>>>>>>> java REST
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
>>>>> templates
>>>>>>>>> using
>>>>>>>>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from
>> the
>>>>>>> REST
>>>>>>>>>>>>>> API
>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>>> have been
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> added
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the
>>>>> mail
>>>>>>>>> and
>>>>>>>>>>>>>>>>> report
>>>>>>>>>>>>>>>>>>>>>>>>>>>> templates
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>>>>>>>>>>>>>>>>>> A
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded
>>>>> here <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
>>>>> should be
>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data
>>>>> to
>>>>>>> the
>>>>>>>>>>>>>> rest
>>>>>>>>>>>>>>>>> API.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be
>> updating
>>>>>>> you
>>>>>>>>>>>>>> guys
>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>> progress
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one
>> with
>>>>> the
>>>>>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here <
>> https://github.com/tmess567/SYNCOPE-809
>>>>>> .
>>>>>>>>>>>>>> Please
>>>>>>>>>>>>>>>>> take
>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>> look
>>>>>>>>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiricc�
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC,
>> Olingo
>>>>>>> PMC,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail
>>>>> PPMC
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Yeah, I just saw. I just pushed the solution. Please try again.
On Fri, Jul 15, 2016 at 7:47 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> Hi,
> I am currently unable to build the project; see
>
> https://github.com/tmess567/SYNCOPE-809/issues/20
>
> Regards.
>
> On 12/07/2016 11:37, Tushar Mishra wrote:
> > Update:
> > The editors were completed last weekend (see 0208a4
> > <
> https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315
> >),
> > now I am reading up on and writing tests for the plugin. I am currently
> > using the demo deployment available here, but once this project is added
> to
> > the syncope project, I will replace it with the server generated for
> tests.
> >
> > I have also commented on an issue
> > <https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the
> MANIFEST
> > file which might need to be placed (even if it is empty) to allow tycho
> to
> > build the project as an eclipse plugin and not as a maven project. I
> > acknowledge that this is a feasible solution and will be trying to solve
> > this problem as well.
> >
> > Regards,
> >
> > On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com>
> wrote:
> >
> >> The XML and XML Schema Editors are designed for their specific files and
> >> if I try to open html files using any of those, they throw fatal errors.
> >> Besides the separate design and source pages of such editors wouldn't be
> >> compatible with html text anyway since they are made to parse xml.
> >>
> >> I will try and work out the problems with the html editor by tomorrow.
> If
> >> it doesn't work by then, it would be better to go with a simple text
> editor
> >> for now and work on this as a feature once the basic plugin is done.
> >>
> >>
> >> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> >> wrote:
> >>
> >>> On 05/07/2016 12:09, Tushar Mishra wrote:
> >>>> Eclipse has the following options to open an html file
> >>>> Web Browser
> >>>> Text Editor
> >>>> System Editor (Opens up in Host OS)
> >>>> Schema HTML Viewer
> >>>>
> >>>> None of these provide any of the expected Editor features which is why
> >>> I am
> >>>> working on this. I can later add the web browser as a page in the
> >>> editor to
> >>>> provide extra functionality, but syntax highlighting and content
> assist
> >>>> should be included in my opinion.
> >>>>
> >>>> Eclipse does include an XML Schema Editor which can be used for the
> XSL
> >>>> formats and I plan on using it.
> >>> Not even a bare XML editor? You could use that in first place for both
> >>> HTML and XSLT.
> >>> Regards.
> >>>
> >>>> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiriccò <
> >>> ilgrosso@apache.org>
> >>>> wrote:
> >>>>
> >>>>> On 05/07/2016 11:53, Tushar Mishra wrote:
> >>>>>> Hello,
> >>>>>>
> >>>>>> I would like to update you on my progress. I am currently working on
> >>> the
> >>>>>> HTML Editor and syntax highlighting, content assist.
> >>>>>>
> >>>>>> Instead of building it from scratch, I am trying to use the classes
> >>>>>> available in [1]. But I am facing some problems in doing so. The
> >>>>> Preference
> >>>>>> store used in the amateras project is separate from my own when I
> >>> import
> >>>>> it
> >>>>>> as a jar. I am adopting multiple approaches in doing this and I have
> >>> also
> >>>>>> contacted the author of the repository to help out. This might take
> >>> some
> >>>>>> time.
> >>>>> Couldn't you just rely on the default HTML editor in Eclipse? I
> >>>>> understand that [1] is more advanced, but we can take it as an
> >>> improvement.
> >>>>> Regards.
> >>>>>
> >>>>>> [1] : https://github.com/takezoe/amateras-html-editor
> >>>>>>
> >>>>>> Regards,
> >>>>>>
> >>>>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <
> >>>>> ilgrosso@apache.org>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
> >>>>>>>> Update:
> >>>>>>>> 1. Added refresh button
> >>>>>>>> 2. Handled empty templates
> >>>>>>>>
> >>>>>>>> TODO:
> >>>>>>>> 1. Saving templates (using setFormat)
> >>>>>>>> 2. HTML and XSLT editors
> >>>>>>>> This will include Syntax Highlighting, Content Assist (including
> >>>>> syncope
> >>>>>>>> specific variables, as stated here
> >>>>>>>> <
> >>>
> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
> >>>>>>>> )
> >>>>>>> Please open issues on your GitHub repos for all the tasks left on
> the
> >>>>>>> project (including the two above).
> >>>>>>> This will help tracking your work.
> >>>>>>>
> >>>>>>> Regards.
> >>>>>>>
> >>>>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>>>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <
> tusharm567@gmail.com
> >>>>>>> wrote:
> >>>>>>>>> Update: Fixed Issue #5 <
> >>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
> >>>>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
> >>>>>>>>>
> >>>>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
> >>> tusharm567@gmail.com>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> I've commented on the issue #7
> >>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix
> for
> >>>>> the
> >>>>>>>>>> problem. The issue was being caused by the classpath file which
> >>> was
> >>>>>>>>>> pointing to the wrong jars. I believe this solves the problem,
> if
> >>> it
> >>>>>>>>>> doesn't please do comment and let me know.
> >>>>>>>>>>
> >>>>>>>>>> I was hoping to solve this before the midterm evaluations, so
> you
> >>>>> could
> >>>>>>>>>> see the plugin before that. If this still does not solve the
> >>> problem,
> >>>>>>>>>> please do tell me so I can send you a packaged plugin to run on
> >>> your
> >>>>>>>>>> eclipse installation.
> >>>>>>>>>>
> >>>>>>>>>> Regards,
> >>>>>>>>>>
> >>>>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
> >>> tusharm567@gmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Thanks, I'll look into it.
> >>>>>>>>>>>
> >>>>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
> >>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> Hi,
> >>>>>>>>>>>> sorry for late reaction.
> >>>>>>>>>>>>
> >>>>>>>>>>>> I have opened some issues in the GitHub repo.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Regards.
> >>>>>>>>>>>>
> >>>>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
> >>>>>>>>>>>>> Update:
> >>>>>>>>>>>>> Changed editor to show multiple pages for different formats
> >>>>>>>>>>>> (Screenshot
> >>>>>>>>>>>>> <http://imgur.com/kAI78ts>).
> >>>>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
> >>>>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> TODO:
> >>>>>>>>>>>>> Handle save and save as events.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
> >>>>> tusharm567@gmail.com>
> >>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>> 1. Editor classes added
> >>>>>>>>>>>>>> 2. Template is read and displayed in editor
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> TODO:
> >>>>>>>>>>>>>> 1. Allow template to be viewed in different formats (HTML,
> >>> text)
> >>>>>>>>>>>>>> 2. Allow changes made in template to be sent to deployment
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
> >>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
> >>>>>>>>>>>>>>>> Update: Added the following with this commit
> >>>>>>>>>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
> >>>>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
> >>>>>>>>>>>>>>>> Right click on
> >>>>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
> >>>>>>>>>>>>>>>> 2. TreeObject allows removing key
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Problems:
> >>>>>>>>>>>>>>>> 1. Users except admin do not return any template keys. Can
> >>> only
> >>>>>>> the
> >>>>>>>>>>>>>>>> admin
> >>>>>>>>>>>>>>>> have mail and report Templates or can any normal user have
> >>> them
> >>>>>>>>>>>> too?
> >>>>>>>>>>>>>>> The internal security model [1] requires that the
> requesting
> >>>>> user
> >>>>>>>>>>>> owns
> >>>>>>>>>>>>>>> different entitlements for being allowed to invoke
> different
> >>>>> REST
> >>>>>>>>>>>>>>> endpoints; for example, to list all mail templates
> available,
> >>>>> the
> >>>>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> You will need then to create a role R, assign the needed
> >>>>>>>>>>>> entitlements to
> >>>>>>>>>>>>>>> it and finally make the new user member of such role.
> >>>>>>>>>>>>>>> Only at this point such user will be allowed to invoke the
> >>>>>>>>>>>> corresponding
> >>>>>>>>>>>>>>> REST calls.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> "admin" owns all defined entitlements.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> 2. When trying to add an already existing key,
> SyncopeClient
> >>>>>>>>>>>> doesn't
> >>>>>>>>>>>>>>>> throw
> >>>>>>>>>>>>>>>> any error. I can simply check against the loaded key list,
> >>> but
> >>>>>>>>>>>>>>>> shouldn't
> >>>>>>>>>>>>>>>> that be done by SyncopeClient itself?
> >>>>>>>>>>>>>>> The Syncope client library does not throw any exception
> >>> because
> >>>>>>> the
> >>>>>>>>>>>>>>> Syncope core does not throw any exception in case one if
> >>>>>>> attempting
> >>>>>>>>>>>> to
> >>>>>>>>>>>>>>> create a mail template with an existing key; if you believe
> >>> that
> >>>>>>> an
> >>>>>>>>>>>>>>> exception should be raised, please fill an improvement on
> >>> JIRA
> >>>>>>>>>>>> (with fix
> >>>>>>>>>>>>>>> version 2.0.0 and component "core").
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> [1]
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>
> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
> >>>>>>>>>>>>>>> [2]
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
> >>>>>>>>>>>>>>> [3]
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
> >>>>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
> >>>>>>> tusharm567@gmail.com
> >>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Update: Added the following on this commit
> >>>>>>>>>>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
> >>>>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
> >>>>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist
> through
> >>>>>>> eclipse
> >>>>>>>>>>>>>>>>> restart)
> >>>>>>>>>>>>>>>>>              a) Deployment url through eclipse
> installation
> >>>>>>>>>>>>>>>>>              b) User credentials through workspace
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Please advise on any further features required in the
> >>>>>>> TreeViewer.
> >>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be
> >>> built
> >>>>>>> with
> >>>>>>>>>>>>>>> maven.
> >>>>>>>>>>>>>>>>>>> Please check it out and inform me if there are any
> >>> problems
> >>>>> or
> >>>>>>>>>>>>>>> changes
> >>>>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
> >>> tomorrow.
> >>>>>>>>>>>>>>>>>> I have verified that now the Maven build works fine, and
> >>>>>>>>>>>> commented
> >>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>> relevant issues on GitHub.
> >>>>>>>>>>>>>>>>>> Nice job!
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Now let's concentrate on adding features.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò
> <
> >>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci
> here
> >>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> >>>>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
> >>> following
> >>>>>>>>>>>> error.
> >>>>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>>>>>>>>>>>>>>
> >>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>>>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
> >>> during
> >>>>>>>>>>>>>>> checkstyle
> >>>>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
> >>> location:
> >>>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>>>>>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
> >>>>>>>>>>>>>>>>>>>>>
> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >>>>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> <properties>
> >>>>>>>>>>>>>>>>>>>>            <checkstyle.skip>true</checkstyle.skip>
> >>>>>>>>>>>>>>>>>>>>          </properties>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you
> will
> >>>>>>> place
> >>>>>>>>>>>> your
> >>>>>>>>>>>>>>>>>> code
> >>>>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need
> to
> >>>>> make
> >>>>>>>>>>>> some
> >>>>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
> >>>>> property.
> >>>>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
> >>>>>>>>>>>>>>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>>>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho better,
> >>> but
> >>>>>>> since
> >>>>>>>>>>>>>>> I've
> >>>>>>>>>>>>>>>>>> never
> >>>>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
> >>> taking
> >>>>>>> some
> >>>>>>>>>>>>>>> time.
> >>>>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted
> with
> >>>>>>> Apache
> >>>>>>>>>>>>>>> Maven:
> >>>>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
> >>>>> thousands
> >>>>>>>>>>>> more
> >>>>>>>>>>>>>>> Open
> >>>>>>>>>>>>>>>>>>>> Source projects out there).
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco
> Chicchiriccò
> >>> <
> >>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>>>>>>>>> I have commented
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> and also opened
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>>>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel
> >>> for
> >>>>>>>>>>>> eclipse
> >>>>>>>>>>>>>>>>>> (Refer
> >>>>>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>>>> comments on this issue
> >>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>> ).
> >>>>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query
> out
> >>> to
> >>>>>>> some
> >>>>>>>>>>>>>>> plugin
> >>>>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still
> awaiting
> >>> any
> >>>>>>>>>>>>>>> response
> >>>>>>>>>>>>>>>>>> from
> >>>>>>>>>>>>>>>>>>>>>>>> them.
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for
> the
> >>>>>>>>>>>> plugin. I
> >>>>>>>>>>>>>>>>>> believe
> >>>>>>>>>>>>>>>>>>>>>>>> this
> >>>>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which
> case,
> >>> I
> >>>>>>> will
> >>>>>>>>>>>>>>> start
> >>>>>>>>>>>>>>>>>> work
> >>>>>>>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
> >>> plugin
> >>>>>>> and
> >>>>>>>>>>>> post
> >>>>>>>>>>>>>>>>>>>>>>>> issues on
> >>>>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
> >>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
> >>>>>>>>>>>>>>> if
> >>>>>>>>>>>>>>>>>>>>>>>> you find
> >>>>>>>>>>>>>>>>>>>>>>>> any problems.
> >>>>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
> >>>>>>>>>>>> earliest.
> >>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
> >>>>>>>>>>>>>>>>>> tusharm567@gmail.com>
> >>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
> >>>>>>>>>>>>>>>>>>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
> >>>>>>>>>>>>>>>>>>>>>>>>> <
> https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
> >>> doesn't
> >>>>>>>>>>>> seem to
> >>>>>>>>>>>>>>> be
> >>>>>>>>>>>>>>>>>>>>>>>>> directly
> >>>>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
> >>>>>>>>>>>> MANIFEST.MF
> >>>>>>>>>>>>>>> to be
> >>>>>>>>>>>>>>>>>>>>>>>>> in the
> >>>>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
> >>>>> directory
> >>>>>>> as
> >>>>>>>>>>>>>>> well.
> >>>>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
> >>>>> developers
> >>>>>>>>>>>>>>> until I'm
> >>>>>>>>>>>>>>>>>>>>>>>>> sure.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the
> >>> tree
> >>>>>>> view
> >>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>> represent
> >>>>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
> >>> helpful
> >>>>> if
> >>>>>>>>>>>> you
> >>>>>>>>>>>>>>> could
> >>>>>>>>>>>>>>>>>>>>>>>>> point me
> >>>>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
> >>>>>>>>>>>>>>>>>>>>>>>>> <
> >>>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>>>>>>>>>>>>>>>>>>>>>> you
> >>>>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
> >>>>>>>>>>>>>>>>>>>>>>>>> <
> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
> >>>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>> GSoC project.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
> >>>>> Chicchiriccò <
> >>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my
> project:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
> >>> parent
> >>>>> POM
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
> >>> binary
> >>>>>>> files
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
> >>>>> project
> >>>>>>>>>>>>>>> instead of
> >>>>>>>>>>>>>>>>>>>>>>>>>> entire
> >>>>>>>>>>>>>>>>>>>>>>>>>>> workspace
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
> >>>>> repository
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
> >>>>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
> >>>>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to
> >>> define
> >>>>>>> the
> >>>>>>>>>>>>>>> url of
> >>>>>>>>>>>>>>>>>>>>>>>>>> syncope
> >>>>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
> >>>>>>>>>>>>>>> build.properties
> >>>>>>>>>>>>>>>>>>>>>>>>>> files and
> >>>>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
> >>>>> problems
> >>>>>>>>>>>>>>> observed.
> >>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>>>>>>> I have opened
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> with some indications.
> >>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
> >>>>>>> Chicchiriccò
> >>>>>>>>>>>> <
> >>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a
> Maven
> >>>>>>> project
> >>>>>>>>>>>>>>> having
> >>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>            <parent>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>              <artifactId>syncope</artifactId>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>              <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>            </parent>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your
> (and
> >>>>> Nuwan
> >>>>>>>>>>>>>>> Sameera's
> >>>>>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
> >>> merged
> >>>>>>>>>>>> into the
> >>>>>>>>>>>>>>>>>> Apache
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source
> >>> tree
> >>>>>>>>>>>> (Maven
> >>>>>>>>>>>>>>> will
> >>>>>>>>>>>>>>>>>>>>>>>>>> greatly
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to
> >>> (1)
> >>>>>>>>>>>> build
> >>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>> (2)
> >>>>>>>>>>>>>>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
> >>> Eclipse
> >>>>>>>>>>>>>>> versions)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
> >>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to
> >>>>> access
> >>>>>>>>>>>> data
> >>>>>>>>>>>>>>> from
> >>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>> REST
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on
> >>> any
> >>>>>>>>>>>> required
> >>>>>>>>>>>>>>>>>>>>>>>>>> changes or
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in
> >>> the
> >>>>>>>>>>>> project.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my
> project,
> >>>>> I've
> >>>>>>>>>>>>>>> built a
> >>>>>>>>>>>>>>>>>>>>>>>>>> java REST
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
> >>> templates
> >>>>>>> using
> >>>>>>>>>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from
> the
> >>>>> REST
> >>>>>>>>>>>> API
> >>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>>> have been
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> added
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the
> >>> mail
> >>>>>>> and
> >>>>>>>>>>>>>>> report
> >>>>>>>>>>>>>>>>>>>>>>>>>> templates
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> in a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
> >>>>>>>>>>>>>>>>>> A
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded
> >>> here <
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
> >>> should be
> >>>>>>>>>>>> using
> >>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>> Syncope
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data
> >>> to
> >>>>> the
> >>>>>>>>>>>> rest
> >>>>>>>>>>>>>>> API.
> >>>>>>>>>>>>>>>>>>>>>>>>>> I am
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be
> updating
> >>>>> you
> >>>>>>>>>>>> guys
> >>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>> progress
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one
> with
> >>> the
> >>>>>>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here <
> https://github.com/tmess567/SYNCOPE-809
> >>>> .
> >>>>>>>>>>>> Please
> >>>>>>>>>>>>>>> take
> >>>>>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>>>>>>> look
> >>>>>>>>>>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC,
> Olingo
> >>>>> PMC,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail
> >>> PPMC
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi,
I am currently unable to build the project; see

https://github.com/tmess567/SYNCOPE-809/issues/20

Regards.

On 12/07/2016 11:37, Tushar Mishra wrote:
> Update:
> The editors were completed last weekend (see 0208a4
> <https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315>),
> now I am reading up on and writing tests for the plugin. I am currently
> using the demo deployment available here, but once this project is added to
> the syncope project, I will replace it with the server generated for tests.
>
> I have also commented on an issue
> <https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the MANIFEST
> file which might need to be placed (even if it is empty) to allow tycho to
> build the project as an eclipse plugin and not as a maven project. I
> acknowledge that this is a feasible solution and will be trying to solve
> this problem as well.
>
> Regards,
>
> On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com> wrote:
>
>> The XML and XML Schema Editors are designed for their specific files and
>> if I try to open html files using any of those, they throw fatal errors.
>> Besides the separate design and source pages of such editors wouldn't be
>> compatible with html text anyway since they are made to parse xml.
>>
>> I will try and work out the problems with the html editor by tomorrow. If
>> it doesn't work by then, it would be better to go with a simple text editor
>> for now and work on this as a feature once the basic plugin is done.
>>
>>
>> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiricc� <il...@apache.org>
>> wrote:
>>
>>> On 05/07/2016 12:09, Tushar Mishra wrote:
>>>> Eclipse has the following options to open an html file
>>>> Web Browser
>>>> Text Editor
>>>> System Editor (Opens up in Host OS)
>>>> Schema HTML Viewer
>>>>
>>>> None of these provide any of the expected Editor features which is why
>>> I am
>>>> working on this. I can later add the web browser as a page in the
>>> editor to
>>>> provide extra functionality, but syntax highlighting and content assist
>>>> should be included in my opinion.
>>>>
>>>> Eclipse does include an XML Schema Editor which can be used for the XSL
>>>> formats and I plan on using it.
>>> Not even a bare XML editor? You could use that in first place for both
>>> HTML and XSLT.
>>> Regards.
>>>
>>>> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiricc� <
>>> ilgrosso@apache.org>
>>>> wrote:
>>>>
>>>>> On 05/07/2016 11:53, Tushar Mishra wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I would like to update you on my progress. I am currently working on
>>> the
>>>>>> HTML Editor and syntax highlighting, content assist.
>>>>>>
>>>>>> Instead of building it from scratch, I am trying to use the classes
>>>>>> available in [1]. But I am facing some problems in doing so. The
>>>>> Preference
>>>>>> store used in the amateras project is separate from my own when I
>>> import
>>>>> it
>>>>>> as a jar. I am adopting multiple approaches in doing this and I have
>>> also
>>>>>> contacted the author of the repository to help out. This might take
>>> some
>>>>>> time.
>>>>> Couldn't you just rely on the default HTML editor in Eclipse? I
>>>>> understand that [1] is more advanced, but we can take it as an
>>> improvement.
>>>>> Regards.
>>>>>
>>>>>> [1] : https://github.com/takezoe/amateras-html-editor
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiricc� <
>>>>> ilgrosso@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
>>>>>>>> Update:
>>>>>>>> 1. Added refresh button
>>>>>>>> 2. Handled empty templates
>>>>>>>>
>>>>>>>> TODO:
>>>>>>>> 1. Saving templates (using setFormat)
>>>>>>>> 2. HTML and XSLT editors
>>>>>>>> This will include Syntax Highlighting, Content Assist (including
>>>>> syncope
>>>>>>>> specific variables, as stated here
>>>>>>>> <
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>>>>>>>> )
>>>>>>> Please open issues on your GitHub repos for all the tasks left on the
>>>>>>> project (including the two above).
>>>>>>> This will help tracking your work.
>>>>>>>
>>>>>>> Regards.
>>>>>>>
>>>>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tusharm567@gmail.com
>>>>>>> wrote:
>>>>>>>>> Update: Fixed Issue #5 <
>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>>>>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>>>>>>>>>
>>>>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
>>> tusharm567@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I've commented on the issue #7
>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for
>>>>> the
>>>>>>>>>> problem. The issue was being caused by the classpath file which
>>> was
>>>>>>>>>> pointing to the wrong jars. I believe this solves the problem, if
>>> it
>>>>>>>>>> doesn't please do comment and let me know.
>>>>>>>>>>
>>>>>>>>>> I was hoping to solve this before the midterm evaluations, so you
>>>>> could
>>>>>>>>>> see the plugin before that. If this still does not solve the
>>> problem,
>>>>>>>>>> please do tell me so I can send you a packaged plugin to run on
>>> your
>>>>>>>>>> eclipse installation.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>>
>>>>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
>>> tusharm567@gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Thanks, I'll look into it.
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiricc� <
>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> sorry for late reaction.
>>>>>>>>>>>>
>>>>>>>>>>>> I have opened some issues in the GitHub repo.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards.
>>>>>>>>>>>>
>>>>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>>>>>>>>>>>> Update:
>>>>>>>>>>>>> Changed editor to show multiple pages for different formats
>>>>>>>>>>>> (Screenshot
>>>>>>>>>>>>> <http://imgur.com/kAI78ts>).
>>>>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
>>>>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>>>>>>>>>>>>>
>>>>>>>>>>>>> TODO:
>>>>>>>>>>>>> Handle save and save as events.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
>>>>> tusharm567@gmail.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>> 1. Editor classes added
>>>>>>>>>>>>>> 2. Template is read and displayed in editor
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> TODO:
>>>>>>>>>>>>>> 1. Allow template to be viewed in different formats (HTML,
>>> text)
>>>>>>>>>>>>>> 2. Allow changes made in template to be sent to deployment
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiricc� <
>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>>>>>>>>>>>>>> Update: Added the following with this commit
>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>>>>>>>>>>>>>>>> Right click on
>>>>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
>>>>>>>>>>>>>>>> 2. TreeObject allows removing key
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Problems:
>>>>>>>>>>>>>>>> 1. Users except admin do not return any template keys. Can
>>> only
>>>>>>> the
>>>>>>>>>>>>>>>> admin
>>>>>>>>>>>>>>>> have mail and report Templates or can any normal user have
>>> them
>>>>>>>>>>>> too?
>>>>>>>>>>>>>>> The internal security model [1] requires that the requesting
>>>>> user
>>>>>>>>>>>> owns
>>>>>>>>>>>>>>> different entitlements for being allowed to invoke different
>>>>> REST
>>>>>>>>>>>>>>> endpoints; for example, to list all mail templates available,
>>>>> the
>>>>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You will need then to create a role R, assign the needed
>>>>>>>>>>>> entitlements to
>>>>>>>>>>>>>>> it and finally make the new user member of such role.
>>>>>>>>>>>>>>> Only at this point such user will be allowed to invoke the
>>>>>>>>>>>> corresponding
>>>>>>>>>>>>>>> REST calls.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> "admin" owns all defined entitlements.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
>>>>>>>>>>>> doesn't
>>>>>>>>>>>>>>>> throw
>>>>>>>>>>>>>>>> any error. I can simply check against the loaded key list,
>>> but
>>>>>>>>>>>>>>>> shouldn't
>>>>>>>>>>>>>>>> that be done by SyncopeClient itself?
>>>>>>>>>>>>>>> The Syncope client library does not throw any exception
>>> because
>>>>>>> the
>>>>>>>>>>>>>>> Syncope core does not throw any exception in case one if
>>>>>>> attempting
>>>>>>>>>>>> to
>>>>>>>>>>>>>>> create a mail template with an existing key; if you believe
>>> that
>>>>>>> an
>>>>>>>>>>>>>>> exception should be raised, please fill an improvement on
>>> JIRA
>>>>>>>>>>>> (with fix
>>>>>>>>>>>>>>> version 2.0.0 and component "core").
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>>>>>>>>>>>>>> [3]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>>>>>>> tusharm567@gmail.com
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Update: Added the following on this commit
>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>>>>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist through
>>>>>>> eclipse
>>>>>>>>>>>>>>>>> restart)
>>>>>>>>>>>>>>>>>              a) Deployment url through eclipse installation
>>>>>>>>>>>>>>>>>              b) User credentials through workspace
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Please advise on any further features required in the
>>>>>>> TreeViewer.
>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be
>>> built
>>>>>>> with
>>>>>>>>>>>>>>> maven.
>>>>>>>>>>>>>>>>>>> Please check it out and inform me if there are any
>>> problems
>>>>> or
>>>>>>>>>>>>>>> changes
>>>>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
>>> tomorrow.
>>>>>>>>>>>>>>>>>> I have verified that now the Maven build works fine, and
>>>>>>>>>>>> commented
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> relevant issues on GitHub.
>>>>>>>>>>>>>>>>>> Nice job!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Now let's concentrate on adding features.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>>>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
>>> following
>>>>>>>>>>>> error.
>>>>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>>>>>>>>>>
>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
>>> during
>>>>>>>>>>>>>>> checkstyle
>>>>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
>>> location:
>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>>>>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>>>>>>>>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> <properties>
>>>>>>>>>>>>>>>>>>>>            <checkstyle.skip>true</checkstyle.skip>
>>>>>>>>>>>>>>>>>>>>          </properties>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you will
>>>>>>> place
>>>>>>>>>>>> your
>>>>>>>>>>>>>>>>>> code
>>>>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need to
>>>>> make
>>>>>>>>>>>> some
>>>>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
>>>>> property.
>>>>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho better,
>>> but
>>>>>>> since
>>>>>>>>>>>>>>> I've
>>>>>>>>>>>>>>>>>> never
>>>>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
>>> taking
>>>>>>> some
>>>>>>>>>>>>>>> time.
>>>>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted with
>>>>>>> Apache
>>>>>>>>>>>>>>> Maven:
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
>>>>> thousands
>>>>>>>>>>>> more
>>>>>>>>>>>>>>> Open
>>>>>>>>>>>>>>>>>>>> Source projects out there).
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiricc�
>>> <
>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>> I have commented
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> and also opened
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>>>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel
>>> for
>>>>>>>>>>>> eclipse
>>>>>>>>>>>>>>>>>> (Refer
>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>> comments on this issue
>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3
>>>> ).
>>>>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out
>>> to
>>>>>>> some
>>>>>>>>>>>>>>> plugin
>>>>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting
>>> any
>>>>>>>>>>>>>>> response
>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
>>>>>>>>>>>> plugin. I
>>>>>>>>>>>>>>>>>> believe
>>>>>>>>>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which case,
>>> I
>>>>>>> will
>>>>>>>>>>>>>>> start
>>>>>>>>>>>>>>>>>> work
>>>>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
>>> plugin
>>>>>>> and
>>>>>>>>>>>> post
>>>>>>>>>>>>>>>>>>>>>>>> issues on
>>>>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>>>>>>>>>>>>>>> if
>>>>>>>>>>>>>>>>>>>>>>>> you find
>>>>>>>>>>>>>>>>>>>>>>>> any problems.
>>>>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
>>>>>>>>>>>> earliest.
>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>>>>>>>>>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
>>> doesn't
>>>>>>>>>>>> seem to
>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>>>>>>>> directly
>>>>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>>>>>>>>>>>> MANIFEST.MF
>>>>>>>>>>>>>>> to be
>>>>>>>>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
>>>>> directory
>>>>>>> as
>>>>>>>>>>>>>>> well.
>>>>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
>>>>> developers
>>>>>>>>>>>>>>> until I'm
>>>>>>>>>>>>>>>>>>>>>>>>> sure.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the
>>> tree
>>>>>>> view
>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>> represent
>>>>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
>>> helpful
>>>>> if
>>>>>>>>>>>> you
>>>>>>>>>>>>>>> could
>>>>>>>>>>>>>>>>>>>>>>>>> point me
>>>>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>>>>>>>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>> GSoC project.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
>>>>> Chicchiricc� <
>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
>>> parent
>>>>> POM
>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
>>> binary
>>>>>>> files
>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
>>>>> project
>>>>>>>>>>>>>>> instead of
>>>>>>>>>>>>>>>>>>>>>>>>>> entire
>>>>>>>>>>>>>>>>>>>>>>>>>>> workspace
>>>>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
>>>>> repository
>>>>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
>>>>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to
>>> define
>>>>>>> the
>>>>>>>>>>>>>>> url of
>>>>>>>>>>>>>>>>>>>>>>>>>> syncope
>>>>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>>>>>>>>>>>>>> build.properties
>>>>>>>>>>>>>>>>>>>>>>>>>> files and
>>>>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
>>>>> problems
>>>>>>>>>>>>>>> observed.
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>>>>> I have opened
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> with some indications.
>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>>>>>>> Chicchiricc�
>>>>>>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven
>>>>>>> project
>>>>>>>>>>>>>>> having
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>            <parent>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>              <artifactId>syncope</artifactId>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>              <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>            </parent>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and
>>>>> Nuwan
>>>>>>>>>>>>>>> Sameera's
>>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
>>> merged
>>>>>>>>>>>> into the
>>>>>>>>>>>>>>>>>> Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source
>>> tree
>>>>>>>>>>>> (Maven
>>>>>>>>>>>>>>> will
>>>>>>>>>>>>>>>>>>>>>>>>>> greatly
>>>>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to
>>> (1)
>>>>>>>>>>>> build
>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>> (2)
>>>>>>>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
>>> Eclipse
>>>>>>>>>>>>>>> versions)
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>>>>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to
>>>>> access
>>>>>>>>>>>> data
>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>> REST
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on
>>> any
>>>>>>>>>>>> required
>>>>>>>>>>>>>>>>>>>>>>>>>> changes or
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in
>>> the
>>>>>>>>>>>> project.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project,
>>>>> I've
>>>>>>>>>>>>>>> built a
>>>>>>>>>>>>>>>>>>>>>>>>>> java REST
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
>>> templates
>>>>>>> using
>>>>>>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the
>>>>> REST
>>>>>>>>>>>> API
>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>> have been
>>>>>>>>>>>>>>>>>>>>>>>>>>>> added
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the
>>> mail
>>>>>>> and
>>>>>>>>>>>>>>> report
>>>>>>>>>>>>>>>>>>>>>>>>>> templates
>>>>>>>>>>>>>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>>>>>>>>>>>>>>>> A
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded
>>> here <
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
>>> should be
>>>>>>>>>>>> using
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>> Syncope
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data
>>> to
>>>>> the
>>>>>>>>>>>> rest
>>>>>>>>>>>>>>> API.
>>>>>>>>>>>>>>>>>>>>>>>>>> I am
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating
>>>>> you
>>>>>>>>>>>> guys
>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>> progress
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with
>>> the
>>>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809
>>>> .
>>>>>>>>>>>> Please
>>>>>>>>>>>>>>> take
>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>> look
>>>>>>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiricc�
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo
>>>>> PMC,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail
>>> PPMC
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update:
The editors were completed last weekend (see 0208a4
<https://github.com/tmess567/SYNCOPE-809/commit/0208a46f8dbb7a978a0bb0ecc1d717af951db315>),
now I am reading up on and writing tests for the plugin. I am currently
using the demo deployment available here, but once this project is added to
the syncope project, I will replace it with the server generated for tests.

I have also commented on an issue
<https://github.com/tmess567/SYNCOPE-809/issues/5> regarding the MANIFEST
file which might need to be placed (even if it is empty) to allow tycho to
build the project as an eclipse plugin and not as a maven project. I
acknowledge that this is a feasible solution and will be trying to solve
this problem as well.

Regards,

On Tue, Jul 5, 2016 at 3:52 PM Tushar Mishra <tu...@gmail.com> wrote:

> The XML and XML Schema Editors are designed for their specific files and
> if I try to open html files using any of those, they throw fatal errors.
> Besides the separate design and source pages of such editors wouldn't be
> compatible with html text anyway since they are made to parse xml.
>
> I will try and work out the problems with the html editor by tomorrow. If
> it doesn't work by then, it would be better to go with a simple text editor
> for now and work on this as a feature once the basic plugin is done.
>
>
> On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiriccò <il...@apache.org>
> wrote:
>
>> On 05/07/2016 12:09, Tushar Mishra wrote:
>> > Eclipse has the following options to open an html file
>> > Web Browser
>> > Text Editor
>> > System Editor (Opens up in Host OS)
>> > Schema HTML Viewer
>> >
>> > None of these provide any of the expected Editor features which is why
>> I am
>> > working on this. I can later add the web browser as a page in the
>> editor to
>> > provide extra functionality, but syntax highlighting and content assist
>> > should be included in my opinion.
>> >
>> > Eclipse does include an XML Schema Editor which can be used for the XSL
>> > formats and I plan on using it.
>>
>> Not even a bare XML editor? You could use that in first place for both
>> HTML and XSLT.
>> Regards.
>>
>> > On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org>
>> > wrote:
>> >
>> >> On 05/07/2016 11:53, Tushar Mishra wrote:
>> >>> Hello,
>> >>>
>> >>> I would like to update you on my progress. I am currently working on
>> the
>> >>> HTML Editor and syntax highlighting, content assist.
>> >>>
>> >>> Instead of building it from scratch, I am trying to use the classes
>> >>> available in [1]. But I am facing some problems in doing so. The
>> >> Preference
>> >>> store used in the amateras project is separate from my own when I
>> import
>> >> it
>> >>> as a jar. I am adopting multiple approaches in doing this and I have
>> also
>> >>> contacted the author of the repository to help out. This might take
>> some
>> >>> time.
>> >> Couldn't you just rely on the default HTML editor in Eclipse? I
>> >> understand that [1] is more advanced, but we can take it as an
>> improvement.
>> >>
>> >> Regards.
>> >>
>> >>> [1] : https://github.com/takezoe/amateras-html-editor
>> >>>
>> >>> Regards,
>> >>>
>> >>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <
>> >> ilgrosso@apache.org>
>> >>> wrote:
>> >>>
>> >>>> On 29/06/2016 11:48, Tushar Mishra wrote:
>> >>>>> Update:
>> >>>>> 1. Added refresh button
>> >>>>> 2. Handled empty templates
>> >>>>>
>> >>>>> TODO:
>> >>>>> 1. Saving templates (using setFormat)
>> >>>>> 2. HTML and XSLT editors
>> >>>>> This will include Syntax Highlighting, Content Assist (including
>> >> syncope
>> >>>>> specific variables, as stated here
>> >>>>> <
>> >>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>> >>>>> )
>> >>>> Please open issues on your GitHub repos for all the tasks left on the
>> >>>> project (including the two above).
>> >>>> This will help tracking your work.
>> >>>>
>> >>>> Regards.
>> >>>>
>> >>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>> >>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>> >>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tusharm567@gmail.com
>> >
>> >>>> wrote:
>> >>>>>> Update: Fixed Issue #5 <
>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>> >>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>> >>>>>>
>> >>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
>> tusharm567@gmail.com>
>> >>>>>> wrote:
>> >>>>>>
>> >>>>>>> I've commented on the issue #7
>> >>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for
>> >> the
>> >>>>>>> problem. The issue was being caused by the classpath file which
>> was
>> >>>>>>> pointing to the wrong jars. I believe this solves the problem, if
>> it
>> >>>>>>> doesn't please do comment and let me know.
>> >>>>>>>
>> >>>>>>> I was hoping to solve this before the midterm evaluations, so you
>> >> could
>> >>>>>>> see the plugin before that. If this still does not solve the
>> problem,
>> >>>>>>> please do tell me so I can send you a packaged plugin to run on
>> your
>> >>>>>>> eclipse installation.
>> >>>>>>>
>> >>>>>>> Regards,
>> >>>>>>>
>> >>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
>> tusharm567@gmail.com>
>> >>>>>>> wrote:
>> >>>>>>>
>> >>>>>>>> Thanks, I'll look into it.
>> >>>>>>>>
>> >>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
>> >>>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>>
>> >>>>>>>>> Hi,
>> >>>>>>>>> sorry for late reaction.
>> >>>>>>>>>
>> >>>>>>>>> I have opened some issues in the GitHub repo.
>> >>>>>>>>>
>> >>>>>>>>> Regards.
>> >>>>>>>>>
>> >>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>> >>>>>>>>>> Update:
>> >>>>>>>>>> Changed editor to show multiple pages for different formats
>> >>>>>>>>> (Screenshot
>> >>>>>>>>>> <http://imgur.com/kAI78ts>).
>> >>>>>>>>>> 1. MailTemplates -> HTML, TEXT
>> >>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>> >>>>>>>>>>
>> >>>>>>>>>> TODO:
>> >>>>>>>>>> Handle save and save as events.
>> >>>>>>>>>>
>> >>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>> >>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>> >>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
>> >> tusharm567@gmail.com>
>> >>>>>>>>> wrote:
>> >>>>>>>>>>> Update:
>> >>>>>>>>>>> 1. Editor classes added
>> >>>>>>>>>>> 2. Template is read and displayed in editor
>> >>>>>>>>>>>
>> >>>>>>>>>>> TODO:
>> >>>>>>>>>>> 1. Allow template to be viewed in different formats (HTML,
>> text)
>> >>>>>>>>>>> 2. Allow changes made in template to be sent to deployment
>> >>>>>>>>>>>
>> >>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>> >>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>> >>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
>> >>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>> wrote:
>> >>>>>>>>>>>
>> >>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>> >>>>>>>>>>>>> Update: Added the following with this commit
>> >>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>> >>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>> >>>>>>>>>>>>> Right click on
>> >>>>>>>>>>>>> 1. TreeParent allows adding a new template key
>> >>>>>>>>>>>>> 2. TreeObject allows removing key
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Problems:
>> >>>>>>>>>>>>> 1. Users except admin do not return any template keys. Can
>> only
>> >>>> the
>> >>>>>>>>>>>>> admin
>> >>>>>>>>>>>>> have mail and report Templates or can any normal user have
>> them
>> >>>>>>>>> too?
>> >>>>>>>>>>>> The internal security model [1] requires that the requesting
>> >> user
>> >>>>>>>>> owns
>> >>>>>>>>>>>> different entitlements for being allowed to invoke different
>> >> REST
>> >>>>>>>>>>>> endpoints; for example, to list all mail templates available,
>> >> the
>> >>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> You will need then to create a role R, assign the needed
>> >>>>>>>>> entitlements to
>> >>>>>>>>>>>> it and finally make the new user member of such role.
>> >>>>>>>>>>>> Only at this point such user will be allowed to invoke the
>> >>>>>>>>> corresponding
>> >>>>>>>>>>>> REST calls.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> "admin" owns all defined entitlements.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
>> >>>>>>>>> doesn't
>> >>>>>>>>>>>>> throw
>> >>>>>>>>>>>>> any error. I can simply check against the loaded key list,
>> but
>> >>>>>>>>>>>>> shouldn't
>> >>>>>>>>>>>>> that be done by SyncopeClient itself?
>> >>>>>>>>>>>> The Syncope client library does not throw any exception
>> because
>> >>>> the
>> >>>>>>>>>>>> Syncope core does not throw any exception in case one if
>> >>>> attempting
>> >>>>>>>>> to
>> >>>>>>>>>>>> create a mail template with an existing key; if you believe
>> that
>> >>>> an
>> >>>>>>>>>>>> exception should be raised, please fill an improvement on
>> JIRA
>> >>>>>>>>> (with fix
>> >>>>>>>>>>>> version 2.0.0 and component "core").
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> [1]
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>> >>>>>>>>>>>> [2]
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>> >>>>>>>>>>>> [3]
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>> >>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>> >>>> tusharm567@gmail.com
>> >>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Update: Added the following on this commit
>> >>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>> >>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>> >>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist through
>> >>>> eclipse
>> >>>>>>>>>>>>>> restart)
>> >>>>>>>>>>>>>>             a) Deployment url through eclipse installation
>> >>>>>>>>>>>>>>             b) User credentials through workspace
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Please advise on any further features required in the
>> >>>> TreeViewer.
>> >>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
>> >>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be
>> built
>> >>>> with
>> >>>>>>>>>>>> maven.
>> >>>>>>>>>>>>>>>> Please check it out and inform me if there are any
>> problems
>> >> or
>> >>>>>>>>>>>> changes
>> >>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
>> tomorrow.
>> >>>>>>>>>>>>>>> I have verified that now the Maven build works fine, and
>> >>>>>>>>> commented
>> >>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>> relevant issues on GitHub.
>> >>>>>>>>>>>>>>> Nice job!
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> Now let's concentrate on adding features.
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
>> >>>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
>> >>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>> >>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
>> following
>> >>>>>>>>> error.
>> >>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>> >>>>>>>>>>>>>>>>>>
>> >> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>> >>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed
>> during
>> >>>>>>>>>>>> checkstyle
>> >>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
>> location:
>> >>>>>>>>>>>>>>>>>>
>> >>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>> >>>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>> >>>>>>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>> >>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> <properties>
>> >>>>>>>>>>>>>>>>>           <checkstyle.skip>true</checkstyle.skip>
>> >>>>>>>>>>>>>>>>>         </properties>
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you will
>> >>>> place
>> >>>>>>>>> your
>> >>>>>>>>>>>>>>> code
>> >>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need to
>> >> make
>> >>>>>>>>> some
>> >>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
>> >> property.
>> >>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>> >>>>>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>> >>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho better,
>> but
>> >>>> since
>> >>>>>>>>>>>> I've
>> >>>>>>>>>>>>>>> never
>> >>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
>> taking
>> >>>> some
>> >>>>>>>>>>>> time.
>> >>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted with
>> >>>> Apache
>> >>>>>>>>>>>> Maven:
>> >>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
>> >> thousands
>> >>>>>>>>> more
>> >>>>>>>>>>>> Open
>> >>>>>>>>>>>>>>>>> Source projects out there).
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò
>> <
>> >>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>>>>>>> I have commented
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> and also opened
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
>> >>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel
>> for
>> >>>>>>>>> eclipse
>> >>>>>>>>>>>>>>> (Refer
>> >>>>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>> comments on this issue
>> >>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3
>> >).
>> >>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out
>> to
>> >>>> some
>> >>>>>>>>>>>> plugin
>> >>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting
>> any
>> >>>>>>>>>>>> response
>> >>>>>>>>>>>>>>> from
>> >>>>>>>>>>>>>>>>>>>>> them.
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
>> >>>>>>>>> plugin. I
>> >>>>>>>>>>>>>>> believe
>> >>>>>>>>>>>>>>>>>>>>> this
>> >>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which case,
>> I
>> >>>> will
>> >>>>>>>>>>>> start
>> >>>>>>>>>>>>>>> work
>> >>>>>>>>>>>>>>>>> on
>> >>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
>> plugin
>> >>>> and
>> >>>>>>>>> post
>> >>>>>>>>>>>>>>>>>>>>> issues on
>> >>>>>>>>>>>>>>>>>>>>> the GitHub repository <
>> >>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>> >>>>>>>>>>>> if
>> >>>>>>>>>>>>>>>>>>>>> you find
>> >>>>>>>>>>>>>>>>>>>>> any problems.
>> >>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
>> >>>>>>>>> earliest.
>> >>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>> >>>>>>>>>>>>>>> tusharm567@gmail.com>
>> >>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> Update:
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>> >>>>>>>>>>>>>>>>>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>> >>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>> >>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
>> doesn't
>> >>>>>>>>> seem to
>> >>>>>>>>>>>> be
>> >>>>>>>>>>>>>>>>>>>>>> directly
>> >>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>> >>>>>>>>> MANIFEST.MF
>> >>>>>>>>>>>> to be
>> >>>>>>>>>>>>>>>>>>>>>> in the
>> >>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
>> >> directory
>> >>>> as
>> >>>>>>>>>>>> well.
>> >>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
>> >> developers
>> >>>>>>>>>>>> until I'm
>> >>>>>>>>>>>>>>>>>>>>>> sure.
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the
>> tree
>> >>>> view
>> >>>>>>>>> to
>> >>>>>>>>>>>>>>>>> represent
>> >>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really
>> helpful
>> >> if
>> >>>>>>>>> you
>> >>>>>>>>>>>> could
>> >>>>>>>>>>>>>>>>>>>>>> point me
>> >>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>> >>>>>>>>>>>>>>>>>>>>>> <
>> >>
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>> >>>>>>>>>>>>>>>>>>>>>> you
>> >>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>> >>>>>>>>>>>>>>>>>>>>>> <
>> >>>>>>>>>>>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>> >>>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>> GSoC project.
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
>> >> Chicchiriccò <
>> >>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included
>> parent
>> >> POM
>> >>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and
>> binary
>> >>>> files
>> >>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>> >>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
>> >> project
>> >>>>>>>>>>>> instead of
>> >>>>>>>>>>>>>>>>>>>>>>> entire
>> >>>>>>>>>>>>>>>>>>>>>>>> workspace
>> >>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
>> >> repository
>> >>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>> >>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>> >>>>>>>>>>>>>>>>>>>>>>>> eclipse"
>> >>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to
>> define
>> >>>> the
>> >>>>>>>>>>>> url of
>> >>>>>>>>>>>>>>>>>>>>>>> syncope
>> >>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>> >>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>> >>>>>>>>>>>> build.properties
>> >>>>>>>>>>>>>>>>>>>>>>> files and
>> >>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
>> >> problems
>> >>>>>>>>>>>> observed.
>> >>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>> >>>>>>>>>>>>>>>>>>>>>>> I have opened
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>> >>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>> >>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> with some indications.
>> >>>>>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>> >>>> Chicchiriccò
>> >>>>>>>>> <
>> >>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>> >>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven
>> >>>> project
>> >>>>>>>>>>>> having
>> >>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>           <parent>
>> >>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>> >>>>>>>>>>>>>>>>>>>>>>>>>             <artifactId>syncope</artifactId>
>> >>>>>>>>>>>>>>>>>>>>>>>>>             <version>2.0.0-SNAPSHOT</version>
>> >>>>>>>>>>>>>>>>>>>>>>>>>           </parent>
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and
>> >> Nuwan
>> >>>>>>>>>>>> Sameera's
>> >>>>>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
>> merged
>> >>>>>>>>> into the
>> >>>>>>>>>>>>>>> Apache
>> >>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source
>> tree
>> >>>>>>>>> (Maven
>> >>>>>>>>>>>> will
>> >>>>>>>>>>>>>>>>>>>>>>> greatly
>> >>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> >>>>
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>> >>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to
>> (1)
>> >>>>>>>>> build
>> >>>>>>>>>>>> and
>> >>>>>>>>>>>>>>> (2)
>> >>>>>>>>>>>>>>>>>>>>>>> use
>> >>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
>> Eclipse
>> >>>>>>>>>>>> versions)
>> >>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>> >>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>> >>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to
>> >> access
>> >>>>>>>>> data
>> >>>>>>>>>>>> from
>> >>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>> REST
>> >>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on
>> any
>> >>>>>>>>> required
>> >>>>>>>>>>>>>>>>>>>>>>> changes or
>> >>>>>>>>>>>>>>>>>>>>>>>>>> updates.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>> >>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>> >>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in
>> the
>> >>>>>>>>> project.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project,
>> >> I've
>> >>>>>>>>>>>> built a
>> >>>>>>>>>>>>>>>>>>>>>>> java REST
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report
>> templates
>> >>>> using
>> >>>>>>>>>>>>>>> Apache's
>> >>>>>>>>>>>>>>>>>>>>>>> HTTP
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the
>> >> REST
>> >>>>>>>>> API
>> >>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>>>> have been
>> >>>>>>>>>>>>>>>>>>>>>>>>> added
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the
>> mail
>> >>>> and
>> >>>>>>>>>>>> report
>> >>>>>>>>>>>>>>>>>>>>>>> templates
>> >>>>>>>>>>>>>>>>>>>>>>>>> in a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> <
>> >>>>>>>>>>>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>> >>>>>>>>>>>>>>> A
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded
>> here <
>> >>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I
>> should be
>> >>>>>>>>> using
>> >>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>> Syncope
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data
>> to
>> >> the
>> >>>>>>>>> rest
>> >>>>>>>>>>>> API.
>> >>>>>>>>>>>>>>>>>>>>>>> I am
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating
>> >> you
>> >>>>>>>>> guys
>> >>>>>>>>>>>> on
>> >>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>> progress
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with
>> the
>> >>>>>>>>>>>> Apache's
>> >>>>>>>>>>>>>>> HTTP
>> >>>>>>>>>>>>>>>>>>>>>>>>> libraries over
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809
>> >.
>> >>>>>>>>> Please
>> >>>>>>>>>>>> take
>> >>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>>>>>>> look
>> >>>>>>>>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> --
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo
>> >> PMC,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail
>> PPMC
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>> http://home.apache.org/~ilgrosso/
>>
>> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VII
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
The XML and XML Schema Editors are designed for their specific files and if
I try to open html files using any of those, they throw fatal errors.
Besides the separate design and source pages of such editors wouldn't be
compatible with html text anyway since they are made to parse xml.

I will try and work out the problems with the html editor by tomorrow. If
it doesn't work by then, it would be better to go with a simple text editor
for now and work on this as a feature once the basic plugin is done.


On Tue, Jul 5, 2016 at 3:41 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 05/07/2016 12:09, Tushar Mishra wrote:
> > Eclipse has the following options to open an html file
> > Web Browser
> > Text Editor
> > System Editor (Opens up in Host OS)
> > Schema HTML Viewer
> >
> > None of these provide any of the expected Editor features which is why I
> am
> > working on this. I can later add the web browser as a page in the editor
> to
> > provide extra functionality, but syntax highlighting and content assist
> > should be included in my opinion.
> >
> > Eclipse does include an XML Schema Editor which can be used for the XSL
> > formats and I plan on using it.
>
> Not even a bare XML editor? You could use that in first place for both
> HTML and XSLT.
> Regards.
>
> > On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> On 05/07/2016 11:53, Tushar Mishra wrote:
> >>> Hello,
> >>>
> >>> I would like to update you on my progress. I am currently working on
> the
> >>> HTML Editor and syntax highlighting, content assist.
> >>>
> >>> Instead of building it from scratch, I am trying to use the classes
> >>> available in [1]. But I am facing some problems in doing so. The
> >> Preference
> >>> store used in the amateras project is separate from my own when I
> import
> >> it
> >>> as a jar. I am adopting multiple approaches in doing this and I have
> also
> >>> contacted the author of the repository to help out. This might take
> some
> >>> time.
> >> Couldn't you just rely on the default HTML editor in Eclipse? I
> >> understand that [1] is more advanced, but we can take it as an
> improvement.
> >>
> >> Regards.
> >>
> >>> [1] : https://github.com/takezoe/amateras-html-editor
> >>>
> >>> Regards,
> >>>
> >>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <
> >> ilgrosso@apache.org>
> >>> wrote:
> >>>
> >>>> On 29/06/2016 11:48, Tushar Mishra wrote:
> >>>>> Update:
> >>>>> 1. Added refresh button
> >>>>> 2. Handled empty templates
> >>>>>
> >>>>> TODO:
> >>>>> 1. Saving templates (using setFormat)
> >>>>> 2. HTML and XSLT editors
> >>>>> This will include Syntax Highlighting, Content Assist (including
> >> syncope
> >>>>> specific variables, as stated here
> >>>>> <
> >>
> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
> >>>>> )
> >>>> Please open issues on your GitHub repos for all the tasks left on the
> >>>> project (including the two above).
> >>>> This will help tracking your work.
> >>>>
> >>>> Regards.
> >>>>
> >>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tu...@gmail.com>
> >>>> wrote:
> >>>>>> Update: Fixed Issue #5 <
> >>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
> >>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
> >>>>>>
> >>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <
> tusharm567@gmail.com>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> I've commented on the issue #7
> >>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for
> >> the
> >>>>>>> problem. The issue was being caused by the classpath file which was
> >>>>>>> pointing to the wrong jars. I believe this solves the problem, if
> it
> >>>>>>> doesn't please do comment and let me know.
> >>>>>>>
> >>>>>>> I was hoping to solve this before the midterm evaluations, so you
> >> could
> >>>>>>> see the plugin before that. If this still does not solve the
> problem,
> >>>>>>> please do tell me so I can send you a packaged plugin to run on
> your
> >>>>>>> eclipse installation.
> >>>>>>>
> >>>>>>> Regards,
> >>>>>>>
> >>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <
> tusharm567@gmail.com>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Thanks, I'll look into it.
> >>>>>>>>
> >>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
> >>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>
> >>>>>>>>> Hi,
> >>>>>>>>> sorry for late reaction.
> >>>>>>>>>
> >>>>>>>>> I have opened some issues in the GitHub repo.
> >>>>>>>>>
> >>>>>>>>> Regards.
> >>>>>>>>>
> >>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
> >>>>>>>>>> Update:
> >>>>>>>>>> Changed editor to show multiple pages for different formats
> >>>>>>>>> (Screenshot
> >>>>>>>>>> <http://imgur.com/kAI78ts>).
> >>>>>>>>>> 1. MailTemplates -> HTML, TEXT
> >>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
> >>>>>>>>>>
> >>>>>>>>>> TODO:
> >>>>>>>>>> Handle save and save as events.
> >>>>>>>>>>
> >>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
> >> tusharm567@gmail.com>
> >>>>>>>>> wrote:
> >>>>>>>>>>> Update:
> >>>>>>>>>>> 1. Editor classes added
> >>>>>>>>>>> 2. Template is read and displayed in editor
> >>>>>>>>>>>
> >>>>>>>>>>> TODO:
> >>>>>>>>>>> 1. Allow template to be viewed in different formats (HTML,
> text)
> >>>>>>>>>>> 2. Allow changes made in template to be sent to deployment
> >>>>>>>>>>>
> >>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
> >>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
> >>>>>>>>>>>>> Update: Added the following with this commit
> >>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
> >>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
> >>>>>>>>>>>>> Right click on
> >>>>>>>>>>>>> 1. TreeParent allows adding a new template key
> >>>>>>>>>>>>> 2. TreeObject allows removing key
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Problems:
> >>>>>>>>>>>>> 1. Users except admin do not return any template keys. Can
> only
> >>>> the
> >>>>>>>>>>>>> admin
> >>>>>>>>>>>>> have mail and report Templates or can any normal user have
> them
> >>>>>>>>> too?
> >>>>>>>>>>>> The internal security model [1] requires that the requesting
> >> user
> >>>>>>>>> owns
> >>>>>>>>>>>> different entitlements for being allowed to invoke different
> >> REST
> >>>>>>>>>>>> endpoints; for example, to list all mail templates available,
> >> the
> >>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
> >>>>>>>>>>>>
> >>>>>>>>>>>> You will need then to create a role R, assign the needed
> >>>>>>>>> entitlements to
> >>>>>>>>>>>> it and finally make the new user member of such role.
> >>>>>>>>>>>> Only at this point such user will be allowed to invoke the
> >>>>>>>>> corresponding
> >>>>>>>>>>>> REST calls.
> >>>>>>>>>>>>
> >>>>>>>>>>>> "admin" owns all defined entitlements.
> >>>>>>>>>>>>
> >>>>>>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
> >>>>>>>>> doesn't
> >>>>>>>>>>>>> throw
> >>>>>>>>>>>>> any error. I can simply check against the loaded key list,
> but
> >>>>>>>>>>>>> shouldn't
> >>>>>>>>>>>>> that be done by SyncopeClient itself?
> >>>>>>>>>>>> The Syncope client library does not throw any exception
> because
> >>>> the
> >>>>>>>>>>>> Syncope core does not throw any exception in case one if
> >>>> attempting
> >>>>>>>>> to
> >>>>>>>>>>>> create a mail template with an existing key; if you believe
> that
> >>>> an
> >>>>>>>>>>>> exception should be raised, please fill an improvement on JIRA
> >>>>>>>>> (with fix
> >>>>>>>>>>>> version 2.0.0 and component "core").
> >>>>>>>>>>>>
> >>>>>>>>>>>> Regards.
> >>>>>>>>>>>>
> >>>>>>>>>>>> [1]
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>
> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
> >>>>>>>>>>>> [2]
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
> >>>>>>>>>>>> [3]
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
> >>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
> >>>> tusharm567@gmail.com
> >>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Update: Added the following on this commit
> >>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
> >>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
> >>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist through
> >>>> eclipse
> >>>>>>>>>>>>>> restart)
> >>>>>>>>>>>>>>             a) Deployment url through eclipse installation
> >>>>>>>>>>>>>>             b) User credentials through workspace
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Please advise on any further features required in the
> >>>> TreeViewer.
> >>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be
> built
> >>>> with
> >>>>>>>>>>>> maven.
> >>>>>>>>>>>>>>>> Please check it out and inform me if there are any
> problems
> >> or
> >>>>>>>>>>>> changes
> >>>>>>>>>>>>>>>> required. I'll start working on the loading dialog
> tomorrow.
> >>>>>>>>>>>>>>> I have verified that now the Maven build works fine, and
> >>>>>>>>> commented
> >>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>> relevant issues on GitHub.
> >>>>>>>>>>>>>>> Nice job!
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Now let's concentrate on adding features.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
> >>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> >>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the
> following
> >>>>>>>>> error.
> >>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>>>>>>>>>>>
> >> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
> >>>>>>>>>>>> checkstyle
> >>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at
> location:
> >>>>>>>>>>>>>>>>>>
> >>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
> >>>>>>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> <properties>
> >>>>>>>>>>>>>>>>>           <checkstyle.skip>true</checkstyle.skip>
> >>>>>>>>>>>>>>>>>         </properties>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you will
> >>>> place
> >>>>>>>>> your
> >>>>>>>>>>>>>>> code
> >>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need to
> >> make
> >>>>>>>>> some
> >>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
> >> property.
> >>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
> >>>>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho better, but
> >>>> since
> >>>>>>>>>>>> I've
> >>>>>>>>>>>>>>> never
> >>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is
> taking
> >>>> some
> >>>>>>>>>>>> time.
> >>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted with
> >>>> Apache
> >>>>>>>>>>>> Maven:
> >>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
> >> thousands
> >>>>>>>>> more
> >>>>>>>>>>>> Open
> >>>>>>>>>>>>>>>>> Source projects out there).
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>>>>>> I have commented
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> and also opened
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel for
> >>>>>>>>> eclipse
> >>>>>>>>>>>>>>> (Refer
> >>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>> comments on this issue
> >>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out
> to
> >>>> some
> >>>>>>>>>>>> plugin
> >>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting
> any
> >>>>>>>>>>>> response
> >>>>>>>>>>>>>>> from
> >>>>>>>>>>>>>>>>>>>>> them.
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
> >>>>>>>>> plugin. I
> >>>>>>>>>>>>>>> believe
> >>>>>>>>>>>>>>>>>>>>> this
> >>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which case, I
> >>>> will
> >>>>>>>>>>>> start
> >>>>>>>>>>>>>>> work
> >>>>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the
> plugin
> >>>> and
> >>>>>>>>> post
> >>>>>>>>>>>>>>>>>>>>> issues on
> >>>>>>>>>>>>>>>>>>>>> the GitHub repository <
> >>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
> >>>>>>>>>>>> if
> >>>>>>>>>>>>>>>>>>>>> you find
> >>>>>>>>>>>>>>>>>>>>> any problems.
> >>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
> >>>>>>>>> earliest.
> >>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
> >>>>>>>>>>>>>>> tusharm567@gmail.com>
> >>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
> >>>>>>>>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
> >>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/
> doesn't
> >>>>>>>>> seem to
> >>>>>>>>>>>> be
> >>>>>>>>>>>>>>>>>>>>>> directly
> >>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
> >>>>>>>>> MANIFEST.MF
> >>>>>>>>>>>> to be
> >>>>>>>>>>>>>>>>>>>>>> in the
> >>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
> >> directory
> >>>> as
> >>>>>>>>>>>> well.
> >>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
> >> developers
> >>>>>>>>>>>> until I'm
> >>>>>>>>>>>>>>>>>>>>>> sure.
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the tree
> >>>> view
> >>>>>>>>> to
> >>>>>>>>>>>>>>>>> represent
> >>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really helpful
> >> if
> >>>>>>>>> you
> >>>>>>>>>>>> could
> >>>>>>>>>>>>>>>>>>>>>> point me
> >>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
> >>>>>>>>>>>>>>>>>>>>>> <
> >>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>>>>>>>>>>>>>>>>>>> you
> >>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
> >>>>>>>>>>>>>>>>>>>>>> <
> >>>>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016
> >
> >>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>> GSoC project.
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
> >> Chicchiriccò <
> >>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent
> >> POM
> >>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary
> >>>> files
> >>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
> >>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
> >> project
> >>>>>>>>>>>> instead of
> >>>>>>>>>>>>>>>>>>>>>>> entire
> >>>>>>>>>>>>>>>>>>>>>>>> workspace
> >>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
> >> repository
> >>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
> >>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
> >>>>>>>>>>>>>>>>>>>>>>>> eclipse"
> >>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to
> define
> >>>> the
> >>>>>>>>>>>> url of
> >>>>>>>>>>>>>>>>>>>>>>> syncope
> >>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
> >>>>>>>>>>>> build.properties
> >>>>>>>>>>>>>>>>>>>>>>> files and
> >>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
> >> problems
> >>>>>>>>>>>> observed.
> >>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>>>> I have opened
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> with some indications.
> >>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
> >>>> Chicchiriccò
> >>>>>>>>> <
> >>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven
> >>>> project
> >>>>>>>>>>>> having
> >>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>           <parent>
> >>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>>>>>>>>>>>>>>>>>>             <artifactId>syncope</artifactId>
> >>>>>>>>>>>>>>>>>>>>>>>>>             <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>>>>>>>>>>>>>>>>>>           </parent>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and
> >> Nuwan
> >>>>>>>>>>>> Sameera's
> >>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be
> merged
> >>>>>>>>> into the
> >>>>>>>>>>>>>>> Apache
> >>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source
> tree
> >>>>>>>>> (Maven
> >>>>>>>>>>>> will
> >>>>>>>>>>>>>>>>>>>>>>> greatly
> >>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>>>
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to
> (1)
> >>>>>>>>> build
> >>>>>>>>>>>> and
> >>>>>>>>>>>>>>> (2)
> >>>>>>>>>>>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported
> Eclipse
> >>>>>>>>>>>> versions)
> >>>>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
> >>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to
> >> access
> >>>>>>>>> data
> >>>>>>>>>>>> from
> >>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>> REST
> >>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
> >>>>>>>>> required
> >>>>>>>>>>>>>>>>>>>>>>> changes or
> >>>>>>>>>>>>>>>>>>>>>>>>>> updates.
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
> >>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in
> the
> >>>>>>>>> project.
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project,
> >> I've
> >>>>>>>>>>>> built a
> >>>>>>>>>>>>>>>>>>>>>>> java REST
> >>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report templates
> >>>> using
> >>>>>>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the
> >> REST
> >>>>>>>>> API
> >>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>> have been
> >>>>>>>>>>>>>>>>>>>>>>>>> added
> >>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the
> mail
> >>>> and
> >>>>>>>>>>>> report
> >>>>>>>>>>>>>>>>>>>>>>> templates
> >>>>>>>>>>>>>>>>>>>>>>>>> in a
> >>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> <
> >>>>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016
> >.
> >>>>>>>>>>>>>>> A
> >>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here
> <
> >>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I should
> be
> >>>>>>>>> using
> >>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>> Syncope
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data to
> >> the
> >>>>>>>>> rest
> >>>>>>>>>>>> API.
> >>>>>>>>>>>>>>>>>>>>>>> I am
> >>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating
> >> you
> >>>>>>>>> guys
> >>>>>>>>>>>> on
> >>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>> progress
> >>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with
> the
> >>>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>>>> libraries over
> >>>>>>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809
> >.
> >>>>>>>>> Please
> >>>>>>>>>>>> take
> >>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>>>> look
> >>>>>>>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
> >>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
> >>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo
> >> PMC,
> >>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
> >>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 05/07/2016 12:09, Tushar Mishra wrote:
> Eclipse has the following options to open an html file
> Web Browser
> Text Editor
> System Editor (Opens up in Host OS)
> Schema HTML Viewer
>
> None of these provide any of the expected Editor features which is why I am
> working on this. I can later add the web browser as a page in the editor to
> provide extra functionality, but syntax highlighting and content assist
> should be included in my opinion.
>
> Eclipse does include an XML Schema Editor which can be used for the XSL
> formats and I plan on using it.

Not even a bare XML editor? You could use that in first place for both 
HTML and XSLT.
Regards.

> On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> On 05/07/2016 11:53, Tushar Mishra wrote:
>>> Hello,
>>>
>>> I would like to update you on my progress. I am currently working on the
>>> HTML Editor and syntax highlighting, content assist.
>>>
>>> Instead of building it from scratch, I am trying to use the classes
>>> available in [1]. But I am facing some problems in doing so. The
>> Preference
>>> store used in the amateras project is separate from my own when I import
>> it
>>> as a jar. I am adopting multiple approaches in doing this and I have also
>>> contacted the author of the repository to help out. This might take some
>>> time.
>> Couldn't you just rely on the default HTML editor in Eclipse? I
>> understand that [1] is more advanced, but we can take it as an improvement.
>>
>> Regards.
>>
>>> [1] : https://github.com/takezoe/amateras-html-editor
>>>
>>> Regards,
>>>
>>> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiricc� <
>> ilgrosso@apache.org>
>>> wrote:
>>>
>>>> On 29/06/2016 11:48, Tushar Mishra wrote:
>>>>> Update:
>>>>> 1. Added refresh button
>>>>> 2. Handled empty templates
>>>>>
>>>>> TODO:
>>>>> 1. Saving templates (using setFormat)
>>>>> 2. HTML and XSLT editors
>>>>> This will include Syntax Highlighting, Content Assist (including
>> syncope
>>>>> specific variables, as stated here
>>>>> <
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>>>>> )
>>>> Please open issues on your GitHub repos for all the tasks left on the
>>>> project (including the two above).
>>>> This will help tracking your work.
>>>>
>>>> Regards.
>>>>
>>>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tu...@gmail.com>
>>>> wrote:
>>>>>> Update: Fixed Issue #5 <
>>>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>>>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>>>>>>
>>>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <tu...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> I've commented on the issue #7
>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for
>> the
>>>>>>> problem. The issue was being caused by the classpath file which was
>>>>>>> pointing to the wrong jars. I believe this solves the problem, if it
>>>>>>> doesn't please do comment and let me know.
>>>>>>>
>>>>>>> I was hoping to solve this before the midterm evaluations, so you
>> could
>>>>>>> see the plugin before that. If this still does not solve the problem,
>>>>>>> please do tell me so I can send you a packaged plugin to run on your
>>>>>>> eclipse installation.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thanks, I'll look into it.
>>>>>>>>
>>>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiricc� <
>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> sorry for late reaction.
>>>>>>>>>
>>>>>>>>> I have opened some issues in the GitHub repo.
>>>>>>>>>
>>>>>>>>> Regards.
>>>>>>>>>
>>>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>>>>>>>>> Update:
>>>>>>>>>> Changed editor to show multiple pages for different formats
>>>>>>>>> (Screenshot
>>>>>>>>>> <http://imgur.com/kAI78ts>).
>>>>>>>>>> 1. MailTemplates -> HTML, TEXT
>>>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>>>>>>>>>>
>>>>>>>>>> TODO:
>>>>>>>>>> Handle save and save as events.
>>>>>>>>>>
>>>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
>> tusharm567@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>>> Update:
>>>>>>>>>>> 1. Editor classes added
>>>>>>>>>>> 2. Template is read and displayed in editor
>>>>>>>>>>>
>>>>>>>>>>> TODO:
>>>>>>>>>>> 1. Allow template to be viewed in different formats (HTML, text)
>>>>>>>>>>> 2. Allow changes made in template to be sent to deployment
>>>>>>>>>>>
>>>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiricc� <
>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>>>>>>>>>>> Update: Added the following with this commit
>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>>>>>>>>>>>>> Right click on
>>>>>>>>>>>>> 1. TreeParent allows adding a new template key
>>>>>>>>>>>>> 2. TreeObject allows removing key
>>>>>>>>>>>>>
>>>>>>>>>>>>> Problems:
>>>>>>>>>>>>> 1. Users except admin do not return any template keys. Can only
>>>> the
>>>>>>>>>>>>> admin
>>>>>>>>>>>>> have mail and report Templates or can any normal user have them
>>>>>>>>> too?
>>>>>>>>>>>> The internal security model [1] requires that the requesting
>> user
>>>>>>>>> owns
>>>>>>>>>>>> different entitlements for being allowed to invoke different
>> REST
>>>>>>>>>>>> endpoints; for example, to list all mail templates available,
>> the
>>>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>>>>>>>>>>
>>>>>>>>>>>> You will need then to create a role R, assign the needed
>>>>>>>>> entitlements to
>>>>>>>>>>>> it and finally make the new user member of such role.
>>>>>>>>>>>> Only at this point such user will be allowed to invoke the
>>>>>>>>> corresponding
>>>>>>>>>>>> REST calls.
>>>>>>>>>>>>
>>>>>>>>>>>> "admin" owns all defined entitlements.
>>>>>>>>>>>>
>>>>>>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
>>>>>>>>> doesn't
>>>>>>>>>>>>> throw
>>>>>>>>>>>>> any error. I can simply check against the loaded key list, but
>>>>>>>>>>>>> shouldn't
>>>>>>>>>>>>> that be done by SyncopeClient itself?
>>>>>>>>>>>> The Syncope client library does not throw any exception because
>>>> the
>>>>>>>>>>>> Syncope core does not throw any exception in case one if
>>>> attempting
>>>>>>>>> to
>>>>>>>>>>>> create a mail template with an existing key; if you believe that
>>>> an
>>>>>>>>>>>> exception should be raised, please fill an improvement on JIRA
>>>>>>>>> (with fix
>>>>>>>>>>>> version 2.0.0 and component "core").
>>>>>>>>>>>>
>>>>>>>>>>>> Regards.
>>>>>>>>>>>>
>>>>>>>>>>>> [1]
>>>>>>>>>>>>
>>>>>>>>>>>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>>>>>>>>>>> [2]
>>>>>>>>>>>>
>>>>>>>>>>>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>>>>>>>>>>> [3]
>>>>>>>>>>>>
>>>>>>>>>>>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>>>> tusharm567@gmail.com
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Update: Added the following on this commit
>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>>>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist through
>>>> eclipse
>>>>>>>>>>>>>> restart)
>>>>>>>>>>>>>>             a) Deployment url through eclipse installation
>>>>>>>>>>>>>>             b) User credentials through workspace
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please advise on any further features required in the
>>>> TreeViewer.
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be built
>>>> with
>>>>>>>>>>>> maven.
>>>>>>>>>>>>>>>> Please check it out and inform me if there are any problems
>> or
>>>>>>>>>>>> changes
>>>>>>>>>>>>>>>> required. I'll start working on the loading dialog tomorrow.
>>>>>>>>>>>>>>> I have verified that now the Maven build works fine, and
>>>>>>>>> commented
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> relevant issues on GitHub.
>>>>>>>>>>>>>>> Nice job!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Now let's concentrate on adding features.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the following
>>>>>>>>> error.
>>>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>>>>>>>
>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
>>>>>>>>>>>> checkstyle
>>>>>>>>>>>>>>>>>> execution: Unable to find configuration file at location:
>>>>>>>>>>>>>>>>>>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>>>>>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> <properties>
>>>>>>>>>>>>>>>>>           <checkstyle.skip>true</checkstyle.skip>
>>>>>>>>>>>>>>>>>         </properties>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you will
>>>> place
>>>>>>>>> your
>>>>>>>>>>>>>>> code
>>>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need to
>> make
>>>>>>>>> some
>>>>>>>>>>>>>>>>> changes into the pom.xml - including removing this
>> property.
>>>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>>>>>>>>>>>>>>>> you linked in the issues to understand tycho better, but
>>>> since
>>>>>>>>>>>> I've
>>>>>>>>>>>>>>> never
>>>>>>>>>>>>>>>>>> really worked with maven extensively before, it is taking
>>>> some
>>>>>>>>>>>> time.
>>>>>>>>>>>>>>>>> With caution, but take your time to get acquainted with
>>>> Apache
>>>>>>>>>>>> Maven:
>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
>> thousands
>>>>>>>>> more
>>>>>>>>>>>> Open
>>>>>>>>>>>>>>>>> Source projects out there).
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>> I have commented
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> and also opened
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel for
>>>>>>>>> eclipse
>>>>>>>>>>>>>>> (Refer
>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>> comments on this issue
>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out to
>>>> some
>>>>>>>>>>>> plugin
>>>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting any
>>>>>>>>>>>> response
>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
>>>>>>>>> plugin. I
>>>>>>>>>>>>>>> believe
>>>>>>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which case, I
>>>> will
>>>>>>>>>>>> start
>>>>>>>>>>>>>>> work
>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the plugin
>>>> and
>>>>>>>>> post
>>>>>>>>>>>>>>>>>>>>> issues on
>>>>>>>>>>>>>>>>>>>>> the GitHub repository <
>>>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>>>>>>>>>>>> if
>>>>>>>>>>>>>>>>>>>>> you find
>>>>>>>>>>>>>>>>>>>>> any problems.
>>>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
>>>>>>>>> earliest.
>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>>>>>>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>>>>>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't
>>>>>>>>> seem to
>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>>>>> directly
>>>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>>>>>>>>> MANIFEST.MF
>>>>>>>>>>>> to be
>>>>>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
>> directory
>>>> as
>>>>>>>>>>>> well.
>>>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
>> developers
>>>>>>>>>>>> until I'm
>>>>>>>>>>>>>>>>>>>>>> sure.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the tree
>>>> view
>>>>>>>>> to
>>>>>>>>>>>>>>>>> represent
>>>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really helpful
>> if
>>>>>>>>> you
>>>>>>>>>>>> could
>>>>>>>>>>>>>>>>>>>>>> point me
>>>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>>>>>>>>>>>>>>>>>>>>>> <
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>>>>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>>>>>>>>>>>>>>>>>>>>>> <
>>>>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>> GSoC project.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
>> Chicchiricc� <
>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent
>> POM
>>>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary
>>>> files
>>>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
>> project
>>>>>>>>>>>> instead of
>>>>>>>>>>>>>>>>>>>>>>> entire
>>>>>>>>>>>>>>>>>>>>>>>> workspace
>>>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
>> repository
>>>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>>>>>>>>>>>>>>>>> eclipse"
>>>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define
>>>> the
>>>>>>>>>>>> url of
>>>>>>>>>>>>>>>>>>>>>>> syncope
>>>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>>>>>>>>>>> build.properties
>>>>>>>>>>>>>>>>>>>>>>> files and
>>>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
>> problems
>>>>>>>>>>>> observed.
>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>> I have opened
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> with some indications.
>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>>>> Chicchiricc�
>>>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven
>>>> project
>>>>>>>>>>>> having
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>           <parent>
>>>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>>>>>>>>>>>>>>>>             <artifactId>syncope</artifactId>
>>>>>>>>>>>>>>>>>>>>>>>>>             <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>>>>>>>>>>>>>>>>           </parent>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and
>> Nuwan
>>>>>>>>>>>> Sameera's
>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged
>>>>>>>>> into the
>>>>>>>>>>>>>>> Apache
>>>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree
>>>>>>>>> (Maven
>>>>>>>>>>>> will
>>>>>>>>>>>>>>>>>>>>>>> greatly
>>>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1)
>>>>>>>>> build
>>>>>>>>>>>> and
>>>>>>>>>>>>>>> (2)
>>>>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>>>>>>>>>>>> versions)
>>>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>>>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to
>> access
>>>>>>>>> data
>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>> REST
>>>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
>>>>>>>>> required
>>>>>>>>>>>>>>>>>>>>>>> changes or
>>>>>>>>>>>>>>>>>>>>>>>>>> updates.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
>>>>>>>>> project.
>>>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project,
>> I've
>>>>>>>>>>>> built a
>>>>>>>>>>>>>>>>>>>>>>> java REST
>>>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report templates
>>>> using
>>>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the
>> REST
>>>>>>>>> API
>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>> have been
>>>>>>>>>>>>>>>>>>>>>>>>> added
>>>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail
>>>> and
>>>>>>>>>>>> report
>>>>>>>>>>>>>>>>>>>>>>> templates
>>>>>>>>>>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> <
>>>>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>>>>>>>>>>>>> A
>>>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
>>>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be
>>>>>>>>> using
>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>> Syncope
>>>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data to
>> the
>>>>>>>>> rest
>>>>>>>>>>>> API.
>>>>>>>>>>>>>>>>>>>>>>> I am
>>>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating
>> you
>>>>>>>>> guys
>>>>>>>>>>>> on
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>> progress
>>>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>> libraries over
>>>>>>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>.
>>>>>>>>> Please
>>>>>>>>>>>> take
>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>> look
>>>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiricc�
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo
>> PMC,
>>>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Eclipse has the following options to open an html file
Web Browser
Text Editor
System Editor (Opens up in Host OS)
Schema HTML Viewer

None of these provide any of the expected Editor features which is why I am
working on this. I can later add the web browser as a page in the editor to
provide extra functionality, but syntax highlighting and content assist
should be included in my opinion.

Eclipse does include an XML Schema Editor which can be used for the XSL
formats and I plan on using it.

On Tue, Jul 5, 2016 at 3:26 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 05/07/2016 11:53, Tushar Mishra wrote:
> > Hello,
> >
> > I would like to update you on my progress. I am currently working on the
> > HTML Editor and syntax highlighting, content assist.
> >
> > Instead of building it from scratch, I am trying to use the classes
> > available in [1]. But I am facing some problems in doing so. The
> Preference
> > store used in the amateras project is separate from my own when I import
> it
> > as a jar. I am adopting multiple approaches in doing this and I have also
> > contacted the author of the repository to help out. This might take some
> > time.
>
> Couldn't you just rely on the default HTML editor in Eclipse? I
> understand that [1] is more advanced, but we can take it as an improvement.
>
> Regards.
>
> > [1] : https://github.com/takezoe/amateras-html-editor
> >
> > Regards,
> >
> > On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> On 29/06/2016 11:48, Tushar Mishra wrote:
> >>> Update:
> >>> 1. Added refresh button
> >>> 2. Handled empty templates
> >>>
> >>> TODO:
> >>> 1. Saving templates (using setFormat)
> >>> 2. HTML and XSLT editors
> >>> This will include Syntax Highlighting, Content Assist (including
> syncope
> >>> specific variables, as stated here
> >>> <
> >>
> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
> >>> )
> >> Please open issues on your GitHub repos for all the tasks left on the
> >> project (including the two above).
> >> This will help tracking your work.
> >>
> >> Regards.
> >>
> >>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >>>
> >>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tu...@gmail.com>
> >> wrote:
> >>>> Update: Fixed Issue #5 <
> >> https://github.com/tmess567/SYNCOPE-809/issues/5>
> >>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
> >>>>
> >>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <tu...@gmail.com>
> >>>> wrote:
> >>>>
> >>>>> I've commented on the issue #7
> >>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for
> the
> >>>>> problem. The issue was being caused by the classpath file which was
> >>>>> pointing to the wrong jars. I believe this solves the problem, if it
> >>>>> doesn't please do comment and let me know.
> >>>>>
> >>>>> I was hoping to solve this before the midterm evaluations, so you
> could
> >>>>> see the plugin before that. If this still does not solve the problem,
> >>>>> please do tell me so I can send you a packaged plugin to run on your
> >>>>> eclipse installation.
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>>> Thanks, I'll look into it.
> >>>>>>
> >>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
> >>>>>> ilgrosso@apache.org> wrote:
> >>>>>>
> >>>>>>> Hi,
> >>>>>>> sorry for late reaction.
> >>>>>>>
> >>>>>>> I have opened some issues in the GitHub repo.
> >>>>>>>
> >>>>>>> Regards.
> >>>>>>>
> >>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
> >>>>>>>> Update:
> >>>>>>>> Changed editor to show multiple pages for different formats
> >>>>>>> (Screenshot
> >>>>>>>> <http://imgur.com/kAI78ts>).
> >>>>>>>> 1. MailTemplates -> HTML, TEXT
> >>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
> >>>>>>>>
> >>>>>>>> TODO:
> >>>>>>>> Handle save and save as events.
> >>>>>>>>
> >>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <
> tusharm567@gmail.com>
> >>>>>>> wrote:
> >>>>>>>>> Update:
> >>>>>>>>> 1. Editor classes added
> >>>>>>>>> 2. Template is read and displayed in editor
> >>>>>>>>>
> >>>>>>>>> TODO:
> >>>>>>>>> 1. Allow template to be viewed in different formats (HTML, text)
> >>>>>>>>> 2. Allow changes made in template to be sent to deployment
> >>>>>>>>>
> >>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
> >>>>>>> ilgrosso@apache.org>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
> >>>>>>>>>>> Update: Added the following with this commit
> >>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
> >>>>>>>>>>> TreeViewer now supports Add and Remove functionality
> >>>>>>>>>>> Right click on
> >>>>>>>>>>> 1. TreeParent allows adding a new template key
> >>>>>>>>>>> 2. TreeObject allows removing key
> >>>>>>>>>>>
> >>>>>>>>>>> Problems:
> >>>>>>>>>>> 1. Users except admin do not return any template keys. Can only
> >> the
> >>>>>>>>>>> admin
> >>>>>>>>>>> have mail and report Templates or can any normal user have them
> >>>>>>> too?
> >>>>>>>>>> The internal security model [1] requires that the requesting
> user
> >>>>>>> owns
> >>>>>>>>>> different entitlements for being allowed to invoke different
> REST
> >>>>>>>>>> endpoints; for example, to list all mail templates available,
> the
> >>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
> >>>>>>>>>>
> >>>>>>>>>> You will need then to create a role R, assign the needed
> >>>>>>> entitlements to
> >>>>>>>>>> it and finally make the new user member of such role.
> >>>>>>>>>> Only at this point such user will be allowed to invoke the
> >>>>>>> corresponding
> >>>>>>>>>> REST calls.
> >>>>>>>>>>
> >>>>>>>>>> "admin" owns all defined entitlements.
> >>>>>>>>>>
> >>>>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
> >>>>>>> doesn't
> >>>>>>>>>>> throw
> >>>>>>>>>>> any error. I can simply check against the loaded key list, but
> >>>>>>>>>>> shouldn't
> >>>>>>>>>>> that be done by SyncopeClient itself?
> >>>>>>>>>> The Syncope client library does not throw any exception because
> >> the
> >>>>>>>>>> Syncope core does not throw any exception in case one if
> >> attempting
> >>>>>>> to
> >>>>>>>>>> create a mail template with an existing key; if you believe that
> >> an
> >>>>>>>>>> exception should be raised, please fill an improvement on JIRA
> >>>>>>> (with fix
> >>>>>>>>>> version 2.0.0 and component "core").
> >>>>>>>>>>
> >>>>>>>>>> Regards.
> >>>>>>>>>>
> >>>>>>>>>> [1]
> >>>>>>>>>>
> >>>>>>>>>>
> >>
> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
> >>>>>>>>>> [2]
> >>>>>>>>>>
> >>>>>>>>>>
> >>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
> >>>>>>>>>> [3]
> >>>>>>>>>>
> >>>>>>>>>>
> >>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
> >>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
> >> tusharm567@gmail.com
> >>>>>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> Update: Added the following on this commit
> >>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
> >>>>>>>>>>>> 1. Loading dialog to represent fetching process.
> >>>>>>>>>>>> 2. Preferences used to store and retrieve (persist through
> >> eclipse
> >>>>>>>>>>>> restart)
> >>>>>>>>>>>>            a) Deployment url through eclipse installation
> >>>>>>>>>>>>            b) User credentials through workspace
> >>>>>>>>>>>>
> >>>>>>>>>>>> Please advise on any further features required in the
> >> TreeViewer.
> >>>>>>>>>>>> Regards,
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
> >>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>> I've modified the project to use Tycho and can now be built
> >> with
> >>>>>>>>>> maven.
> >>>>>>>>>>>>>> Please check it out and inform me if there are any problems
> or
> >>>>>>>>>> changes
> >>>>>>>>>>>>>> required. I'll start working on the loading dialog tomorrow.
> >>>>>>>>>>>>> I have verified that now the Maven build works fine, and
> >>>>>>> commented
> >>>>>>>>>>>>> the
> >>>>>>>>>>>>> relevant issues on GitHub.
> >>>>>>>>>>>>> Nice job!
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Now let's concentrate on adding features.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
> >>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> >>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the following
> >>>>>>> error.
> >>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>>>>>>>>>
> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
> >>>>>>>>>> checkstyle
> >>>>>>>>>>>>>>>> execution: Unable to find configuration file at location:
> >>>>>>>>>>>>>>>>
> >>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
> >>>>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> <properties>
> >>>>>>>>>>>>>>>          <checkstyle.skip>true</checkstyle.skip>
> >>>>>>>>>>>>>>>        </properties>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you will
> >> place
> >>>>>>> your
> >>>>>>>>>>>>> code
> >>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need to
> make
> >>>>>>> some
> >>>>>>>>>>>>>>> changes into the pom.xml - including removing this
> property.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I am also reading up on the tutorial
> >>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>>>>>>>>>>>>>>> you linked in the issues to understand tycho better, but
> >> since
> >>>>>>>>>> I've
> >>>>>>>>>>>>> never
> >>>>>>>>>>>>>>>> really worked with maven extensively before, it is taking
> >> some
> >>>>>>>>>> time.
> >>>>>>>>>>>>>>> With caution, but take your time to get acquainted with
> >> Apache
> >>>>>>>>>> Maven:
> >>>>>>>>>>>>> it
> >>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and
> thousands
> >>>>>>> more
> >>>>>>>>>> Open
> >>>>>>>>>>>>>>> Source projects out there).
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>>>> I have commented
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> and also opened
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel for
> >>>>>>> eclipse
> >>>>>>>>>>>>> (Refer
> >>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>> comments on this issue
> >>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out to
> >> some
> >>>>>>>>>> plugin
> >>>>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting any
> >>>>>>>>>> response
> >>>>>>>>>>>>> from
> >>>>>>>>>>>>>>>>>>> them.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
> >>>>>>> plugin. I
> >>>>>>>>>>>>> believe
> >>>>>>>>>>>>>>>>>>> this
> >>>>>>>>>>>>>>>>>>> will be completed during the weekend in which case, I
> >> will
> >>>>>>>>>> start
> >>>>>>>>>>>>> work
> >>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>>> the editor part of the plugin.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the plugin
> >> and
> >>>>>>> post
> >>>>>>>>>>>>>>>>>>> issues on
> >>>>>>>>>>>>>>>>>>> the GitHub repository <
> >>>>>>> https://github.com/tmess567/SYNCOPE-809>
> >>>>>>>>>> if
> >>>>>>>>>>>>>>>>>>> you find
> >>>>>>>>>>>>>>>>>>> any problems.
> >>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
> >>>>>>> earliest.
> >>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
> >>>>>>>>>>>>> tusharm567@gmail.com>
> >>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
> >>>>>>>>>>>>>>>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
> >>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't
> >>>>>>> seem to
> >>>>>>>>>> be
> >>>>>>>>>>>>>>>>>>>> directly
> >>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
> >>>>>>> MANIFEST.MF
> >>>>>>>>>> to be
> >>>>>>>>>>>>>>>>>>>> in the
> >>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root
> directory
> >> as
> >>>>>>>>>> well.
> >>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other
> developers
> >>>>>>>>>> until I'm
> >>>>>>>>>>>>>>>>>>>> sure.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the tree
> >> view
> >>>>>>> to
> >>>>>>>>>>>>>>> represent
> >>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really helpful
> if
> >>>>>>> you
> >>>>>>>>>> could
> >>>>>>>>>>>>>>>>>>>> point me
> >>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
> >>>>>>>>>>>>>>>>>>>> <
> >>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>>>>>>>>>>>>>>>>> you
> >>>>>>>>>>>>>>>>>>>> posted over at the wiki page
> >>>>>>>>>>>>>>>>>>>> <
> >>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
> >>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>> GSoC project.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco
> Chicchiriccò <
> >>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent
> POM
> >>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary
> >> files
> >>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
> >>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse
> project
> >>>>>>>>>> instead of
> >>>>>>>>>>>>>>>>>>>>> entire
> >>>>>>>>>>>>>>>>>>>>>> workspace
> >>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the
> repository
> >>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
> >>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
> >>>>>>>>>>>>>>>>>>>>>> eclipse"
> >>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define
> >> the
> >>>>>>>>>> url of
> >>>>>>>>>>>>>>>>>>>>> syncope
> >>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Changes to be made:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
> >>>>>>>>>> build.properties
> >>>>>>>>>>>>>>>>>>>>> files and
> >>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or
> problems
> >>>>>>>>>> observed.
> >>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>> I have opened
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> with some indications.
> >>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
> >> Chicchiriccò
> >>>>>>> <
> >>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven
> >> project
> >>>>>>>>>> having
> >>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>> following parent POM:
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>          <parent>
> >>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>>>>>>>>>>>>>>>>            <artifactId>syncope</artifactId>
> >>>>>>>>>>>>>>>>>>>>>>>            <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>>>>>>>>>>>>>>>>          </parent>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and
> Nuwan
> >>>>>>>>>> Sameera's
> >>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged
> >>>>>>> into the
> >>>>>>>>>>>>> Apache
> >>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree
> >>>>>>> (Maven
> >>>>>>>>>> will
> >>>>>>>>>>>>>>>>>>>>> greatly
> >>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1)
> >>>>>>> build
> >>>>>>>>>> and
> >>>>>>>>>>>>> (2)
> >>>>>>>>>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
> >>>>>>>>>> versions)
> >>>>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
> >>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to
> access
> >>>>>>> data
> >>>>>>>>>> from
> >>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>> REST
> >>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
> >>>>>>> required
> >>>>>>>>>>>>>>>>>>>>> changes or
> >>>>>>>>>>>>>>>>>>>>>>>> updates.
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
> >>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
> >>>>>>> project.
> >>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project,
> I've
> >>>>>>>>>> built a
> >>>>>>>>>>>>>>>>>>>>> java REST
> >>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report templates
> >> using
> >>>>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the
> REST
> >>>>>>> API
> >>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>> have been
> >>>>>>>>>>>>>>>>>>>>>>> added
> >>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail
> >> and
> >>>>>>>>>> report
> >>>>>>>>>>>>>>>>>>>>> templates
> >>>>>>>>>>>>>>>>>>>>>>> in a
> >>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> <
> >>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
> >>>>>>>>>>>>> A
> >>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
> >>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be
> >>>>>>> using
> >>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>> Syncope
> >>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data to
> the
> >>>>>>> rest
> >>>>>>>>>> API.
> >>>>>>>>>>>>>>>>>>>>> I am
> >>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating
> you
> >>>>>>> guys
> >>>>>>>>>> on
> >>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>> progress
> >>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
> >>>>>>>>>> Apache's
> >>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>> libraries over
> >>>>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>.
> >>>>>>> Please
> >>>>>>>>>> take
> >>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>> look
> >>>>>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
> >>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
> >>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo
> PMC,
> >>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
> >>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 05/07/2016 11:53, Tushar Mishra wrote:
> Hello,
>
> I would like to update you on my progress. I am currently working on the
> HTML Editor and syntax highlighting, content assist.
>
> Instead of building it from scratch, I am trying to use the classes
> available in [1]. But I am facing some problems in doing so. The Preference
> store used in the amateras project is separate from my own when I import it
> as a jar. I am adopting multiple approaches in doing this and I have also
> contacted the author of the repository to help out. This might take some
> time.

Couldn't you just rely on the default HTML editor in Eclipse? I 
understand that [1] is more advanced, but we can take it as an improvement.

Regards.

> [1] : https://github.com/takezoe/amateras-html-editor
>
> Regards,
>
> On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> On 29/06/2016 11:48, Tushar Mishra wrote:
>>> Update:
>>> 1. Added refresh button
>>> 2. Handled empty templates
>>>
>>> TODO:
>>> 1. Saving templates (using setFormat)
>>> 2. HTML and XSLT editors
>>> This will include Syntax Highlighting, Content Assist (including syncope
>>> specific variables, as stated here
>>> <
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
>>> )
>> Please open issues on your GitHub repos for all the tasks left on the
>> project (including the two above).
>> This will help tracking your work.
>>
>> Regards.
>>
>>> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
>>>
>>> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tu...@gmail.com>
>> wrote:
>>>> Update: Fixed Issue #5 <
>> https://github.com/tmess567/SYNCOPE-809/issues/5>
>>>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>>>>
>>>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <tu...@gmail.com>
>>>> wrote:
>>>>
>>>>> I've commented on the issue #7
>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for the
>>>>> problem. The issue was being caused by the classpath file which was
>>>>> pointing to the wrong jars. I believe this solves the problem, if it
>>>>> doesn't please do comment and let me know.
>>>>>
>>>>> I was hoping to solve this before the midterm evaluations, so you could
>>>>> see the plugin before that. If this still does not solve the problem,
>>>>> please do tell me so I can send you a packaged plugin to run on your
>>>>> eclipse installation.
>>>>>
>>>>> Regards,
>>>>>
>>>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Thanks, I'll look into it.
>>>>>>
>>>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiricc� <
>>>>>> ilgrosso@apache.org> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> sorry for late reaction.
>>>>>>>
>>>>>>> I have opened some issues in the GitHub repo.
>>>>>>>
>>>>>>> Regards.
>>>>>>>
>>>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>>>>>>> Update:
>>>>>>>> Changed editor to show multiple pages for different formats
>>>>>>> (Screenshot
>>>>>>>> <http://imgur.com/kAI78ts>).
>>>>>>>> 1. MailTemplates -> HTML, TEXT
>>>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>>>>>>>>
>>>>>>>> TODO:
>>>>>>>> Handle save and save as events.
>>>>>>>>
>>>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com>
>>>>>>> wrote:
>>>>>>>>> Update:
>>>>>>>>> 1. Editor classes added
>>>>>>>>> 2. Template is read and displayed in editor
>>>>>>>>>
>>>>>>>>> TODO:
>>>>>>>>> 1. Allow template to be viewed in different formats (HTML, text)
>>>>>>>>> 2. Allow changes made in template to be sent to deployment
>>>>>>>>>
>>>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiricc� <
>>>>>>> ilgrosso@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>>>>>>>>> Update: Added the following with this commit
>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>>>>>>>>> TreeViewer now supports Add and Remove functionality
>>>>>>>>>>> Right click on
>>>>>>>>>>> 1. TreeParent allows adding a new template key
>>>>>>>>>>> 2. TreeObject allows removing key
>>>>>>>>>>>
>>>>>>>>>>> Problems:
>>>>>>>>>>> 1. Users except admin do not return any template keys. Can only
>> the
>>>>>>>>>>> admin
>>>>>>>>>>> have mail and report Templates or can any normal user have them
>>>>>>> too?
>>>>>>>>>> The internal security model [1] requires that the requesting user
>>>>>>> owns
>>>>>>>>>> different entitlements for being allowed to invoke different REST
>>>>>>>>>> endpoints; for example, to list all mail templates available, the
>>>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>>>>>>>>
>>>>>>>>>> You will need then to create a role R, assign the needed
>>>>>>> entitlements to
>>>>>>>>>> it and finally make the new user member of such role.
>>>>>>>>>> Only at this point such user will be allowed to invoke the
>>>>>>> corresponding
>>>>>>>>>> REST calls.
>>>>>>>>>>
>>>>>>>>>> "admin" owns all defined entitlements.
>>>>>>>>>>
>>>>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
>>>>>>> doesn't
>>>>>>>>>>> throw
>>>>>>>>>>> any error. I can simply check against the loaded key list, but
>>>>>>>>>>> shouldn't
>>>>>>>>>>> that be done by SyncopeClient itself?
>>>>>>>>>> The Syncope client library does not throw any exception because
>> the
>>>>>>>>>> Syncope core does not throw any exception in case one if
>> attempting
>>>>>>> to
>>>>>>>>>> create a mail template with an existing key; if you believe that
>> an
>>>>>>>>>> exception should be raised, please fill an improvement on JIRA
>>>>>>> (with fix
>>>>>>>>>> version 2.0.0 and component "core").
>>>>>>>>>>
>>>>>>>>>> Regards.
>>>>>>>>>>
>>>>>>>>>> [1]
>>>>>>>>>>
>>>>>>>>>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>>>>>>>>> [2]
>>>>>>>>>>
>>>>>>>>>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>>>>>>>>> [3]
>>>>>>>>>>
>>>>>>>>>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
>> tusharm567@gmail.com
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Update: Added the following on this commit
>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>>>>>>>>>> 1. Loading dialog to represent fetching process.
>>>>>>>>>>>> 2. Preferences used to store and retrieve (persist through
>> eclipse
>>>>>>>>>>>> restart)
>>>>>>>>>>>>            a) Deployment url through eclipse installation
>>>>>>>>>>>>            b) User credentials through workspace
>>>>>>>>>>>>
>>>>>>>>>>>> Please advise on any further features required in the
>> TreeViewer.
>>>>>>>>>>>> Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiricc� <
>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>>>>>>>>>>>> I've modified the project to use Tycho and can now be built
>> with
>>>>>>>>>> maven.
>>>>>>>>>>>>>> Please check it out and inform me if there are any problems or
>>>>>>>>>> changes
>>>>>>>>>>>>>> required. I'll start working on the loading dialog tomorrow.
>>>>>>>>>>>>> I have verified that now the Maven build works fine, and
>>>>>>> commented
>>>>>>>>>>>>> the
>>>>>>>>>>>>> relevant issues on GitHub.
>>>>>>>>>>>>> Nice job!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Now let's concentrate on adding features.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiricc� <
>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the following
>>>>>>> error.
>>>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
>>>>>>>>>> checkstyle
>>>>>>>>>>>>>>>> execution: Unable to find configuration file at location:
>>>>>>>>>>>>>>>>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>>>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <properties>
>>>>>>>>>>>>>>>          <checkstyle.skip>true</checkstyle.skip>
>>>>>>>>>>>>>>>        </properties>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> which will skip checkstyle checks: at some time you will
>> place
>>>>>>> your
>>>>>>>>>>>>> code
>>>>>>>>>>>>>>> into the Apache Syncope source tree and we will need to make
>>>>>>> some
>>>>>>>>>>>>>>> changes into the pom.xml - including removing this property.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I am also reading up on the tutorial
>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>>>>>>>>>>>>>> you linked in the issues to understand tycho better, but
>> since
>>>>>>>>>> I've
>>>>>>>>>>>>> never
>>>>>>>>>>>>>>>> really worked with maven extensively before, it is taking
>> some
>>>>>>>>>> time.
>>>>>>>>>>>>>>> With caution, but take your time to get acquainted with
>> Apache
>>>>>>>>>> Maven:
>>>>>>>>>>>>> it
>>>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and thousands
>>>>>>> more
>>>>>>>>>> Open
>>>>>>>>>>>>>>> Source projects out there).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>> I have commented
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> and also opened
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel for
>>>>>>> eclipse
>>>>>>>>>>>>> (Refer
>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>> comments on this issue
>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out to
>> some
>>>>>>>>>> plugin
>>>>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting any
>>>>>>>>>> response
>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
>>>>>>> plugin. I
>>>>>>>>>>>>> believe
>>>>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>>>> will be completed during the weekend in which case, I
>> will
>>>>>>>>>> start
>>>>>>>>>>>>> work
>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>> the editor part of the plugin.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I would again like to invite you to try out the plugin
>> and
>>>>>>> post
>>>>>>>>>>>>>>>>>>> issues on
>>>>>>>>>>>>>>>>>>> the GitHub repository <
>>>>>>> https://github.com/tmess567/SYNCOPE-809>
>>>>>>>>>> if
>>>>>>>>>>>>>>>>>>> you find
>>>>>>>>>>>>>>>>>>> any problems.
>>>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
>>>>>>> earliest.
>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>>>>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>>>>>>>>>>>>>>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't
>>>>>>> seem to
>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>>> directly
>>>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>>>>>>> MANIFEST.MF
>>>>>>>>>> to be
>>>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root directory
>> as
>>>>>>>>>> well.
>>>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other developers
>>>>>>>>>> until I'm
>>>>>>>>>>>>>>>>>>>> sure.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the tree
>> view
>>>>>>> to
>>>>>>>>>>>>>>> represent
>>>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really helpful if
>>>>>>> you
>>>>>>>>>> could
>>>>>>>>>>>>>>>>>>>> point me
>>>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>>>>>>>>>>>>>>>>>>>> <
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>>>>> posted over at the wiki page
>>>>>>>>>>>>>>>>>>>> <
>>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> GSoC project.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
>>>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary
>> files
>>>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
>>>>>>>>>> instead of
>>>>>>>>>>>>>>>>>>>>> entire
>>>>>>>>>>>>>>>>>>>>>> workspace
>>>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
>>>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>>>>>>>>>>>>>>> eclipse"
>>>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define
>> the
>>>>>>>>>> url of
>>>>>>>>>>>>>>>>>>>>> syncope
>>>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Changes to be made:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>>>>>>>>> build.properties
>>>>>>>>>>>>>>>>>>>>> files and
>>>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or problems
>>>>>>>>>> observed.
>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>> I have opened
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> with some indications.
>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
>> Chicchiricc�
>>>>>>> <
>>>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven
>> project
>>>>>>>>>> having
>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>> following parent POM:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>          <parent>
>>>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>>>>>>>>>>>>>>            <artifactId>syncope</artifactId>
>>>>>>>>>>>>>>>>>>>>>>>            <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>>>>>>>>>>>>>>          </parent>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
>>>>>>>>>> Sameera's
>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged
>>>>>>> into the
>>>>>>>>>>>>> Apache
>>>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree
>>>>>>> (Maven
>>>>>>>>>> will
>>>>>>>>>>>>>>>>>>>>> greatly
>>>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1)
>>>>>>> build
>>>>>>>>>> and
>>>>>>>>>>>>> (2)
>>>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>>>>>>>>>> versions)
>>>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>>>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to access
>>>>>>> data
>>>>>>>>>> from
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>> REST
>>>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
>>>>>>> required
>>>>>>>>>>>>>>>>>>>>> changes or
>>>>>>>>>>>>>>>>>>>>>>>> updates.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
>>>>>>> project.
>>>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
>>>>>>>>>> built a
>>>>>>>>>>>>>>>>>>>>> java REST
>>>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report templates
>> using
>>>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST
>>>>>>> API
>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>> have been
>>>>>>>>>>>>>>>>>>>>>>> added
>>>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail
>> and
>>>>>>>>>> report
>>>>>>>>>>>>>>>>>>>>> templates
>>>>>>>>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> <
>>>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>>>>>>>>>>> A
>>>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
>>>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be
>>>>>>> using
>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>> Syncope
>>>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the
>>>>>>> rest
>>>>>>>>>> API.
>>>>>>>>>>>>>>>>>>>>> I am
>>>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating you
>>>>>>> guys
>>>>>>>>>> on
>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>> progress
>>>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>>>>>>>>>> Apache's
>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>> libraries over
>>>>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>.
>>>>>>> Please
>>>>>>>>>> take
>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>> look
>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiricc�
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>>>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>>>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Hello,

I would like to update you on my progress. I am currently working on the
HTML Editor and syntax highlighting, content assist.

Instead of building it from scratch, I am trying to use the classes
available in [1]. But I am facing some problems in doing so. The Preference
store used in the amateras project is separate from my own when I import it
as a jar. I am adopting multiple approaches in doing this and I have also
contacted the author of the repository to help out. This might take some
time.

[1] : https://github.com/takezoe/amateras-html-editor

Regards,

On Thu, Jun 30, 2016 at 1:24 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 29/06/2016 11:48, Tushar Mishra wrote:
> > Update:
> > 1. Added refresh button
> > 2. Handled empty templates
> >
> > TODO:
> > 1. Saving templates (using setFormat)
> > 2. HTML and XSLT editors
> > This will include Syntax Highlighting, Content Assist (including syncope
> > specific variables, as stated here
> > <
> https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates
> >
> > )
>
> Please open issues on your GitHub repos for all the tasks left on the
> project (including the two above).
> This will help tracking your work.
>
> Regards.
>
> > Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> > <
> https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> >
> >
> > On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tu...@gmail.com>
> wrote:
> >
> >> Update: Fixed Issue #5 <
> https://github.com/tmess567/SYNCOPE-809/issues/5>
> >> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
> >>
> >> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <tu...@gmail.com>
> >> wrote:
> >>
> >>> I've commented on the issue #7
> >>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for the
> >>> problem. The issue was being caused by the classpath file which was
> >>> pointing to the wrong jars. I believe this solves the problem, if it
> >>> doesn't please do comment and let me know.
> >>>
> >>> I was hoping to solve this before the midterm evaluations, so you could
> >>> see the plugin before that. If this still does not solve the problem,
> >>> please do tell me so I can send you a packaged plugin to run on your
> >>> eclipse installation.
> >>>
> >>> Regards,
> >>>
> >>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com>
> >>> wrote:
> >>>
> >>>> Thanks, I'll look into it.
> >>>>
> >>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
> >>>> ilgrosso@apache.org> wrote:
> >>>>
> >>>>> Hi,
> >>>>> sorry for late reaction.
> >>>>>
> >>>>> I have opened some issues in the GitHub repo.
> >>>>>
> >>>>> Regards.
> >>>>>
> >>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
> >>>>>> Update:
> >>>>>> Changed editor to show multiple pages for different formats
> >>>>> (Screenshot
> >>>>>> <http://imgur.com/kAI78ts>).
> >>>>>> 1. MailTemplates -> HTML, TEXT
> >>>>>> 2. ReportTemplates -> CSV, FO, HTML
> >>>>>>
> >>>>>> TODO:
> >>>>>> Handle save and save as events.
> >>>>>>
> >>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>> <
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
> >>>>>>
> >>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com>
> >>>>> wrote:
> >>>>>>> Update:
> >>>>>>> 1. Editor classes added
> >>>>>>> 2. Template is read and displayed in editor
> >>>>>>>
> >>>>>>> TODO:
> >>>>>>> 1. Allow template to be viewed in different formats (HTML, text)
> >>>>>>> 2. Allow changes made in template to be sent to deployment
> >>>>>>>
> >>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>> <
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
> >>>>> ilgrosso@apache.org>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
> >>>>>>>>> Update: Added the following with this commit
> >>>>>>>>> <
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
> >>>>>>>>> TreeViewer now supports Add and Remove functionality
> >>>>>>>>> Right click on
> >>>>>>>>> 1. TreeParent allows adding a new template key
> >>>>>>>>> 2. TreeObject allows removing key
> >>>>>>>>>
> >>>>>>>>> Problems:
> >>>>>>>>> 1. Users except admin do not return any template keys. Can only
> the
> >>>>>>>>> admin
> >>>>>>>>> have mail and report Templates or can any normal user have them
> >>>>> too?
> >>>>>>>> The internal security model [1] requires that the requesting user
> >>>>> owns
> >>>>>>>> different entitlements for being allowed to invoke different REST
> >>>>>>>> endpoints; for example, to list all mail templates available, the
> >>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
> >>>>>>>>
> >>>>>>>> You will need then to create a role R, assign the needed
> >>>>> entitlements to
> >>>>>>>> it and finally make the new user member of such role.
> >>>>>>>> Only at this point such user will be allowed to invoke the
> >>>>> corresponding
> >>>>>>>> REST calls.
> >>>>>>>>
> >>>>>>>> "admin" owns all defined entitlements.
> >>>>>>>>
> >>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
> >>>>> doesn't
> >>>>>>>>> throw
> >>>>>>>>> any error. I can simply check against the loaded key list, but
> >>>>>>>>> shouldn't
> >>>>>>>>> that be done by SyncopeClient itself?
> >>>>>>>> The Syncope client library does not throw any exception because
> the
> >>>>>>>> Syncope core does not throw any exception in case one if
> attempting
> >>>>> to
> >>>>>>>> create a mail template with an existing key; if you believe that
> an
> >>>>>>>> exception should be raised, please fill an improvement on JIRA
> >>>>> (with fix
> >>>>>>>> version 2.0.0 and component "core").
> >>>>>>>>
> >>>>>>>> Regards.
> >>>>>>>>
> >>>>>>>> [1]
> >>>>>>>>
> >>>>>>>>
> >>>>>
> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
> >>>>>>>> [2]
> >>>>>>>>
> >>>>>>>>
> >>>>>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
> >>>>>>>> [3]
> >>>>>>>>
> >>>>>>>>
> >>>>>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
> >>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <
> tusharm567@gmail.com
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> Update: Added the following on this commit
> >>>>>>>>>> <
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
> >>>>>>>>>> 1. Loading dialog to represent fetching process.
> >>>>>>>>>> 2. Preferences used to store and retrieve (persist through
> eclipse
> >>>>>>>>>> restart)
> >>>>>>>>>>           a) Deployment url through eclipse installation
> >>>>>>>>>>           b) User credentials through workspace
> >>>>>>>>>>
> >>>>>>>>>> Please advise on any further features required in the
> TreeViewer.
> >>>>>>>>>> Regards,
> >>>>>>>>>>
> >>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
> >>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
> >>>>>>>>>>>> I've modified the project to use Tycho and can now be built
> with
> >>>>>>>> maven.
> >>>>>>>>>>>> Please check it out and inform me if there are any problems or
> >>>>>>>> changes
> >>>>>>>>>>>> required. I'll start working on the loading dialog tomorrow.
> >>>>>>>>>>> I have verified that now the Maven build works fine, and
> >>>>> commented
> >>>>>>>>>>> the
> >>>>>>>>>>> relevant issues on GitHub.
> >>>>>>>>>>> Nice job!
> >>>>>>>>>>>
> >>>>>>>>>>> Now let's concentrate on adding features.
> >>>>>>>>>>>
> >>>>>>>>>>> Regards.
> >>>>>>>>>>>
> >>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
> >>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
> >>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> >>>>>>>>>>>>>> However on running 'mvn clean verify', I got the following
> >>>>> error.
> >>>>>>>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
> >>>>>>>> checkstyle
> >>>>>>>>>>>>>> execution: Unable to find configuration file at location:
> >>>>>>>>>>>>>>
> >>>>>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
> >>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >>>>>>>>>>>>> For the moment just add this to your pom.xml:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> <properties>
> >>>>>>>>>>>>>         <checkstyle.skip>true</checkstyle.skip>
> >>>>>>>>>>>>>       </properties>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> which will skip checkstyle checks: at some time you will
> place
> >>>>> your
> >>>>>>>>>>> code
> >>>>>>>>>>>>> into the Apache Syncope source tree and we will need to make
> >>>>> some
> >>>>>>>>>>>>> changes into the pom.xml - including removing this property.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> I am also reading up on the tutorial
> >>>>>>>>>>>>>> <
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>>>>>>>>>>>>> you linked in the issues to understand tycho better, but
> since
> >>>>>>>> I've
> >>>>>>>>>>> never
> >>>>>>>>>>>>>> really worked with maven extensively before, it is taking
> some
> >>>>>>>> time.
> >>>>>>>>>>>>> With caution, but take your time to get acquainted with
> Apache
> >>>>>>>> Maven:
> >>>>>>>>>>> it
> >>>>>>>>>>>>> is fundamental for working with Apache Syncope (and thousands
> >>>>> more
> >>>>>>>> Open
> >>>>>>>>>>>>> Source projects out there).
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>> I have commented
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> and also opened
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>> There have been no responses from the IRC channel for
> >>>>> eclipse
> >>>>>>>>>>> (Refer
> >>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>> comments on this issue
> >>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out to
> some
> >>>>>>>> plugin
> >>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting any
> >>>>>>>> response
> >>>>>>>>>>> from
> >>>>>>>>>>>>>>>>> them.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
> >>>>> plugin. I
> >>>>>>>>>>> believe
> >>>>>>>>>>>>>>>>> this
> >>>>>>>>>>>>>>>>> will be completed during the weekend in which case, I
> will
> >>>>>>>> start
> >>>>>>>>>>> work
> >>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>> the editor part of the plugin.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> I would again like to invite you to try out the plugin
> and
> >>>>> post
> >>>>>>>>>>>>>>>>> issues on
> >>>>>>>>>>>>>>>>> the GitHub repository <
> >>>>> https://github.com/tmess567/SYNCOPE-809>
> >>>>>>>> if
> >>>>>>>>>>>>>>>>> you find
> >>>>>>>>>>>>>>>>> any problems.
> >>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
> >>>>> earliest.
> >>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
> >>>>>>>>>>> tusharm567@gmail.com>
> >>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
> >>>>>>>>>>>>>>>>>> <
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>>>>>>>>>>>>>>> 2. Commented on issue #3
> >>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't
> >>>>> seem to
> >>>>>>>> be
> >>>>>>>>>>>>>>>>>> directly
> >>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
> >>>>> MANIFEST.MF
> >>>>>>>> to be
> >>>>>>>>>>>>>>>>>> in the
> >>>>>>>>>>>>>>>>>> same directory, so that has to be in the root directory
> as
> >>>>>>>> well.
> >>>>>>>>>>>>>>>>>> I will continue to look into it and ask other developers
> >>>>>>>> until I'm
> >>>>>>>>>>>>>>>>>> sure.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the tree
> view
> >>>>> to
> >>>>>>>>>>>>> represent
> >>>>>>>>>>>>>>>>>> folders and files? If so, it would be really helpful if
> >>>>> you
> >>>>>>>> could
> >>>>>>>>>>>>>>>>>> point me
> >>>>>>>>>>>>>>>>>> to where you got the icons for the image
> >>>>>>>>>>>>>>>>>> <
> >>>>>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>>>>>>>>>>>>>>> you
> >>>>>>>>>>>>>>>>>> posted over at the wiki page
> >>>>>>>>>>>>>>>>>> <
> >>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
> >>>>>>>>>>> for
> >>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>> GSoC project.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
> >>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary
> files
> >>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
> >>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
> >>>>>>>> instead of
> >>>>>>>>>>>>>>>>>>> entire
> >>>>>>>>>>>>>>>>>>>> workspace
> >>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
> >>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
> >>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
> >>>>>>>>>>>>>>>>>>>> eclipse"
> >>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define
> the
> >>>>>>>> url of
> >>>>>>>>>>>>>>>>>>> syncope
> >>>>>>>>>>>>>>>>>>>> deployment and username password combination
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Changes to be made:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
> >>>>>>>> build.properties
> >>>>>>>>>>>>>>>>>>> files and
> >>>>>>>>>>>>>>>>>>>> folders and generate them using maven
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or problems
> >>>>>>>> observed.
> >>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>> I have opened
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> with some indications.
> >>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco
> Chicchiriccò
> >>>>> <
> >>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven
> project
> >>>>>>>> having
> >>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>> following parent POM:
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>         <parent>
> >>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>>>>>>>>>>>>>>           <artifactId>syncope</artifactId>
> >>>>>>>>>>>>>>>>>>>>>           <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>>>>>>>>>>>>>>         </parent>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
> >>>>>>>> Sameera's
> >>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged
> >>>>> into the
> >>>>>>>>>>> Apache
> >>>>>>>>>>>>>>>>>>>>> Syncope source tree.
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree
> >>>>> (Maven
> >>>>>>>> will
> >>>>>>>>>>>>>>>>>>> greatly
> >>>>>>>>>>>>>>>>>>>>> help WRT this), like as
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>>>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1)
> >>>>> build
> >>>>>>>> and
> >>>>>>>>>>> (2)
> >>>>>>>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
> >>>>>>>> versions)
> >>>>>>>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>>>>>>> I've updated the source
> >>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to access
> >>>>> data
> >>>>>>>> from
> >>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>> REST
> >>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
> >>>>> required
> >>>>>>>>>>>>>>>>>>> changes or
> >>>>>>>>>>>>>>>>>>>>>> updates.
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
> >>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>> Hello devs,
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
> >>>>> project.
> >>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
> >>>>>>>> built a
> >>>>>>>>>>>>>>>>>>> java REST
> >>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report templates
> using
> >>>>>>>>>>> Apache's
> >>>>>>>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST
> >>>>> API
> >>>>>>>> and
> >>>>>>>>>>>>>>>>>>> have been
> >>>>>>>>>>>>>>>>>>>>> added
> >>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail
> and
> >>>>>>>> report
> >>>>>>>>>>>>>>>>>>> templates
> >>>>>>>>>>>>>>>>>>>>> in a
> >>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> <
> >>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
> >>>>>>>>>>> A
> >>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
> >>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be
> >>>>> using
> >>>>>>>> the
> >>>>>>>>>>>>>>>>>>> Syncope
> >>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the
> >>>>> rest
> >>>>>>>> API.
> >>>>>>>>>>>>>>>>>>> I am
> >>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating you
> >>>>> guys
> >>>>>>>> on
> >>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>> progress
> >>>>>>>>>>>>>>>>>>>>>>> with the same soon.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
> >>>>>>>> Apache's
> >>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>>>>> libraries over
> >>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>.
> >>>>> Please
> >>>>>>>> take
> >>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>> look
> >>>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
> >>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
> >>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> >>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
> >>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 29/06/2016 11:48, Tushar Mishra wrote:
> Update:
> 1. Added refresh button
> 2. Handled empty templates
>
> TODO:
> 1. Saving templates (using setFormat)
> 2. HTML and XSLT editors
> This will include Syntax Highlighting, Content Assist (including syncope
> specific variables, as stated here
> <https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates>
> )

Please open issues on your GitHub repos for all the tasks left on the 
project (including the two above).
This will help tracking your work.

Regards.

> Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
> <https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba>
>
> On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tu...@gmail.com> wrote:
>
>> Update: Fixed Issue #5 <https://github.com/tmess567/SYNCOPE-809/issues/5>
>> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>>
>> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <tu...@gmail.com>
>> wrote:
>>
>>> I've commented on the issue #7
>>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for the
>>> problem. The issue was being caused by the classpath file which was
>>> pointing to the wrong jars. I believe this solves the problem, if it
>>> doesn't please do comment and let me know.
>>>
>>> I was hoping to solve this before the midterm evaluations, so you could
>>> see the plugin before that. If this still does not solve the problem,
>>> please do tell me so I can send you a packaged plugin to run on your
>>> eclipse installation.
>>>
>>> Regards,
>>>
>>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com>
>>> wrote:
>>>
>>>> Thanks, I'll look into it.
>>>>
>>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiricc� <
>>>> ilgrosso@apache.org> wrote:
>>>>
>>>>> Hi,
>>>>> sorry for late reaction.
>>>>>
>>>>> I have opened some issues in the GitHub repo.
>>>>>
>>>>> Regards.
>>>>>
>>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>>>>> Update:
>>>>>> Changed editor to show multiple pages for different formats
>>>>> (Screenshot
>>>>>> <http://imgur.com/kAI78ts>).
>>>>>> 1. MailTemplates -> HTML, TEXT
>>>>>> 2. ReportTemplates -> CSV, FO, HTML
>>>>>>
>>>>>> TODO:
>>>>>> Handle save and save as events.
>>>>>>
>>>>>> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>> <
>>>>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>>>>>
>>>>>> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com>
>>>>> wrote:
>>>>>>> Update:
>>>>>>> 1. Editor classes added
>>>>>>> 2. Template is read and displayed in editor
>>>>>>>
>>>>>>> TODO:
>>>>>>> 1. Allow template to be viewed in different formats (HTML, text)
>>>>>>> 2. Allow changes made in template to be sent to deployment
>>>>>>>
>>>>>>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>> <
>>>>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>>>>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiricc� <
>>>>> ilgrosso@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>>>>>>> Update: Added the following with this commit
>>>>>>>>> <
>>>>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>>>>>>> TreeViewer now supports Add and Remove functionality
>>>>>>>>> Right click on
>>>>>>>>> 1. TreeParent allows adding a new template key
>>>>>>>>> 2. TreeObject allows removing key
>>>>>>>>>
>>>>>>>>> Problems:
>>>>>>>>> 1. Users except admin do not return any template keys. Can only the
>>>>>>>>> admin
>>>>>>>>> have mail and report Templates or can any normal user have them
>>>>> too?
>>>>>>>> The internal security model [1] requires that the requesting user
>>>>> owns
>>>>>>>> different entitlements for being allowed to invoke different REST
>>>>>>>> endpoints; for example, to list all mail templates available, the
>>>>>>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>>>>>>
>>>>>>>> You will need then to create a role R, assign the needed
>>>>> entitlements to
>>>>>>>> it and finally make the new user member of such role.
>>>>>>>> Only at this point such user will be allowed to invoke the
>>>>> corresponding
>>>>>>>> REST calls.
>>>>>>>>
>>>>>>>> "admin" owns all defined entitlements.
>>>>>>>>
>>>>>>>>> 2. When trying to add an already existing key, SyncopeClient
>>>>> doesn't
>>>>>>>>> throw
>>>>>>>>> any error. I can simply check against the loaded key list, but
>>>>>>>>> shouldn't
>>>>>>>>> that be done by SyncopeClient itself?
>>>>>>>> The Syncope client library does not throw any exception because the
>>>>>>>> Syncope core does not throw any exception in case one if attempting
>>>>> to
>>>>>>>> create a mail template with an existing key; if you believe that an
>>>>>>>> exception should be raised, please fill an improvement on JIRA
>>>>> (with fix
>>>>>>>> version 2.0.0 and component "core").
>>>>>>>>
>>>>>>>> Regards.
>>>>>>>>
>>>>>>>> [1]
>>>>>>>>
>>>>>>>>
>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>>>>>>> [2]
>>>>>>>>
>>>>>>>>
>>>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>>>>>>> [3]
>>>>>>>>
>>>>>>>>
>>>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>>>>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tusharm567@gmail.com
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Update: Added the following on this commit
>>>>>>>>>> <
>>>>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>>>>>>>> 1. Loading dialog to represent fetching process.
>>>>>>>>>> 2. Preferences used to store and retrieve (persist through eclipse
>>>>>>>>>> restart)
>>>>>>>>>>           a) Deployment url through eclipse installation
>>>>>>>>>>           b) User credentials through workspace
>>>>>>>>>>
>>>>>>>>>> Please advise on any further features required in the TreeViewer.
>>>>>>>>>> Regards,
>>>>>>>>>>
>>>>>>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiricc� <
>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>>>>>>>>>> I've modified the project to use Tycho and can now be built with
>>>>>>>> maven.
>>>>>>>>>>>> Please check it out and inform me if there are any problems or
>>>>>>>> changes
>>>>>>>>>>>> required. I'll start working on the loading dialog tomorrow.
>>>>>>>>>>> I have verified that now the Maven build works fine, and
>>>>> commented
>>>>>>>>>>> the
>>>>>>>>>>> relevant issues on GitHub.
>>>>>>>>>>> Nice job!
>>>>>>>>>>>
>>>>>>>>>>> Now let's concentrate on adding features.
>>>>>>>>>>>
>>>>>>>>>>> Regards.
>>>>>>>>>>>
>>>>>>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiricc� <
>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>>>>>>>>>>>> I built the structure as suggested by Mr. Perucci here
>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>>>>>>>>>>>>> However on running 'mvn clean verify', I got the following
>>>>> error.
>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>>>>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
>>>>>>>> checkstyle
>>>>>>>>>>>>>> execution: Unable to find configuration file at location:
>>>>>>>>>>>>>>
>>>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>>>>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>>>>>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>>>>>>>>>>> For the moment just add this to your pom.xml:
>>>>>>>>>>>>>
>>>>>>>>>>>>> <properties>
>>>>>>>>>>>>>         <checkstyle.skip>true</checkstyle.skip>
>>>>>>>>>>>>>       </properties>
>>>>>>>>>>>>>
>>>>>>>>>>>>> which will skip checkstyle checks: at some time you will place
>>>>> your
>>>>>>>>>>> code
>>>>>>>>>>>>> into the Apache Syncope source tree and we will need to make
>>>>> some
>>>>>>>>>>>>> changes into the pom.xml - including removing this property.
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am also reading up on the tutorial
>>>>>>>>>>>>>> <
>>>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>>>>>>>>>>>> you linked in the issues to understand tycho better, but since
>>>>>>>> I've
>>>>>>>>>>> never
>>>>>>>>>>>>>> really worked with maven extensively before, it is taking some
>>>>>>>> time.
>>>>>>>>>>>>> With caution, but take your time to get acquainted with Apache
>>>>>>>> Maven:
>>>>>>>>>>> it
>>>>>>>>>>>>> is fundamental for working with Apache Syncope (and thousands
>>>>> more
>>>>>>>> Open
>>>>>>>>>>>>> Source projects out there).
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiricc� <
>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>> I have commented
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> and also opened
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>>>>>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>>>>>>>>>>>>> There have been no responses from the IRC channel for
>>>>> eclipse
>>>>>>>>>>> (Refer
>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>> comments on this issue
>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>>>>>>>>>>>>>>>> I have sent out some emails regarding the query out to some
>>>>>>>> plugin
>>>>>>>>>>>>>>>>> developers and blog authors and I am still awaiting any
>>>>>>>> response
>>>>>>>>>>> from
>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Meanwhile, I am working on developing tests for the
>>>>> plugin. I
>>>>>>>>>>> believe
>>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>> will be completed during the weekend in which case, I will
>>>>>>>> start
>>>>>>>>>>> work
>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>> the editor part of the plugin.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I would again like to invite you to try out the plugin and
>>>>> post
>>>>>>>>>>>>>>>>> issues on
>>>>>>>>>>>>>>>>> the GitHub repository <
>>>>> https://github.com/tmess567/SYNCOPE-809>
>>>>>>>> if
>>>>>>>>>>>>>>>>> you find
>>>>>>>>>>>>>>>>> any problems.
>>>>>>>>>>>>>>>> Thanks for update: I'll look into that on Monday at
>>>>> earliest.
>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>>>>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 1. icon has been changed with this commit
>>>>>>>>>>>>>>>>>> <
>>>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>>>>>>>>>>>>> 2. Commented on issue #3
>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't
>>>>> seem to
>>>>>>>> be
>>>>>>>>>>>>>>>>>> directly
>>>>>>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>>>>> MANIFEST.MF
>>>>>>>> to be
>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>>> same directory, so that has to be in the root directory as
>>>>>>>> well.
>>>>>>>>>>>>>>>>>> I will continue to look into it and ask other developers
>>>>>>>> until I'm
>>>>>>>>>>>>>>>>>> sure.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Also, do I need to change the icons used in the tree view
>>>>> to
>>>>>>>>>>>>> represent
>>>>>>>>>>>>>>>>>> folders and files? If so, it would be really helpful if
>>>>> you
>>>>>>>> could
>>>>>>>>>>>>>>>>>> point me
>>>>>>>>>>>>>>>>>> to where you got the icons for the image
>>>>>>>>>>>>>>>>>> <
>>>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>>>>>>>>>>>>> you
>>>>>>>>>>>>>>>>>> posted over at the wiki page
>>>>>>>>>>>>>>>>>> <
>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>>>>>>>>> for
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> GSoC project.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>> I have made the following changes to my project:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
>>>>>>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary files
>>>>>>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
>>>>>>>> instead of
>>>>>>>>>>>>>>>>>>> entire
>>>>>>>>>>>>>>>>>>>> workspace
>>>>>>>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
>>>>>>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>>>>>>>>>>>>> eclipse"
>>>>>>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define the
>>>>>>>> url of
>>>>>>>>>>>>>>>>>>> syncope
>>>>>>>>>>>>>>>>>>>> deployment and username password combination
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Changes to be made:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>>>>>>> build.properties
>>>>>>>>>>>>>>>>>>> files and
>>>>>>>>>>>>>>>>>>>> folders and generate them using maven
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Please advise on any more changes required or problems
>>>>>>>> observed.
>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>> I have opened
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>>>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> with some indications.
>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiricc�
>>>>> <
>>>>>>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven project
>>>>>>>> having
>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>> following parent POM:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>         <parent>
>>>>>>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>>>>>>>>>>>>           <artifactId>syncope</artifactId>
>>>>>>>>>>>>>>>>>>>>>           <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>>>>>>>>>>>>         </parent>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
>>>>>>>> Sameera's
>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged
>>>>> into the
>>>>>>>>>>> Apache
>>>>>>>>>>>>>>>>>>>>> Syncope source tree.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree
>>>>> (Maven
>>>>>>>> will
>>>>>>>>>>>>>>>>>>> greatly
>>>>>>>>>>>>>>>>>>>>> help WRT this), like as
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1)
>>>>> build
>>>>>>>> and
>>>>>>>>>>> (2)
>>>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>>>>>>>> versions)
>>>>>>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>>>>>>> I've updated the source
>>>>>>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>>>>>>>>>>>>> include and use the Syncope Client library to access
>>>>> data
>>>>>>>> from
>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> REST
>>>>>>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
>>>>> required
>>>>>>>>>>>>>>>>>>> changes or
>>>>>>>>>>>>>>>>>>>>>> updates.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>>>>>>>>>>>>>>> <tu...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
>>>>> project.
>>>>>>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
>>>>>>>> built a
>>>>>>>>>>>>>>>>>>> java REST
>>>>>>>>>>>>>>>>>>>>>>> client to get all the mail and report templates using
>>>>>>>>>>> Apache's
>>>>>>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST
>>>>> API
>>>>>>>> and
>>>>>>>>>>>>>>>>>>> have been
>>>>>>>>>>>>>>>>>>>>> added
>>>>>>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail and
>>>>>>>> report
>>>>>>>>>>>>>>>>>>> templates
>>>>>>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> <
>>>>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>>>>>>>>> A
>>>>>>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
>>>>>>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be
>>>>> using
>>>>>>>> the
>>>>>>>>>>>>>>>>>>> Syncope
>>>>>>>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the
>>>>> rest
>>>>>>>> API.
>>>>>>>>>>>>>>>>>>> I am
>>>>>>>>>>>>>>>>>>>>>>> currently looking into it and will be updating you
>>>>> guys
>>>>>>>> on
>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> progress
>>>>>>>>>>>>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>>>>>>>> Apache's
>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>>>>> libraries over
>>>>>>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>.
>>>>> Please
>>>>>>>> take
>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>> look
>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Francesco Chicchiricc�
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>>>>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>>>>>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>>>>>>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>>>>>>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update:
1. Added refresh button
2. Handled empty templates

TODO:
1. Saving templates (using setFormat)
2. HTML and XSLT editors
This will include Syntax Highlighting, Content Assist (including syncope
specific variables, as stated here
<https://cwiki.apache.org/confluence/display/SYNCOPE/Manage+notification+e-mail+templates>
)

Commit -> 1bc251e91b41a7cbb5b5bafd51e89632083ea7ba
<https://github.com/tmess567/SYNCOPE-809/commit/1bc251e91b41a7cbb5b5bafd51e89632083ea7ba>

On Mon, Jun 20, 2016 at 5:52 PM Tushar Mishra <tu...@gmail.com> wrote:

> Update: Fixed Issue #5 <https://github.com/tmess567/SYNCOPE-809/issues/5>
> and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>
>
> On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <tu...@gmail.com>
> wrote:
>
>> I've commented on the issue #7
>> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for the
>> problem. The issue was being caused by the classpath file which was
>> pointing to the wrong jars. I believe this solves the problem, if it
>> doesn't please do comment and let me know.
>>
>> I was hoping to solve this before the midterm evaluations, so you could
>> see the plugin before that. If this still does not solve the problem,
>> please do tell me so I can send you a packaged plugin to run on your
>> eclipse installation.
>>
>> Regards,
>>
>> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com>
>> wrote:
>>
>>> Thanks, I'll look into it.
>>>
>>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
>>> ilgrosso@apache.org> wrote:
>>>
>>>> Hi,
>>>> sorry for late reaction.
>>>>
>>>> I have opened some issues in the GitHub repo.
>>>>
>>>> Regards.
>>>>
>>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>>> > Update:
>>>> > Changed editor to show multiple pages for different formats
>>>> (Screenshot
>>>> > <http://imgur.com/kAI78ts>).
>>>> > 1. MailTemplates -> HTML, TEXT
>>>> > 2. ReportTemplates -> CSV, FO, HTML
>>>> >
>>>> > TODO:
>>>> > Handle save and save as events.
>>>> >
>>>> > Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>>> > <
>>>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>>> >
>>>> >
>>>> > On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com>
>>>> wrote:
>>>> >
>>>> >> Update:
>>>> >> 1. Editor classes added
>>>> >> 2. Template is read and displayed in editor
>>>> >>
>>>> >> TODO:
>>>> >> 1. Allow template to be viewed in different formats (HTML, text)
>>>> >> 2. Allow changes made in template to be sent to deployment
>>>> >>
>>>> >> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>> >> <
>>>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>>> >
>>>> >>
>>>> >> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
>>>> ilgrosso@apache.org>
>>>> >> wrote:
>>>> >>
>>>> >>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>> >>>> Update: Added the following with this commit
>>>> >>>> <
>>>> >>>
>>>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>> >>>> TreeViewer now supports Add and Remove functionality
>>>> >>>> Right click on
>>>> >>>> 1. TreeParent allows adding a new template key
>>>> >>>> 2. TreeObject allows removing key
>>>> >>>>
>>>> >>>> Problems:
>>>> >>>> 1. Users except admin do not return any template keys. Can only the
>>>> >>>> admin
>>>> >>>> have mail and report Templates or can any normal user have them
>>>> too?
>>>> >>> The internal security model [1] requires that the requesting user
>>>> owns
>>>> >>> different entitlements for being allowed to invoke different REST
>>>> >>> endpoints; for example, to list all mail templates available, the
>>>> >>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>> >>>
>>>> >>> You will need then to create a role R, assign the needed
>>>> entitlements to
>>>> >>> it and finally make the new user member of such role.
>>>> >>> Only at this point such user will be allowed to invoke the
>>>> corresponding
>>>> >>> REST calls.
>>>> >>>
>>>> >>> "admin" owns all defined entitlements.
>>>> >>>
>>>> >>>> 2. When trying to add an already existing key, SyncopeClient
>>>> doesn't
>>>> >>>> throw
>>>> >>>> any error. I can simply check against the loaded key list, but
>>>> >>>> shouldn't
>>>> >>>> that be done by SyncopeClient itself?
>>>> >>> The Syncope client library does not throw any exception because the
>>>> >>> Syncope core does not throw any exception in case one if attempting
>>>> to
>>>> >>> create a mail template with an existing key; if you believe that an
>>>> >>> exception should be raised, please fill an improvement on JIRA
>>>> (with fix
>>>> >>> version 2.0.0 and component "core").
>>>> >>>
>>>> >>> Regards.
>>>> >>>
>>>> >>> [1]
>>>> >>>
>>>> >>>
>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>>> >>> [2]
>>>> >>>
>>>> >>>
>>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>>> >>> [3]
>>>> >>>
>>>> >>>
>>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>> >>>
>>>> >>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tusharm567@gmail.com
>>>> >
>>>> >>>> wrote:
>>>> >>>>
>>>> >>>>> Update: Added the following on this commit
>>>> >>>>> <
>>>> >>>
>>>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>> >>>>> 1. Loading dialog to represent fetching process.
>>>> >>>>> 2. Preferences used to store and retrieve (persist through eclipse
>>>> >>>>> restart)
>>>> >>>>>          a) Deployment url through eclipse installation
>>>> >>>>>          b) User credentials through workspace
>>>> >>>>>
>>>> >>>>> Please advise on any further features required in the TreeViewer.
>>>> >>>>> Regards,
>>>> >>>>>
>>>> >>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
>>>> >>>>> ilgrosso@apache.org> wrote:
>>>> >>>>>
>>>> >>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>> >>>>>>> I've modified the project to use Tycho and can now be built with
>>>> >>> maven.
>>>> >>>>>>> Please check it out and inform me if there are any problems or
>>>> >>> changes
>>>> >>>>>>> required. I'll start working on the loading dialog tomorrow.
>>>> >>>>>> I have verified that now the Maven build works fine, and
>>>> commented
>>>> >>>>>> the
>>>> >>>>>> relevant issues on GitHub.
>>>> >>>>>> Nice job!
>>>> >>>>>>
>>>> >>>>>> Now let's concentrate on adding features.
>>>> >>>>>>
>>>> >>>>>> Regards.
>>>> >>>>>>
>>>> >>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
>>>> >>>>>> ilgrosso@apache.org>
>>>> >>>>>>> wrote:
>>>> >>>>>>>
>>>> >>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>> >>>>>>>>> I built the structure as suggested by Mr. Perucci here
>>>> >>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>>> >>>>>>>>> However on running 'mvn clean verify', I got the following
>>>> error.
>>>> >>>>>>>>>
>>>> >>>>>>>>> [ERROR] Failed to execute goal
>>>> >>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>> >>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
>>>> >>> checkstyle
>>>> >>>>>>>>> execution: Unable to find configuration file at location:
>>>> >>>>>>>>>
>>>> >>>
>>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>> >>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>>> >>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>> >>>>>>>> For the moment just add this to your pom.xml:
>>>> >>>>>>>>
>>>> >>>>>>>> <properties>
>>>> >>>>>>>>        <checkstyle.skip>true</checkstyle.skip>
>>>> >>>>>>>>      </properties>
>>>> >>>>>>>>
>>>> >>>>>>>> which will skip checkstyle checks: at some time you will place
>>>> your
>>>> >>>>>> code
>>>> >>>>>>>> into the Apache Syncope source tree and we will need to make
>>>> some
>>>> >>>>>>>> changes into the pom.xml - including removing this property.
>>>> >>>>>>>>
>>>> >>>>>>>>> I am also reading up on the tutorial
>>>> >>>>>>>>> <
>>>> >>>
>>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>> >>>>>>>>> you linked in the issues to understand tycho better, but since
>>>> >>> I've
>>>> >>>>>> never
>>>> >>>>>>>>> really worked with maven extensively before, it is taking some
>>>> >>> time.
>>>> >>>>>>>> With caution, but take your time to get acquainted with Apache
>>>> >>> Maven:
>>>> >>>>>> it
>>>> >>>>>>>> is fundamental for working with Apache Syncope (and thousands
>>>> more
>>>> >>> Open
>>>> >>>>>>>> Source projects out there).
>>>> >>>>>>>>
>>>> >>>>>>>> Regards.
>>>> >>>>>>>>
>>>> >>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
>>>> >>>>>>>> ilgrosso@apache.org>
>>>> >>>>>>>>> wrote:
>>>> >>>>>>>>>
>>>> >>>>>>>>>> Hi,
>>>> >>>>>>>>>> I have commented
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> and also opened
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> Regards.
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
>>>> >>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>> >>>>>>>>>>>> There have been no responses from the IRC channel for
>>>> eclipse
>>>> >>>>>> (Refer
>>>> >>>>>>>> to
>>>> >>>>>>>>>>>> comments on this issue
>>>> >>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>>> >>>>>>>>>>>> I have sent out some emails regarding the query out to some
>>>> >>> plugin
>>>> >>>>>>>>>>>> developers and blog authors and I am still awaiting any
>>>> >>> response
>>>> >>>>>> from
>>>> >>>>>>>>>>>> them.
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> Meanwhile, I am working on developing tests for the
>>>> plugin. I
>>>> >>>>>> believe
>>>> >>>>>>>>>>>> this
>>>> >>>>>>>>>>>> will be completed during the weekend in which case, I will
>>>> >>> start
>>>> >>>>>> work
>>>> >>>>>>>> on
>>>> >>>>>>>>>>>> the editor part of the plugin.
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> I would again like to invite you to try out the plugin and
>>>> post
>>>> >>>>>>>>>>>> issues on
>>>> >>>>>>>>>>>> the GitHub repository <
>>>> https://github.com/tmess567/SYNCOPE-809>
>>>> >>> if
>>>> >>>>>>>>>>>> you find
>>>> >>>>>>>>>>>> any problems.
>>>> >>>>>>>>>>> Thanks for update: I'll look into that on Monday at
>>>> earliest.
>>>> >>>>>>>>>>> Regards.
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>> >>>>>> tusharm567@gmail.com>
>>>> >>>>>>>>>>>> wrote:
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>>> Update:
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> 1. icon has been changed with this commit
>>>> >>>>>>>>>>>>> <
>>>> >>>
>>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>> >>>>>>>>>>>>> 2. Commented on issue #3
>>>> >>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't
>>>> seem to
>>>> >>> be
>>>> >>>>>>>>>>>>> directly
>>>> >>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>>>> MANIFEST.MF
>>>> >>> to be
>>>> >>>>>>>>>>>>> in the
>>>> >>>>>>>>>>>>> same directory, so that has to be in the root directory as
>>>> >>> well.
>>>> >>>>>>>>>>>>> I will continue to look into it and ask other developers
>>>> >>> until I'm
>>>> >>>>>>>>>>>>> sure.
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> Also, do I need to change the icons used in the tree view
>>>> to
>>>> >>>>>>>> represent
>>>> >>>>>>>>>>>>> folders and files? If so, it would be really helpful if
>>>> you
>>>> >>> could
>>>> >>>>>>>>>>>>> point me
>>>> >>>>>>>>>>>>> to where you got the icons for the image
>>>> >>>>>>>>>>>>> <
>>>> >>>
>>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>> >>>>>>>>>>>>> you
>>>> >>>>>>>>>>>>> posted over at the wiki page
>>>> >>>>>>>>>>>>> <
>>>> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>> >>>>>> for
>>>> >>>>>>>>>> the
>>>> >>>>>>>>>>>>> GSoC project.
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> Regards,
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
>>>> >>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>> >>>>>>>>>>>>>>> I have made the following changes to my project:
>>>> >>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
>>>> >>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary files
>>>> >>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>> >>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
>>>> >>> instead of
>>>> >>>>>>>>>>>>>> entire
>>>> >>>>>>>>>>>>>>> workspace
>>>> >>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
>>>> >>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>> >>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>> >>>>>>>>>>>>>>> eclipse"
>>>> >>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define the
>>>> >>> url of
>>>> >>>>>>>>>>>>>> syncope
>>>> >>>>>>>>>>>>>>> deployment and username password combination
>>>> >>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>> Changes to be made:
>>>> >>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>> >>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>>> >>> build.properties
>>>> >>>>>>>>>>>>>> files and
>>>> >>>>>>>>>>>>>>> folders and generate them using maven
>>>> >>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>> Please advise on any more changes required or problems
>>>> >>> observed.
>>>> >>>>>>>>>>>>>> Hi Tushar,
>>>> >>>>>>>>>>>>>> I have opened
>>>> >>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>> >>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>> with some indications.
>>>> >>>>>>>>>>>>>> Regards.
>>>> >>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò
>>>> <
>>>> >>>>>>>>>>>>>> ilgrosso@apache.org>
>>>> >>>>>>>>>>>>>>> wrote:
>>>> >>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>> Hi Tushar,
>>>> >>>>>>>>>>>>>>>> here are my preliminary observations:
>>>> >>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven project
>>>> >>> having
>>>> >>>>>> the
>>>> >>>>>>>>>>>>>>>> following parent POM:
>>>> >>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>        <parent>
>>>> >>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>> >>>>>>>>>>>>>>>>          <artifactId>syncope</artifactId>
>>>> >>>>>>>>>>>>>>>>          <version>2.0.0-SNAPSHOT</version>
>>>> >>>>>>>>>>>>>>>>        </parent>
>>>> >>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
>>>> >>> Sameera's
>>>> >>>>>>>> for
>>>> >>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged
>>>> into the
>>>> >>>>>> Apache
>>>> >>>>>>>>>>>>>>>> Syncope source tree.
>>>> >>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree
>>>> (Maven
>>>> >>> will
>>>> >>>>>>>>>>>>>> greatly
>>>> >>>>>>>>>>>>>>>> help WRT this), like as
>>>> >>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>
>>>> >>>
>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>>> >>>
>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>>> >>>
>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>> >>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1)
>>>> build
>>>> >>> and
>>>> >>>>>> (2)
>>>> >>>>>>>>>>>>>> use
>>>> >>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>>>> >>> versions)
>>>> >>>>>>>>>>>>>>>> Regards.
>>>> >>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>> >>>>>>>>>>>>>>>>> I've updated the source
>>>> >>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>> >>>>>>>>>>>>>>>>> include and use the Syncope Client library to access
>>>> data
>>>> >>> from
>>>> >>>>>>>> the
>>>> >>>>>>>>>>>>>> REST
>>>> >>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
>>>> required
>>>> >>>>>>>>>>>>>> changes or
>>>> >>>>>>>>>>>>>>>>> updates.
>>>> >>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>> Regards,
>>>> >>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>> >>>>>>>>>>>>>> <tu...@gmail.com>
>>>> >>>>>>>>>>>>>>>> wrote:
>>>> >>>>>>>>>>>>>>>>>> Hello devs,
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
>>>> project.
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
>>>> >>> built a
>>>> >>>>>>>>>>>>>> java REST
>>>> >>>>>>>>>>>>>>>>>> client to get all the mail and report templates using
>>>> >>>>>> Apache's
>>>> >>>>>>>>>>>>>> HTTP
>>>> >>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST
>>>> API
>>>> >>> and
>>>> >>>>>>>>>>>>>> have been
>>>> >>>>>>>>>>>>>>>> added
>>>> >>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail and
>>>> >>> report
>>>> >>>>>>>>>>>>>> templates
>>>> >>>>>>>>>>>>>>>> in a
>>>> >>>>>>>>>>>>>>>>>> tree view as suggested here
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>> <
>>>> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>> >>>>>> A
>>>> >>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
>>>> >>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>> >>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be
>>>> using
>>>> >>> the
>>>> >>>>>>>>>>>>>> Syncope
>>>> >>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the
>>>> rest
>>>> >>> API.
>>>> >>>>>>>>>>>>>> I am
>>>> >>>>>>>>>>>>>>>>>> currently looking into it and will be updating you
>>>> guys
>>>> >>> on
>>>> >>>>>> the
>>>> >>>>>>>>>>>>>> progress
>>>> >>>>>>>>>>>>>>>>>> with the same soon.
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>>>> >>> Apache's
>>>> >>>>>> HTTP
>>>> >>>>>>>>>>>>>>>> libraries over
>>>> >>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>.
>>>> Please
>>>> >>> take
>>>> >>>>>> a
>>>> >>>>>>>>>>>>>> look
>>>> >>>>>>>>>>>>>> and
>>>> >>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>> --
>>>> >>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>> >>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>> >>>>>>>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>>> >>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>>>> >>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>>>> >>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>>>>
>>> --
>>> Tushar Mishra
>>> University of Petroleum and Energy Studies
>>> Computer Science with specialization in ​Open Source Software and Open
>>> Standards
>>> Semester VI
>>> +91-9675785996
>>>
>> --
>> Tushar Mishra
>> University of Petroleum and Energy Studies
>> Computer Science with specialization in ​Open Source Software and Open
>> Standards
>> Semester VI
>> +91-9675785996
>>
> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update: Fixed Issue #5 <https://github.com/tmess567/SYNCOPE-809/issues/5>
and #6 <https://github.com/tmess567/SYNCOPE-809/issues/6>

On Sat, Jun 18, 2016 at 12:08 PM Tushar Mishra <tu...@gmail.com> wrote:

> I've commented on the issue #7
> <https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for the
> problem. The issue was being caused by the classpath file which was
> pointing to the wrong jars. I believe this solves the problem, if it
> doesn't please do comment and let me know.
>
> I was hoping to solve this before the midterm evaluations, so you could
> see the plugin before that. If this still does not solve the problem,
> please do tell me so I can send you a packaged plugin to run on your
> eclipse installation.
>
> Regards,
>
> On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com>
> wrote:
>
>> Thanks, I'll look into it.
>>
>> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org> wrote:
>>
>>> Hi,
>>> sorry for late reaction.
>>>
>>> I have opened some issues in the GitHub repo.
>>>
>>> Regards.
>>>
>>> On 07/06/2016 13:37, Tushar Mishra wrote:
>>> > Update:
>>> > Changed editor to show multiple pages for different formats (Screenshot
>>> > <http://imgur.com/kAI78ts>).
>>> > 1. MailTemplates -> HTML, TEXT
>>> > 2. ReportTemplates -> CSV, FO, HTML
>>> >
>>> > TODO:
>>> > Handle save and save as events.
>>> >
>>> > Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>>> > <
>>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>>> >
>>> >
>>> > On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com>
>>> wrote:
>>> >
>>> >> Update:
>>> >> 1. Editor classes added
>>> >> 2. Template is read and displayed in editor
>>> >>
>>> >> TODO:
>>> >> 1. Allow template to be viewed in different formats (HTML, text)
>>> >> 2. Allow changes made in template to be sent to deployment
>>> >>
>>> >> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>> >> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>>> >
>>> >>
>>> >> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
>>> ilgrosso@apache.org>
>>> >> wrote:
>>> >>
>>> >>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>> >>>> Update: Added the following with this commit
>>> >>>> <
>>> >>>
>>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>> >>>> TreeViewer now supports Add and Remove functionality
>>> >>>> Right click on
>>> >>>> 1. TreeParent allows adding a new template key
>>> >>>> 2. TreeObject allows removing key
>>> >>>>
>>> >>>> Problems:
>>> >>>> 1. Users except admin do not return any template keys. Can only the
>>> >>>> admin
>>> >>>> have mail and report Templates or can any normal user have them too?
>>> >>> The internal security model [1] requires that the requesting user
>>> owns
>>> >>> different entitlements for being allowed to invoke different REST
>>> >>> endpoints; for example, to list all mail templates available, the
>>> >>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>> >>>
>>> >>> You will need then to create a role R, assign the needed
>>> entitlements to
>>> >>> it and finally make the new user member of such role.
>>> >>> Only at this point such user will be allowed to invoke the
>>> corresponding
>>> >>> REST calls.
>>> >>>
>>> >>> "admin" owns all defined entitlements.
>>> >>>
>>> >>>> 2. When trying to add an already existing key, SyncopeClient doesn't
>>> >>>> throw
>>> >>>> any error. I can simply check against the loaded key list, but
>>> >>>> shouldn't
>>> >>>> that be done by SyncopeClient itself?
>>> >>> The Syncope client library does not throw any exception because the
>>> >>> Syncope core does not throw any exception in case one if attempting
>>> to
>>> >>> create a mail template with an existing key; if you believe that an
>>> >>> exception should be raised, please fill an improvement on JIRA (with
>>> fix
>>> >>> version 2.0.0 and component "core").
>>> >>>
>>> >>> Regards.
>>> >>>
>>> >>> [1]
>>> >>>
>>> >>>
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>> >>> [2]
>>> >>>
>>> >>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>> >>> [3]
>>> >>>
>>> >>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>> >>>
>>> >>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com>
>>> >>>> wrote:
>>> >>>>
>>> >>>>> Update: Added the following on this commit
>>> >>>>> <
>>> >>>
>>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>> >>>>> 1. Loading dialog to represent fetching process.
>>> >>>>> 2. Preferences used to store and retrieve (persist through eclipse
>>> >>>>> restart)
>>> >>>>>          a) Deployment url through eclipse installation
>>> >>>>>          b) User credentials through workspace
>>> >>>>>
>>> >>>>> Please advise on any further features required in the TreeViewer.
>>> >>>>> Regards,
>>> >>>>>
>>> >>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
>>> >>>>> ilgrosso@apache.org> wrote:
>>> >>>>>
>>> >>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>> >>>>>>> I've modified the project to use Tycho and can now be built with
>>> >>> maven.
>>> >>>>>>> Please check it out and inform me if there are any problems or
>>> >>> changes
>>> >>>>>>> required. I'll start working on the loading dialog tomorrow.
>>> >>>>>> I have verified that now the Maven build works fine, and commented
>>> >>>>>> the
>>> >>>>>> relevant issues on GitHub.
>>> >>>>>> Nice job!
>>> >>>>>>
>>> >>>>>> Now let's concentrate on adding features.
>>> >>>>>>
>>> >>>>>> Regards.
>>> >>>>>>
>>> >>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
>>> >>>>>> ilgrosso@apache.org>
>>> >>>>>>> wrote:
>>> >>>>>>>
>>> >>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>> >>>>>>>>> I built the structure as suggested by Mr. Perucci here
>>> >>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>> >>>>>>>>> However on running 'mvn clean verify', I got the following
>>> error.
>>> >>>>>>>>>
>>> >>>>>>>>> [ERROR] Failed to execute goal
>>> >>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>> >>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
>>> >>> checkstyle
>>> >>>>>>>>> execution: Unable to find configuration file at location:
>>> >>>>>>>>>
>>> >>>
>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>> >>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>> >>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>> >>>>>>>> For the moment just add this to your pom.xml:
>>> >>>>>>>>
>>> >>>>>>>> <properties>
>>> >>>>>>>>        <checkstyle.skip>true</checkstyle.skip>
>>> >>>>>>>>      </properties>
>>> >>>>>>>>
>>> >>>>>>>> which will skip checkstyle checks: at some time you will place
>>> your
>>> >>>>>> code
>>> >>>>>>>> into the Apache Syncope source tree and we will need to make
>>> some
>>> >>>>>>>> changes into the pom.xml - including removing this property.
>>> >>>>>>>>
>>> >>>>>>>>> I am also reading up on the tutorial
>>> >>>>>>>>> <
>>> >>>
>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>> >>>>>>>>> you linked in the issues to understand tycho better, but since
>>> >>> I've
>>> >>>>>> never
>>> >>>>>>>>> really worked with maven extensively before, it is taking some
>>> >>> time.
>>> >>>>>>>> With caution, but take your time to get acquainted with Apache
>>> >>> Maven:
>>> >>>>>> it
>>> >>>>>>>> is fundamental for working with Apache Syncope (and thousands
>>> more
>>> >>> Open
>>> >>>>>>>> Source projects out there).
>>> >>>>>>>>
>>> >>>>>>>> Regards.
>>> >>>>>>>>
>>> >>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
>>> >>>>>>>> ilgrosso@apache.org>
>>> >>>>>>>>> wrote:
>>> >>>>>>>>>
>>> >>>>>>>>>> Hi,
>>> >>>>>>>>>> I have commented
>>> >>>>>>>>>>
>>> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> >>>>>>>>>>
>>> >>>>>>>>>> and also opened
>>> >>>>>>>>>>
>>> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>> >>>>>>>>>>
>>> >>>>>>>>>> Regards.
>>> >>>>>>>>>>
>>> >>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
>>> >>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>> >>>>>>>>>>>> There have been no responses from the IRC channel for
>>> eclipse
>>> >>>>>> (Refer
>>> >>>>>>>> to
>>> >>>>>>>>>>>> comments on this issue
>>> >>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>> >>>>>>>>>>>> I have sent out some emails regarding the query out to some
>>> >>> plugin
>>> >>>>>>>>>>>> developers and blog authors and I am still awaiting any
>>> >>> response
>>> >>>>>> from
>>> >>>>>>>>>>>> them.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Meanwhile, I am working on developing tests for the plugin.
>>> I
>>> >>>>>> believe
>>> >>>>>>>>>>>> this
>>> >>>>>>>>>>>> will be completed during the weekend in which case, I will
>>> >>> start
>>> >>>>>> work
>>> >>>>>>>> on
>>> >>>>>>>>>>>> the editor part of the plugin.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> I would again like to invite you to try out the plugin and
>>> post
>>> >>>>>>>>>>>> issues on
>>> >>>>>>>>>>>> the GitHub repository <
>>> https://github.com/tmess567/SYNCOPE-809>
>>> >>> if
>>> >>>>>>>>>>>> you find
>>> >>>>>>>>>>>> any problems.
>>> >>>>>>>>>>> Thanks for update: I'll look into that on Monday at earliest.
>>> >>>>>>>>>>> Regards.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>> >>>>>> tusharm567@gmail.com>
>>> >>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>>> Update:
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> 1. icon has been changed with this commit
>>> >>>>>>>>>>>>> <
>>> >>>
>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>> >>>>>>>>>>>>> 2. Commented on issue #3
>>> >>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem
>>> to
>>> >>> be
>>> >>>>>>>>>>>>> directly
>>> >>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and
>>> MANIFEST.MF
>>> >>> to be
>>> >>>>>>>>>>>>> in the
>>> >>>>>>>>>>>>> same directory, so that has to be in the root directory as
>>> >>> well.
>>> >>>>>>>>>>>>> I will continue to look into it and ask other developers
>>> >>> until I'm
>>> >>>>>>>>>>>>> sure.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> Also, do I need to change the icons used in the tree view
>>> to
>>> >>>>>>>> represent
>>> >>>>>>>>>>>>> folders and files? If so, it would be really helpful if you
>>> >>> could
>>> >>>>>>>>>>>>> point me
>>> >>>>>>>>>>>>> to where you got the icons for the image
>>> >>>>>>>>>>>>> <
>>> >>>
>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>> >>>>>>>>>>>>> you
>>> >>>>>>>>>>>>> posted over at the wiki page
>>> >>>>>>>>>>>>> <
>>> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>> >>>>>> for
>>> >>>>>>>>>> the
>>> >>>>>>>>>>>>> GSoC project.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> Regards,
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
>>> >>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>> I have made the following changes to my project:
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
>>> >>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary files
>>> >>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>> >>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
>>> >>> instead of
>>> >>>>>>>>>>>>>> entire
>>> >>>>>>>>>>>>>>> workspace
>>> >>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
>>> >>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>> >>>>>>>>>>>>>> "org.apache.syncope.ide.
>>> >>>>>>>>>>>>>>> eclipse"
>>> >>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define the
>>> >>> url of
>>> >>>>>>>>>>>>>> syncope
>>> >>>>>>>>>>>>>>> deployment and username password combination
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> Changes to be made:
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>> >>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>> >>> build.properties
>>> >>>>>>>>>>>>>> files and
>>> >>>>>>>>>>>>>>> folders and generate them using maven
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> Please advise on any more changes required or problems
>>> >>> observed.
>>> >>>>>>>>>>>>>> Hi Tushar,
>>> >>>>>>>>>>>>>> I have opened
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> with some indications.
>>> >>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
>>> >>>>>>>>>>>>>> ilgrosso@apache.org>
>>> >>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> Hi Tushar,
>>> >>>>>>>>>>>>>>>> here are my preliminary observations:
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven project
>>> >>> having
>>> >>>>>> the
>>> >>>>>>>>>>>>>>>> following parent POM:
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>        <parent>
>>> >>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>> >>>>>>>>>>>>>>>>          <artifactId>syncope</artifactId>
>>> >>>>>>>>>>>>>>>>          <version>2.0.0-SNAPSHOT</version>
>>> >>>>>>>>>>>>>>>>        </parent>
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
>>> >>> Sameera's
>>> >>>>>>>> for
>>> >>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into
>>> the
>>> >>>>>> Apache
>>> >>>>>>>>>>>>>>>> Syncope source tree.
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree
>>> (Maven
>>> >>> will
>>> >>>>>>>>>>>>>> greatly
>>> >>>>>>>>>>>>>>>> help WRT this), like as
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>
>>> >>>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>> >>>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>> >>>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>> >>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1) build
>>> >>> and
>>> >>>>>> (2)
>>> >>>>>>>>>>>>>> use
>>> >>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>>> >>> versions)
>>> >>>>>>>>>>>>>>>> Regards.
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>> >>>>>>>>>>>>>>>>> I've updated the source
>>> >>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>> >>>>>>>>>>>>>>>>> include and use the Syncope Client library to access
>>> data
>>> >>> from
>>> >>>>>>>> the
>>> >>>>>>>>>>>>>> REST
>>> >>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
>>> required
>>> >>>>>>>>>>>>>> changes or
>>> >>>>>>>>>>>>>>>>> updates.
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> Regards,
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>> >>>>>>>>>>>>>> <tu...@gmail.com>
>>> >>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>> Hello devs,
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
>>> project.
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
>>> >>> built a
>>> >>>>>>>>>>>>>> java REST
>>> >>>>>>>>>>>>>>>>>> client to get all the mail and report templates using
>>> >>>>>> Apache's
>>> >>>>>>>>>>>>>> HTTP
>>> >>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST
>>> API
>>> >>> and
>>> >>>>>>>>>>>>>> have been
>>> >>>>>>>>>>>>>>>> added
>>> >>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail and
>>> >>> report
>>> >>>>>>>>>>>>>> templates
>>> >>>>>>>>>>>>>>>> in a
>>> >>>>>>>>>>>>>>>>>> tree view as suggested here
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> <
>>> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>> >>>>>> A
>>> >>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
>>> >>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>> >>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be
>>> using
>>> >>> the
>>> >>>>>>>>>>>>>> Syncope
>>> >>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the
>>> rest
>>> >>> API.
>>> >>>>>>>>>>>>>> I am
>>> >>>>>>>>>>>>>>>>>> currently looking into it and will be updating you
>>> guys
>>> >>> on
>>> >>>>>> the
>>> >>>>>>>>>>>>>> progress
>>> >>>>>>>>>>>>>>>>>> with the same soon.
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>>> >>> Apache's
>>> >>>>>> HTTP
>>> >>>>>>>>>>>>>>>> libraries over
>>> >>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>.
>>> Please
>>> >>> take
>>> >>>>>> a
>>> >>>>>>>>>>>>>> look
>>> >>>>>>>>>>>>>> and
>>> >>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> --
>>> >>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>> >>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>> >>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>>> >>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>>> >>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>>>
>> --
>> Tushar Mishra
>> University of Petroleum and Energy Studies
>> Computer Science with specialization in ​Open Source Software and Open
>> Standards
>> Semester VI
>> +91-9675785996
>>
> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I've commented on the issue #7
<https://github.com/tmess567/SYNCOPE-809/issues/7> with a fix for the
problem. The issue was being caused by the classpath file which was
pointing to the wrong jars. I believe this solves the problem, if it
doesn't please do comment and let me know.

I was hoping to solve this before the midterm evaluations, so you could see
the plugin before that. If this still does not solve the problem, please do
tell me so I can send you a packaged plugin to run on your eclipse
installation.

Regards,
On Thu, Jun 16, 2016 at 9:31 PM Tushar Mishra <tu...@gmail.com> wrote:

> Thanks, I'll look into it.
>
> On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <
> ilgrosso@apache.org> wrote:
>
>> Hi,
>> sorry for late reaction.
>>
>> I have opened some issues in the GitHub repo.
>>
>> Regards.
>>
>> On 07/06/2016 13:37, Tushar Mishra wrote:
>> > Update:
>> > Changed editor to show multiple pages for different formats (Screenshot
>> > <http://imgur.com/kAI78ts>).
>> > 1. MailTemplates -> HTML, TEXT
>> > 2. ReportTemplates -> CSV, FO, HTML
>> >
>> > TODO:
>> > Handle save and save as events.
>> >
>> > Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
>> > <
>> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
>> >
>> >
>> > On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com>
>> wrote:
>> >
>> >> Update:
>> >> 1. Editor classes added
>> >> 2. Template is read and displayed in editor
>> >>
>> >> TODO:
>> >> 1. Allow template to be viewed in different formats (HTML, text)
>> >> 2. Allow changes made in template to be sent to deployment
>> >>
>> >> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>> >> <
>> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>> >
>> >>
>> >> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org>
>> >> wrote:
>> >>
>> >>> On 2016-06-02 12:28 Tushar Mishra wrote:
>> >>>> Update: Added the following with this commit
>> >>>> <
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>> >>>> TreeViewer now supports Add and Remove functionality
>> >>>> Right click on
>> >>>> 1. TreeParent allows adding a new template key
>> >>>> 2. TreeObject allows removing key
>> >>>>
>> >>>> Problems:
>> >>>> 1. Users except admin do not return any template keys. Can only the
>> >>>> admin
>> >>>> have mail and report Templates or can any normal user have them too?
>> >>> The internal security model [1] requires that the requesting user owns
>> >>> different entitlements for being allowed to invoke different REST
>> >>> endpoints; for example, to list all mail templates available, the
>> >>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>> >>>
>> >>> You will need then to create a role R, assign the needed entitlements
>> to
>> >>> it and finally make the new user member of such role.
>> >>> Only at this point such user will be allowed to invoke the
>> corresponding
>> >>> REST calls.
>> >>>
>> >>> "admin" owns all defined entitlements.
>> >>>
>> >>>> 2. When trying to add an already existing key, SyncopeClient doesn't
>> >>>> throw
>> >>>> any error. I can simply check against the loaded key list, but
>> >>>> shouldn't
>> >>>> that be done by SyncopeClient itself?
>> >>> The Syncope client library does not throw any exception because the
>> >>> Syncope core does not throw any exception in case one if attempting to
>> >>> create a mail template with an existing key; if you believe that an
>> >>> exception should be raised, please fill an improvement on JIRA (with
>> fix
>> >>> version 2.0.0 and component "core").
>> >>>
>> >>> Regards.
>> >>>
>> >>> [1]
>> >>>
>> >>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>> >>> [2]
>> >>>
>> >>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>> >>> [3]
>> >>>
>> >>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>> >>>
>> >>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com>
>> >>>> wrote:
>> >>>>
>> >>>>> Update: Added the following on this commit
>> >>>>> <
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>> >>>>> 1. Loading dialog to represent fetching process.
>> >>>>> 2. Preferences used to store and retrieve (persist through eclipse
>> >>>>> restart)
>> >>>>>          a) Deployment url through eclipse installation
>> >>>>>          b) User credentials through workspace
>> >>>>>
>> >>>>> Please advise on any further features required in the TreeViewer.
>> >>>>> Regards,
>> >>>>>
>> >>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
>> >>>>> ilgrosso@apache.org> wrote:
>> >>>>>
>> >>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>> >>>>>>> I've modified the project to use Tycho and can now be built with
>> >>> maven.
>> >>>>>>> Please check it out and inform me if there are any problems or
>> >>> changes
>> >>>>>>> required. I'll start working on the loading dialog tomorrow.
>> >>>>>> I have verified that now the Maven build works fine, and commented
>> >>>>>> the
>> >>>>>> relevant issues on GitHub.
>> >>>>>> Nice job!
>> >>>>>>
>> >>>>>> Now let's concentrate on adding features.
>> >>>>>>
>> >>>>>> Regards.
>> >>>>>>
>> >>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
>> >>>>>> ilgrosso@apache.org>
>> >>>>>>> wrote:
>> >>>>>>>
>> >>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>> >>>>>>>>> I built the structure as suggested by Mr. Perucci here
>> >>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>> >>>>>>>>> However on running 'mvn clean verify', I got the following
>> error.
>> >>>>>>>>>
>> >>>>>>>>> [ERROR] Failed to execute goal
>> >>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>> >>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
>> >>> checkstyle
>> >>>>>>>>> execution: Unable to find configuration file at location:
>> >>>>>>>>>
>> >>>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>> >>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>> >>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>> >>>>>>>> For the moment just add this to your pom.xml:
>> >>>>>>>>
>> >>>>>>>> <properties>
>> >>>>>>>>        <checkstyle.skip>true</checkstyle.skip>
>> >>>>>>>>      </properties>
>> >>>>>>>>
>> >>>>>>>> which will skip checkstyle checks: at some time you will place
>> your
>> >>>>>> code
>> >>>>>>>> into the Apache Syncope source tree and we will need to make some
>> >>>>>>>> changes into the pom.xml - including removing this property.
>> >>>>>>>>
>> >>>>>>>>> I am also reading up on the tutorial
>> >>>>>>>>> <
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>> >>>>>>>>> you linked in the issues to understand tycho better, but since
>> >>> I've
>> >>>>>> never
>> >>>>>>>>> really worked with maven extensively before, it is taking some
>> >>> time.
>> >>>>>>>> With caution, but take your time to get acquainted with Apache
>> >>> Maven:
>> >>>>>> it
>> >>>>>>>> is fundamental for working with Apache Syncope (and thousands
>> more
>> >>> Open
>> >>>>>>>> Source projects out there).
>> >>>>>>>>
>> >>>>>>>> Regards.
>> >>>>>>>>
>> >>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
>> >>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>> wrote:
>> >>>>>>>>>
>> >>>>>>>>>> Hi,
>> >>>>>>>>>> I have commented
>> >>>>>>>>>>
>> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>>>>>>
>> >>>>>>>>>> and also opened
>> >>>>>>>>>>
>> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>> >>>>>>>>>>
>> >>>>>>>>>> Regards.
>> >>>>>>>>>>
>> >>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
>> >>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>> >>>>>>>>>>>> There have been no responses from the IRC channel for eclipse
>> >>>>>> (Refer
>> >>>>>>>> to
>> >>>>>>>>>>>> comments on this issue
>> >>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>> >>>>>>>>>>>> I have sent out some emails regarding the query out to some
>> >>> plugin
>> >>>>>>>>>>>> developers and blog authors and I am still awaiting any
>> >>> response
>> >>>>>> from
>> >>>>>>>>>>>> them.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Meanwhile, I am working on developing tests for the plugin. I
>> >>>>>> believe
>> >>>>>>>>>>>> this
>> >>>>>>>>>>>> will be completed during the weekend in which case, I will
>> >>> start
>> >>>>>> work
>> >>>>>>>> on
>> >>>>>>>>>>>> the editor part of the plugin.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> I would again like to invite you to try out the plugin and
>> post
>> >>>>>>>>>>>> issues on
>> >>>>>>>>>>>> the GitHub repository <
>> https://github.com/tmess567/SYNCOPE-809>
>> >>> if
>> >>>>>>>>>>>> you find
>> >>>>>>>>>>>> any problems.
>> >>>>>>>>>>> Thanks for update: I'll look into that on Monday at earliest.
>> >>>>>>>>>>> Regards.
>> >>>>>>>>>>>
>> >>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>> >>>>>> tusharm567@gmail.com>
>> >>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>> Update:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 1. icon has been changed with this commit
>> >>>>>>>>>>>>> <
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>> >>>>>>>>>>>>> 2. Commented on issue #3
>> >>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem
>> to
>> >>> be
>> >>>>>>>>>>>>> directly
>> >>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF
>> >>> to be
>> >>>>>>>>>>>>> in the
>> >>>>>>>>>>>>> same directory, so that has to be in the root directory as
>> >>> well.
>> >>>>>>>>>>>>> I will continue to look into it and ask other developers
>> >>> until I'm
>> >>>>>>>>>>>>> sure.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Also, do I need to change the icons used in the tree view to
>> >>>>>>>> represent
>> >>>>>>>>>>>>> folders and files? If so, it would be really helpful if you
>> >>> could
>> >>>>>>>>>>>>> point me
>> >>>>>>>>>>>>> to where you got the icons for the image
>> >>>>>>>>>>>>> <
>> >>>
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>> >>>>>>>>>>>>> you
>> >>>>>>>>>>>>> posted over at the wiki page
>> >>>>>>>>>>>>> <
>> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>> >>>>>> for
>> >>>>>>>>>> the
>> >>>>>>>>>>>>> GSoC project.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
>> >>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>> I have made the following changes to my project:
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
>> >>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary files
>> >>>>>>>>>>>>>>> 3. Added Readme to Github repository
>> >>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
>> >>> instead of
>> >>>>>>>>>>>>>> entire
>> >>>>>>>>>>>>>>> workspace
>> >>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
>> >>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>> >>>>>>>>>>>>>> "org.apache.syncope.ide.
>> >>>>>>>>>>>>>>> eclipse"
>> >>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define the
>> >>> url of
>> >>>>>>>>>>>>>> syncope
>> >>>>>>>>>>>>>>> deployment and username password combination
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> Changes to be made:
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>> >>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>> >>> build.properties
>> >>>>>>>>>>>>>> files and
>> >>>>>>>>>>>>>>> folders and generate them using maven
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> Please advise on any more changes required or problems
>> >>> observed.
>> >>>>>>>>>>>>>> Hi Tushar,
>> >>>>>>>>>>>>>> I have opened
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> with some indications.
>> >>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
>> >>>>>>>>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> Hi Tushar,
>> >>>>>>>>>>>>>>>> here are my preliminary observations:
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven project
>> >>> having
>> >>>>>> the
>> >>>>>>>>>>>>>>>> following parent POM:
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>        <parent>
>> >>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>> >>>>>>>>>>>>>>>>          <artifactId>syncope</artifactId>
>> >>>>>>>>>>>>>>>>          <version>2.0.0-SNAPSHOT</version>
>> >>>>>>>>>>>>>>>>        </parent>
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
>> >>> Sameera's
>> >>>>>>>> for
>> >>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into
>> the
>> >>>>>> Apache
>> >>>>>>>>>>>>>>>> Syncope source tree.
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree (Maven
>> >>> will
>> >>>>>>>>>>>>>> greatly
>> >>>>>>>>>>>>>>>> help WRT this), like as
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>
>> >>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>> >>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1) build
>> >>> and
>> >>>>>> (2)
>> >>>>>>>>>>>>>> use
>> >>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>> >>> versions)
>> >>>>>>>>>>>>>>>> Regards.
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>> >>>>>>>>>>>>>>>>> I've updated the source
>> >>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>> >>>>>>>>>>>>>>>>> include and use the Syncope Client library to access
>> data
>> >>> from
>> >>>>>>>> the
>> >>>>>>>>>>>>>> REST
>> >>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any
>> required
>> >>>>>>>>>>>>>> changes or
>> >>>>>>>>>>>>>>>>> updates.
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>> >>>>>>>>>>>>>> <tu...@gmail.com>
>> >>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>> Hello devs,
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
>> project.
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
>> >>> built a
>> >>>>>>>>>>>>>> java REST
>> >>>>>>>>>>>>>>>>>> client to get all the mail and report templates using
>> >>>>>> Apache's
>> >>>>>>>>>>>>>> HTTP
>> >>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST API
>> >>> and
>> >>>>>>>>>>>>>> have been
>> >>>>>>>>>>>>>>>> added
>> >>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail and
>> >>> report
>> >>>>>>>>>>>>>> templates
>> >>>>>>>>>>>>>>>> in a
>> >>>>>>>>>>>>>>>>>> tree view as suggested here
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> <
>> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>> >>>>>> A
>> >>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
>> >>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>> >>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be using
>> >>> the
>> >>>>>>>>>>>>>> Syncope
>> >>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the
>> rest
>> >>> API.
>> >>>>>>>>>>>>>> I am
>> >>>>>>>>>>>>>>>>>> currently looking into it and will be updating you guys
>> >>> on
>> >>>>>> the
>> >>>>>>>>>>>>>> progress
>> >>>>>>>>>>>>>>>>>> with the same soon.
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>> >>> Apache's
>> >>>>>> HTTP
>> >>>>>>>>>>>>>>>> libraries over
>> >>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please
>> >>> take
>> >>>>>> a
>> >>>>>>>>>>>>>> look
>> >>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>> tell me if any changes are required.
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> --
>> >>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>> >>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>> >>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>> >>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>> >>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>>
> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Thanks, I'll look into it.

On Thu, Jun 16, 2016 at 9:15 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> Hi,
> sorry for late reaction.
>
> I have opened some issues in the GitHub repo.
>
> Regards.
>
> On 07/06/2016 13:37, Tushar Mishra wrote:
> > Update:
> > Changed editor to show multiple pages for different formats (Screenshot
> > <http://imgur.com/kAI78ts>).
> > 1. MailTemplates -> HTML, TEXT
> > 2. ReportTemplates -> CSV, FO, HTML
> >
> > TODO:
> > Handle save and save as events.
> >
> > Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
> > <
> https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4
> >
> >
> > On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com>
> wrote:
> >
> >> Update:
> >> 1. Editor classes added
> >> 2. Template is read and displayed in editor
> >>
> >> TODO:
> >> 1. Allow template to be viewed in different formats (HTML, text)
> >> 2. Allow changes made in template to be sent to deployment
> >>
> >> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >> <
> https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> >
> >>
> >> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> >> wrote:
> >>
> >>> On 2016-06-02 12:28 Tushar Mishra wrote:
> >>>> Update: Added the following with this commit
> >>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
> >>>> TreeViewer now supports Add and Remove functionality
> >>>> Right click on
> >>>> 1. TreeParent allows adding a new template key
> >>>> 2. TreeObject allows removing key
> >>>>
> >>>> Problems:
> >>>> 1. Users except admin do not return any template keys. Can only the
> >>>> admin
> >>>> have mail and report Templates or can any normal user have them too?
> >>> The internal security model [1] requires that the requesting user owns
> >>> different entitlements for being allowed to invoke different REST
> >>> endpoints; for example, to list all mail templates available, the
> >>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
> >>>
> >>> You will need then to create a role R, assign the needed entitlements
> to
> >>> it and finally make the new user member of such role.
> >>> Only at this point such user will be allowed to invoke the
> corresponding
> >>> REST calls.
> >>>
> >>> "admin" owns all defined entitlements.
> >>>
> >>>> 2. When trying to add an already existing key, SyncopeClient doesn't
> >>>> throw
> >>>> any error. I can simply check against the loaded key list, but
> >>>> shouldn't
> >>>> that be done by SyncopeClient itself?
> >>> The Syncope client library does not throw any exception because the
> >>> Syncope core does not throw any exception in case one if attempting to
> >>> create a mail template with an existing key; if you believe that an
> >>> exception should be raised, please fill an improvement on JIRA (with
> fix
> >>> version 2.0.0 and component "core").
> >>>
> >>> Regards.
> >>>
> >>> [1]
> >>>
> >>>
> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
> >>> [2]
> >>>
> >>>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
> >>> [3]
> >>>
> >>>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
> >>>
> >>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com>
> >>>> wrote:
> >>>>
> >>>>> Update: Added the following on this commit
> >>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
> >>>>> 1. Loading dialog to represent fetching process.
> >>>>> 2. Preferences used to store and retrieve (persist through eclipse
> >>>>> restart)
> >>>>>          a) Deployment url through eclipse installation
> >>>>>          b) User credentials through workspace
> >>>>>
> >>>>> Please advise on any further features required in the TreeViewer.
> >>>>> Regards,
> >>>>>
> >>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
> >>>>> ilgrosso@apache.org> wrote:
> >>>>>
> >>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
> >>>>>>> I've modified the project to use Tycho and can now be built with
> >>> maven.
> >>>>>>> Please check it out and inform me if there are any problems or
> >>> changes
> >>>>>>> required. I'll start working on the loading dialog tomorrow.
> >>>>>> I have verified that now the Maven build works fine, and commented
> >>>>>> the
> >>>>>> relevant issues on GitHub.
> >>>>>> Nice job!
> >>>>>>
> >>>>>> Now let's concentrate on adding features.
> >>>>>>
> >>>>>> Regards.
> >>>>>>
> >>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
> >>>>>> ilgrosso@apache.org>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>>>>>>>> I built the structure as suggested by Mr. Perucci here
> >>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> >>>>>>>>> However on running 'mvn clean verify', I got the following error.
> >>>>>>>>>
> >>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
> >>> checkstyle
> >>>>>>>>> execution: Unable to find configuration file at location:
> >>>>>>>>>
> >>>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
> >>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >>>>>>>> For the moment just add this to your pom.xml:
> >>>>>>>>
> >>>>>>>> <properties>
> >>>>>>>>        <checkstyle.skip>true</checkstyle.skip>
> >>>>>>>>      </properties>
> >>>>>>>>
> >>>>>>>> which will skip checkstyle checks: at some time you will place
> your
> >>>>>> code
> >>>>>>>> into the Apache Syncope source tree and we will need to make some
> >>>>>>>> changes into the pom.xml - including removing this property.
> >>>>>>>>
> >>>>>>>>> I am also reading up on the tutorial
> >>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>>>>>>>> you linked in the issues to understand tycho better, but since
> >>> I've
> >>>>>> never
> >>>>>>>>> really worked with maven extensively before, it is taking some
> >>> time.
> >>>>>>>> With caution, but take your time to get acquainted with Apache
> >>> Maven:
> >>>>>> it
> >>>>>>>> is fundamental for working with Apache Syncope (and thousands more
> >>> Open
> >>>>>>>> Source projects out there).
> >>>>>>>>
> >>>>>>>> Regards.
> >>>>>>>>
> >>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
> >>>>>>>> ilgrosso@apache.org>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> Hi,
> >>>>>>>>>> I have commented
> >>>>>>>>>>
> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>
> >>>>>>>>>> and also opened
> >>>>>>>>>>
> >>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>>>>>>>>>
> >>>>>>>>>> Regards.
> >>>>>>>>>>
> >>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>>>>>>>>>> There have been no responses from the IRC channel for eclipse
> >>>>>> (Refer
> >>>>>>>> to
> >>>>>>>>>>>> comments on this issue
> >>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >>>>>>>>>>>> I have sent out some emails regarding the query out to some
> >>> plugin
> >>>>>>>>>>>> developers and blog authors and I am still awaiting any
> >>> response
> >>>>>> from
> >>>>>>>>>>>> them.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Meanwhile, I am working on developing tests for the plugin. I
> >>>>>> believe
> >>>>>>>>>>>> this
> >>>>>>>>>>>> will be completed during the weekend in which case, I will
> >>> start
> >>>>>> work
> >>>>>>>> on
> >>>>>>>>>>>> the editor part of the plugin.
> >>>>>>>>>>>>
> >>>>>>>>>>>> I would again like to invite you to try out the plugin and
> post
> >>>>>>>>>>>> issues on
> >>>>>>>>>>>> the GitHub repository <
> https://github.com/tmess567/SYNCOPE-809>
> >>> if
> >>>>>>>>>>>> you find
> >>>>>>>>>>>> any problems.
> >>>>>>>>>>> Thanks for update: I'll look into that on Monday at earliest.
> >>>>>>>>>>> Regards.
> >>>>>>>>>>>
> >>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
> >>>>>> tusharm567@gmail.com>
> >>>>>>>>>>>> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Update:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 1. icon has been changed with this commit
> >>>>>>>>>>>>> <
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>>>>>>>>>> 2. Commented on issue #3
> >>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to
> >>> be
> >>>>>>>>>>>>> directly
> >>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF
> >>> to be
> >>>>>>>>>>>>> in the
> >>>>>>>>>>>>> same directory, so that has to be in the root directory as
> >>> well.
> >>>>>>>>>>>>> I will continue to look into it and ask other developers
> >>> until I'm
> >>>>>>>>>>>>> sure.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Also, do I need to change the icons used in the tree view to
> >>>>>>>> represent
> >>>>>>>>>>>>> folders and files? If so, it would be really helpful if you
> >>> could
> >>>>>>>>>>>>> point me
> >>>>>>>>>>>>> to where you got the icons for the image
> >>>>>>>>>>>>> <
> >>>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>>>>>>>>>> you
> >>>>>>>>>>>>> posted over at the wiki page
> >>>>>>>>>>>>> <
> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
> >>>>>> for
> >>>>>>>>>> the
> >>>>>>>>>>>>> GSoC project.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>>>>>>>>>> I have made the following changes to my project:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
> >>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary files
> >>>>>>>>>>>>>>> 3. Added Readme to Github repository
> >>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
> >>> instead of
> >>>>>>>>>>>>>> entire
> >>>>>>>>>>>>>>> workspace
> >>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
> >>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
> >>>>>>>>>>>>>> "org.apache.syncope.ide.
> >>>>>>>>>>>>>>> eclipse"
> >>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define the
> >>> url of
> >>>>>>>>>>>>>> syncope
> >>>>>>>>>>>>>>> deployment and username password combination
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Changes to be made:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
> >>> build.properties
> >>>>>>>>>>>>>> files and
> >>>>>>>>>>>>>>> folders and generate them using maven
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Please advise on any more changes required or problems
> >>> observed.
> >>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>> I have opened
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> with some indications.
> >>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
> >>>>>>>>>>>>>> ilgrosso@apache.org>
> >>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Hi Tushar,
> >>>>>>>>>>>>>>>> here are my preliminary observations:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven project
> >>> having
> >>>>>> the
> >>>>>>>>>>>>>>>> following parent POM:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>        <parent>
> >>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>>>>>>>>>          <artifactId>syncope</artifactId>
> >>>>>>>>>>>>>>>>          <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>>>>>>>>>        </parent>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
> >>> Sameera's
> >>>>>>>> for
> >>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into
> the
> >>>>>> Apache
> >>>>>>>>>>>>>>>> Syncope source tree.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree (Maven
> >>> will
> >>>>>>>>>>>>>> greatly
> >>>>>>>>>>>>>>>> help WRT this), like as
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1) build
> >>> and
> >>>>>> (2)
> >>>>>>>>>>>>>> use
> >>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
> >>> versions)
> >>>>>>>>>>>>>>>> Regards.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>>>>>>>>>> I've updated the source
> >>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>>>>>>>>>> include and use the Syncope Client library to access data
> >>> from
> >>>>>>>> the
> >>>>>>>>>>>>>> REST
> >>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any required
> >>>>>>>>>>>>>> changes or
> >>>>>>>>>>>>>>>>> updates.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>>>>>>>>>>>> <tu...@gmail.com>
> >>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>> Hello devs,
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> I would like to update you on my progress in the
> project.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
> >>> built a
> >>>>>>>>>>>>>> java REST
> >>>>>>>>>>>>>>>>>> client to get all the mail and report templates using
> >>>>>> Apache's
> >>>>>>>>>>>>>> HTTP
> >>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST API
> >>> and
> >>>>>>>>>>>>>> have been
> >>>>>>>>>>>>>>>> added
> >>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail and
> >>> report
> >>>>>>>>>>>>>> templates
> >>>>>>>>>>>>>>>> in a
> >>>>>>>>>>>>>>>>>> tree view as suggested here
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>> <
> >>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
> >>>>>> A
> >>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
> >>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be using
> >>> the
> >>>>>>>>>>>>>> Syncope
> >>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the rest
> >>> API.
> >>>>>>>>>>>>>> I am
> >>>>>>>>>>>>>>>>>> currently looking into it and will be updating you guys
> >>> on
> >>>>>> the
> >>>>>>>>>>>>>> progress
> >>>>>>>>>>>>>>>>>> with the same soon.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
> >>> Apache's
> >>>>>> HTTP
> >>>>>>>>>>>>>>>> libraries over
> >>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please
> >>> take
> >>>>>> a
> >>>>>>>>>>>>>> look
> >>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>> Francesco Chicchiriccò
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
> >>>>>>>>>>>>>>>>>> http://www.tirasa.net/
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
> >>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> >>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
> >>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi,
sorry for late reaction.

I have opened some issues in the GitHub repo.

Regards.

On 07/06/2016 13:37, Tushar Mishra wrote:
> Update:
> Changed editor to show multiple pages for different formats (Screenshot
> <http://imgur.com/kAI78ts>).
> 1. MailTemplates -> HTML, TEXT
> 2. ReportTemplates -> CSV, FO, HTML
>
> TODO:
> Handle save and save as events.
>
> Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
> <https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4>
>
> On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com> wrote:
>
>> Update:
>> 1. Editor classes added
>> 2. Template is read and displayed in editor
>>
>> TODO:
>> 1. Allow template to be viewed in different formats (HTML, text)
>> 2. Allow changes made in template to be sent to deployment
>>
>> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
>> <https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b>
>>
>> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiricc� <il...@apache.org>
>> wrote:
>>
>>> On 2016-06-02 12:28 Tushar Mishra wrote:
>>>> Update: Added the following with this commit
>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>>>> TreeViewer now supports Add and Remove functionality
>>>> Right click on
>>>> 1. TreeParent allows adding a new template key
>>>> 2. TreeObject allows removing key
>>>>
>>>> Problems:
>>>> 1. Users except admin do not return any template keys. Can only the
>>>> admin
>>>> have mail and report Templates or can any normal user have them too?
>>> The internal security model [1] requires that the requesting user owns
>>> different entitlements for being allowed to invoke different REST
>>> endpoints; for example, to list all mail templates available, the
>>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>>
>>> You will need then to create a role R, assign the needed entitlements to
>>> it and finally make the new user member of such role.
>>> Only at this point such user will be allowed to invoke the corresponding
>>> REST calls.
>>>
>>> "admin" owns all defined entitlements.
>>>
>>>> 2. When trying to add an already existing key, SyncopeClient doesn't
>>>> throw
>>>> any error. I can simply check against the loaded key list, but
>>>> shouldn't
>>>> that be done by SyncopeClient itself?
>>> The Syncope client library does not throw any exception because the
>>> Syncope core does not throw any exception in case one if attempting to
>>> create a mail template with an existing key; if you believe that an
>>> exception should be raised, please fill an improvement on JIRA (with fix
>>> version 2.0.0 and component "core").
>>>
>>> Regards.
>>>
>>> [1]
>>>
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>>> [2]
>>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>>> [3]
>>>
>>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>>
>>>> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com>
>>>> wrote:
>>>>
>>>>> Update: Added the following on this commit
>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>>>>> 1. Loading dialog to represent fetching process.
>>>>> 2. Preferences used to store and retrieve (persist through eclipse
>>>>> restart)
>>>>>          a) Deployment url through eclipse installation
>>>>>          b) User credentials through workspace
>>>>>
>>>>> Please advise on any further features required in the TreeViewer.
>>>>> Regards,
>>>>>
>>>>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiricc� <
>>>>> ilgrosso@apache.org> wrote:
>>>>>
>>>>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>>>>>> I've modified the project to use Tycho and can now be built with
>>> maven.
>>>>>>> Please check it out and inform me if there are any problems or
>>> changes
>>>>>>> required. I'll start working on the loading dialog tomorrow.
>>>>>> I have verified that now the Maven build works fine, and commented
>>>>>> the
>>>>>> relevant issues on GitHub.
>>>>>> Nice job!
>>>>>>
>>>>>> Now let's concentrate on adding features.
>>>>>>
>>>>>> Regards.
>>>>>>
>>>>>>> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiricc� <
>>>>>> ilgrosso@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>>>>>>>> I built the structure as suggested by Mr. Perucci here
>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>>>>>>>> However on running 'mvn clean verify', I got the following error.
>>>>>>>>>
>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>>>>>>>> (checkstyle-check) on project Syncope-IDE: Failed during
>>> checkstyle
>>>>>>>>> execution: Unable to find configuration file at location:
>>>>>>>>>
>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>>>>>>>> Could not find resource '/home/nitrous/syncope-ide/
>>>>>>>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>>>>>>> For the moment just add this to your pom.xml:
>>>>>>>>
>>>>>>>> <properties>
>>>>>>>>        <checkstyle.skip>true</checkstyle.skip>
>>>>>>>>      </properties>
>>>>>>>>
>>>>>>>> which will skip checkstyle checks: at some time you will place your
>>>>>> code
>>>>>>>> into the Apache Syncope source tree and we will need to make some
>>>>>>>> changes into the pom.xml - including removing this property.
>>>>>>>>
>>>>>>>>> I am also reading up on the tutorial
>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>>>>>>>> you linked in the issues to understand tycho better, but since
>>> I've
>>>>>> never
>>>>>>>>> really worked with maven extensively before, it is taking some
>>> time.
>>>>>>>> With caution, but take your time to get acquainted with Apache
>>> Maven:
>>>>>> it
>>>>>>>> is fundamental for working with Apache Syncope (and thousands more
>>> Open
>>>>>>>> Source projects out there).
>>>>>>>>
>>>>>>>> Regards.
>>>>>>>>
>>>>>>>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiricc� <
>>>>>>>> ilgrosso@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>> I have commented
>>>>>>>>>>
>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>
>>>>>>>>>> and also opened
>>>>>>>>>>
>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>>>>>>>
>>>>>>>>>> Regards.
>>>>>>>>>>
>>>>>>>>>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>>>>>>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>>>>>>>> There have been no responses from the IRC channel for eclipse
>>>>>> (Refer
>>>>>>>> to
>>>>>>>>>>>> comments on this issue
>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>>>>>>>>>>> I have sent out some emails regarding the query out to some
>>> plugin
>>>>>>>>>>>> developers and blog authors and I am still awaiting any
>>> response
>>>>>> from
>>>>>>>>>>>> them.
>>>>>>>>>>>>
>>>>>>>>>>>> Meanwhile, I am working on developing tests for the plugin. I
>>>>>> believe
>>>>>>>>>>>> this
>>>>>>>>>>>> will be completed during the weekend in which case, I will
>>> start
>>>>>> work
>>>>>>>> on
>>>>>>>>>>>> the editor part of the plugin.
>>>>>>>>>>>>
>>>>>>>>>>>> I would again like to invite you to try out the plugin and post
>>>>>>>>>>>> issues on
>>>>>>>>>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809>
>>> if
>>>>>>>>>>>> you find
>>>>>>>>>>>> any problems.
>>>>>>>>>>> Thanks for update: I'll look into that on Monday at earliest.
>>>>>>>>>>> Regards.
>>>>>>>>>>>
>>>>>>>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>>>>> tusharm567@gmail.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Update:
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1. icon has been changed with this commit
>>>>>>>>>>>>> <
>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>>>>>>>> 2. Commented on issue #3
>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to
>>> be
>>>>>>>>>>>>> directly
>>>>>>>>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF
>>> to be
>>>>>>>>>>>>> in the
>>>>>>>>>>>>> same directory, so that has to be in the root directory as
>>> well.
>>>>>>>>>>>>> I will continue to look into it and ask other developers
>>> until I'm
>>>>>>>>>>>>> sure.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Also, do I need to change the icons used in the tree view to
>>>>>>>> represent
>>>>>>>>>>>>> folders and files? If so, it would be really helpful if you
>>> could
>>>>>>>>>>>>> point me
>>>>>>>>>>>>> to where you got the icons for the image
>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>>>>>>>> you
>>>>>>>>>>>>> posted over at the wiki page
>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>>>>> for
>>>>>>>>>> the
>>>>>>>>>>>>> GSoC project.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiricc� <
>>>>>>>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>>>>>>>> I have made the following changes to my project:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 1. Refactored as Maven project and included parent POM
>>>>>>>>>>>>>>> 2. Removed unnecessary target libraries and binary files
>>>>>>>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>>>>>>>> 4. Changed repository to only contain Eclipse project
>>> instead of
>>>>>>>>>>>>>> entire
>>>>>>>>>>>>>>> workspace
>>>>>>>>>>>>>>> 5. Brought source to root directory of the repository
>>>>>>>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>>>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>>>>>>>> eclipse"
>>>>>>>>>>>>>>> 7. Added Login functionality to allow user to define the
>>> url of
>>>>>>>>>>>>>> syncope
>>>>>>>>>>>>>>> deployment and username password combination
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Changes to be made:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>>> build.properties
>>>>>>>>>>>>>> files and
>>>>>>>>>>>>>>> folders and generate them using maven
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Please advise on any more changes required or problems
>>> observed.
>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>> I have opened
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>>>>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> with some indications.
>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiricc� <
>>>>>>>>>>>>>> ilgrosso@apache.org>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Tushar,
>>>>>>>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 1. please refactor the whole project as a Maven project
>>> having
>>>>>> the
>>>>>>>>>>>>>>>> following parent POM:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>        <parent>
>>>>>>>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>>>>>>>          <artifactId>syncope</artifactId>
>>>>>>>>>>>>>>>>          <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>>>>>>>        </parent>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This will help for later stages since your (and Nuwan
>>> Sameera's
>>>>>>>> for
>>>>>>>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the
>>>>>> Apache
>>>>>>>>>>>>>>>> Syncope source tree.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2. avoid putting binary files into the source tree (Maven
>>> will
>>>>>>>>>>>>>> greatly
>>>>>>>>>>>>>>>> help WRT this), like as
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>>>>>>>> 3. add a wiki page with instructions on how to (1) build
>>> and
>>>>>> (2)
>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>>> versions)
>>>>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>>>>>>>> I've updated the source
>>>>>>>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>>>>>>>> include and use the Syncope Client library to access data
>>> from
>>>>>>>> the
>>>>>>>>>>>>>> REST
>>>>>>>>>>>>>>>>> API. Please do check it out and advise me on any required
>>>>>>>>>>>>>> changes or
>>>>>>>>>>>>>>>>> updates.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>>>>>>>>>> <tu...@gmail.com>
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I would like to update you on my progress in the project.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Seeing that today was the start of my project, I've
>>> built a
>>>>>>>>>>>>>> java REST
>>>>>>>>>>>>>>>>>> client to get all the mail and report templates using
>>>>>> Apache's
>>>>>>>>>>>>>> HTTP
>>>>>>>>>>>>>>>>>> libraries. These classes provide data from the REST API
>>> and
>>>>>>>>>>>>>> have been
>>>>>>>>>>>>>>>> added
>>>>>>>>>>>>>>>>>> to a view plugin which shows the keys of the mail and
>>> report
>>>>>>>>>>>>>> templates
>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>>>>> A
>>>>>>>>>>>>>>>>>> screenshot for the same has been uploaded here <
>>>>>>>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>>>>>>>> I received advice from my mentor that I should be using
>>> the
>>>>>>>>>>>>>> Syncope
>>>>>>>>>>>>>>>>>> Client library for fetching and sending data to the rest
>>> API.
>>>>>>>>>>>>>> I am
>>>>>>>>>>>>>>>>>> currently looking into it and will be updating you guys
>>> on
>>>>>> the
>>>>>>>>>>>>>> progress
>>>>>>>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>>> Apache's
>>>>>> HTTP
>>>>>>>>>>>>>>>> libraries over
>>>>>>>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please
>>> take
>>>>>> a
>>>>>>>>>>>>>> look
>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>>>> Francesco Chicchiricc�
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Tirasa - Open Source Excellence
>>>>>>>>>>>>>>>>>> http://www.tirasa.net/
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Involved at The Apache Software Foundation:
>>>>>>>>>>>>>>>>>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>>>>>>>>>>>>>>>>>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>>>>>>>>>>>>>>>>>> http://home.apache.org/~ilgrosso/

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update:
Changed editor to show multiple pages for different formats (Screenshot
<http://imgur.com/kAI78ts>).
1. MailTemplates -> HTML, TEXT
2. ReportTemplates -> CSV, FO, HTML

TODO:
Handle save and save as events.

Commit --> 91a1808cbd90110a74f8781fe758be5523ab86a4
<https://github.com/tmess567/SYNCOPE-809/commit/91a1808cbd90110a74f8781fe758be5523ab86a4>

On Mon, Jun 6, 2016 at 4:51 PM Tushar Mishra <tu...@gmail.com> wrote:

> Update:
> 1. Editor classes added
> 2. Template is read and displayed in editor
>
> TODO:
> 1. Allow template to be viewed in different formats (HTML, text)
> 2. Allow changes made in template to be sent to deployment
>
> Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
> <https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b>
>
> On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <il...@apache.org>
> wrote:
>
>> On 2016-06-02 12:28 Tushar Mishra wrote:
>> > Update: Added the following with this commit
>> > <
>> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
>> >
>> > TreeViewer now supports Add and Remove functionality
>> > Right click on
>> > 1. TreeParent allows adding a new template key
>> > 2. TreeObject allows removing key
>> >
>> > Problems:
>> > 1. Users except admin do not return any template keys. Can only the
>> > admin
>> > have mail and report Templates or can any normal user have them too?
>>
>> The internal security model [1] requires that the requesting user owns
>> different entitlements for being allowed to invoke different REST
>> endpoints; for example, to list all mail templates available, the
>> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>>
>> You will need then to create a role R, assign the needed entitlements to
>> it and finally make the new user member of such role.
>> Only at this point such user will be allowed to invoke the corresponding
>> REST calls.
>>
>> "admin" owns all defined entitlements.
>>
>> > 2. When trying to add an already existing key, SyncopeClient doesn't
>> > throw
>> > any error. I can simply check against the loaded key list, but
>> > shouldn't
>> > that be done by SyncopeClient itself?
>>
>> The Syncope client library does not throw any exception because the
>> Syncope core does not throw any exception in case one if attempting to
>> create a mail template with an existing key; if you believe that an
>> exception should be raised, please fill an improvement on JIRA (with fix
>> version 2.0.0 and component "core").
>>
>> Regards.
>>
>> [1]
>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
>> [2]
>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
>> [3]
>>
>> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>>
>> > On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com>
>> > wrote:
>> >
>> >> Update: Added the following on this commit
>> >> <
>> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
>> >
>> >> 1. Loading dialog to represent fetching process.
>> >> 2. Preferences used to store and retrieve (persist through eclipse
>> >> restart)
>> >>         a) Deployment url through eclipse installation
>> >>         b) User credentials through workspace
>> >>
>> >> Please advise on any further features required in the TreeViewer.
>> >> Regards,
>> >>
>> >> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
>> >> ilgrosso@apache.org> wrote:
>> >>
>> >>> On 31/05/2016 12:59, Tushar Mishra wrote:
>> >>> > I've modified the project to use Tycho and can now be built with
>> maven.
>> >>> > Please check it out and inform me if there are any problems or
>> changes
>> >>> > required. I'll start working on the loading dialog tomorrow.
>> >>>
>> >>> I have verified that now the Maven build works fine, and commented
>> >>> the
>> >>> relevant issues on GitHub.
>> >>> Nice job!
>> >>>
>> >>> Now let's concentrate on adding features.
>> >>>
>> >>> Regards.
>> >>>
>> >>> > On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
>> >>> ilgrosso@apache.org>
>> >>> > wrote:
>> >>> >
>> >>> >> On 31/05/2016 08:59, Tushar Mishra wrote:
>> >>> >>> I built the structure as suggested by Mr. Perucci here
>> >>> >>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>> >>> >>> However on running 'mvn clean verify', I got the following error.
>> >>> >>>
>> >>> >>> [ERROR] Failed to execute goal
>> >>> >>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>> >>> >>> (checkstyle-check) on project Syncope-IDE: Failed during
>> checkstyle
>> >>> >>> execution: Unable to find configuration file at location:
>> >>> >>>
>> >>> >>
>> >>>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>> >>> >>> Could not find resource '/home/nitrous/syncope-ide/
>> >>> >>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>> >>> >> For the moment just add this to your pom.xml:
>> >>> >>
>> >>> >> <properties>
>> >>> >>       <checkstyle.skip>true</checkstyle.skip>
>> >>> >>     </properties>
>> >>> >>
>> >>> >> which will skip checkstyle checks: at some time you will place your
>> >>> code
>> >>> >> into the Apache Syncope source tree and we will need to make some
>> >>> >> changes into the pom.xml - including removing this property.
>> >>> >>
>> >>> >>> I am also reading up on the tutorial
>> >>> >>> <
>> >>> >>
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>> >>> >>> you linked in the issues to understand tycho better, but since
>> I've
>> >>> never
>> >>> >>> really worked with maven extensively before, it is taking some
>> time.
>> >>> >> With caution, but take your time to get acquainted with Apache
>> Maven:
>> >>> it
>> >>> >> is fundamental for working with Apache Syncope (and thousands more
>> Open
>> >>> >> Source projects out there).
>> >>> >>
>> >>> >> Regards.
>> >>> >>
>> >>> >>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
>> >>> >> ilgrosso@apache.org>
>> >>> >>> wrote:
>> >>> >>>
>> >>> >>>> Hi,
>> >>> >>>> I have commented
>> >>> >>>>
>> >>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>> >>>>
>> >>> >>>> and also opened
>> >>> >>>>
>> >>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>> >>> >>>>
>> >>> >>>> Regards.
>> >>> >>>>
>> >>> >>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
>> >>> >>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>> >>> >>>>>> There have been no responses from the IRC channel for eclipse
>> >>> (Refer
>> >>> >> to
>> >>> >>>>>> comments on this issue
>> >>> >>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>> >>> >>>>>> I have sent out some emails regarding the query out to some
>> plugin
>> >>> >>>>>> developers and blog authors and I am still awaiting any
>> response
>> >>> from
>> >>> >>>>>> them.
>> >>> >>>>>>
>> >>> >>>>>> Meanwhile, I am working on developing tests for the plugin. I
>> >>> believe
>> >>> >>>>>> this
>> >>> >>>>>> will be completed during the weekend in which case, I will
>> start
>> >>> work
>> >>> >> on
>> >>> >>>>>> the editor part of the plugin.
>> >>> >>>>>>
>> >>> >>>>>> I would again like to invite you to try out the plugin and post
>> >>> >>>>>> issues on
>> >>> >>>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809>
>> if
>> >>> >>>>>> you find
>> >>> >>>>>> any problems.
>> >>> >>>>> Thanks for update: I'll look into that on Monday at earliest.
>> >>> >>>>> Regards.
>> >>> >>>>>
>> >>> >>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>> >>> tusharm567@gmail.com>
>> >>> >>>>>> wrote:
>> >>> >>>>>>
>> >>> >>>>>>> Update:
>> >>> >>>>>>>
>> >>> >>>>>>> 1. icon has been changed with this commit
>> >>> >>>>>>> <
>> >>> >>
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>> >>> >>>>>>> 2. Commented on issue #3
>> >>> >>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>> >>> >>>>>>>
>> >>> >>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to
>> be
>> >>> >>>>>>> directly
>> >>> >>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF
>> to be
>> >>> >>>>>>> in the
>> >>> >>>>>>> same directory, so that has to be in the root directory as
>> well.
>> >>> >>>>>>> I will continue to look into it and ask other developers
>> until I'm
>> >>> >>>>>>> sure.
>> >>> >>>>>>>
>> >>> >>>>>>> Also, do I need to change the icons used in the tree view to
>> >>> >> represent
>> >>> >>>>>>> folders and files? If so, it would be really helpful if you
>> could
>> >>> >>>>>>> point me
>> >>> >>>>>>> to where you got the icons for the image
>> >>> >>>>>>> <
>> >>> >>
>> >>>
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>> >>> >>>>>>> you
>> >>> >>>>>>> posted over at the wiki page
>> >>> >>>>>>> <
>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>> >>> for
>> >>> >>>> the
>> >>> >>>>>>> GSoC project.
>> >>> >>>>>>>
>> >>> >>>>>>> Regards,
>> >>> >>>>>>>
>> >>> >>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
>> >>> >>>>>>> ilgrosso@apache.org> wrote:
>> >>> >>>>>>>
>> >>> >>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>> >>> >>>>>>>>> I have made the following changes to my project:
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> 1. Refactored as Maven project and included parent POM
>> >>> >>>>>>>>> 2. Removed unnecessary target libraries and binary files
>> >>> >>>>>>>>> 3. Added Readme to Github repository
>> >>> >>>>>>>>> 4. Changed repository to only contain Eclipse project
>> instead of
>> >>> >>>>>>>> entire
>> >>> >>>>>>>>> workspace
>> >>> >>>>>>>>> 5. Brought source to root directory of the repository
>> >>> >>>>>>>>> 6. Changed base package from "eclipseplugin" to
>> >>> >>>>>>>> "org.apache.syncope.ide.
>> >>> >>>>>>>>> eclipse"
>> >>> >>>>>>>>> 7. Added Login functionality to allow user to define the
>> url of
>> >>> >>>>>>>> syncope
>> >>> >>>>>>>>> deployment and username password combination
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> Changes to be made:
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> 1. Replace icon of plugin to syncope's icon
>> >>> >>>>>>>>> 2. Remove .settings, META-INF, .classpath and
>> build.properties
>> >>> >>>>>>>> files and
>> >>> >>>>>>>>> folders and generate them using maven
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> Please advise on any more changes required or problems
>> observed.
>> >>> >>>>>>>> Hi Tushar,
>> >>> >>>>>>>> I have opened
>> >>> >>>>>>>>
>> >>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>> >>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>> >>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>> >>>>>>>>
>> >>> >>>>>>>> with some indications.
>> >>> >>>>>>>> Regards.
>> >>> >>>>>>>>
>> >>> >>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
>> >>> >>>>>>>> ilgrosso@apache.org>
>> >>> >>>>>>>>> wrote:
>> >>> >>>>>>>>>
>> >>> >>>>>>>>>> Hi Tushar,
>> >>> >>>>>>>>>> here are my preliminary observations:
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> 1. please refactor the whole project as a Maven project
>> having
>> >>> the
>> >>> >>>>>>>>>> following parent POM:
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>>       <parent>
>> >>> >>>>>>>>>> <groupId>org.apache.syncope</groupId>
>> >>> >>>>>>>>>>         <artifactId>syncope</artifactId>
>> >>> >>>>>>>>>>         <version>2.0.0-SNAPSHOT</version>
>> >>> >>>>>>>>>>       </parent>
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> This will help for later stages since your (and Nuwan
>> Sameera's
>> >>> >> for
>> >>> >>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the
>> >>> Apache
>> >>> >>>>>>>>>> Syncope source tree.
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> 2. avoid putting binary files into the source tree (Maven
>> will
>> >>> >>>>>>>> greatly
>> >>> >>>>>>>>>> help WRT this), like as
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>>
>> >>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> >>> >>
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> >>> >>
>> >>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>> >>> >>>>>>>>>> 3. add a wiki page with instructions on how to (1) build
>> and
>> >>> (2)
>> >>> >>>>>>>> use
>> >>> >>>>>>>>>> your plugin within Eclipse (with supported Eclipse
>> versions)
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> Regards.
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>> >>> >>>>>>>>>>> I've updated the source
>> >>> >>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>> >>> >>>>>>>>>>> include and use the Syncope Client library to access data
>> from
>> >>> >> the
>> >>> >>>>>>>> REST
>> >>> >>>>>>>>>>> API. Please do check it out and advise me on any required
>> >>> >>>>>>>> changes or
>> >>> >>>>>>>>>>> updates.
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>> Regards,
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>> >>> >>>>>>>> <tu...@gmail.com>
>> >>> >>>>>>>>>> wrote:
>> >>> >>>>>>>>>>>> Hello devs,
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>>>>>> I would like to update you on my progress in the project.
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>>>>>> Seeing that today was the start of my project, I've
>> built a
>> >>> >>>>>>>> java REST
>> >>> >>>>>>>>>>>> client to get all the mail and report templates using
>> >>> Apache's
>> >>> >>>>>>>> HTTP
>> >>> >>>>>>>>>>>> libraries. These classes provide data from the REST API
>> and
>> >>> >>>>>>>> have been
>> >>> >>>>>>>>>> added
>> >>> >>>>>>>>>>>> to a view plugin which shows the keys of the mail and
>> report
>> >>> >>>>>>>> templates
>> >>> >>>>>>>>>> in a
>> >>> >>>>>>>>>>>> tree view as suggested here
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>> <
>> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>> >>> A
>> >>> >>>>>>>>>>>> screenshot for the same has been uploaded here <
>> >>> >>>>>>>>>> http://imgur.com/4BO4yi2>.
>> >>> >>>>>>>>>>>> I received advice from my mentor that I should be using
>> the
>> >>> >>>>>>>> Syncope
>> >>> >>>>>>>>>>>> Client library for fetching and sending data to the rest
>> API.
>> >>> >>>>>>>> I am
>> >>> >>>>>>>>>>>> currently looking into it and will be updating you guys
>> on
>> >>> the
>> >>> >>>>>>>> progress
>> >>> >>>>>>>>>>>> with the same soon.
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>>>>>> Meanwhile, I've uploaded the current one with the
>> Apache's
>> >>> HTTP
>> >>> >>>>>>>>>> libraries over
>> >>> >>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please
>> take
>> >>> a
>> >>> >>>>>>>> look
>> >>> >>>>>>>> and
>> >>> >>>>>>>>>>>> tell me if any changes are required.
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>>>>>> Regards,
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>> http://home.apache.org/~ilgrosso/
>>
> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update:
1. Editor classes added
2. Template is read and displayed in editor

TODO:
1. Allow template to be viewed in different formats (HTML, text)
2. Allow changes made in template to be sent to deployment

Commit --> 5c02b33cad7f5802e0c55344e53e0c7623c4e05b
<https://github.com/tmess567/SYNCOPE-809/commit/5c02b33cad7f5802e0c55344e53e0c7623c4e05b>

On Thu, Jun 2, 2016 at 6:33 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 2016-06-02 12:28 Tushar Mishra wrote:
> > Update: Added the following with this commit
> > <
> https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932
> >
> > TreeViewer now supports Add and Remove functionality
> > Right click on
> > 1. TreeParent allows adding a new template key
> > 2. TreeObject allows removing key
> >
> > Problems:
> > 1. Users except admin do not return any template keys. Can only the
> > admin
> > have mail and report Templates or can any normal user have them too?
>
> The internal security model [1] requires that the requesting user owns
> different entitlements for being allowed to invoke different REST
> endpoints; for example, to list all mail templates available, the
> "MAIL_TEMPLATE_LIST" entitlement is necessary.
>
> You will need then to create a role R, assign the needed entitlements to
> it and finally make the new user member of such role.
> Only at this point such user will be allowed to invoke the corresponding
> REST calls.
>
> "admin" owns all defined entitlements.
>
> > 2. When trying to add an already existing key, SyncopeClient doesn't
> > throw
> > any error. I can simply check against the loaded key list, but
> > shouldn't
> > that be done by SyncopeClient itself?
>
> The Syncope client library does not throw any exception because the
> Syncope core does not throw any exception in case one if attempting to
> create a mail template with an existing key; if you believe that an
> exception should be raised, please fill an improvement on JIRA (with fix
> version 2.0.0 and component "core").
>
> Regards.
>
> [1]
>
> https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
> [2]
>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
> [3]
>
> https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
>
> > On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com>
> > wrote:
> >
> >> Update: Added the following on this commit
> >> <
> https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0
> >
> >> 1. Loading dialog to represent fetching process.
> >> 2. Preferences used to store and retrieve (persist through eclipse
> >> restart)
> >>         a) Deployment url through eclipse installation
> >>         b) User credentials through workspace
> >>
> >> Please advise on any further features required in the TreeViewer.
> >> Regards,
> >>
> >> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
> >> ilgrosso@apache.org> wrote:
> >>
> >>> On 31/05/2016 12:59, Tushar Mishra wrote:
> >>> > I've modified the project to use Tycho and can now be built with
> maven.
> >>> > Please check it out and inform me if there are any problems or
> changes
> >>> > required. I'll start working on the loading dialog tomorrow.
> >>>
> >>> I have verified that now the Maven build works fine, and commented
> >>> the
> >>> relevant issues on GitHub.
> >>> Nice job!
> >>>
> >>> Now let's concentrate on adding features.
> >>>
> >>> Regards.
> >>>
> >>> > On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
> >>> ilgrosso@apache.org>
> >>> > wrote:
> >>> >
> >>> >> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>> >>> I built the structure as suggested by Mr. Perucci here
> >>> >>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> >>> >>> However on running 'mvn clean verify', I got the following error.
> >>> >>>
> >>> >>> [ERROR] Failed to execute goal
> >>> >>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>> >>> (checkstyle-check) on project Syncope-IDE: Failed during checkstyle
> >>> >>> execution: Unable to find configuration file at location:
> >>> >>>
> >>> >>
> >>>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>> >>> Could not find resource '/home/nitrous/syncope-ide/
> >>> >>> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >>> >> For the moment just add this to your pom.xml:
> >>> >>
> >>> >> <properties>
> >>> >>       <checkstyle.skip>true</checkstyle.skip>
> >>> >>     </properties>
> >>> >>
> >>> >> which will skip checkstyle checks: at some time you will place your
> >>> code
> >>> >> into the Apache Syncope source tree and we will need to make some
> >>> >> changes into the pom.xml - including removing this property.
> >>> >>
> >>> >>> I am also reading up on the tutorial
> >>> >>> <
> >>> >>
> >>>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>> >>> you linked in the issues to understand tycho better, but since I've
> >>> never
> >>> >>> really worked with maven extensively before, it is taking some
> time.
> >>> >> With caution, but take your time to get acquainted with Apache
> Maven:
> >>> it
> >>> >> is fundamental for working with Apache Syncope (and thousands more
> Open
> >>> >> Source projects out there).
> >>> >>
> >>> >> Regards.
> >>> >>
> >>> >>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
> >>> >> ilgrosso@apache.org>
> >>> >>> wrote:
> >>> >>>
> >>> >>>> Hi,
> >>> >>>> I have commented
> >>> >>>>
> >>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>> >>>>
> >>> >>>> and also opened
> >>> >>>>
> >>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>> >>>>
> >>> >>>> Regards.
> >>> >>>>
> >>> >>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>> >>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>> >>>>>> There have been no responses from the IRC channel for eclipse
> >>> (Refer
> >>> >> to
> >>> >>>>>> comments on this issue
> >>> >>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >>> >>>>>> I have sent out some emails regarding the query out to some
> plugin
> >>> >>>>>> developers and blog authors and I am still awaiting any response
> >>> from
> >>> >>>>>> them.
> >>> >>>>>>
> >>> >>>>>> Meanwhile, I am working on developing tests for the plugin. I
> >>> believe
> >>> >>>>>> this
> >>> >>>>>> will be completed during the weekend in which case, I will start
> >>> work
> >>> >> on
> >>> >>>>>> the editor part of the plugin.
> >>> >>>>>>
> >>> >>>>>> I would again like to invite you to try out the plugin and post
> >>> >>>>>> issues on
> >>> >>>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809>
> if
> >>> >>>>>> you find
> >>> >>>>>> any problems.
> >>> >>>>> Thanks for update: I'll look into that on Monday at earliest.
> >>> >>>>> Regards.
> >>> >>>>>
> >>> >>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
> >>> tusharm567@gmail.com>
> >>> >>>>>> wrote:
> >>> >>>>>>
> >>> >>>>>>> Update:
> >>> >>>>>>>
> >>> >>>>>>> 1. icon has been changed with this commit
> >>> >>>>>>> <
> >>> >>
> >>>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>> >>>>>>> 2. Commented on issue #3
> >>> >>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>> >>>>>>>
> >>> >>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to
> be
> >>> >>>>>>> directly
> >>> >>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF
> to be
> >>> >>>>>>> in the
> >>> >>>>>>> same directory, so that has to be in the root directory as
> well.
> >>> >>>>>>> I will continue to look into it and ask other developers until
> I'm
> >>> >>>>>>> sure.
> >>> >>>>>>>
> >>> >>>>>>> Also, do I need to change the icons used in the tree view to
> >>> >> represent
> >>> >>>>>>> folders and files? If so, it would be really helpful if you
> could
> >>> >>>>>>> point me
> >>> >>>>>>> to where you got the icons for the image
> >>> >>>>>>> <
> >>> >>
> >>>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>> >>>>>>> you
> >>> >>>>>>> posted over at the wiki page
> >>> >>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016
> >
> >>> for
> >>> >>>> the
> >>> >>>>>>> GSoC project.
> >>> >>>>>>>
> >>> >>>>>>> Regards,
> >>> >>>>>>>
> >>> >>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
> >>> >>>>>>> ilgrosso@apache.org> wrote:
> >>> >>>>>>>
> >>> >>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>> >>>>>>>>> I have made the following changes to my project:
> >>> >>>>>>>>>
> >>> >>>>>>>>> 1. Refactored as Maven project and included parent POM
> >>> >>>>>>>>> 2. Removed unnecessary target libraries and binary files
> >>> >>>>>>>>> 3. Added Readme to Github repository
> >>> >>>>>>>>> 4. Changed repository to only contain Eclipse project
> instead of
> >>> >>>>>>>> entire
> >>> >>>>>>>>> workspace
> >>> >>>>>>>>> 5. Brought source to root directory of the repository
> >>> >>>>>>>>> 6. Changed base package from "eclipseplugin" to
> >>> >>>>>>>> "org.apache.syncope.ide.
> >>> >>>>>>>>> eclipse"
> >>> >>>>>>>>> 7. Added Login functionality to allow user to define the url
> of
> >>> >>>>>>>> syncope
> >>> >>>>>>>>> deployment and username password combination
> >>> >>>>>>>>>
> >>> >>>>>>>>> Changes to be made:
> >>> >>>>>>>>>
> >>> >>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>> >>>>>>>>> 2. Remove .settings, META-INF, .classpath and
> build.properties
> >>> >>>>>>>> files and
> >>> >>>>>>>>> folders and generate them using maven
> >>> >>>>>>>>>
> >>> >>>>>>>>> Please advise on any more changes required or problems
> observed.
> >>> >>>>>>>> Hi Tushar,
> >>> >>>>>>>> I have opened
> >>> >>>>>>>>
> >>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>> >>>>>>>>
> >>> >>>>>>>> with some indications.
> >>> >>>>>>>> Regards.
> >>> >>>>>>>>
> >>> >>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
> >>> >>>>>>>> ilgrosso@apache.org>
> >>> >>>>>>>>> wrote:
> >>> >>>>>>>>>
> >>> >>>>>>>>>> Hi Tushar,
> >>> >>>>>>>>>> here are my preliminary observations:
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> 1. please refactor the whole project as a Maven project
> having
> >>> the
> >>> >>>>>>>>>> following parent POM:
> >>> >>>>>>>>>>
> >>> >>>>>>>>>>       <parent>
> >>> >>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>> >>>>>>>>>>         <artifactId>syncope</artifactId>
> >>> >>>>>>>>>>         <version>2.0.0-SNAPSHOT</version>
> >>> >>>>>>>>>>       </parent>
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> This will help for later stages since your (and Nuwan
> Sameera's
> >>> >> for
> >>> >>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the
> >>> Apache
> >>> >>>>>>>>>> Syncope source tree.
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> 2. avoid putting binary files into the source tree (Maven
> will
> >>> >>>>>>>> greatly
> >>> >>>>>>>>>> help WRT this), like as
> >>> >>>>>>>>>>
> >>> >>>>>>>>>>
> >>> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>> >>
> >>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>> >>
> >>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>> >>>>>>>>>> 3. add a wiki page with instructions on how to (1) build and
> >>> (2)
> >>> >>>>>>>> use
> >>> >>>>>>>>>> your plugin within Eclipse (with supported Eclipse versions)
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> Regards.
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>> >>>>>>>>>>> I've updated the source
> >>> >>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>> >>>>>>>>>>> include and use the Syncope Client library to access data
> from
> >>> >> the
> >>> >>>>>>>> REST
> >>> >>>>>>>>>>> API. Please do check it out and advise me on any required
> >>> >>>>>>>> changes or
> >>> >>>>>>>>>>> updates.
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> Regards,
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>> >>>>>>>> <tu...@gmail.com>
> >>> >>>>>>>>>> wrote:
> >>> >>>>>>>>>>>> Hello devs,
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> I would like to update you on my progress in the project.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> Seeing that today was the start of my project, I've built
> a
> >>> >>>>>>>> java REST
> >>> >>>>>>>>>>>> client to get all the mail and report templates using
> >>> Apache's
> >>> >>>>>>>> HTTP
> >>> >>>>>>>>>>>> libraries. These classes provide data from the REST API
> and
> >>> >>>>>>>> have been
> >>> >>>>>>>>>> added
> >>> >>>>>>>>>>>> to a view plugin which shows the keys of the mail and
> report
> >>> >>>>>>>> templates
> >>> >>>>>>>>>> in a
> >>> >>>>>>>>>>>> tree view as suggested here
> >>> >>>>>>>>>>>>
> >>> >>>>>>>> <
> https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
> >>> A
> >>> >>>>>>>>>>>> screenshot for the same has been uploaded here <
> >>> >>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>> >>>>>>>>>>>> I received advice from my mentor that I should be using
> the
> >>> >>>>>>>> Syncope
> >>> >>>>>>>>>>>> Client library for fetching and sending data to the rest
> API.
> >>> >>>>>>>> I am
> >>> >>>>>>>>>>>> currently looking into it and will be updating you guys on
> >>> the
> >>> >>>>>>>> progress
> >>> >>>>>>>>>>>> with the same soon.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> Meanwhile, I've uploaded the current one with the Apache's
> >>> HTTP
> >>> >>>>>>>>>> libraries over
> >>> >>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please
> take
> >>> a
> >>> >>>>>>>> look
> >>> >>>>>>>> and
> >>> >>>>>>>>>>>> tell me if any changes are required.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> Regards,
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 2016-06-02 12:28 Tushar Mishra wrote:
> Update: Added the following with this commit
> <https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932>
> TreeViewer now supports Add and Remove functionality
> Right click on
> 1. TreeParent allows adding a new template key
> 2. TreeObject allows removing key
> 
> Problems:
> 1. Users except admin do not return any template keys. Can only the 
> admin
> have mail and report Templates or can any normal user have them too?

The internal security model [1] requires that the requesting user owns 
different entitlements for being allowed to invoke different REST 
endpoints; for example, to list all mail templates available, the 
"MAIL_TEMPLATE_LIST" entitlement is necessary.

You will need then to create a role R, assign the needed entitlements to 
it and finally make the new user member of such role.
Only at this point such user will be allowed to invoke the corresponding 
REST calls.

"admin" owns all defined entitlements.

> 2. When trying to add an already existing key, SyncopeClient doesn't 
> throw
> any error. I can simply check against the loaded key list, but 
> shouldn't
> that be done by SyncopeClient itself?

The Syncope client library does not throw any exception because the 
Syncope core does not throw any exception in case one if attempting to 
create a mail template with an existing key; if you believe that an 
exception should be raised, please fill an improvement on JIRA (with fix 
version 2.0.0 and component "core").

Regards.

[1] 
https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms#id-[DISCUSS]Realms-Newsecuritymodel
[2] 
https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/MailTemplateLogic.java
[3] 
https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java

> On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com> 
> wrote:
> 
>> Update: Added the following on this commit
>> <https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0>
>> 1. Loading dialog to represent fetching process.
>> 2. Preferences used to store and retrieve (persist through eclipse 
>> restart)
>>         a) Deployment url through eclipse installation
>>         b) User credentials through workspace
>> 
>> Please advise on any further features required in the TreeViewer.
>> Regards,
>> 
>> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org> wrote:
>> 
>>> On 31/05/2016 12:59, Tushar Mishra wrote:
>>> > I've modified the project to use Tycho and can now be built with maven.
>>> > Please check it out and inform me if there are any problems or changes
>>> > required. I'll start working on the loading dialog tomorrow.
>>> 
>>> I have verified that now the Maven build works fine, and commented 
>>> the
>>> relevant issues on GitHub.
>>> Nice job!
>>> 
>>> Now let's concentrate on adding features.
>>> 
>>> Regards.
>>> 
>>> > On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
>>> ilgrosso@apache.org>
>>> > wrote:
>>> >
>>> >> On 31/05/2016 08:59, Tushar Mishra wrote:
>>> >>> I built the structure as suggested by Mr. Perucci here
>>> >>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>> >>> However on running 'mvn clean verify', I got the following error.
>>> >>>
>>> >>> [ERROR] Failed to execute goal
>>> >>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>> >>> (checkstyle-check) on project Syncope-IDE: Failed during checkstyle
>>> >>> execution: Unable to find configuration file at location:
>>> >>>
>>> >>
>>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>> >>> Could not find resource '/home/nitrous/syncope-ide/
>>> >>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>>> >> For the moment just add this to your pom.xml:
>>> >>
>>> >> <properties>
>>> >>       <checkstyle.skip>true</checkstyle.skip>
>>> >>     </properties>
>>> >>
>>> >> which will skip checkstyle checks: at some time you will place your
>>> code
>>> >> into the Apache Syncope source tree and we will need to make some
>>> >> changes into the pom.xml - including removing this property.
>>> >>
>>> >>> I am also reading up on the tutorial
>>> >>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>> >>> you linked in the issues to understand tycho better, but since I've
>>> never
>>> >>> really worked with maven extensively before, it is taking some time.
>>> >> With caution, but take your time to get acquainted with Apache Maven:
>>> it
>>> >> is fundamental for working with Apache Syncope (and thousands more Open
>>> >> Source projects out there).
>>> >>
>>> >> Regards.
>>> >>
>>> >>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
>>> >> ilgrosso@apache.org>
>>> >>> wrote:
>>> >>>
>>> >>>> Hi,
>>> >>>> I have commented
>>> >>>>
>>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> >>>>
>>> >>>> and also opened
>>> >>>>
>>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>> >>>>
>>> >>>> Regards.
>>> >>>>
>>> >>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
>>> >>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>> >>>>>> There have been no responses from the IRC channel for eclipse
>>> (Refer
>>> >> to
>>> >>>>>> comments on this issue
>>> >>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>> >>>>>> I have sent out some emails regarding the query out to some plugin
>>> >>>>>> developers and blog authors and I am still awaiting any response
>>> from
>>> >>>>>> them.
>>> >>>>>>
>>> >>>>>> Meanwhile, I am working on developing tests for the plugin. I
>>> believe
>>> >>>>>> this
>>> >>>>>> will be completed during the weekend in which case, I will start
>>> work
>>> >> on
>>> >>>>>> the editor part of the plugin.
>>> >>>>>>
>>> >>>>>> I would again like to invite you to try out the plugin and post
>>> >>>>>> issues on
>>> >>>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if
>>> >>>>>> you find
>>> >>>>>> any problems.
>>> >>>>> Thanks for update: I'll look into that on Monday at earliest.
>>> >>>>> Regards.
>>> >>>>>
>>> >>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>>> tusharm567@gmail.com>
>>> >>>>>> wrote:
>>> >>>>>>
>>> >>>>>>> Update:
>>> >>>>>>>
>>> >>>>>>> 1. icon has been changed with this commit
>>> >>>>>>> <
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>> >>>>>>> 2. Commented on issue #3
>>> >>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>> >>>>>>>
>>> >>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be
>>> >>>>>>> directly
>>> >>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be
>>> >>>>>>> in the
>>> >>>>>>> same directory, so that has to be in the root directory as well.
>>> >>>>>>> I will continue to look into it and ask other developers until I'm
>>> >>>>>>> sure.
>>> >>>>>>>
>>> >>>>>>> Also, do I need to change the icons used in the tree view to
>>> >> represent
>>> >>>>>>> folders and files? If so, it would be really helpful if you could
>>> >>>>>>> point me
>>> >>>>>>> to where you got the icons for the image
>>> >>>>>>> <
>>> >>
>>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>> >>>>>>> you
>>> >>>>>>> posted over at the wiki page
>>> >>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>>> for
>>> >>>> the
>>> >>>>>>> GSoC project.
>>> >>>>>>>
>>> >>>>>>> Regards,
>>> >>>>>>>
>>> >>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
>>> >>>>>>> ilgrosso@apache.org> wrote:
>>> >>>>>>>
>>> >>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>> >>>>>>>>> I have made the following changes to my project:
>>> >>>>>>>>>
>>> >>>>>>>>> 1. Refactored as Maven project and included parent POM
>>> >>>>>>>>> 2. Removed unnecessary target libraries and binary files
>>> >>>>>>>>> 3. Added Readme to Github repository
>>> >>>>>>>>> 4. Changed repository to only contain Eclipse project instead of
>>> >>>>>>>> entire
>>> >>>>>>>>> workspace
>>> >>>>>>>>> 5. Brought source to root directory of the repository
>>> >>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>> >>>>>>>> "org.apache.syncope.ide.
>>> >>>>>>>>> eclipse"
>>> >>>>>>>>> 7. Added Login functionality to allow user to define the url of
>>> >>>>>>>> syncope
>>> >>>>>>>>> deployment and username password combination
>>> >>>>>>>>>
>>> >>>>>>>>> Changes to be made:
>>> >>>>>>>>>
>>> >>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>> >>>>>>>>> 2. Remove .settings, META-INF, .classpath and build.properties
>>> >>>>>>>> files and
>>> >>>>>>>>> folders and generate them using maven
>>> >>>>>>>>>
>>> >>>>>>>>> Please advise on any more changes required or problems observed.
>>> >>>>>>>> Hi Tushar,
>>> >>>>>>>> I have opened
>>> >>>>>>>>
>>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> >>>>>>>>
>>> >>>>>>>> with some indications.
>>> >>>>>>>> Regards.
>>> >>>>>>>>
>>> >>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
>>> >>>>>>>> ilgrosso@apache.org>
>>> >>>>>>>>> wrote:
>>> >>>>>>>>>
>>> >>>>>>>>>> Hi Tushar,
>>> >>>>>>>>>> here are my preliminary observations:
>>> >>>>>>>>>>
>>> >>>>>>>>>> 1. please refactor the whole project as a Maven project having
>>> the
>>> >>>>>>>>>> following parent POM:
>>> >>>>>>>>>>
>>> >>>>>>>>>>       <parent>
>>> >>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>> >>>>>>>>>>         <artifactId>syncope</artifactId>
>>> >>>>>>>>>>         <version>2.0.0-SNAPSHOT</version>
>>> >>>>>>>>>>       </parent>
>>> >>>>>>>>>>
>>> >>>>>>>>>> This will help for later stages since your (and Nuwan Sameera's
>>> >> for
>>> >>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the
>>> Apache
>>> >>>>>>>>>> Syncope source tree.
>>> >>>>>>>>>>
>>> >>>>>>>>>> 2. avoid putting binary files into the source tree (Maven will
>>> >>>>>>>> greatly
>>> >>>>>>>>>> help WRT this), like as
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>> >>>>>>>>>> 3. add a wiki page with instructions on how to (1) build and
>>> (2)
>>> >>>>>>>> use
>>> >>>>>>>>>> your plugin within Eclipse (with supported Eclipse versions)
>>> >>>>>>>>>>
>>> >>>>>>>>>> Regards.
>>> >>>>>>>>>>
>>> >>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>> >>>>>>>>>>> I've updated the source
>>> >>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>> >>>>>>>>>>> include and use the Syncope Client library to access data from
>>> >> the
>>> >>>>>>>> REST
>>> >>>>>>>>>>> API. Please do check it out and advise me on any required
>>> >>>>>>>> changes or
>>> >>>>>>>>>>> updates.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> Regards,
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>> >>>>>>>> <tu...@gmail.com>
>>> >>>>>>>>>> wrote:
>>> >>>>>>>>>>>> Hello devs,
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> I would like to update you on my progress in the project.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Seeing that today was the start of my project, I've built a
>>> >>>>>>>> java REST
>>> >>>>>>>>>>>> client to get all the mail and report templates using
>>> Apache's
>>> >>>>>>>> HTTP
>>> >>>>>>>>>>>> libraries. These classes provide data from the REST API and
>>> >>>>>>>> have been
>>> >>>>>>>>>> added
>>> >>>>>>>>>>>> to a view plugin which shows the keys of the mail and report
>>> >>>>>>>> templates
>>> >>>>>>>>>> in a
>>> >>>>>>>>>>>> tree view as suggested here
>>> >>>>>>>>>>>>
>>> >>>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>>> A
>>> >>>>>>>>>>>> screenshot for the same has been uploaded here <
>>> >>>>>>>>>> http://imgur.com/4BO4yi2>.
>>> >>>>>>>>>>>> I received advice from my mentor that I should be using the
>>> >>>>>>>> Syncope
>>> >>>>>>>>>>>> Client library for fetching and sending data to the rest API.
>>> >>>>>>>> I am
>>> >>>>>>>>>>>> currently looking into it and will be updating you guys on
>>> the
>>> >>>>>>>> progress
>>> >>>>>>>>>>>> with the same soon.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Meanwhile, I've uploaded the current one with the Apache's
>>> HTTP
>>> >>>>>>>>>> libraries over
>>> >>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take
>>> a
>>> >>>>>>>> look
>>> >>>>>>>> and
>>> >>>>>>>>>>>> tell me if any changes are required.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Regards,
-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update: Added the following with this commit
<https://github.com/tmess567/SYNCOPE-809/commit/edd9ede850b0a75854491619740818ad7fd97932>
TreeViewer now supports Add and Remove functionality
Right click on
1. TreeParent allows adding a new template key
2. TreeObject allows removing key

Problems:
1. Users except admin do not return any template keys. Can only the admin
have mail and report Templates or can any normal user have them too?
2. When trying to add an already existing key, SyncopeClient doesn't throw
any error. I can simply check against the loaded key list, but shouldn't
that be done by SyncopeClient itself?

Regards,

On Wed, Jun 1, 2016 at 4:30 PM Tushar Mishra <tu...@gmail.com> wrote:

> Update: Added the following on this commit
> <https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0>
> 1. Loading dialog to represent fetching process.
> 2. Preferences used to store and retrieve (persist through eclipse restart)
>         a) Deployment url through eclipse installation
>         b) User credentials through workspace
>
> Please advise on any further features required in the TreeViewer.
> Regards,
>
> On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <
> ilgrosso@apache.org> wrote:
>
>> On 31/05/2016 12:59, Tushar Mishra wrote:
>> > I've modified the project to use Tycho and can now be built with maven.
>> > Please check it out and inform me if there are any problems or changes
>> > required. I'll start working on the loading dialog tomorrow.
>>
>> I have verified that now the Maven build works fine, and commented the
>> relevant issues on GitHub.
>> Nice job!
>>
>> Now let's concentrate on adding features.
>>
>> Regards.
>>
>> > On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org>
>> > wrote:
>> >
>> >> On 31/05/2016 08:59, Tushar Mishra wrote:
>> >>> I built the structure as suggested by Mr. Perucci here
>> >>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>> >>> However on running 'mvn clean verify', I got the following error.
>> >>>
>> >>> [ERROR] Failed to execute goal
>> >>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>> >>> (checkstyle-check) on project Syncope-IDE: Failed during checkstyle
>> >>> execution: Unable to find configuration file at location:
>> >>>
>> >>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>> >>> Could not find resource '/home/nitrous/syncope-ide/
>> >>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>> >> For the moment just add this to your pom.xml:
>> >>
>> >> <properties>
>> >>       <checkstyle.skip>true</checkstyle.skip>
>> >>     </properties>
>> >>
>> >> which will skip checkstyle checks: at some time you will place your
>> code
>> >> into the Apache Syncope source tree and we will need to make some
>> >> changes into the pom.xml - including removing this property.
>> >>
>> >>> I am also reading up on the tutorial
>> >>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>> >>> you linked in the issues to understand tycho better, but since I've
>> never
>> >>> really worked with maven extensively before, it is taking some time.
>> >> With caution, but take your time to get acquainted with Apache Maven:
>> it
>> >> is fundamental for working with Apache Syncope (and thousands more Open
>> >> Source projects out there).
>> >>
>> >> Regards.
>> >>
>> >>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
>> >> ilgrosso@apache.org>
>> >>> wrote:
>> >>>
>> >>>> Hi,
>> >>>> I have commented
>> >>>>
>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>
>> >>>> and also opened
>> >>>>
>> >>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>> >>>>
>> >>>> Regards.
>> >>>>
>> >>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
>> >>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>> >>>>>> There have been no responses from the IRC channel for eclipse
>> (Refer
>> >> to
>> >>>>>> comments on this issue
>> >>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>> >>>>>> I have sent out some emails regarding the query out to some plugin
>> >>>>>> developers and blog authors and I am still awaiting any response
>> from
>> >>>>>> them.
>> >>>>>>
>> >>>>>> Meanwhile, I am working on developing tests for the plugin. I
>> believe
>> >>>>>> this
>> >>>>>> will be completed during the weekend in which case, I will start
>> work
>> >> on
>> >>>>>> the editor part of the plugin.
>> >>>>>>
>> >>>>>> I would again like to invite you to try out the plugin and post
>> >>>>>> issues on
>> >>>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if
>> >>>>>> you find
>> >>>>>> any problems.
>> >>>>> Thanks for update: I'll look into that on Monday at earliest.
>> >>>>> Regards.
>> >>>>>
>> >>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <
>> tusharm567@gmail.com>
>> >>>>>> wrote:
>> >>>>>>
>> >>>>>>> Update:
>> >>>>>>>
>> >>>>>>> 1. icon has been changed with this commit
>> >>>>>>> <
>> >>
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>> >>>>>>> 2. Commented on issue #3
>> >>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>> >>>>>>>
>> >>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be
>> >>>>>>> directly
>> >>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be
>> >>>>>>> in the
>> >>>>>>> same directory, so that has to be in the root directory as well.
>> >>>>>>> I will continue to look into it and ask other developers until I'm
>> >>>>>>> sure.
>> >>>>>>>
>> >>>>>>> Also, do I need to change the icons used in the tree view to
>> >> represent
>> >>>>>>> folders and files? If so, it would be really helpful if you could
>> >>>>>>> point me
>> >>>>>>> to where you got the icons for the image
>> >>>>>>> <
>> >>
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>> >>>>>>> you
>> >>>>>>> posted over at the wiki page
>> >>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
>> for
>> >>>> the
>> >>>>>>> GSoC project.
>> >>>>>>>
>> >>>>>>> Regards,
>> >>>>>>>
>> >>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
>> >>>>>>> ilgrosso@apache.org> wrote:
>> >>>>>>>
>> >>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>> >>>>>>>>> I have made the following changes to my project:
>> >>>>>>>>>
>> >>>>>>>>> 1. Refactored as Maven project and included parent POM
>> >>>>>>>>> 2. Removed unnecessary target libraries and binary files
>> >>>>>>>>> 3. Added Readme to Github repository
>> >>>>>>>>> 4. Changed repository to only contain Eclipse project instead of
>> >>>>>>>> entire
>> >>>>>>>>> workspace
>> >>>>>>>>> 5. Brought source to root directory of the repository
>> >>>>>>>>> 6. Changed base package from "eclipseplugin" to
>> >>>>>>>> "org.apache.syncope.ide.
>> >>>>>>>>> eclipse"
>> >>>>>>>>> 7. Added Login functionality to allow user to define the url of
>> >>>>>>>> syncope
>> >>>>>>>>> deployment and username password combination
>> >>>>>>>>>
>> >>>>>>>>> Changes to be made:
>> >>>>>>>>>
>> >>>>>>>>> 1. Replace icon of plugin to syncope's icon
>> >>>>>>>>> 2. Remove .settings, META-INF, .classpath and build.properties
>> >>>>>>>> files and
>> >>>>>>>>> folders and generate them using maven
>> >>>>>>>>>
>> >>>>>>>>> Please advise on any more changes required or problems observed.
>> >>>>>>>> Hi Tushar,
>> >>>>>>>> I have opened
>> >>>>>>>>
>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>> >>>>>>>>
>> >>>>>>>> with some indications.
>> >>>>>>>> Regards.
>> >>>>>>>>
>> >>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
>> >>>>>>>> ilgrosso@apache.org>
>> >>>>>>>>> wrote:
>> >>>>>>>>>
>> >>>>>>>>>> Hi Tushar,
>> >>>>>>>>>> here are my preliminary observations:
>> >>>>>>>>>>
>> >>>>>>>>>> 1. please refactor the whole project as a Maven project having
>> the
>> >>>>>>>>>> following parent POM:
>> >>>>>>>>>>
>> >>>>>>>>>>       <parent>
>> >>>>>>>>>> <groupId>org.apache.syncope</groupId>
>> >>>>>>>>>>         <artifactId>syncope</artifactId>
>> >>>>>>>>>>         <version>2.0.0-SNAPSHOT</version>
>> >>>>>>>>>>       </parent>
>> >>>>>>>>>>
>> >>>>>>>>>> This will help for later stages since your (and Nuwan Sameera's
>> >> for
>> >>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the
>> Apache
>> >>>>>>>>>> Syncope source tree.
>> >>>>>>>>>>
>> >>>>>>>>>> 2. avoid putting binary files into the source tree (Maven will
>> >>>>>>>> greatly
>> >>>>>>>>>> help WRT this), like as
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>> >>>>>>>>>> 3. add a wiki page with instructions on how to (1) build and
>> (2)
>> >>>>>>>> use
>> >>>>>>>>>> your plugin within Eclipse (with supported Eclipse versions)
>> >>>>>>>>>>
>> >>>>>>>>>> Regards.
>> >>>>>>>>>>
>> >>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>> >>>>>>>>>>> I've updated the source
>> >>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>> >>>>>>>>>>> include and use the Syncope Client library to access data from
>> >> the
>> >>>>>>>> REST
>> >>>>>>>>>>> API. Please do check it out and advise me on any required
>> >>>>>>>> changes or
>> >>>>>>>>>>> updates.
>> >>>>>>>>>>>
>> >>>>>>>>>>> Regards,
>> >>>>>>>>>>>
>> >>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>> >>>>>>>> <tu...@gmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>> Hello devs,
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> I would like to update you on my progress in the project.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Seeing that today was the start of my project, I've built a
>> >>>>>>>> java REST
>> >>>>>>>>>>>> client to get all the mail and report templates using
>> Apache's
>> >>>>>>>> HTTP
>> >>>>>>>>>>>> libraries. These classes provide data from the REST API and
>> >>>>>>>> have been
>> >>>>>>>>>> added
>> >>>>>>>>>>>> to a view plugin which shows the keys of the mail and report
>> >>>>>>>> templates
>> >>>>>>>>>> in a
>> >>>>>>>>>>>> tree view as suggested here
>> >>>>>>>>>>>>
>> >>>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
>> A
>> >>>>>>>>>>>> screenshot for the same has been uploaded here <
>> >>>>>>>>>> http://imgur.com/4BO4yi2>.
>> >>>>>>>>>>>> I received advice from my mentor that I should be using the
>> >>>>>>>> Syncope
>> >>>>>>>>>>>> Client library for fetching and sending data to the rest API.
>> >>>>>>>> I am
>> >>>>>>>>>>>> currently looking into it and will be updating you guys on
>> the
>> >>>>>>>> progress
>> >>>>>>>>>>>> with the same soon.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Meanwhile, I've uploaded the current one with the Apache's
>> HTTP
>> >>>>>>>>>> libraries over
>> >>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take
>> a
>> >>>>>>>> look
>> >>>>>>>> and
>> >>>>>>>>>>>> tell me if any changes are required.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Regards,
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
>> CXF Committer, OpenJPA Committer, PonyMail PPMC
>> http://home.apache.org/~ilgrosso/
>>
>> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update: Added the following on this commit
<https://github.com/tmess567/SYNCOPE-809/commit/3ce1e8ee7fc1e2c407a579b16746a4561f5c11c0>
1. Loading dialog to represent fetching process.
2. Preferences used to store and retrieve (persist through eclipse restart)
        a) Deployment url through eclipse installation
        b) User credentials through workspace

Please advise on any further features required in the TreeViewer.
Regards,

On Tue, May 31, 2016 at 4:33 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 31/05/2016 12:59, Tushar Mishra wrote:
> > I've modified the project to use Tycho and can now be built with maven.
> > Please check it out and inform me if there are any problems or changes
> > required. I'll start working on the loading dialog tomorrow.
>
> I have verified that now the Maven build works fine, and commented the
> relevant issues on GitHub.
> Nice job!
>
> Now let's concentrate on adding features.
>
> Regards.
>
> > On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> On 31/05/2016 08:59, Tushar Mishra wrote:
> >>> I built the structure as suggested by Mr. Perucci here
> >>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> >>> However on running 'mvn clean verify', I got the following error.
> >>>
> >>> [ERROR] Failed to execute goal
> >>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> >>> (checkstyle-check) on project Syncope-IDE: Failed during checkstyle
> >>> execution: Unable to find configuration file at location:
> >>>
> >>
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> >>> Could not find resource '/home/nitrous/syncope-ide/
> >>> src/main/resources/org/apache/syncope/checkstyle.xml'.
> >> For the moment just add this to your pom.xml:
> >>
> >> <properties>
> >>       <checkstyle.skip>true</checkstyle.skip>
> >>     </properties>
> >>
> >> which will skip checkstyle checks: at some time you will place your code
> >> into the Apache Syncope source tree and we will need to make some
> >> changes into the pom.xml - including removing this property.
> >>
> >>> I am also reading up on the tutorial
> >>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >>> you linked in the issues to understand tycho better, but since I've
> never
> >>> really worked with maven extensively before, it is taking some time.
> >> With caution, but take your time to get acquainted with Apache Maven: it
> >> is fundamental for working with Apache Syncope (and thousands more Open
> >> Source projects out there).
> >>
> >> Regards.
> >>
> >>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
> >> ilgrosso@apache.org>
> >>> wrote:
> >>>
> >>>> Hi,
> >>>> I have commented
> >>>>
> >>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>
> >>>> and also opened
> >>>>
> >>>> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>>>
> >>>> Regards.
> >>>>
> >>>> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>>>> There have been no responses from the IRC channel for eclipse (Refer
> >> to
> >>>>>> comments on this issue
> >>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >>>>>> I have sent out some emails regarding the query out to some plugin
> >>>>>> developers and blog authors and I am still awaiting any response
> from
> >>>>>> them.
> >>>>>>
> >>>>>> Meanwhile, I am working on developing tests for the plugin. I
> believe
> >>>>>> this
> >>>>>> will be completed during the weekend in which case, I will start
> work
> >> on
> >>>>>> the editor part of the plugin.
> >>>>>>
> >>>>>> I would again like to invite you to try out the plugin and post
> >>>>>> issues on
> >>>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if
> >>>>>> you find
> >>>>>> any problems.
> >>>>> Thanks for update: I'll look into that on Monday at earliest.
> >>>>> Regards.
> >>>>>
> >>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tusharm567@gmail.com
> >
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Update:
> >>>>>>>
> >>>>>>> 1. icon has been changed with this commit
> >>>>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>>>> 2. Commented on issue #3
> >>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>>>
> >>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be
> >>>>>>> directly
> >>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be
> >>>>>>> in the
> >>>>>>> same directory, so that has to be in the root directory as well.
> >>>>>>> I will continue to look into it and ask other developers until I'm
> >>>>>>> sure.
> >>>>>>>
> >>>>>>> Also, do I need to change the icons used in the tree view to
> >> represent
> >>>>>>> folders and files? If so, it would be really helpful if you could
> >>>>>>> point me
> >>>>>>> to where you got the icons for the image
> >>>>>>> <
> >>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>>>> you
> >>>>>>> posted over at the wiki page
> >>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>
> for
> >>>> the
> >>>>>>> GSoC project.
> >>>>>>>
> >>>>>>> Regards,
> >>>>>>>
> >>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
> >>>>>>> ilgrosso@apache.org> wrote:
> >>>>>>>
> >>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>>>> I have made the following changes to my project:
> >>>>>>>>>
> >>>>>>>>> 1. Refactored as Maven project and included parent POM
> >>>>>>>>> 2. Removed unnecessary target libraries and binary files
> >>>>>>>>> 3. Added Readme to Github repository
> >>>>>>>>> 4. Changed repository to only contain Eclipse project instead of
> >>>>>>>> entire
> >>>>>>>>> workspace
> >>>>>>>>> 5. Brought source to root directory of the repository
> >>>>>>>>> 6. Changed base package from "eclipseplugin" to
> >>>>>>>> "org.apache.syncope.ide.
> >>>>>>>>> eclipse"
> >>>>>>>>> 7. Added Login functionality to allow user to define the url of
> >>>>>>>> syncope
> >>>>>>>>> deployment and username password combination
> >>>>>>>>>
> >>>>>>>>> Changes to be made:
> >>>>>>>>>
> >>>>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>>>> 2. Remove .settings, META-INF, .classpath and build.properties
> >>>>>>>> files and
> >>>>>>>>> folders and generate them using maven
> >>>>>>>>>
> >>>>>>>>> Please advise on any more changes required or problems observed.
> >>>>>>>> Hi Tushar,
> >>>>>>>> I have opened
> >>>>>>>>
> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>>>
> >>>>>>>> with some indications.
> >>>>>>>> Regards.
> >>>>>>>>
> >>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
> >>>>>>>> ilgrosso@apache.org>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> Hi Tushar,
> >>>>>>>>>> here are my preliminary observations:
> >>>>>>>>>>
> >>>>>>>>>> 1. please refactor the whole project as a Maven project having
> the
> >>>>>>>>>> following parent POM:
> >>>>>>>>>>
> >>>>>>>>>>       <parent>
> >>>>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>>>         <artifactId>syncope</artifactId>
> >>>>>>>>>>         <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>>>       </parent>
> >>>>>>>>>>
> >>>>>>>>>> This will help for later stages since your (and Nuwan Sameera's
> >> for
> >>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the
> Apache
> >>>>>>>>>> Syncope source tree.
> >>>>>>>>>>
> >>>>>>>>>> 2. avoid putting binary files into the source tree (Maven will
> >>>>>>>> greatly
> >>>>>>>>>> help WRT this), like as
> >>>>>>>>>>
> >>>>>>>>>>
> >> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>>>> 3. add a wiki page with instructions on how to (1) build and (2)
> >>>>>>>> use
> >>>>>>>>>> your plugin within Eclipse (with supported Eclipse versions)
> >>>>>>>>>>
> >>>>>>>>>> Regards.
> >>>>>>>>>>
> >>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>>>> I've updated the source
> >>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>>>> include and use the Syncope Client library to access data from
> >> the
> >>>>>>>> REST
> >>>>>>>>>>> API. Please do check it out and advise me on any required
> >>>>>>>> changes or
> >>>>>>>>>>> updates.
> >>>>>>>>>>>
> >>>>>>>>>>> Regards,
> >>>>>>>>>>>
> >>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>>>>>> <tu...@gmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>> Hello devs,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I would like to update you on my progress in the project.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Seeing that today was the start of my project, I've built a
> >>>>>>>> java REST
> >>>>>>>>>>>> client to get all the mail and report templates using Apache's
> >>>>>>>> HTTP
> >>>>>>>>>>>> libraries. These classes provide data from the REST API and
> >>>>>>>> have been
> >>>>>>>>>> added
> >>>>>>>>>>>> to a view plugin which shows the keys of the mail and report
> >>>>>>>> templates
> >>>>>>>>>> in a
> >>>>>>>>>>>> tree view as suggested here
> >>>>>>>>>>>>
> >>>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>.
> A
> >>>>>>>>>>>> screenshot for the same has been uploaded here <
> >>>>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>>>> I received advice from my mentor that I should be using the
> >>>>>>>> Syncope
> >>>>>>>>>>>> Client library for fetching and sending data to the rest API.
> >>>>>>>> I am
> >>>>>>>>>>>> currently looking into it and will be updating you guys on the
> >>>>>>>> progress
> >>>>>>>>>>>> with the same soon.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Meanwhile, I've uploaded the current one with the Apache's
> HTTP
> >>>>>>>>>> libraries over
> >>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a
> >>>>>>>> look
> >>>>>>>> and
> >>>>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Regards,
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 31/05/2016 12:59, Tushar Mishra wrote:
> I've modified the project to use Tycho and can now be built with maven.
> Please check it out and inform me if there are any problems or changes
> required. I'll start working on the loading dialog tomorrow.

I have verified that now the Maven build works fine, and commented the 
relevant issues on GitHub.
Nice job!

Now let's concentrate on adding features.

Regards.

> On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> On 31/05/2016 08:59, Tushar Mishra wrote:
>>> I built the structure as suggested by Mr. Perucci here
>>> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
>>> However on running 'mvn clean verify', I got the following error.
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
>>> (checkstyle-check) on project Syncope-IDE: Failed during checkstyle
>>> execution: Unable to find configuration file at location:
>>>
>> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
>>> Could not find resource '/home/nitrous/syncope-ide/
>>> src/main/resources/org/apache/syncope/checkstyle.xml'.
>> For the moment just add this to your pom.xml:
>>
>> <properties>
>>       <checkstyle.skip>true</checkstyle.skip>
>>     </properties>
>>
>> which will skip checkstyle checks: at some time you will place your code
>> into the Apache Syncope source tree and we will need to make some
>> changes into the pom.xml - including removing this property.
>>
>>> I am also reading up on the tutorial
>>> <
>> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
>>> you linked in the issues to understand tycho better, but since I've never
>>> really worked with maven extensively before, it is taking some time.
>> With caution, but take your time to get acquainted with Apache Maven: it
>> is fundamental for working with Apache Syncope (and thousands more Open
>> Source projects out there).
>>
>> Regards.
>>
>>> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiricc� <
>> ilgrosso@apache.org>
>>> wrote:
>>>
>>>> Hi,
>>>> I have commented
>>>>
>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>
>>>> and also opened
>>>>
>>>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>>>
>>>> Regards.
>>>>
>>>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>>>> There have been no responses from the IRC channel for eclipse (Refer
>> to
>>>>>> comments on this issue
>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>>>>> I have sent out some emails regarding the query out to some plugin
>>>>>> developers and blog authors and I am still awaiting any response from
>>>>>> them.
>>>>>>
>>>>>> Meanwhile, I am working on developing tests for the plugin. I believe
>>>>>> this
>>>>>> will be completed during the weekend in which case, I will start work
>> on
>>>>>> the editor part of the plugin.
>>>>>>
>>>>>> I would again like to invite you to try out the plugin and post
>>>>>> issues on
>>>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if
>>>>>> you find
>>>>>> any problems.
>>>>> Thanks for update: I'll look into that on Monday at earliest.
>>>>> Regards.
>>>>>
>>>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tu...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Update:
>>>>>>>
>>>>>>> 1. icon has been changed with this commit
>>>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>>>> 2. Commented on issue #3
>>>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>>>
>>>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be
>>>>>>> directly
>>>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be
>>>>>>> in the
>>>>>>> same directory, so that has to be in the root directory as well.
>>>>>>> I will continue to look into it and ask other developers until I'm
>>>>>>> sure.
>>>>>>>
>>>>>>> Also, do I need to change the icons used in the tree view to
>> represent
>>>>>>> folders and files? If so, it would be really helpful if you could
>>>>>>> point me
>>>>>>> to where you got the icons for the image
>>>>>>> <
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>>>> you
>>>>>>> posted over at the wiki page
>>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for
>>>> the
>>>>>>> GSoC project.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiricc� <
>>>>>>> ilgrosso@apache.org> wrote:
>>>>>>>
>>>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>>>> I have made the following changes to my project:
>>>>>>>>>
>>>>>>>>> 1. Refactored as Maven project and included parent POM
>>>>>>>>> 2. Removed unnecessary target libraries and binary files
>>>>>>>>> 3. Added Readme to Github repository
>>>>>>>>> 4. Changed repository to only contain Eclipse project instead of
>>>>>>>> entire
>>>>>>>>> workspace
>>>>>>>>> 5. Brought source to root directory of the repository
>>>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>>>> "org.apache.syncope.ide.
>>>>>>>>> eclipse"
>>>>>>>>> 7. Added Login functionality to allow user to define the url of
>>>>>>>> syncope
>>>>>>>>> deployment and username password combination
>>>>>>>>>
>>>>>>>>> Changes to be made:
>>>>>>>>>
>>>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>>>> 2. Remove .settings, META-INF, .classpath and build.properties
>>>>>>>> files and
>>>>>>>>> folders and generate them using maven
>>>>>>>>>
>>>>>>>>> Please advise on any more changes required or problems observed.
>>>>>>>> Hi Tushar,
>>>>>>>> I have opened
>>>>>>>>
>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>>>
>>>>>>>> with some indications.
>>>>>>>> Regards.
>>>>>>>>
>>>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiricc� <
>>>>>>>> ilgrosso@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Tushar,
>>>>>>>>>> here are my preliminary observations:
>>>>>>>>>>
>>>>>>>>>> 1. please refactor the whole project as a Maven project having the
>>>>>>>>>> following parent POM:
>>>>>>>>>>
>>>>>>>>>>       <parent>
>>>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>>>         <artifactId>syncope</artifactId>
>>>>>>>>>>         <version>2.0.0-SNAPSHOT</version>
>>>>>>>>>>       </parent>
>>>>>>>>>>
>>>>>>>>>> This will help for later stages since your (and Nuwan Sameera's
>> for
>>>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the Apache
>>>>>>>>>> Syncope source tree.
>>>>>>>>>>
>>>>>>>>>> 2. avoid putting binary files into the source tree (Maven will
>>>>>>>> greatly
>>>>>>>>>> help WRT this), like as
>>>>>>>>>>
>>>>>>>>>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>>>> 3. add a wiki page with instructions on how to (1) build and (2)
>>>>>>>> use
>>>>>>>>>> your plugin within Eclipse (with supported Eclipse versions)
>>>>>>>>>>
>>>>>>>>>> Regards.
>>>>>>>>>>
>>>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>>>> I've updated the source
>>>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>>>> include and use the Syncope Client library to access data from
>> the
>>>>>>>> REST
>>>>>>>>>>> API. Please do check it out and advise me on any required
>>>>>>>> changes or
>>>>>>>>>>> updates.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>>
>>>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>>>> <tu...@gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>> Hello devs,
>>>>>>>>>>>>
>>>>>>>>>>>> I would like to update you on my progress in the project.
>>>>>>>>>>>>
>>>>>>>>>>>> Seeing that today was the start of my project, I've built a
>>>>>>>> java REST
>>>>>>>>>>>> client to get all the mail and report templates using Apache's
>>>>>>>> HTTP
>>>>>>>>>>>> libraries. These classes provide data from the REST API and
>>>>>>>> have been
>>>>>>>>>> added
>>>>>>>>>>>> to a view plugin which shows the keys of the mail and report
>>>>>>>> templates
>>>>>>>>>> in a
>>>>>>>>>>>> tree view as suggested here
>>>>>>>>>>>>
>>>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
>>>>>>>>>>>> screenshot for the same has been uploaded here <
>>>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>>>> I received advice from my mentor that I should be using the
>>>>>>>> Syncope
>>>>>>>>>>>> Client library for fetching and sending data to the rest API.
>>>>>>>> I am
>>>>>>>>>>>> currently looking into it and will be updating you guys on the
>>>>>>>> progress
>>>>>>>>>>>> with the same soon.
>>>>>>>>>>>>
>>>>>>>>>>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
>>>>>>>>>> libraries over
>>>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a
>>>>>>>> look
>>>>>>>> and
>>>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I've modified the project to use Tycho and can now be built with maven.
Please check it out and inform me if there are any problems or changes
required. I'll start working on the loading dialog tomorrow.

Regards,

On Tue, May 31, 2016 at 2:50 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 31/05/2016 08:59, Tushar Mishra wrote:
> > I built the structure as suggested by Mr. Perucci here
> > <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> > However on running 'mvn clean verify', I got the following error.
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> > (checkstyle-check) on project Syncope-IDE: Failed during checkstyle
> > execution: Unable to find configuration file at location:
> >
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> > Could not find resource '/home/nitrous/syncope-ide/
> > src/main/resources/org/apache/syncope/checkstyle.xml'.
>
> For the moment just add this to your pom.xml:
>
> <properties>
>      <checkstyle.skip>true</checkstyle.skip>
>    </properties>
>
> which will skip checkstyle checks: at some time you will place your code
> into the Apache Syncope source tree and we will need to make some
> changes into the pom.xml - including removing this property.
>
> > I am also reading up on the tutorial
> > <
> https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf
> >
> > you linked in the issues to understand tycho better, but since I've never
> > really worked with maven extensively before, it is taking some time.
>
> With caution, but take your time to get acquainted with Apache Maven: it
> is fundamental for working with Apache Syncope (and thousands more Open
> Source projects out there).
>
> Regards.
>
> > On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> Hi,
> >> I have commented
> >>
> >> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>
> >> and also opened
> >>
> >> https://github.com/tmess567/SYNCOPE-809/issues/4
> >>
> >> Regards.
> >>
> >> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> >>> On 2016-05-28 12:48 Tushar Mishra wrote:
> >>>> There have been no responses from the IRC channel for eclipse (Refer
> to
> >>>> comments on this issue
> >>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >>>> I have sent out some emails regarding the query out to some plugin
> >>>> developers and blog authors and I am still awaiting any response from
> >>>> them.
> >>>>
> >>>> Meanwhile, I am working on developing tests for the plugin. I believe
> >>>> this
> >>>> will be completed during the weekend in which case, I will start work
> on
> >>>> the editor part of the plugin.
> >>>>
> >>>> I would again like to invite you to try out the plugin and post
> >>>> issues on
> >>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if
> >>>> you find
> >>>> any problems.
> >>> Thanks for update: I'll look into that on Monday at earliest.
> >>> Regards.
> >>>
> >>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tu...@gmail.com>
> >>>> wrote:
> >>>>
> >>>>> Update:
> >>>>>
> >>>>> 1. icon has been changed with this commit
> >>>>> <
> >>
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >>>>> 2. Commented on issue #3
> >>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>>>
> >>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be
> >>>>> directly
> >>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be
> >>>>> in the
> >>>>> same directory, so that has to be in the root directory as well.
> >>>>> I will continue to look into it and ask other developers until I'm
> >>>>> sure.
> >>>>>
> >>>>> Also, do I need to change the icons used in the tree view to
> represent
> >>>>> folders and files? If so, it would be really helpful if you could
> >>>>> point me
> >>>>> to where you got the icons for the image
> >>>>> <
> >>
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >>>>> you
> >>>>> posted over at the wiki page
> >>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for
> >> the
> >>>>> GSoC project.
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
> >>>>> ilgrosso@apache.org> wrote:
> >>>>>
> >>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>>>>> I have made the following changes to my project:
> >>>>>>>
> >>>>>>> 1. Refactored as Maven project and included parent POM
> >>>>>>> 2. Removed unnecessary target libraries and binary files
> >>>>>>> 3. Added Readme to Github repository
> >>>>>>> 4. Changed repository to only contain Eclipse project instead of
> >>>>>> entire
> >>>>>>> workspace
> >>>>>>> 5. Brought source to root directory of the repository
> >>>>>>> 6. Changed base package from "eclipseplugin" to
> >>>>>> "org.apache.syncope.ide.
> >>>>>>> eclipse"
> >>>>>>> 7. Added Login functionality to allow user to define the url of
> >>>>>> syncope
> >>>>>>> deployment and username password combination
> >>>>>>>
> >>>>>>> Changes to be made:
> >>>>>>>
> >>>>>>> 1. Replace icon of plugin to syncope's icon
> >>>>>>> 2. Remove .settings, META-INF, .classpath and build.properties
> >>>>>> files and
> >>>>>>> folders and generate them using maven
> >>>>>>>
> >>>>>>> Please advise on any more changes required or problems observed.
> >>>>>> Hi Tushar,
> >>>>>> I have opened
> >>>>>>
> >>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>>>
> >>>>>> with some indications.
> >>>>>> Regards.
> >>>>>>
> >>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
> >>>>>> ilgrosso@apache.org>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Hi Tushar,
> >>>>>>>> here are my preliminary observations:
> >>>>>>>>
> >>>>>>>> 1. please refactor the whole project as a Maven project having the
> >>>>>>>> following parent POM:
> >>>>>>>>
> >>>>>>>>      <parent>
> >>>>>>>> <groupId>org.apache.syncope</groupId>
> >>>>>>>>        <artifactId>syncope</artifactId>
> >>>>>>>>        <version>2.0.0-SNAPSHOT</version>
> >>>>>>>>      </parent>
> >>>>>>>>
> >>>>>>>> This will help for later stages since your (and Nuwan Sameera's
> for
> >>>>>>>> SYNCOPE-808) code is eventually going to be merged into the Apache
> >>>>>>>> Syncope source tree.
> >>>>>>>>
> >>>>>>>> 2. avoid putting binary files into the source tree (Maven will
> >>>>>> greatly
> >>>>>>>> help WRT this), like as
> >>>>>>>>
> >>>>>>>>
> >>>>>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>>>>> 3. add a wiki page with instructions on how to (1) build and (2)
> >>>>>> use
> >>>>>>>> your plugin within Eclipse (with supported Eclipse versions)
> >>>>>>>>
> >>>>>>>> Regards.
> >>>>>>>>
> >>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>>>>>>> I've updated the source
> >>>>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>>>>>>> include and use the Syncope Client library to access data from
> the
> >>>>>> REST
> >>>>>>>>> API. Please do check it out and advise me on any required
> >>>>>> changes or
> >>>>>>>>> updates.
> >>>>>>>>>
> >>>>>>>>> Regards,
> >>>>>>>>>
> >>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>>>> <tu...@gmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>> Hello devs,
> >>>>>>>>>>
> >>>>>>>>>> I would like to update you on my progress in the project.
> >>>>>>>>>>
> >>>>>>>>>> Seeing that today was the start of my project, I've built a
> >>>>>> java REST
> >>>>>>>>>> client to get all the mail and report templates using Apache's
> >>>>>> HTTP
> >>>>>>>>>> libraries. These classes provide data from the REST API and
> >>>>>> have been
> >>>>>>>> added
> >>>>>>>>>> to a view plugin which shows the keys of the mail and report
> >>>>>> templates
> >>>>>>>> in a
> >>>>>>>>>> tree view as suggested here
> >>>>>>>>>>
> >>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
> >>>>>>>>>> screenshot for the same has been uploaded here <
> >>>>>>>> http://imgur.com/4BO4yi2>.
> >>>>>>>>>> I received advice from my mentor that I should be using the
> >>>>>> Syncope
> >>>>>>>>>> Client library for fetching and sending data to the rest API.
> >>>>>> I am
> >>>>>>>>>> currently looking into it and will be updating you guys on the
> >>>>>> progress
> >>>>>>>>>> with the same soon.
> >>>>>>>>>>
> >>>>>>>>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
> >>>>>>>> libraries over
> >>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a
> >>>>>> look
> >>>>>> and
> >>>>>>>>>> tell me if any changes are required.
> >>>>>>>>>>
> >>>>>>>>>> Regards,
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 31/05/2016 08:59, Tushar Mishra wrote:
> I built the structure as suggested by Mr. Perucci here
> <https://github.com/tmess567/SYNCOPE-809/issues/4>.
> However on running 'mvn clean verify', I got the following error.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
> (checkstyle-check) on project Syncope-IDE: Failed during checkstyle
> execution: Unable to find configuration file at location:
> /home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
> Could not find resource '/home/nitrous/syncope-ide/
> src/main/resources/org/apache/syncope/checkstyle.xml'.

For the moment just add this to your pom.xml:

<properties>
     <checkstyle.skip>true</checkstyle.skip>
   </properties>

which will skip checkstyle checks: at some time you will place your code 
into the Apache Syncope source tree and we will need to make some 
changes into the pom.xml - including removing this property.

> I am also reading up on the tutorial
> <https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf>
> you linked in the issues to understand tycho better, but since I've never
> really worked with maven extensively before, it is taking some time.

With caution, but take your time to get acquainted with Apache Maven: it 
is fundamental for working with Apache Syncope (and thousands more Open 
Source projects out there).

Regards.

> On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> Hi,
>> I have commented
>>
>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>
>> and also opened
>>
>> https://github.com/tmess567/SYNCOPE-809/issues/4
>>
>> Regards.
>>
>> On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
>>> On 2016-05-28 12:48 Tushar Mishra wrote:
>>>> There have been no responses from the IRC channel for eclipse (Refer to
>>>> comments on this issue
>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>>>> I have sent out some emails regarding the query out to some plugin
>>>> developers and blog authors and I am still awaiting any response from
>>>> them.
>>>>
>>>> Meanwhile, I am working on developing tests for the plugin. I believe
>>>> this
>>>> will be completed during the weekend in which case, I will start work on
>>>> the editor part of the plugin.
>>>>
>>>> I would again like to invite you to try out the plugin and post
>>>> issues on
>>>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if
>>>> you find
>>>> any problems.
>>> Thanks for update: I'll look into that on Monday at earliest.
>>> Regards.
>>>
>>>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tu...@gmail.com>
>>>> wrote:
>>>>
>>>>> Update:
>>>>>
>>>>> 1. icon has been changed with this commit
>>>>> <
>> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
>>>>> 2. Commented on issue #3
>>>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>>>
>>>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be
>>>>> directly
>>>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be
>>>>> in the
>>>>> same directory, so that has to be in the root directory as well.
>>>>> I will continue to look into it and ask other developers until I'm
>>>>> sure.
>>>>>
>>>>> Also, do I need to change the icons used in the tree view to represent
>>>>> folders and files? If so, it would be really helpful if you could
>>>>> point me
>>>>> to where you got the icons for the image
>>>>> <
>> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
>>>>> you
>>>>> posted over at the wiki page
>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for
>> the
>>>>> GSoC project.
>>>>>
>>>>> Regards,
>>>>>
>>>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiricc� <
>>>>> ilgrosso@apache.org> wrote:
>>>>>
>>>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>>>>> I have made the following changes to my project:
>>>>>>>
>>>>>>> 1. Refactored as Maven project and included parent POM
>>>>>>> 2. Removed unnecessary target libraries and binary files
>>>>>>> 3. Added Readme to Github repository
>>>>>>> 4. Changed repository to only contain Eclipse project instead of
>>>>>> entire
>>>>>>> workspace
>>>>>>> 5. Brought source to root directory of the repository
>>>>>>> 6. Changed base package from "eclipseplugin" to
>>>>>> "org.apache.syncope.ide.
>>>>>>> eclipse"
>>>>>>> 7. Added Login functionality to allow user to define the url of
>>>>>> syncope
>>>>>>> deployment and username password combination
>>>>>>>
>>>>>>> Changes to be made:
>>>>>>>
>>>>>>> 1. Replace icon of plugin to syncope's icon
>>>>>>> 2. Remove .settings, META-INF, .classpath and build.properties
>>>>>> files and
>>>>>>> folders and generate them using maven
>>>>>>>
>>>>>>> Please advise on any more changes required or problems observed.
>>>>>> Hi Tushar,
>>>>>> I have opened
>>>>>>
>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>>>
>>>>>> with some indications.
>>>>>> Regards.
>>>>>>
>>>>>>> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiricc� <
>>>>>> ilgrosso@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Tushar,
>>>>>>>> here are my preliminary observations:
>>>>>>>>
>>>>>>>> 1. please refactor the whole project as a Maven project having the
>>>>>>>> following parent POM:
>>>>>>>>
>>>>>>>>      <parent>
>>>>>>>> <groupId>org.apache.syncope</groupId>
>>>>>>>>        <artifactId>syncope</artifactId>
>>>>>>>>        <version>2.0.0-SNAPSHOT</version>
>>>>>>>>      </parent>
>>>>>>>>
>>>>>>>> This will help for later stages since your (and Nuwan Sameera's for
>>>>>>>> SYNCOPE-808) code is eventually going to be merged into the Apache
>>>>>>>> Syncope source tree.
>>>>>>>>
>>>>>>>> 2. avoid putting binary files into the source tree (Maven will
>>>>>> greatly
>>>>>>>> help WRT this), like as
>>>>>>>>
>>>>>>>>
>>>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>>>>>>> 3. add a wiki page with instructions on how to (1) build and (2)
>>>>>> use
>>>>>>>> your plugin within Eclipse (with supported Eclipse versions)
>>>>>>>>
>>>>>>>> Regards.
>>>>>>>>
>>>>>>>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>>>>>>> I've updated the source
>>>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>>>>>>> include and use the Syncope Client library to access data from the
>>>>>> REST
>>>>>>>>> API. Please do check it out and advise me on any required
>>>>>> changes or
>>>>>>>>> updates.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
>>>>>> <tu...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>>> Hello devs,
>>>>>>>>>>
>>>>>>>>>> I would like to update you on my progress in the project.
>>>>>>>>>>
>>>>>>>>>> Seeing that today was the start of my project, I've built a
>>>>>> java REST
>>>>>>>>>> client to get all the mail and report templates using Apache's
>>>>>> HTTP
>>>>>>>>>> libraries. These classes provide data from the REST API and
>>>>>> have been
>>>>>>>> added
>>>>>>>>>> to a view plugin which shows the keys of the mail and report
>>>>>> templates
>>>>>>>> in a
>>>>>>>>>> tree view as suggested here
>>>>>>>>>>
>>>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
>>>>>>>>>> screenshot for the same has been uploaded here <
>>>>>>>> http://imgur.com/4BO4yi2>.
>>>>>>>>>> I received advice from my mentor that I should be using the
>>>>>> Syncope
>>>>>>>>>> Client library for fetching and sending data to the rest API.
>>>>>> I am
>>>>>>>>>> currently looking into it and will be updating you guys on the
>>>>>> progress
>>>>>>>>>> with the same soon.
>>>>>>>>>>
>>>>>>>>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
>>>>>>>> libraries over
>>>>>>>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a
>>>>>> look
>>>>>> and
>>>>>>>>>> tell me if any changes are required.
>>>>>>>>>>
>>>>>>>>>> Regards,

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I built the structure as suggested by Mr. Perucci here
<https://github.com/tmess567/SYNCOPE-809/issues/4>.
However on running 'mvn clean verify', I got the following error.

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
(checkstyle-check) on project Syncope-IDE: Failed during checkstyle
execution: Unab
le to find configuration file at location:
/home/nitrous/syncope-ide/src/main/resources/org/apache/syncope/checkstyle.xml:
Could not find resource '/home/nitrous/syncope-ide/
src/main/resources/org/apache/syncope/checkstyle.xml'.

I am also reading up on the tutorial
<https://github.com/tmess567/SYNCOPE-809/files/289341/Eclipse.Tycho.for.building.Eclipse.Plug.pdf>
you linked in the issues to understand tycho better, but since I've never
really worked with maven extensively before, it is taking some time.

On Mon, May 30, 2016 at 1:01 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> Hi,
> I have commented
>
> https://github.com/tmess567/SYNCOPE-809/issues/3
>
> and also opened
>
> https://github.com/tmess567/SYNCOPE-809/issues/4
>
> Regards.
>
> On 28/05/2016 12:51, Francesco Chicchiriccò wrote:
> > On 2016-05-28 12:48 Tushar Mishra wrote:
> >> There have been no responses from the IRC channel for eclipse (Refer to
> >> comments on this issue
> >> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> >> I have sent out some emails regarding the query out to some plugin
> >> developers and blog authors and I am still awaiting any response from
> >> them.
> >>
> >> Meanwhile, I am working on developing tests for the plugin. I believe
> >> this
> >> will be completed during the weekend in which case, I will start work on
> >> the editor part of the plugin.
> >>
> >> I would again like to invite you to try out the plugin and post
> >> issues on
> >> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if
> >> you find
> >> any problems.
> >
> > Thanks for update: I'll look into that on Monday at earliest.
> > Regards.
> >
> >> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tu...@gmail.com>
> >> wrote:
> >>
> >>> Update:
> >>>
> >>> 1. icon has been changed with this commit
> >>> <
> https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd
> >
> >>>
> >>> 2. Commented on issue #3
> >>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
> >>>
> >>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be
> >>> directly
> >>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be
> >>> in the
> >>> same directory, so that has to be in the root directory as well.
> >>> I will continue to look into it and ask other developers until I'm
> >>> sure.
> >>>
> >>> Also, do I need to change the icons used in the tree view to represent
> >>> folders and files? If so, it would be really helpful if you could
> >>> point me
> >>> to where you got the icons for the image
> >>> <
> https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2
> >
> >>> you
> >>> posted over at the wiki page
> >>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for
> the
> >>> GSoC project.
> >>>
> >>> Regards,
> >>>
> >>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
> >>> ilgrosso@apache.org> wrote:
> >>>
> >>>> On 26/05/2016 12:46, Tushar Mishra wrote:
> >>>> > I have made the following changes to my project:
> >>>> >
> >>>> > 1. Refactored as Maven project and included parent POM
> >>>> > 2. Removed unnecessary target libraries and binary files
> >>>> > 3. Added Readme to Github repository
> >>>> > 4. Changed repository to only contain Eclipse project instead of
> >>>> entire
> >>>> > workspace
> >>>> > 5. Brought source to root directory of the repository
> >>>> > 6. Changed base package from "eclipseplugin" to
> >>>> "org.apache.syncope.ide.
> >>>> > eclipse"
> >>>> > 7. Added Login functionality to allow user to define the url of
> >>>> syncope
> >>>> > deployment and username password combination
> >>>> >
> >>>> > Changes to be made:
> >>>> >
> >>>> > 1. Replace icon of plugin to syncope's icon
> >>>> > 2. Remove .settings, META-INF, .classpath and build.properties
> >>>> files and
> >>>> > folders and generate them using maven
> >>>> >
> >>>> > Please advise on any more changes required or problems observed.
> >>>>
> >>>> Hi Tushar,
> >>>> I have opened
> >>>>
> >>>> https://github.com/tmess567/SYNCOPE-809/issues/1
> >>>> https://github.com/tmess567/SYNCOPE-809/issues/2
> >>>> https://github.com/tmess567/SYNCOPE-809/issues/3
> >>>>
> >>>> with some indications.
> >>>> Regards.
> >>>>
> >>>> > On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
> >>>> ilgrosso@apache.org>
> >>>> > wrote:
> >>>> >
> >>>> >> Hi Tushar,
> >>>> >> here are my preliminary observations:
> >>>> >>
> >>>> >> 1. please refactor the whole project as a Maven project having the
> >>>> >> following parent POM:
> >>>> >>
> >>>> >>     <parent>
> >>>> >> <groupId>org.apache.syncope</groupId>
> >>>> >>       <artifactId>syncope</artifactId>
> >>>> >>       <version>2.0.0-SNAPSHOT</version>
> >>>> >>     </parent>
> >>>> >>
> >>>> >> This will help for later stages since your (and Nuwan Sameera's for
> >>>> >> SYNCOPE-808) code is eventually going to be merged into the Apache
> >>>> >> Syncope source tree.
> >>>> >>
> >>>> >> 2. avoid putting binary files into the source tree (Maven will
> >>>> greatly
> >>>> >> help WRT this), like as
> >>>> >>
> >>>> >>
> >>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>>> >>
> >>>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>>>
> >>>> >>
> >>>>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>>>
> >>>> >>
> >>>> >> 3. add a wiki page with instructions on how to (1) build and (2)
> >>>> use
> >>>> >> your plugin within Eclipse (with supported Eclipse versions)
> >>>> >>
> >>>> >> Regards.
> >>>> >>
> >>>> >> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>>> >>> I've updated the source
> >>>> <https://github.com/tmess567/SYNCOPE-809> to
> >>>> >>> include and use the Syncope Client library to access data from the
> >>>> REST
> >>>> >>> API. Please do check it out and advise me on any required
> >>>> changes or
> >>>> >>> updates.
> >>>> >>>
> >>>> >>> Regards,
> >>>> >>>
> >>>> >>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra
> >>>> <tu...@gmail.com>
> >>>> >> wrote:
> >>>> >>>> Hello devs,
> >>>> >>>>
> >>>> >>>> I would like to update you on my progress in the project.
> >>>> >>>>
> >>>> >>>> Seeing that today was the start of my project, I've built a
> >>>> java REST
> >>>> >>>> client to get all the mail and report templates using Apache's
> >>>> HTTP
> >>>> >>>> libraries. These classes provide data from the REST API and
> >>>> have been
> >>>> >> added
> >>>> >>>> to a view plugin which shows the keys of the mail and report
> >>>> templates
> >>>> >> in a
> >>>> >>>> tree view as suggested here
> >>>> >>>>
> >>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
> >>>> >>>> screenshot for the same has been uploaded here <
> >>>> >> http://imgur.com/4BO4yi2>.
> >>>> >>>> I received advice from my mentor that I should be using the
> >>>> Syncope
> >>>> >>>> Client library for fetching and sending data to the rest API.
> >>>> I am
> >>>> >>>> currently looking into it and will be updating you guys on the
> >>>> progress
> >>>> >>>> with the same soon.
> >>>> >>>>
> >>>> >>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
> >>>> >> libraries over
> >>>> >>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a
> >>>> look
> >>>> and
> >>>> >>>> tell me if any changes are required.
> >>>> >>>>
> >>>> >>>> Regards,
>
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
> CXF Committer, OpenJPA Committer, PonyMail PPMC
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi,
I have commented

https://github.com/tmess567/SYNCOPE-809/issues/3

and also opened

https://github.com/tmess567/SYNCOPE-809/issues/4

Regards.

On 28/05/2016 12:51, Francesco Chicchiricc� wrote:
> On 2016-05-28 12:48 Tushar Mishra wrote:
>> There have been no responses from the IRC channel for eclipse (Refer to
>> comments on this issue 
>> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
>> I have sent out some emails regarding the query out to some plugin
>> developers and blog authors and I am still awaiting any response from 
>> them.
>>
>> Meanwhile, I am working on developing tests for the plugin. I believe 
>> this
>> will be completed during the weekend in which case, I will start work on
>> the editor part of the plugin.
>>
>> I would again like to invite you to try out the plugin and post 
>> issues on
>> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if 
>> you find
>> any problems.
>
> Thanks for update: I'll look into that on Monday at earliest.
> Regards.
>
>> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tu...@gmail.com> 
>> wrote:
>>
>>> Update:
>>>
>>> 1. icon has been changed with this commit
>>> <https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd> 
>>>
>>> 2. Commented on issue #3
>>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>>>
>>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be 
>>> directly
>>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be 
>>> in the
>>> same directory, so that has to be in the root directory as well.
>>> I will continue to look into it and ask other developers until I'm 
>>> sure.
>>>
>>> Also, do I need to change the icons used in the tree view to represent
>>> folders and files? If so, it would be really helpful if you could 
>>> point me
>>> to where you got the icons for the image
>>> <https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2> 
>>> you
>>> posted over at the wiki page
>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for the
>>> GSoC project.
>>>
>>> Regards,
>>>
>>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiricc� <
>>> ilgrosso@apache.org> wrote:
>>>
>>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>>> > I have made the following changes to my project:
>>>> >
>>>> > 1. Refactored as Maven project and included parent POM
>>>> > 2. Removed unnecessary target libraries and binary files
>>>> > 3. Added Readme to Github repository
>>>> > 4. Changed repository to only contain Eclipse project instead of 
>>>> entire
>>>> > workspace
>>>> > 5. Brought source to root directory of the repository
>>>> > 6. Changed base package from "eclipseplugin" to 
>>>> "org.apache.syncope.ide.
>>>> > eclipse"
>>>> > 7. Added Login functionality to allow user to define the url of 
>>>> syncope
>>>> > deployment and username password combination
>>>> >
>>>> > Changes to be made:
>>>> >
>>>> > 1. Replace icon of plugin to syncope's icon
>>>> > 2. Remove .settings, META-INF, .classpath and build.properties 
>>>> files and
>>>> > folders and generate them using maven
>>>> >
>>>> > Please advise on any more changes required or problems observed.
>>>>
>>>> Hi Tushar,
>>>> I have opened
>>>>
>>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>>>
>>>> with some indications.
>>>> Regards.
>>>>
>>>> > On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiricc� <
>>>> ilgrosso@apache.org>
>>>> > wrote:
>>>> >
>>>> >> Hi Tushar,
>>>> >> here are my preliminary observations:
>>>> >>
>>>> >> 1. please refactor the whole project as a Maven project having the
>>>> >> following parent POM:
>>>> >>
>>>> >>     <parent>
>>>> >> <groupId>org.apache.syncope</groupId>
>>>> >>       <artifactId>syncope</artifactId>
>>>> >>       <version>2.0.0-SNAPSHOT</version>
>>>> >>     </parent>
>>>> >>
>>>> >> This will help for later stages since your (and Nuwan Sameera's for
>>>> >> SYNCOPE-808) code is eventually going to be merged into the Apache
>>>> >> Syncope source tree.
>>>> >>
>>>> >> 2. avoid putting binary files into the source tree (Maven will 
>>>> greatly
>>>> >> help WRT this), like as
>>>> >>
>>>> >> 
>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>>> >>
>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib 
>>>>
>>>> >>
>>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/ 
>>>>
>>>> >>
>>>> >> 3. add a wiki page with instructions on how to (1) build and (2) 
>>>> use
>>>> >> your plugin within Eclipse (with supported Eclipse versions)
>>>> >>
>>>> >> Regards.
>>>> >>
>>>> >> On 24/05/2016 15:23, Tushar Mishra wrote:
>>>> >>> I've updated the source 
>>>> <https://github.com/tmess567/SYNCOPE-809> to
>>>> >>> include and use the Syncope Client library to access data from the
>>>> REST
>>>> >>> API. Please do check it out and advise me on any required 
>>>> changes or
>>>> >>> updates.
>>>> >>>
>>>> >>> Regards,
>>>> >>>
>>>> >>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra 
>>>> <tu...@gmail.com>
>>>> >> wrote:
>>>> >>>> Hello devs,
>>>> >>>>
>>>> >>>> I would like to update you on my progress in the project.
>>>> >>>>
>>>> >>>> Seeing that today was the start of my project, I've built a 
>>>> java REST
>>>> >>>> client to get all the mail and report templates using Apache's 
>>>> HTTP
>>>> >>>> libraries. These classes provide data from the REST API and 
>>>> have been
>>>> >> added
>>>> >>>> to a view plugin which shows the keys of the mail and report
>>>> templates
>>>> >> in a
>>>> >>>> tree view as suggested here
>>>> >>>> 
>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
>>>> >>>> screenshot for the same has been uploaded here <
>>>> >> http://imgur.com/4BO4yi2>.
>>>> >>>> I received advice from my mentor that I should be using the 
>>>> Syncope
>>>> >>>> Client library for fetching and sending data to the rest API. 
>>>> I am
>>>> >>>> currently looking into it and will be updating you guys on the
>>>> progress
>>>> >>>> with the same soon.
>>>> >>>>
>>>> >>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
>>>> >> libraries over
>>>> >>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a 
>>>> look
>>>> and
>>>> >>>> tell me if any changes are required.
>>>> >>>>
>>>> >>>> Regards,


-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 2016-05-28 12:48 Tushar Mishra wrote:
> There have been no responses from the IRC channel for eclipse (Refer to
> comments on this issue 
> <https://github.com/tmess567/SYNCOPE-809/issues/3>).
> I have sent out some emails regarding the query out to some plugin
> developers and blog authors and I am still awaiting any response from 
> them.
> 
> Meanwhile, I am working on developing tests for the plugin. I believe 
> this
> will be completed during the weekend in which case, I will start work 
> on
> the editor part of the plugin.
> 
> I would again like to invite you to try out the plugin and post issues 
> on
> the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if you 
> find
> any problems.

Thanks for update: I'll look into that on Monday at earliest.
Regards.

> On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tu...@gmail.com> 
> wrote:
> 
>> Update:
>> 
>> 1. icon has been changed with this commit
>> <https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd>
>> 2. Commented on issue #3
>> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>> 
>> Refactoring plugin.xml to src/main/resources/ doesn't seem to be 
>> directly
>> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be in 
>> the
>> same directory, so that has to be in the root directory as well.
>> I will continue to look into it and ask other developers until I'm 
>> sure.
>> 
>> Also, do I need to change the icons used in the tree view to represent
>> folders and files? If so, it would be really helpful if you could 
>> point me
>> to where you got the icons for the image
>> <https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2> 
>> you
>> posted over at the wiki page
>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for 
>> the
>> GSoC project.
>> 
>> Regards,
>> 
>> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org> wrote:
>> 
>>> On 26/05/2016 12:46, Tushar Mishra wrote:
>>> > I have made the following changes to my project:
>>> >
>>> > 1. Refactored as Maven project and included parent POM
>>> > 2. Removed unnecessary target libraries and binary files
>>> > 3. Added Readme to Github repository
>>> > 4. Changed repository to only contain Eclipse project instead of entire
>>> > workspace
>>> > 5. Brought source to root directory of the repository
>>> > 6. Changed base package from "eclipseplugin" to "org.apache.syncope.ide.
>>> > eclipse"
>>> > 7. Added Login functionality to allow user to define the url of syncope
>>> > deployment and username password combination
>>> >
>>> > Changes to be made:
>>> >
>>> > 1. Replace icon of plugin to syncope's icon
>>> > 2. Remove .settings, META-INF, .classpath and build.properties files and
>>> > folders and generate them using maven
>>> >
>>> > Please advise on any more changes required or problems observed.
>>> 
>>> Hi Tushar,
>>> I have opened
>>> 
>>> https://github.com/tmess567/SYNCOPE-809/issues/1
>>> https://github.com/tmess567/SYNCOPE-809/issues/2
>>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>> 
>>> with some indications.
>>> Regards.
>>> 
>>> > On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
>>> ilgrosso@apache.org>
>>> > wrote:
>>> >
>>> >> Hi Tushar,
>>> >> here are my preliminary observations:
>>> >>
>>> >> 1. please refactor the whole project as a Maven project having the
>>> >> following parent POM:
>>> >>
>>> >>     <parent>
>>> >>       <groupId>org.apache.syncope</groupId>
>>> >>       <artifactId>syncope</artifactId>
>>> >>       <version>2.0.0-SNAPSHOT</version>
>>> >>     </parent>
>>> >>
>>> >> This will help for later stages since your (and Nuwan Sameera's for
>>> >> SYNCOPE-808) code is eventually going to be merged into the Apache
>>> >> Syncope source tree.
>>> >>
>>> >> 2. avoid putting binary files into the source tree (Maven will greatly
>>> >> help WRT this), like as
>>> >>
>>> >> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>>> >>
>>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>> >>
>>> >> 3. add a wiki page with instructions on how to (1) build and (2) use
>>> >> your plugin within Eclipse (with supported Eclipse versions)
>>> >>
>>> >> Regards.
>>> >>
>>> >> On 24/05/2016 15:23, Tushar Mishra wrote:
>>> >>> I've updated the source <https://github.com/tmess567/SYNCOPE-809> to
>>> >>> include and use the Syncope Client library to access data from the
>>> REST
>>> >>> API. Please do check it out and advise me on any required changes or
>>> >>> updates.
>>> >>>
>>> >>> Regards,
>>> >>>
>>> >>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra <tu...@gmail.com>
>>> >> wrote:
>>> >>>> Hello devs,
>>> >>>>
>>> >>>> I would like to update you on my progress in the project.
>>> >>>>
>>> >>>> Seeing that today was the start of my project, I've built a java REST
>>> >>>> client to get all the mail and report templates using Apache's HTTP
>>> >>>> libraries. These classes provide data from the REST API and have been
>>> >> added
>>> >>>> to a view plugin which shows the keys of the mail and report
>>> templates
>>> >> in a
>>> >>>> tree view as suggested here
>>> >>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
>>> >>>> screenshot for the same has been uploaded here <
>>> >> http://imgur.com/4BO4yi2>.
>>> >>>> I received advice from my mentor that I should be using the Syncope
>>> >>>> Client library for fetching and sending data to the rest API. I am
>>> >>>> currently looking into it and will be updating you guys on the
>>> progress
>>> >>>> with the same soon.
>>> >>>>
>>> >>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
>>> >> libraries over
>>> >>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a look
>>> and
>>> >>>> tell me if any changes are required.
>>> >>>>
>>> >>>> Regards,
-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
There have been no responses from the IRC channel for eclipse (Refer to
comments on this issue <https://github.com/tmess567/SYNCOPE-809/issues/3>).
I have sent out some emails regarding the query out to some plugin
developers and blog authors and I am still awaiting any response from them.

Meanwhile, I am working on developing tests for the plugin. I believe this
will be completed during the weekend in which case, I will start work on
the editor part of the plugin.

I would again like to invite you to try out the plugin and post issues on
the GitHub repository <https://github.com/tmess567/SYNCOPE-809> if you find
any problems.

Regards,

On Fri, May 27, 2016 at 1:36 PM Tushar Mishra <tu...@gmail.com> wrote:

> Update:
>
> 1. icon has been changed with this commit
> <https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd>
> 2. Commented on issue #3
> <https://github.com/tmess567/SYNCOPE-809/issues/3>
>
> Refactoring plugin.xml to src/main/resources/ doesn't seem to be directly
> possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be in the
> same directory, so that has to be in the root directory as well.
> I will continue to look into it and ask other developers until I'm sure.
>
> Also, do I need to change the icons used in the tree view to represent
> folders and files? If so, it would be really helpful if you could point me
> to where you got the icons for the image
> <https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2> you
> posted over at the wiki page
> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for the
> GSoC project.
>
> Regards,
>
> On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <
> ilgrosso@apache.org> wrote:
>
>> On 26/05/2016 12:46, Tushar Mishra wrote:
>> > I have made the following changes to my project:
>> >
>> > 1. Refactored as Maven project and included parent POM
>> > 2. Removed unnecessary target libraries and binary files
>> > 3. Added Readme to Github repository
>> > 4. Changed repository to only contain Eclipse project instead of entire
>> > workspace
>> > 5. Brought source to root directory of the repository
>> > 6. Changed base package from "eclipseplugin" to "org.apache.syncope.ide.
>> > eclipse"
>> > 7. Added Login functionality to allow user to define the url of syncope
>> > deployment and username password combination
>> >
>> > Changes to be made:
>> >
>> > 1. Replace icon of plugin to syncope's icon
>> > 2. Remove .settings, META-INF, .classpath and build.properties files and
>> > folders and generate them using maven
>> >
>> > Please advise on any more changes required or problems observed.
>>
>> Hi Tushar,
>> I have opened
>>
>> https://github.com/tmess567/SYNCOPE-809/issues/1
>> https://github.com/tmess567/SYNCOPE-809/issues/2
>> https://github.com/tmess567/SYNCOPE-809/issues/3
>>
>> with some indications.
>> Regards.
>>
>> > On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org>
>> > wrote:
>> >
>> >> Hi Tushar,
>> >> here are my preliminary observations:
>> >>
>> >> 1. please refactor the whole project as a Maven project having the
>> >> following parent POM:
>> >>
>> >>     <parent>
>> >>       <groupId>org.apache.syncope</groupId>
>> >>       <artifactId>syncope</artifactId>
>> >>       <version>2.0.0-SNAPSHOT</version>
>> >>     </parent>
>> >>
>> >> This will help for later stages since your (and Nuwan Sameera's for
>> >> SYNCOPE-808) code is eventually going to be merged into the Apache
>> >> Syncope source tree.
>> >>
>> >> 2. avoid putting binary files into the source tree (Maven will greatly
>> >> help WRT this), like as
>> >>
>> >> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> >>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>> >>
>> >> 3. add a wiki page with instructions on how to (1) build and (2) use
>> >> your plugin within Eclipse (with supported Eclipse versions)
>> >>
>> >> Regards.
>> >>
>> >> On 24/05/2016 15:23, Tushar Mishra wrote:
>> >>> I've updated the source <https://github.com/tmess567/SYNCOPE-809> to
>> >>> include and use the Syncope Client library to access data from the
>> REST
>> >>> API. Please do check it out and advise me on any required changes or
>> >>> updates.
>> >>>
>> >>> Regards,
>> >>>
>> >>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra <tu...@gmail.com>
>> >> wrote:
>> >>>> Hello devs,
>> >>>>
>> >>>> I would like to update you on my progress in the project.
>> >>>>
>> >>>> Seeing that today was the start of my project, I've built a java REST
>> >>>> client to get all the mail and report templates using Apache's HTTP
>> >>>> libraries. These classes provide data from the REST API and have been
>> >> added
>> >>>> to a view plugin which shows the keys of the mail and report
>> templates
>> >> in a
>> >>>> tree view as suggested here
>> >>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
>> >>>> screenshot for the same has been uploaded here <
>> >> http://imgur.com/4BO4yi2>.
>> >>>> I received advice from my mentor that I should be using the Syncope
>> >>>> Client library for fetching and sending data to the rest API. I am
>> >>>> currently looking into it and will be updating you guys on the
>> progress
>> >>>> with the same soon.
>> >>>>
>> >>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
>> >> libraries over
>> >>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a look
>> and
>> >>>> tell me if any changes are required.
>> >>>>
>> >>>> Regards,
>>
>> --
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Involved at The Apache Software Foundation:
>> member, Syncope PMC chair, Cocoon PMC,
>> Olingo PMC, CXF Committer, OpenJPA Committer
>> http://home.apache.org/~ilgrosso/
>>
>> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Update:

1. icon has been changed with this commit
<https://github.com/tmess567/SYNCOPE-809/commit/b72ce55958aefe7ea1510428189972bccad269fd>
2. Commented on issue #3 <https://github.com/tmess567/SYNCOPE-809/issues/3>

Refactoring plugin.xml to src/main/resources/ doesn't seem to be directly
possible. Also, plugin.xml requires META-INF and MANIFEST.MF to be in the
same directory, so that has to be in the root directory as well.
I will continue to look into it and ask other developers until I'm sure.

Also, do I need to change the icons used in the tree view to represent
folders and files? If so, it would be really helpful if you could point me
to where you got the icons for the image
<https://cwiki.apache.org/confluence/download/attachments/62687598/image2016-3-15%2017%3A49%3A32.png?version=1&modificationDate=1458060572000&api=v2>
you
posted over at the wiki page
<https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016> for the
GSoC project.

Regards,

On Thu, May 26, 2016 at 4:29 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 26/05/2016 12:46, Tushar Mishra wrote:
> > I have made the following changes to my project:
> >
> > 1. Refactored as Maven project and included parent POM
> > 2. Removed unnecessary target libraries and binary files
> > 3. Added Readme to Github repository
> > 4. Changed repository to only contain Eclipse project instead of entire
> > workspace
> > 5. Brought source to root directory of the repository
> > 6. Changed base package from "eclipseplugin" to "org.apache.syncope.ide.
> > eclipse"
> > 7. Added Login functionality to allow user to define the url of syncope
> > deployment and username password combination
> >
> > Changes to be made:
> >
> > 1. Replace icon of plugin to syncope's icon
> > 2. Remove .settings, META-INF, .classpath and build.properties files and
> > folders and generate them using maven
> >
> > Please advise on any more changes required or problems observed.
>
> Hi Tushar,
> I have opened
>
> https://github.com/tmess567/SYNCOPE-809/issues/1
> https://github.com/tmess567/SYNCOPE-809/issues/2
> https://github.com/tmess567/SYNCOPE-809/issues/3
>
> with some indications.
> Regards.
>
> > On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> Hi Tushar,
> >> here are my preliminary observations:
> >>
> >> 1. please refactor the whole project as a Maven project having the
> >> following parent POM:
> >>
> >>     <parent>
> >>       <groupId>org.apache.syncope</groupId>
> >>       <artifactId>syncope</artifactId>
> >>       <version>2.0.0-SNAPSHOT</version>
> >>     </parent>
> >>
> >> This will help for later stages since your (and Nuwan Sameera's for
> >> SYNCOPE-808) code is eventually going to be merged into the Apache
> >> Syncope source tree.
> >>
> >> 2. avoid putting binary files into the source tree (Maven will greatly
> >> help WRT this), like as
> >>
> >> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> >>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
> >>
> >> 3. add a wiki page with instructions on how to (1) build and (2) use
> >> your plugin within Eclipse (with supported Eclipse versions)
> >>
> >> Regards.
> >>
> >> On 24/05/2016 15:23, Tushar Mishra wrote:
> >>> I've updated the source <https://github.com/tmess567/SYNCOPE-809> to
> >>> include and use the Syncope Client library to access data from the REST
> >>> API. Please do check it out and advise me on any required changes or
> >>> updates.
> >>>
> >>> Regards,
> >>>
> >>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra <tu...@gmail.com>
> >> wrote:
> >>>> Hello devs,
> >>>>
> >>>> I would like to update you on my progress in the project.
> >>>>
> >>>> Seeing that today was the start of my project, I've built a java REST
> >>>> client to get all the mail and report templates using Apache's HTTP
> >>>> libraries. These classes provide data from the REST API and have been
> >> added
> >>>> to a view plugin which shows the keys of the mail and report templates
> >> in a
> >>>> tree view as suggested here
> >>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
> >>>> screenshot for the same has been uploaded here <
> >> http://imgur.com/4BO4yi2>.
> >>>> I received advice from my mentor that I should be using the Syncope
> >>>> Client library for fetching and sending data to the rest API. I am
> >>>> currently looking into it and will be updating you guys on the
> progress
> >>>> with the same soon.
> >>>>
> >>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
> >> libraries over
> >>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a look
> and
> >>>> tell me if any changes are required.
> >>>>
> >>>> Regards,
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC,
> Olingo PMC, CXF Committer, OpenJPA Committer
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 26/05/2016 12:46, Tushar Mishra wrote:
> I have made the following changes to my project:
>
> 1. Refactored as Maven project and included parent POM
> 2. Removed unnecessary target libraries and binary files
> 3. Added Readme to Github repository
> 4. Changed repository to only contain Eclipse project instead of entire
> workspace
> 5. Brought source to root directory of the repository
> 6. Changed base package from "eclipseplugin" to "org.apache.syncope.ide.
> eclipse"
> 7. Added Login functionality to allow user to define the url of syncope
> deployment and username password combination
>
> Changes to be made:
>
> 1. Replace icon of plugin to syncope's icon
> 2. Remove .settings, META-INF, .classpath and build.properties files and
> folders and generate them using maven
>
> Please advise on any more changes required or problems observed.

Hi Tushar,
I have opened

https://github.com/tmess567/SYNCOPE-809/issues/1
https://github.com/tmess567/SYNCOPE-809/issues/2
https://github.com/tmess567/SYNCOPE-809/issues/3

with some indications.
Regards.

> On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> Hi Tushar,
>> here are my preliminary observations:
>>
>> 1. please refactor the whole project as a Maven project having the
>> following parent POM:
>>
>>     <parent>
>>       <groupId>org.apache.syncope</groupId>
>>       <artifactId>syncope</artifactId>
>>       <version>2.0.0-SNAPSHOT</version>
>>     </parent>
>>
>> This will help for later stages since your (and Nuwan Sameera's for
>> SYNCOPE-808) code is eventually going to be merged into the Apache
>> Syncope source tree.
>>
>> 2. avoid putting binary files into the source tree (Maven will greatly
>> help WRT this), like as
>>
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
>> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>>
>> 3. add a wiki page with instructions on how to (1) build and (2) use
>> your plugin within Eclipse (with supported Eclipse versions)
>>
>> Regards.
>>
>> On 24/05/2016 15:23, Tushar Mishra wrote:
>>> I've updated the source <https://github.com/tmess567/SYNCOPE-809> to
>>> include and use the Syncope Client library to access data from the REST
>>> API. Please do check it out and advise me on any required changes or
>>> updates.
>>>
>>> Regards,
>>>
>>> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra <tu...@gmail.com>
>> wrote:
>>>> Hello devs,
>>>>
>>>> I would like to update you on my progress in the project.
>>>>
>>>> Seeing that today was the start of my project, I've built a java REST
>>>> client to get all the mail and report templates using Apache's HTTP
>>>> libraries. These classes provide data from the REST API and have been
>> added
>>>> to a view plugin which shows the keys of the mail and report templates
>> in a
>>>> tree view as suggested here
>>>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
>>>> screenshot for the same has been uploaded here <
>> http://imgur.com/4BO4yi2>.
>>>> I received advice from my mentor that I should be using the Syncope
>>>> Client library for fetching and sending data to the rest API. I am
>>>> currently looking into it and will be updating you guys on the progress
>>>> with the same soon.
>>>>
>>>> Meanwhile, I've uploaded the current one with the Apache's HTTP
>> libraries over
>>>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a look and
>>>> tell me if any changes are required.
>>>>
>>>> Regards,

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I have made the following changes to my project:

1. Refactored as Maven project and included parent POM
2. Removed unnecessary target libraries and binary files
3. Added Readme to Github repository
4. Changed repository to only contain Eclipse project instead of entire
workspace
5. Brought source to root directory of the repository
6. Changed base package from "eclipseplugin" to "org.apache.syncope.ide.
eclipse"
7. Added Login functionality to allow user to define the url of syncope
deployment and username password combination

Changes to be made:

1. Replace icon of plugin to syncope's icon
2. Remove .settings, META-INF, .classpath and build.properties files and
folders and generate them using maven

Please advise on any more changes required or problems observed.

Regards,

On Wed, May 25, 2016 at 12:14 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> Hi Tushar,
> here are my preliminary observations:
>
> 1. please refactor the whole project as a Maven project having the
> following parent POM:
>
>    <parent>
>      <groupId>org.apache.syncope</groupId>
>      <artifactId>syncope</artifactId>
>      <version>2.0.0-SNAPSHOT</version>
>    </parent>
>
> This will help for later stages since your (and Nuwan Sameera's for
> SYNCOPE-808) code is eventually going to be merged into the Apache
> Syncope source tree.
>
> 2. avoid putting binary files into the source tree (Maven will greatly
> help WRT this), like as
>
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
> https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/
>
> 3. add a wiki page with instructions on how to (1) build and (2) use
> your plugin within Eclipse (with supported Eclipse versions)
>
> Regards.
>
> On 24/05/2016 15:23, Tushar Mishra wrote:
> > I've updated the source <https://github.com/tmess567/SYNCOPE-809> to
> > include and use the Syncope Client library to access data from the REST
> > API. Please do check it out and advise me on any required changes or
> > updates.
> >
> > Regards,
> >
> > On Mon, May 23, 2016 at 7:31 PM Tushar Mishra <tu...@gmail.com>
> wrote:
> >
> >> Hello devs,
> >>
> >> I would like to update you on my progress in the project.
> >>
> >> Seeing that today was the start of my project, I've built a java REST
> >> client to get all the mail and report templates using Apache's HTTP
> >> libraries. These classes provide data from the REST API and have been
> added
> >> to a view plugin which shows the keys of the mail and report templates
> in a
> >> tree view as suggested here
> >> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
> >> screenshot for the same has been uploaded here <
> http://imgur.com/4BO4yi2>.
> >>
> >> I received advice from my mentor that I should be using the Syncope
> >> Client library for fetching and sending data to the rest API. I am
> >> currently looking into it and will be updating you guys on the progress
> >> with the same soon.
> >>
> >> Meanwhile, I've uploaded the current one with the Apache's HTTP
> libraries over
> >> here <https://github.com/tmess567/SYNCOPE-809>. Please take a look and
> >> tell me if any changes are required.
> >>
> >> Regards,
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC,
> Olingo PMC, CXF Committer, OpenJPA Committer
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi Tushar,
here are my preliminary observations:

1. please refactor the whole project as a Maven project having the 
following parent POM:

   <parent>
     <groupId>org.apache.syncope</groupId>
     <artifactId>syncope</artifactId>
     <version>2.0.0-SNAPSHOT</version>
   </parent>

This will help for later stages since your (and Nuwan Sameera's for 
SYNCOPE-808) code is eventually going to be merged into the Apache 
Syncope source tree.

2. avoid putting binary files into the source tree (Maven will greatly 
help WRT this), like as

https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/lib
https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/mvnlib
https://github.com/tmess567/SYNCOPE-809/tree/master/EclipsePlugin/target/

3. add a wiki page with instructions on how to (1) build and (2) use 
your plugin within Eclipse (with supported Eclipse versions)

Regards.

On 24/05/2016 15:23, Tushar Mishra wrote:
> I've updated the source <https://github.com/tmess567/SYNCOPE-809> to
> include and use the Syncope Client library to access data from the REST
> API. Please do check it out and advise me on any required changes or
> updates.
>
> Regards,
>
> On Mon, May 23, 2016 at 7:31 PM Tushar Mishra <tu...@gmail.com> wrote:
>
>> Hello devs,
>>
>> I would like to update you on my progress in the project.
>>
>> Seeing that today was the start of my project, I've built a java REST
>> client to get all the mail and report templates using Apache's HTTP
>> libraries. These classes provide data from the REST API and have been added
>> to a view plugin which shows the keys of the mail and report templates in a
>> tree view as suggested here
>> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
>> screenshot for the same has been uploaded here <http://imgur.com/4BO4yi2>.
>>
>> I received advice from my mentor that I should be using the Syncope
>> Client library for fetching and sending data to the rest API. I am
>> currently looking into it and will be updating you guys on the progress
>> with the same soon.
>>
>> Meanwhile, I've uploaded the current one with the Apache's HTTP libraries over
>> here <https://github.com/tmess567/SYNCOPE-809>. Please take a look and
>> tell me if any changes are required.
>>
>> Regards,

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
I've updated the source <https://github.com/tmess567/SYNCOPE-809> to
include and use the Syncope Client library to access data from the REST
API. Please do check it out and advise me on any required changes or
updates.

Regards,

On Mon, May 23, 2016 at 7:31 PM Tushar Mishra <tu...@gmail.com> wrote:

> Hello devs,
>
> I would like to update you on my progress in the project.
>
> Seeing that today was the start of my project, I've built a java REST
> client to get all the mail and report templates using Apache's HTTP
> libraries. These classes provide data from the REST API and have been added
> to a view plugin which shows the keys of the mail and report templates in a
> tree view as suggested here
> <https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
> screenshot for the same has been uploaded here <http://imgur.com/4BO4yi2>.
>
> I received advice from my mentor that I should be using the Syncope
> Client library for fetching and sending data to the rest API. I am
> currently looking into it and will be updating you guys on the progress
> with the same soon.
>
> Meanwhile, I've uploaded the current one with the Apache's HTTP libraries over
> here <https://github.com/tmess567/SYNCOPE-809>. Please take a look and
> tell me if any changes are required.
>
> Regards,
> --
> Tushar Mishra
> University of Petroleum and Energy Studies
> Computer Science with specialization in ​Open Source Software and Open
> Standards
> Semester VI
> +91-9675785996
>
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Hello devs,

I would like to update you on my progress in the project.

Seeing that today was the start of my project, I've built a java REST
client to get all the mail and report templates using Apache's HTTP
libraries. These classes provide data from the REST API and have been added
to a view plugin which shows the keys of the mail and report templates in a
tree view as suggested here
<https://cwiki.apache.org/confluence/display/SYNCOPE/GSOC+2016>. A
screenshot for the same has been uploaded here <http://imgur.com/4BO4yi2>.

I received advice from my mentor that I should be using the Syncope Client
library for fetching and sending data to the rest API. I am currently
looking into it and will be updating you guys on the progress with the same
soon.

Meanwhile, I've uploaded the current one with the Apache's HTTP libraries over
here <https://github.com/tmess567/SYNCOPE-809>. Please take a look and tell
me if any changes are required.

Regards,
-- 
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 04/05/2016 11:16, Tushar Mishra wrote:
> On Wed, May 4, 2016 at 1:06 PM Francesco Chicchiriccò <il...@apache.org> wrote:
>
>> On 03/05/2016 23:49, Tushar Mishra wrote:
>>> Sure, I am already reading up on open issues so I can start working on some small ones right away.
>> Fine, please report which ones have attracted your attention, I'll be
>> happy to assign them to you and to review you PR(s).
>>
> One issue that I myself faced was SYNCOPE-839
> <https://issues.apache.org/jira/browse/SYNCOPE-839>. I looked into it and
> ran an update on all the snapshots on remote repositories using -U and
> found this problem.
>
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project - Console 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.maven.apache.org/maven2/org/apache/syncope/fit/syncope-fit-build-tools/2.0.0-M2/syncope-fit-build-tools-2.0.0-M2.pom
> [WARNING] The POM for
> org.apache.syncope.fit:syncope-fit-build-tools:war:2.0.0-M2 is
> missing, no dependency information available
> Downloading: http://repo.maven.apache.org/maven2/org/apache/syncope/fit/syncope-fit-build-tools/2.0.0-M2/syncope-fit-build-tools-2.0.0-M2.war
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS [6.191s]
> [INFO] Apache Syncope sample project - Common ............ SUCCESS [1.304s]
> [INFO] Apache Syncope sample project - Core .............. SUCCESS [4.938s]
> [INFO] Apache Syncope sample project - Console ........... FAILURE [2.515s]
> [INFO] Apache Syncope sample project - Enduser ........... SKIPPED
> [INFO] ------------------------------------------------------------------------
>
> Turns out the profile of embedded is looking for syncope-fit-build-tools at
> http://repo.maven.apache.org/maven2/org/apache/syncope/fit/ which is not
> accessible.
>
> If I am heading in the right direction, could you point me someplace where
> I could read more about this or figure out a way to solve this?

I have commented SYNCOPE-839 with some details.

>> One - not particularly fancy, I know - idea could be to help writing and
>> / or reviewing our documentation for 2.0.0
>>
>> https://issues.apache.org/jira/browse/SYNCOPE-700
> I'll be reading up on adding documentation for solving SYNCOPE-700
> <https://issues.apache.org/jira/browse/SYNCOPE-700> and get back to you
> when I have some more information.

You can start by taking a look at Reference Guide's TOC and filling one 
of the (multiple) blank chapters and paragraphs there.
I might be able to start again working on this next week.

>>> Regarding the cloud deployment, I was talking about using the Google
>> Cloud
>>> platform to get a development environment where I can securely deploy
>>> syncope and work on the project. Will it be feasible and what would you
>>> suggest?
>> Unfortunately I don't have any experience with Google Cloud (maybe
>> someone else here); possibly you can empower the deb packages
>>
>> http://syncope.apache.org/docs/getting-started.html#debian-packages
>>
>> for installing over a Debian / Ubuntu machine, or even take a ride on
>> Docker with help of our fellow committer Andrea Patricelli:
>>
>> https://github.com/andrea-patricelli/syncope-docker
>
> I've posted a query
> <https://groups.google.com/forum/#!topic/google-summer-of-code-students-list/hxEKAy9stTE>
>   regarding the usage of a cloud development platform on the GSoC mailing
> list (since the tax form states that I cannot use machines based in the US
> for the development of the project). I will update you with any progress on
> this as well. Until then, I will be using my local machine just to be safe.

Fine.

Regards.

>>> On Tue, May 3, 2016 at 5:14 PM Francesco Chicchiriccò <il...@apache.org> wrote:
>>>> On 03/05/2016 06:01, Tushar Mishra wrote:
>>>>> Hello devs,
>>>>>
>>>>> I would like to update you on my progress regarding the project. I've
>>>>> downloaded the sources and built them successfully.
>>>> That's good.
>>>>
>>>>> I've also started
>>>>> working on the plugin layout which took a bit of a look around to find
>> the right way to do it.
>>>> This is premature: until May 22nd you are in the community bonding
>>>> period, e.g. you are not expected to work on your project but instead to
>>>> get acquainted with Apache Syncope and its community (see my mail
>> below).
>>>>> I would like to ask something at this point. I am able to create a
>> "view"
>>>>> in eclipse which shall display in a window, the email templates
>> available
>>>>> and clicking on a template would open it in the editor. Now, which of
>> the
>>>>> following should I focus on?
>>>>>
>>>>>       - A button in the menu which opens the view in the workbench
>>>>>       - A perspective which displays just the template list view and an
>> editor
>>>>> Also, I would like to know if I can use a cloud platform to develop
>> this
>>>>> project. It would be easier for me since I work behind a proxy in my
>>>>> college and also, it would save me the hassle of manually backing up my
>>>>> work everyday.
>>>> Do you want to deploy Apache Syncope in a cloud space of yours (which
>>>> one, in case?) or are you looking for a place where it is already
>>>> deployed and running? For the latter case you might want to empower
>>>>
>>>> http://syncope.apache.org/demo.html
>>>>
>>>> Regards.
>>>>
>>>>> On Fri, Apr 29, 2016 at 2:57 PM Francesco Chicchiriccò <
>> ilgrosso@apache.org> wrote:
>>>>>> On 27/04/2016 17:39, Tushar Mishra wrote:
>>>>>>> Hello devs,
>>>>>>>
>>>>>>> My name is Tushar Mishra and I am currently pursuing a Bachelor’s
>> degree in Computer Science with specialization in Open Source Software and
>> Open
>>>>>>> Standards from the University of Petroleum and Energy
>> Studies,Dehradun,India as a 3rd year Undergraduate student.
>>>>>>> Recently, my proposal for developing an Eclipse Plugin (as stated in
>>>>>>> [SYNCOPE-809]) was accepted at the Google Summer of Code.
>>>>>>>
>>>>>>> Consequently, I have been assigned to the issue under the
>> supervision of Mr. Francesco
>>>>>>> Chicchiriccò who is my mentor for the same.
>>>>>>>
>>>>>>> I look forward to working under your guidance and I believe I can do
>>>>>>> wonders with your help.
>>>>>> Hi Tushar,
>>>>>> as your mentor for this activity, let me express my own deep welcome
>> to
>>>>>> the Apache Syncope community.
>>>>>>
>>>>>> Please consider that you are currently in the "Community Bonding
>> Period"
>>>>>> (Apr 22 - May 22), where you are expected to get ready to start
>>>>>> contributing full time.
>>>>>>
>>>>>> Community Bonding activities may involve:
>>>>>>
>>>>>>         * Becoming familiar with the community practices and processes.
>>>>>> (This often involves a mix of observation and participation.)
>>>>>>         * Participating on Mailing Lists / IRC / etc. (Not just
>> lurking.)
>>>>>>         * Setting up their development environment.
>>>>>>         * Small (or large) patches/bug fixes. (These do not need to be
>>>>>> directly related to their GSoC project.)
>>>>>>         * Participating in code reviews for others. (Even someone who
>> isn't familiar with the project can contribute by pointing out potential
>>>>>> inefficiencies, bad error handling, etc.)
>>>>>>         * Working with their mentor and other org members on refining
>> their project plan. This might include finalizing deadlines and milestones,
>>>>>> adding more detail, figuring out potential issues, etc.
>>>>>>         * If you are already familiar with the organization, you could
>> be
>>>>>> helping others get involved in the community.
>>>>>>         * Reading (and updating!) documentation they will need to
>>>>>> understand to complete their project.
>>>>>>         * Reporting or replicating bugs.
>>>>>>
>>>>>> In general, I would prefer to keep the communication here, open for
>> the
>>>>>> whole community. You are naturally free to contact me privately as
>>>>>> you've been doing so far.
>>>>>> Should you need live interaction, let's meet on the #apache-syncope
>> IRC
>>>>>> channel - I am generally available there from 9.00 AM CET until 6.00
>> PM CET
>>>>>> Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/



Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
On Wed, May 4, 2016 at 1:06 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 03/05/2016 23:49, Tushar Mishra wrote:
> > Sure, I am already reading up on open issues so I can start working on
> some
> > small ones right away.
>
> Fine, please report which ones have attracted your attention, I'll be
> happy to assign them to you and to review you PR(s).
>

One issue that I myself faced was SYNCOPE-839
<https://issues.apache.org/jira/browse/SYNCOPE-839>. I looked into it and
ran an update on all the snapshots on remote repositories using -U and
found this problem.

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project - Console 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/apache/syncope/fit/syncope-fit-build-tools/2.0.0-M2/syncope-fit-build-tools-2.0.0-M2.pom
[WARNING] The POM for
org.apache.syncope.fit:syncope-fit-build-tools:war:2.0.0-M2 is
missing, no dependency information available
Downloading: http://repo.maven.apache.org/maven2/org/apache/syncope/fit/syncope-fit-build-tools/2.0.0-M2/syncope-fit-build-tools-2.0.0-M2.war
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [6.191s]
[INFO] Apache Syncope sample project - Common ............ SUCCESS [1.304s]
[INFO] Apache Syncope sample project - Core .............. SUCCESS [4.938s]
[INFO] Apache Syncope sample project - Console ........... FAILURE [2.515s]
[INFO] Apache Syncope sample project - Enduser ........... SKIPPED
[INFO] ------------------------------------------------------------------------

Turns out the profile of embedded is looking for syncope-fit-build-tools at
http://repo.maven.apache.org/maven2/org/apache/syncope/fit/ which is not
accessible.

If I am heading in the right direction, could you point me someplace where
I could read more about this or figure out a way to solve this?


>
> One - not particularly fancy, I know - idea could be to help writing and
> / or reviewing our documentation for 2.0.0
>
> https://issues.apache.org/jira/browse/SYNCOPE-700
>
>
I'll be reading up on adding documentation for solving SYNCOPE-700
<https://issues.apache.org/jira/browse/SYNCOPE-700> and get back to you
when I have some more information.


> > Regarding the cloud deployment, I was talking about using the Google
> Cloud
> > platform to get a development environment where I can securely deploy
> > syncope and work on the project. Will it be feasible and what would you
> > suggest?
>
> Unfortunately I don't have any experience with Google Cloud (maybe
> someone else here); possibly you can empower the deb packages
>
> http://syncope.apache.org/docs/getting-started.html#debian-packages
>
> for installing over a Debian / Ubuntu machine, or even take a ride on
> Docker with help of our fellow committer Andrea Patricelli:
>
> https://github.com/andrea-patricelli/syncope-docker


I've posted a query
<https://groups.google.com/forum/#!topic/google-summer-of-code-students-list/hxEKAy9stTE>
 regarding the usage of a cloud development platform on the GSoC mailing
list (since the tax form states that I cannot use machines based in the US
for the development of the project). I will update you with any progress on
this as well. Until then, I will be using my local machine just to be safe.

>
>
> HTH
> Regards.
>
> > On Tue, May 3, 2016 at 5:14 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> On 03/05/2016 06:01, Tushar Mishra wrote:
> >>> Hello devs,
> >>>
> >>> I would like to update you on my progress regarding the project. I've
> >>> downloaded the sources and built them successfully.
> >> That's good.
> >>
> >>> I've also started
> >>> working on the plugin layout which took a bit of a look around to find
> the right way to do it.
> >> This is premature: until May 22nd you are in the community bonding
> >> period, e.g. you are not expected to work on your project but instead to
> >> get acquainted with Apache Syncope and its community (see my mail
> below).
> >>
> >>> I would like to ask something at this point. I am able to create a
> "view"
> >>> in eclipse which shall display in a window, the email templates
> available
> >>> and clicking on a template would open it in the editor. Now, which of
> the
> >>> following should I focus on?
> >>>
> >>>      - A button in the menu which opens the view in the workbench
> >>>      - A perspective which displays just the template list view and an
> editor
> >>>
> >>> Also, I would like to know if I can use a cloud platform to develop
> this
> >>> project. It would be easier for me since I work behind a proxy in my
> >>> college and also, it would save me the hassle of manually backing up my
> >>> work everyday.
> >> Do you want to deploy Apache Syncope in a cloud space of yours (which
> >> one, in case?) or are you looking for a place where it is already
> >> deployed and running? For the latter case you might want to empower
> >>
> >> http://syncope.apache.org/demo.html
> >>
> >> Regards.
> >>
> >>> On Fri, Apr 29, 2016 at 2:57 PM Francesco Chicchiriccò <
> ilgrosso@apache.org> wrote:
> >>>> On 27/04/2016 17:39, Tushar Mishra wrote:
> >>>>> Hello devs,
> >>>>>
> >>>>> My name is Tushar Mishra and I am currently pursuing a Bachelor’s
> degree in Computer Science with specialization in Open Source Software and
> Open
> >>>>> Standards from the University of Petroleum and Energy
> Studies,Dehradun,India as a 3rd year Undergraduate student.
> >>>>>
> >>>>> Recently, my proposal for developing an Eclipse Plugin (as stated in
> >>>>> [SYNCOPE-809]) was accepted at the Google Summer of Code.
> >>>>>
> >>>>> Consequently, I have been assigned to the issue under the
> supervision of Mr. Francesco
> >>>>> Chicchiriccò who is my mentor for the same.
> >>>>>
> >>>>> I look forward to working under your guidance and I believe I can do
> >>>>> wonders with your help.
> >>>> Hi Tushar,
> >>>> as your mentor for this activity, let me express my own deep welcome
> to
> >>>> the Apache Syncope community.
> >>>>
> >>>> Please consider that you are currently in the "Community Bonding
> Period"
> >>>> (Apr 22 - May 22), where you are expected to get ready to start
> >>>> contributing full time.
> >>>>
> >>>> Community Bonding activities may involve:
> >>>>
> >>>>        * Becoming familiar with the community practices and processes.
> >>>> (This often involves a mix of observation and participation.)
> >>>>        * Participating on Mailing Lists / IRC / etc. (Not just
> lurking.)
> >>>>        * Setting up their development environment.
> >>>>        * Small (or large) patches/bug fixes. (These do not need to be
> >>>> directly related to their GSoC project.)
> >>>>        * Participating in code reviews for others. (Even someone who
> isn't familiar with the project can contribute by pointing out potential
> >>>> inefficiencies, bad error handling, etc.)
> >>>>        * Working with their mentor and other org members on refining
> their project plan. This might include finalizing deadlines and milestones,
> >>>> adding more detail, figuring out potential issues, etc.
> >>>>        * If you are already familiar with the organization, you could
> be
> >>>> helping others get involved in the community.
> >>>>        * Reading (and updating!) documentation they will need to
> >>>> understand to complete their project.
> >>>>        * Reporting or replicating bugs.
> >>>>
> >>>> In general, I would prefer to keep the communication here, open for
> the
> >>>> whole community. You are naturally free to contact me privately as
> >>>> you've been doing so far.
> >>>> Should you need live interaction, let's meet on the #apache-syncope
> IRC
> >>>> channel - I am generally available there from 9.00 AM CET until 6.00
> PM CET
> >>>> Regards.
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC,
> Olingo PMC, CXF Committer, OpenJPA Committer
> http://home.apache.org/~ilgrosso/
>
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 03/05/2016 23:49, Tushar Mishra wrote:
> Sure, I am already reading up on open issues so I can start working on some
> small ones right away.

Fine, please report which ones have attracted your attention, I'll be 
happy to assign them to you and to review you PR(s).

One - not particularly fancy, I know - idea could be to help writing and 
/ or reviewing our documentation for 2.0.0

https://issues.apache.org/jira/browse/SYNCOPE-700

> Regarding the cloud deployment, I was talking about using the Google Cloud
> platform to get a development environment where I can securely deploy
> syncope and work on the project. Will it be feasible and what would you
> suggest?

Unfortunately I don't have any experience with Google Cloud (maybe 
someone else here); possibly you can empower the deb packages

http://syncope.apache.org/docs/getting-started.html#debian-packages

for installing over a Debian / Ubuntu machine, or even take a ride on 
Docker with help of our fellow committer Andrea Patricelli:

https://github.com/andrea-patricelli/syncope-docker

HTH
Regards.

> On Tue, May 3, 2016 at 5:14 PM Francesco Chicchiriccò <il...@apache.org>
> wrote:
>
>> On 03/05/2016 06:01, Tushar Mishra wrote:
>>> Hello devs,
>>>
>>> I would like to update you on my progress regarding the project. I've
>>> downloaded the sources and built them successfully.
>> That's good.
>>
>>> I've also started
>>> working on the plugin layout which took a bit of a look around to find the right way to do it.
>> This is premature: until May 22nd you are in the community bonding
>> period, e.g. you are not expected to work on your project but instead to
>> get acquainted with Apache Syncope and its community (see my mail below).
>>
>>> I would like to ask something at this point. I am able to create a "view"
>>> in eclipse which shall display in a window, the email templates available
>>> and clicking on a template would open it in the editor. Now, which of the
>>> following should I focus on?
>>>
>>>      - A button in the menu which opens the view in the workbench
>>>      - A perspective which displays just the template list view and an editor
>>>
>>> Also, I would like to know if I can use a cloud platform to develop this
>>> project. It would be easier for me since I work behind a proxy in my
>>> college and also, it would save me the hassle of manually backing up my
>>> work everyday.
>> Do you want to deploy Apache Syncope in a cloud space of yours (which
>> one, in case?) or are you looking for a place where it is already
>> deployed and running? For the latter case you might want to empower
>>
>> http://syncope.apache.org/demo.html
>>
>> Regards.
>>
>>> On Fri, Apr 29, 2016 at 2:57 PM Francesco Chicchiriccò <il...@apache.org> wrote:
>>>> On 27/04/2016 17:39, Tushar Mishra wrote:
>>>>> Hello devs,
>>>>>
>>>>> My name is Tushar Mishra and I am currently pursuing a Bachelor’s degree in Computer Science with specialization in Open Source Software and Open
>>>>> Standards from the University of Petroleum and Energy Studies,Dehradun,India as a 3rd year Undergraduate student.
>>>>>
>>>>> Recently, my proposal for developing an Eclipse Plugin (as stated in
>>>>> [SYNCOPE-809]) was accepted at the Google Summer of Code.
>>>>>
>>>>> Consequently, I have been assigned to the issue under the supervision of Mr. Francesco
>>>>> Chicchiriccò who is my mentor for the same.
>>>>>
>>>>> I look forward to working under your guidance and I believe I can do
>>>>> wonders with your help.
>>>> Hi Tushar,
>>>> as your mentor for this activity, let me express my own deep welcome to
>>>> the Apache Syncope community.
>>>>
>>>> Please consider that you are currently in the "Community Bonding Period"
>>>> (Apr 22 - May 22), where you are expected to get ready to start
>>>> contributing full time.
>>>>
>>>> Community Bonding activities may involve:
>>>>
>>>>        * Becoming familiar with the community practices and processes.
>>>> (This often involves a mix of observation and participation.)
>>>>        * Participating on Mailing Lists / IRC / etc. (Not just lurking.)
>>>>        * Setting up their development environment.
>>>>        * Small (or large) patches/bug fixes. (These do not need to be
>>>> directly related to their GSoC project.)
>>>>        * Participating in code reviews for others. (Even someone who isn't familiar with the project can contribute by pointing out potential
>>>> inefficiencies, bad error handling, etc.)
>>>>        * Working with their mentor and other org members on refining their project plan. This might include finalizing deadlines and milestones,
>>>> adding more detail, figuring out potential issues, etc.
>>>>        * If you are already familiar with the organization, you could be
>>>> helping others get involved in the community.
>>>>        * Reading (and updating!) documentation they will need to
>>>> understand to complete their project.
>>>>        * Reporting or replicating bugs.
>>>>
>>>> In general, I would prefer to keep the communication here, open for the
>>>> whole community. You are naturally free to contact me privately as
>>>> you've been doing so far.
>>>> Should you need live interaction, let's meet on the #apache-syncope IRC
>>>> channel - I am generally available there from 9.00 AM CET until 6.00 PM CET
>>>> Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/



Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Sure, I am already reading up on open issues so I can start working on some
small ones right away.

Regarding the cloud deployment, I was talking about using the Google Cloud
platform to get a development environment where I can securely deploy
syncope and work on the project. Will it be feasible and what would you
suggest?

On Tue, May 3, 2016 at 5:14 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 03/05/2016 06:01, Tushar Mishra wrote:
> > Hello devs,
> >
> > I would like to update you on my progress regarding the project. I've
> > downloaded the sources and built them successfully.
>
> That's good.
>
> > I've also started
> > working on the plugin layout which took a bit of a look around to find
> the
> > right way to do it.
>
> This is premature: until May 22nd you are in the community bonding
> period, e.g. you are not expected to work on your project but instead to
> get acquainted with Apache Syncope and its community (see my mail below).
>
> > I would like to ask something at this point. I am able to create a "view"
> > in eclipse which shall display in a window, the email templates available
> > and clicking on a template would open it in the editor. Now, which of the
> > following should I focus on?
> >
> >     - A button in the menu which opens the view in the workbench
> >     - A perspective which displays just the template list view and an
> editor
> >
> > Also, I would like to know if I can use a cloud platform to develop this
> > project. It would be easier for me since I work behind a proxy in my
> > college and also, it would save me the hassle of manually backing up my
> > work everyday.
>
> Do you want to deploy Apache Syncope in a cloud space of yours (which
> one, in case?) or are you looking for a place where it is already
> deployed and running? For the latter case you might want to empower
>
> http://syncope.apache.org/demo.html
>
> Regards.
>
> > On Fri, Apr 29, 2016 at 2:57 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> >> On 27/04/2016 17:39, Tushar Mishra wrote:
> >>> Hello devs,
> >>>
> >>> My name is Tushar Mishra and I am currently pursuing a Bachelor’s
> degree
> >> in
> >>> Computer Science with specialization in Open Source Software and Open
> >>> Standards from the University of Petroleum and Energy Studies,
> Dehradun,
> >>> India as a 3rd year Undergraduate student.
> >>>
> >>> Recently, my proposal for developing an Eclipse Plugin (as stated in
> >>> [SYNCOPE-809]) was accepted at the Google Summer of Code.
> Consequently, I
> >>> have been assigned to the issue under the supervision of Mr. Francesco
> >>> Chicchiriccò who is my mentor for the same.
> >>>
> >>> I look forward to working under your guidance and I believe I can do
> >>> wonders with your help.
> >> Hi Tushar,
> >> as your mentor for this activity, let me express my own deep welcome to
> >> the Apache Syncope community.
> >>
> >> Please consider that you are currently in the "Community Bonding Period"
> >> (Apr 22 - May 22), where you are expected to get ready to start
> >> contributing full time.
> >>
> >> Community Bonding activities may involve:
> >>
> >>       * Becoming familiar with the community practices and processes.
> >> (This often involves a mix of observation and participation.)
> >>       * Participating on Mailing Lists / IRC / etc. (Not just lurking.)
> >>       * Setting up their development environment.
> >>       * Small (or large) patches/bug fixes. (These do not need to be
> >> directly related to their GSoC project.)
> >>       * Participating in code reviews for others. (Even someone who
> isn't
> >> familiar with the project can contribute by pointing out potential
> >> inefficiencies, bad error handling, etc.)
> >>       * Working with their mentor and other org members on refining
> their
> >> project plan. This might include finalizing deadlines and milestones,
> >> adding more detail, figuring out potential issues, etc.
> >>       * If you are already familiar with the organization, you could be
> >> helping others get involved in the community.
> >>       * Reading (and updating!) documentation they will need to
> >> understand to complete their project.
> >>       * Reporting or replicating bugs.
> >>
> >> In general, I would prefer to keep the communication here, open for the
> >> whole community. You are naturally free to contact me privately as
> >> you've been doing so far.
> >> Should you need live interaction, let's meet on the #apache-syncope IRC
> >> channel - I am generally available there from 9.00 AM CET until 6.00 PM
> CET
> >>
> >> Regards.
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC,
> Olingo PMC, CXF Committer, OpenJPA Committer
> http://home.apache.org/~ilgrosso/
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 03/05/2016 06:01, Tushar Mishra wrote:
> Hello devs,
>
> I would like to update you on my progress regarding the project. I've
> downloaded the sources and built them successfully.

That's good.

> I've also started
> working on the plugin layout which took a bit of a look around to find the
> right way to do it.

This is premature: until May 22nd you are in the community bonding 
period, e.g. you are not expected to work on your project but instead to 
get acquainted with Apache Syncope and its community (see my mail below).

> I would like to ask something at this point. I am able to create a "view"
> in eclipse which shall display in a window, the email templates available
> and clicking on a template would open it in the editor. Now, which of the
> following should I focus on?
>
>     - A button in the menu which opens the view in the workbench
>     - A perspective which displays just the template list view and an editor
>
> Also, I would like to know if I can use a cloud platform to develop this
> project. It would be easier for me since I work behind a proxy in my
> college and also, it would save me the hassle of manually backing up my
> work everyday.

Do you want to deploy Apache Syncope in a cloud space of yours (which 
one, in case?) or are you looking for a place where it is already 
deployed and running? For the latter case you might want to empower

http://syncope.apache.org/demo.html

Regards.

> On Fri, Apr 29, 2016 at 2:57 PM Francesco Chicchiricc� <il...@apache.org>
> wrote:
>
>> On 27/04/2016 17:39, Tushar Mishra wrote:
>>> Hello devs,
>>>
>>> My name is Tushar Mishra and I am currently pursuing a Bachelor\u2019s degree
>> in
>>> Computer Science with specialization in Open Source Software and Open
>>> Standards from the University of Petroleum and Energy Studies, Dehradun,
>>> India as a 3rd year Undergraduate student.
>>>
>>> Recently, my proposal for developing an Eclipse Plugin (as stated in
>>> [SYNCOPE-809]) was accepted at the Google Summer of Code. Consequently, I
>>> have been assigned to the issue under the supervision of Mr. Francesco
>>> Chicchiricc� who is my mentor for the same.
>>>
>>> I look forward to working under your guidance and I believe I can do
>>> wonders with your help.
>> Hi Tushar,
>> as your mentor for this activity, let me express my own deep welcome to
>> the Apache Syncope community.
>>
>> Please consider that you are currently in the "Community Bonding Period"
>> (Apr 22 - May 22), where you are expected to get ready to start
>> contributing full time.
>>
>> Community Bonding activities may involve:
>>
>>       * Becoming familiar with the community practices and processes.
>> (This often involves a mix of observation and participation.)
>>       * Participating on Mailing Lists / IRC / etc. (Not just lurking.)
>>       * Setting up their development environment.
>>       * Small (or large) patches/bug fixes. (These do not need to be
>> directly related to their GSoC project.)
>>       * Participating in code reviews for others. (Even someone who isn't
>> familiar with the project can contribute by pointing out potential
>> inefficiencies, bad error handling, etc.)
>>       * Working with their mentor and other org members on refining their
>> project plan. This might include finalizing deadlines and milestones,
>> adding more detail, figuring out potential issues, etc.
>>       * If you are already familiar with the organization, you could be
>> helping others get involved in the community.
>>       * Reading (and updating!) documentation they will need to
>> understand to complete their project.
>>       * Reporting or replicating bugs.
>>
>> In general, I would prefer to keep the communication here, open for the
>> whole community. You are naturally free to contact me privately as
>> you've been doing so far.
>> Should you need live interaction, let's meet on the #apache-syncope IRC
>> channel - I am generally available there from 9.00 AM CET until 6.00 PM CET
>>
>> Regards.

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/


Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Tushar Mishra <tu...@gmail.com>.
Hello devs,

I would like to update you on my progress regarding the project. I've
downloaded the sources and built them successfully. I've also started
working on the plugin layout which took a bit of a look around to find the
right way to do it.

I would like to ask something at this point. I am able to create a "view"
in eclipse which shall display in a window, the email templates available
and clicking on a template would open it in the editor. Now, which of the
following should I focus on?

   - A button in the menu which opens the view in the workbench
   - A perspective which displays just the template list view and an editor

Also, I would like to know if I can use a cloud platform to develop this
project. It would be easier for me since I work behind a proxy in my
college and also, it would save me the hassle of manually backing up my
work everyday.

Regards,

On Fri, Apr 29, 2016 at 2:57 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 27/04/2016 17:39, Tushar Mishra wrote:
> > Hello devs,
> >
> > My name is Tushar Mishra and I am currently pursuing a Bachelor’s degree
> in
> > Computer Science with specialization in Open Source Software and Open
> > Standards from the University of Petroleum and Energy Studies, Dehradun,
> > India as a 3rd year Undergraduate student.
> >
> > Recently, my proposal for developing an Eclipse Plugin (as stated in
> > [SYNCOPE-809]) was accepted at the Google Summer of Code. Consequently, I
> > have been assigned to the issue under the supervision of Mr. Francesco
> > Chicchiriccò who is my mentor for the same.
> >
> > I look forward to working under your guidance and I believe I can do
> > wonders with your help.
>
> Hi Tushar,
> as your mentor for this activity, let me express my own deep welcome to
> the Apache Syncope community.
>
> Please consider that you are currently in the "Community Bonding Period"
> (Apr 22 - May 22), where you are expected to get ready to start
> contributing full time.
>
> Community Bonding activities may involve:
>
>      * Becoming familiar with the community practices and processes.
> (This often involves a mix of observation and participation.)
>      * Participating on Mailing Lists / IRC / etc. (Not just lurking.)
>      * Setting up their development environment.
>      * Small (or large) patches/bug fixes. (These do not need to be
> directly related to their GSoC project.)
>      * Participating in code reviews for others. (Even someone who isn't
> familiar with the project can contribute by pointing out potential
> inefficiencies, bad error handling, etc.)
>      * Working with their mentor and other org members on refining their
> project plan. This might include finalizing deadlines and milestones,
> adding more detail, figuring out potential issues, etc.
>      * If you are already familiar with the organization, you could be
> helping others get involved in the community.
>      * Reading (and updating!) documentation they will need to
> understand to complete their project.
>      * Reporting or replicating bugs.
>
> In general, I would prefer to keep the communication here, open for the
> whole community. You are naturally free to contact me privately as
> you've been doing so far.
> Should you need live interaction, let's meet on the #apache-syncope IRC
> channel - I am generally available there from 9.00 AM CET until 6.00 PM CET
>
> Regards.
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF committer
> http://home.apache.org/~ilgrosso/
>
>
> --
Tushar Mishra
University of Petroleum and Energy Studies
Computer Science with specialization in ​Open Source Software and Open
Standards
Semester VI
+91-9675785996

Re: Eclipse Plugin [SYNCOPE-809] as GSoC 16 Project

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 27/04/2016 17:39, Tushar Mishra wrote:
> Hello devs,
>
> My name is Tushar Mishra and I am currently pursuing a Bachelor’s degree in
> Computer Science with specialization in Open Source Software and Open
> Standards from the University of Petroleum and Energy Studies, Dehradun,
> India as a 3rd year Undergraduate student.
>
> Recently, my proposal for developing an Eclipse Plugin (as stated in
> [SYNCOPE-809]) was accepted at the Google Summer of Code. Consequently, I
> have been assigned to the issue under the supervision of Mr. Francesco
> Chicchiriccò who is my mentor for the same.
>
> I look forward to working under your guidance and I believe I can do
> wonders with your help.

Hi Tushar,
as your mentor for this activity, let me express my own deep welcome to 
the Apache Syncope community.

Please consider that you are currently in the "Community Bonding Period" 
(Apr 22 - May 22), where you are expected to get ready to start 
contributing full time.

Community Bonding activities may involve:

     * Becoming familiar with the community practices and processes. 
(This often involves a mix of observation and participation.)
     * Participating on Mailing Lists / IRC / etc. (Not just lurking.)
     * Setting up their development environment.
     * Small (or large) patches/bug fixes. (These do not need to be 
directly related to their GSoC project.)
     * Participating in code reviews for others. (Even someone who isn't 
familiar with the project can contribute by pointing out potential 
inefficiencies, bad error handling, etc.)
     * Working with their mentor and other org members on refining their 
project plan. This might include finalizing deadlines and milestones, 
adding more detail, figuring out potential issues, etc.
     * If you are already familiar with the organization, you could be 
helping others get involved in the community.
     * Reading (and updating!) documentation they will need to 
understand to complete their project.
     * Reporting or replicating bugs.

In general, I would prefer to keep the communication here, open for the 
whole community. You are naturally free to contact me privately as 
you've been doing so far.
Should you need live interaction, let's meet on the #apache-syncope IRC 
channel - I am generally available there from 9.00 AM CET until 6.00 PM CET

Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF committer
http://home.apache.org/~ilgrosso/