[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsas-java-dev
Subject:    [Dev] [IS] Maven Archetype for Custom Event Handlers
From:       Athiththan Kathirgamasegaran <athiththan () wso2 ! com>
Date:       2019-07-26 5:27:10
Message-ID: CA+QzjnO3aqH2KBC1QUnAQS15tPukO=qsg7_hos6Pg022D790bw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Tharindu,

+1
Sure will do that.

Thanks & Regards,
*Kathirgamasegaran Athiththan *| Software Engineer | WSO2 Inc.
(m) +94774922931 | (e) athiththan@wso2.com

<http://wso2.com/signature>


On Thu, Jul 25, 2019 at 4:47 PM Tharindu Bandara <tharindub@wso2.com> wrote:

> Hi Athiththan,
> 
> This is good! Can you please send a PR of this, to the is sample
> repository[1]?
> 
> [1] https://github.com/wso2-incubator/samples-is
> 
> Thanks,
> Tharindu.
> 
> On Thu, Jul 25, 2019 at 3:53 PM Athiththan Kathirgamasegaran <
> athiththan@wso2.com> wrote:
> 
> > Hi Tharindu/All,
> > 
> > Sorry for the delayed response.
> > 
> > You can clone or download the latest event-handler maven archetype from
> > here
> > <https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype/tree/v2.0.0> \
> > [1], which now supports generating boilerplates with or without
> > IdentityConnectorConfig. This can be achieved by using the
> > 
> > - -DIdentityConnectorConfig flag with either Y or N values
> > 
> > to specify the generation of boilerplate with or without connector
> > configurations.
> > 
> > Also, you can follow the provided README.md (in GitHub) file for more
> > instructions.
> > 
> > [1]:
> > https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype/tree/v2.0.0
> > 
> > Thanks & Regards,
> > *Kathirgamasegaran Athiththan *| Software Engineer | WSO2 Inc.
> > (m) +94774922931 | (e) athiththan@wso2.com
> > 
> > <http://wso2.com/signature>
> > 
> > 
> > On Mon, Jul 8, 2019 at 12:23 PM Tharindu Bandara <tharindub@wso2.com>
> > wrote:
> > 
> > > Hi Athiththan,
> > > 
> > > Thanks!
> > > 
> > > Can we also support the following capability?
> > > 
> > > - Generate the code with/without IdentityConnectorConfig support.
> > > 
> > > Thanks,
> > > Tharindu.
> > > 
> > > On Fri, Jul 5, 2019 at 8:27 AM Athiththan Kathirgamasegaran <
> > > athiththan@wso2.com> wrote:
> > > 
> > > > Hi Tharindu,
> > > > 
> > > > Thank you for your question and suggestion regarding maven archetype
> > > > and maven interactive mode.
> > > > 
> > > > You can skip the interactive-mode by appending the following
> > > > parameter-line with your archetype generation command.
> > > > *-DinteractiveMode=false*
> > > > 
> > > > Also, I will do update all relevant docs on how-to skip the
> > > > interactive-mode with related snippets.
> > > > 
> > > > Cheers!!!
> > > > Thanks & Regards,
> > > > *Kathirgamasegaran Athiththan *| Software Engineer | WSO2 Inc.
> > > > (m) +94774922931 | (e) athiththan@wso2.com
> > > > 
> > > > <http://wso2.com/signature>
> > > > 
> > > > 
> > > > On Thu, Jul 4, 2019 at 11:49 PM Tharindu Bandara <tharindub@wso2.com>
> > > > wrote:
> > > > 
> > > > > Hi Athiththan,
> > > > > 
> > > > > This looks great! I have a few questions also.
> > > > > 
> > > > > I tried to install the archetype[1] and then generate the code, but
> > > > > could not get passed through the interactive mode. I might have missed a
> > > > > step here.
> > > > > 
> > > > > Can you please update readme file with step by step guide, or a link
> > > > > to such guide, so we will be able to locally install the archetype and
> > > > > generate the code through the shell.
> > > > > 
> > > > > [1] https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype
> > > > > 
> > > > > Thanks,
> > > > > Tharindu.
> > > > > 
> > > > > On Thu, Jul 4, 2019 at 11:37 AM Athiththan Kathirgamasegaran <
> > > > > athiththan@wso2.com> wrote:
> > > > > 
> > > > > > Hi All,
> > > > > > 
> > > > > > WSO2 Identity Server (from 5.3.0 onwards) supports handling published
> > > > > > events via an integrated event framework. So, I have developed a custom
> > > > > > maven archetype to generate boilerplates to kickstart custom \
> > > > > > event-handler implementations. Check out the implementation below ...
> > > > > > 
> > > > > > - Event-Handlers:
> > > > > > https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype
> > > > > > 
> > > > > > Additionally
> > > > > > 
> > > > > > - Class Mediators:
> > > > > > https://github.com/athiththan11/WSO2-Mediators-Maven-Archetype
> > > > > > - Handler:
> > > > > > https://github.com/athiththan11/WSO2-Handler-Maven-Archetype
> > > > > > - Password Validator:
> > > > > > https://github.com/athiththan11/WSO2-Password-Validator-Maven-Archetype
> > > > > > 
> > > > > > Let me know your thoughts and suggestions.
> > > > > > 
> > > > > > Thanks & Regards,
> > > > > > *Kathirgamasegaran Athiththan *| Software Engineer | WSO2 Inc.
> > > > > > (m) +94774922931 | (e) athiththan@wso2.com
> > > > > > 
> > > > > > <http://wso2.com/signature>
> > > > > > 
> > > > > 
> > > > > 
> > > > > --
> > > > > *Tharindu Bandara*
> > > > > Software Engineer | WSO2
> > > > > 
> > > > > Email : tharindub@wso2.com
> > > > > Mobile : +94 714221776
> > > > > web : http://wso2.com
> > > > > <https://www.google.com/url?q=http://wso2.com&sa=D&ust=1517653383990000&usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg>
> > > > >  
> > > > > https://wso2.com/signature
> > > > > 
> > > > 
> > > 
> > > --
> > > *Tharindu Bandara*
> > > Software Engineer | WSO2
> > > 
> > > Email : tharindub@wso2.com
> > > Mobile : +94 714221776
> > > web : http://wso2.com
> > > <https://www.google.com/url?q=http://wso2.com&sa=D&ust=1517653383990000&usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg>
> > >  
> > > https://wso2.com/signature
> > > 
> > 
> 
> --
> *Tharindu Bandara*
> Software Engineer | WSO2
> 
> Email : tharindub@wso2.com
> Mobile : +94 714221776
> web : http://wso2.com
> <https://www.google.com/url?q=http://wso2.com&sa=D&ust=1517653383990000&usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg>
>  
> https://wso2.com/signature
> 


[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr">Hi Tharindu,</div><div dir="ltr"><br></div><div \
dir="ltr">+1<br></div><div>Sure will do that.</div><div dir="ltr"><br></div><div \
dir="ltr">Thanks &amp; Regards,<br clear="all"><div><div dir="ltr" \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><b>Kathirgamasegaran Athiththan </b>|  Software Engineer | WSO2 \
Inc.<div>(m) +94774922931 | (e)  <a href="mailto:athiththan@wso2.com" \
target="_blank">athiththan@wso2.com</a></div><div><br></div><div><a \
href="http://wso2.com/signature" target="_blank"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" width="420" \
height="74"></a><br></div></div></div></div></div></div><br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2019 at 4:47 PM \
Tharindu Bandara &lt;<a href="mailto:tharindub@wso2.com">tharindub@wso2.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi  \
Athiththan,<div><br></div><div>This is good! Can you please send a PR of this, to the \
is sample repository[1]?</div><div><br></div><div>[1]  <a \
href="https://github.com/wso2-incubator/samples-is" \
target="_blank">https://github.com/wso2-incubator/samples-is</a></div><div><br></div><div>Thanks,</div><div>Tharindu.</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2019 at 3:53 PM \
Athiththan Kathirgamasegaran &lt;<a href="mailto:athiththan@wso2.com" \
target="_blank">athiththan@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi \
Tharindu/All,</div><div dir="ltr"><br></div><div>Sorry for the delayed \
response.</div><div><br></div><div>You can clone or download the latest event-handler \
maven archetype from <a \
href="https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype/tree/v2.0.0" \
target="_blank">here</a>  [1], which now supports generating boilerplates with or \
without <span style="background-color:rgb(255,255,255)">IdentityConnectorConfig.  \
</span>This can be achieved by using the  \
</div><div><ul><li>-DIdentityConnectorConfig flag with either Y or N \
values</li></ul><div>to specify the generation of boilerplate with or without \
connector configurations.  <br></div></div><div><br></div><div>Also, you can follow \
the provided README.md (in GitHub) file for more instructions.<br></div><div \
dir="ltr"><br></div><div dir="ltr">[1]:  <a \
href="https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype/tree/v2.0.0" \
target="_blank">https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype/tree/v2.0.0</a></div><div \
dir="ltr"><br></div><div dir="ltr">Thanks &amp; Regards,<br clear="all"><div><div \
dir="ltr" class="gmail-m_462667924222219364gmail-m_-3324771558886263466gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><b>Kathirgamasegaran Athiththan </b>|  Software \
Engineer | WSO2 Inc.<div>(m) +94774922931 | (e)  <a href="mailto:athiththan@wso2.com" \
target="_blank">athiththan@wso2.com</a></div><div><br></div><div><a \
href="http://wso2.com/signature" target="_blank"><img width="420" \
height="74"></a><br></div></div></div></div></div></div><br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 8, 2019 at 12:23 PM \
Tharindu Bandara &lt;<a href="mailto:tharindub@wso2.com" \
target="_blank">tharindub@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi  \
Athiththan,<div><br></div><div>Thanks!  </div><div><br></div><div>Can we also support \
the following capability?</div><div><ul><li>Generate the code with/without \
IdentityConnectorConfig \
support.</li></ul><div>Thanks,</div><div>Tharindu.</div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 5, 2019 at 8:27 AM \
Athiththan Kathirgamasegaran &lt;<a href="mailto:athiththan@wso2.com" \
target="_blank">athiththan@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
Tharindu,<div><br></div><div>Thank you for your question and suggestion regarding \
maven archetype and maven interactive mode.</div><div><br></div><div>You can skip the \
interactive-mode by appending the following parameter-line with your archetype \
generation command.<br></div><div><b><i>-DinteractiveMode=false</i></b></div><div><br></div><div>Also, \
I will do update all relevant docs on how-to skip the interactive-mode with related \
snippets.</div><div><br></div><div>Cheers!!!</div><div>Thanks &amp; \
Regards,</div><div><div><div dir="ltr" \
class="gmail-m_462667924222219364gmail-m_-3324771558886263466gmail-m_-6146201461857267965gmail-m_5627995380154766379gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><b>Kathirgamasegaran Athiththan </b>|  Software \
Engineer | WSO2 Inc.<div>(m) +94774922931 | (e)  <a href="mailto:athiththan@wso2.com" \
target="_blank">athiththan@wso2.com</a></div><div><br></div><div><a \
href="http://wso2.com/signature" target="_blank"><img width="420" \
height="74"></a><br></div></div></div></div></div></div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 4, 2019 at 11:49 PM \
Tharindu Bandara &lt;<a href="mailto:tharindub@wso2.com" \
target="_blank">tharindub@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi  \
Athiththan,<div><br></div><div>This looks  great! I have a few questions \
also.</div><div><br></div><div>I tried to install the archetype[1] and then generate \
the code, but could not get passed through the interactive mode. I might have missed \
a step here.</div><div><br></div><div>Can you please update readme file with step by \
step guide, or a link to such guide, so we will be able to locally install the \
archetype and generate the code through the shell.    </div><div><br></div><div>[1]  \
<a href="https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype" \
target="_blank">https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype</a></div><div><br></div><div>Thanks,</div><div>Tharindu.</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 4, 2019 at 11:37 AM \
Athiththan Kathirgamasegaran &lt;<a href="mailto:athiththan@wso2.com" \
target="_blank">athiththan@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>WSO2 \
Identity Server (from 5.3.0 onwards) supports handling published events via an \
integrated event framework. So, I have developed a custom maven archetype to generate \
boilerplates to kickstart custom event-handler implementations. Check out the \
implementation below ...  </div><div><ul><li>Event-Handlers:  <a \
href="https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype" \
target="_blank">https://github.com/athiththan11/WSO2-Event-Handler-Maven-Archetype</a></li></ul><div>Additionally</div><div><ul><li>Class \
Mediators:  <a href="https://github.com/athiththan11/WSO2-Mediators-Maven-Archetype" \
target="_blank">https://github.com/athiththan11/WSO2-Mediators-Maven-Archetype</a></li><li>Handler: \
<a href="https://github.com/athiththan11/WSO2-Handler-Maven-Archetype" \
target="_blank">https://github.com/athiththan11/WSO2-Handler-Maven-Archetype</a></li><li>Password \
Validator:  <a href="https://github.com/athiththan11/WSO2-Password-Validator-Maven-Archetype" \
target="_blank">https://github.com/athiththan11/WSO2-Password-Validator-Maven-Archetype</a></li></ul></div><div>Let \
me know your thoughts and suggestions.</div></div><div><br></div><div>Thanks &amp; \
Regards,<br clear="all"><div><div dir="ltr" \
class="gmail-m_462667924222219364gmail-m_-3324771558886263466gmail-m_-6146201461857267 \
965gmail-m_5627995380154766379gmail-m_-7883023721941940946gmail-m_-5253084310357298526gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><b>Kathirgamasegaran Athiththan </b>|  Software \
Engineer | WSO2 Inc.<div>(m) +94774922931 | (e)  <a href="mailto:athiththan@wso2.com" \
target="_blank">athiththan@wso2.com</a></div><div><br></div><div><a \
href="http://wso2.com/signature" target="_blank"><img width="420" \
height="74"></a><br></div></div></div></div></div></div></div></div> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail-m_462667924222219364gmail-m_-3324771558886263466gmail-m_-6146201461857267965gmail-m_5627995380154766379gmail-m_-7883023721941940946gmail_signature"><div \
dir="ltr"><span style="text-align:left" dir="ltr"><b>Tharindu Bandara</b><br>Software \
Engineer | WSO2<br><br>Email : <a href="mailto:tharindub@wso2.com" \
target="_blank">tharindub@wso2.com</a> <br>Mobile : +94 714221776<br>web : <a \
rel="nofollow noreferrer" \
href="https://www.google.com/url?q=http://wso2.com&amp;sa=D&amp;ust=1517653383990000&amp;usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg" \
dir="ltr" target="_blank">http://wso2.com</a><br><br></span><a \
href="https://wso2.com/signature" \
target="_blank">https://wso2.com/signature</a><img><br></div></div> \
</blockquote></div> </blockquote></div><br clear="all"><div><br></div>-- <br><div \
dir="ltr" class="gmail-m_462667924222219364gmail-m_-3324771558886263466gmail-m_-6146201461857267965gmail_signature"><div \
dir="ltr"><span style="text-align:left" dir="ltr"><b>Tharindu Bandara</b><br>Software \
Engineer | WSO2<br><br>Email : <a href="mailto:tharindub@wso2.com" \
target="_blank">tharindub@wso2.com</a> <br>Mobile : +94 714221776<br>web : <a \
rel="nofollow noreferrer" \
href="https://www.google.com/url?q=http://wso2.com&amp;sa=D&amp;ust=1517653383990000&amp;usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg" \
dir="ltr" target="_blank">http://wso2.com</a><br><br></span><a \
href="https://wso2.com/signature" \
target="_blank">https://wso2.com/signature</a><img><br></div></div> \
</blockquote></div></div> </blockquote></div><br clear="all"><div><br></div>-- \
<br><div dir="ltr" class="gmail-m_462667924222219364gmail_signature"><div \
dir="ltr"><span style="text-align:left" dir="ltr"><b>Tharindu Bandara</b><br>Software \
Engineer | WSO2<br><br>Email : <a href="mailto:tharindub@wso2.com" \
target="_blank">tharindub@wso2.com</a> <br>Mobile : +94 714221776<br>web : <a \
rel="nofollow noreferrer" \
href="https://www.google.com/url?q=http://wso2.com&amp;sa=D&amp;ust=1517653383990000&amp;usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg" \
dir="ltr" target="_blank">http://wso2.com</a><br><br></span><a \
href="https://wso2.com/signature" \
target="_blank">https://wso2.com/signature</a><img><br></div></div> \
</blockquote></div></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic