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

List:       wsf-c-dev
Subject:    Re: [Dev] HTTP Verb PATCH support for MSF4J
From:       Malintha Amarasinghe <malinthaa () wso2 ! com>
Date:       2018-08-23 6:40:39
Message-ID: CACA=-e670dJGvJ6b+0oNDpN4e6m==8fSC_ovQgPXSQVY+_a8jw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Thusitha,

Thank you very much for the info.

Hi Azeez,

I am afraid I can check this ATM as I am tied with support work. I will
check with someone with the team and ask to verify this.

Thanks!

On Wed, Aug 22, 2018 at 8:16 AM, Afkham Azeez <azeez@wso2.com> wrote:

> Malintha can you please look into that PR?
> 
> On Wed, Aug 22, 2018, 6:34 AM Thusitha Thilina Dayaratne <
> thusithathilina@gmail.com> wrote:
> 
> > Hi Malintha,
> > 
> > AFAIK this was not implemented.
> > It seems like there is an open PR relate to this. IMHO that can be merged
> > to get the PATCH support if the PR looks good.
> > 
> > [1] - https://github.com/wso2/msf4j/pull/546
> > 
> > On Wed, Aug 8, 2018 at 3:29 AM Malintha Amarasinghe <malinthaa@wso2.com>
> > wrote:
> > 
> > > Hi all,
> > > 
> > > Just wanted to check whether we were able to implement this? Looking at
> > > the code I guess we do not support PATCH in msf4j yet [1]. We have some
> > > requirements to implement partial update operations in SCIM2 API via msf4j:
> > > Eg: Adding a user to an existing group without updating the whole group at
> > > once [2]
> > > 
> > > [1] https://github.com/wso2/msf4j/blob/master/core/src/
> > > main/java/org/wso2/msf4j/internal/router/MicroserviceMetadata.java#
> > > L120-L127
> > > [2] https://tools.ietf.org/html/rfc7644#page-32
> > > 
> > > Thanks!
> > > Malintha
> > > 
> > > 
> > > On Mon, Feb 27, 2017 at 9:01 AM, Thusitha Thilina Dayaratne <
> > > thusithad@wso2.com> wrote:
> > > 
> > > > Created issue[1] to track this.
> > > > 
> > > > [1] - https://github.com/wso2/msf4j/issues/357
> > > > 
> > > > Thanks
> > > > Thusitha
> > > > 
> > > > On Mon, Feb 27, 2017 at 8:41 AM, Afkham Azeez <azeez@wso2.com> wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > On Mon, Feb 27, 2017 at 6:21 AM, Thusitha Thilina Dayaratne <
> > > > > thusithad@wso2.com> wrote:
> > > > > 
> > > > > > Hi Azeez,
> > > > > > 
> > > > > > Since we restructured swagger support as a separate dependency, if we
> > > > > > use swagger PATCH annotation then we have to bring swagger dependency \
> > > > > > again to the core. That will increase the minimum jar size. Therefore \
> > > > > > IMHO it would be better if we implement the PATCH annotation without \
> > > > > > depending on Swagger.
> > > > > > WDYT?
> > > > > > 
> > > > > 
> > > > > Yeah since it is a simple annotation we may add that to the msf4j core
> > > > > itself.
> > > > > 
> > > > > > 
> > > > > > Thanks
> > > > > > Thusitha
> > > > > > 
> > > > > > On Mon, Feb 27, 2017 at 12:00 AM, Gayan Gunawardana <gayan@wso2.com>
> > > > > > wrote:
> > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > On Sun, Feb 26, 2017 at 11:48 PM, Afkham Azeez <azeez@wso2.com>
> > > > > > > wrote:
> > > > > > > 
> > > > > > > > Someone suggested on SO to use the PATCH annotation from
> > > > > > > > io.swagger.jaxrs
> > > > > > > > 
> > > > > > > > That may be a good alternative since we already support Swagger.
> > > > > > > > 
> > > > > > > Thanks for the alternative so we can go with io.swagger.jaxrs.PATCH.
> > > > > > > 
> > > > > > > > 
> > > > > > > > On Sun, Feb 26, 2017 at 11:46 PM, Afkham Azeez <azeez@wso2.com>
> > > > > > > > wrote:
> > > > > > > > 
> > > > > > > > > We can add that annotation to MSF4J itself.
> > > > > > > > > 
> > > > > > > > > On Sun, Feb 26, 2017 at 11:28 PM, Gayan Gunawardana <
> > > > > > > > > gayan@wso2.com> wrote:
> > > > > > > > > 
> > > > > > > > > > Hi All,
> > > > > > > > > > 
> > > > > > > > > > Since javax.ws.rs does not provide http verb PATCH we have to
> > > > > > > > > > have custom Patch annotation as below.
> > > > > > > > > > 
> > > > > > > > > > @Target({ElementType.METHOD})@Retention(RetentionPolicy.RUNTIME)@HttpMethod("PATCH")public \
> > > > > > > > > > @interface PATCH {} 
> > > > > > > > > > Is it ok to have this annotation in component level or is there
> > > > > > > > > > any common place we can put this annotation ?
> > > > > > > > > > 
> > > > > > > > > > Alternatively we can use "X-HTTP-Method-Override" header too.
> > > > > > > > > > 
> > > > > > > > > > WDYT ?
> > > > > > > > > > 
> > > > > > > > > > Thanks,
> > > > > > > > > > Gayan
> > > > > > > > > > 
> > > > > > > > > > --
> > > > > > > > > > 
> > > > > > > > > > Gayan Gunawardana
> > > > > > > > > > Software Engineer; WSO2 Inc.; http://wso2.com/
> > > > > > > > > > Email: gayan@wso2.com
> > > > > > > > > > Mobile: +94 (71) 8020933
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > --
> > > > > > > > > *Afkham Azeez*
> > > > > > > > > Senior Director, Platform Architecture; WSO2, Inc.;
> > > > > > > > > http://wso2.com
> > > > > > > > > Member; Apache Software Foundation; http://www.apache.org/
> > > > > > > > > * <http://www.apache.org/>*
> > > > > > > > > *email: **azeez@wso2.com* <azeez@wso2.com>
> > > > > > > > > * cell: +94 77 3320919 <077%20332%200919>blog: *
> > > > > > > > > *http://blog.afkham.org* <http://blog.afkham.org>
> > > > > > > > > *twitter: **http://twitter.com/afkham_azeez*
> > > > > > > > > <http://twitter.com/afkham_azeez>
> > > > > > > > > *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> > > > > > > > > <http://lk.linkedin.com/in/afkhamazeez>*
> > > > > > > > > 
> > > > > > > > > *Lean . Enterprise . Middleware*
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > --
> > > > > > > > *Afkham Azeez*
> > > > > > > > Senior Director, Platform Architecture; WSO2, Inc.; http://wso2.com
> > > > > > > > Member; Apache Software Foundation; http://www.apache.org/
> > > > > > > > * <http://www.apache.org/>*
> > > > > > > > *email: **azeez@wso2.com* <azeez@wso2.com>
> > > > > > > > * cell: +94 77 3320919 <+94%2077%20332%200919>blog: *
> > > > > > > > *http://blog.afkham.org* <http://blog.afkham.org>
> > > > > > > > *twitter: **http://twitter.com/afkham_azeez*
> > > > > > > > <http://twitter.com/afkham_azeez>
> > > > > > > > *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> > > > > > > > <http://lk.linkedin.com/in/afkhamazeez>*
> > > > > > > > 
> > > > > > > > *Lean . Enterprise . Middleware*
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > --
> > > > > > > Gayan Gunawardana
> > > > > > > Software Engineer; WSO2 Inc.; http://wso2.com/
> > > > > > > Email: gayan@wso2.com
> > > > > > > Mobile: +94 (71) 8020933
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > --
> > > > > > Thusitha Dayaratne
> > > > > > Software Engineer
> > > > > > WSO2 Inc. - lean . enterprise . middleware |  wso2.com
> > > > > > 
> > > > > > Mobile  +94712756809 <071%20275%206809>
> > > > > > Blog      alokayasoya.blogspot.com
> > > > > > About    http://about.me/thusithathilina
> > > > > > <http://wso2.com/signature>
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > --
> > > > > *Afkham Azeez*
> > > > > Senior Director, Platform Architecture; WSO2, Inc.; http://wso2.com
> > > > > Member; Apache Software Foundation; http://www.apache.org/
> > > > > * <http://www.apache.org/>*
> > > > > *email: **azeez@wso2.com* <azeez@wso2.com>
> > > > > * cell: +94 77 3320919 <+94%2077%20332%200919>blog: *
> > > > > *http://blog.afkham.org* <http://blog.afkham.org>
> > > > > *twitter: **http://twitter.com/afkham_azeez*
> > > > > <http://twitter.com/afkham_azeez>
> > > > > *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> > > > > <http://lk.linkedin.com/in/afkhamazeez>*
> > > > > 
> > > > > *Lean . Enterprise . Middleware*
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > --
> > > > Thusitha Dayaratne
> > > > Software Engineer
> > > > WSO2 Inc. - lean . enterprise . middleware |  wso2.com
> > > > 
> > > > Mobile  +94712756809
> > > > Blog      alokayasoya.blogspot.com
> > > > About    http://about.me/thusithathilina
> > > > <http://wso2.com/signature>
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Dev mailing list
> > > > Dev@wso2.org
> > > > http://wso2.org/cgi-bin/mailman/listinfo/dev
> > > > 
> > > > 
> > > 
> > > 
> > > --
> > > Malintha Amarasinghe
> > > *WSO2, Inc. - lean | enterprise | middleware*
> > > http://wso2.com/
> > > 
> > > Mobile : +94 712383306
> > > _______________________________________________
> > > Dev mailing list
> > > Dev@wso2.org
> > > http://wso2.org/cgi-bin/mailman/listinfo/dev
> > > 
> > 
> > 
> > --
> > *Thusitha Thilina Dayaratne*
> > PhD Student - Cybersecurity Lab
> > Monash University
> > 
> > _______________________________________________
> > Dev mailing list
> > Dev@wso2.org
> > http://wso2.org/cgi-bin/mailman/listinfo/dev
> > 
> 


-- 
Malintha Amarasinghe
*WSO2, Inc. - lean | enterprise | middleware*
http://wso2.com/

Mobile : +94 712383306


[Attachment #5 (text/html)]

<div dir="ltr">Hi Thusitha,  <div><br></div><div>Thank you very much for the \
info.</div><div><br></div><div>Hi Azeez,</div><div><br></div><div>I am afraid I can \
check this ATM as I am tied with support work. I will check with someone with the \
team and ask to verify this.</div><div><br></div><div>Thanks!</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 22, 2018 at 8:16 AM, \
Afkham Azeez <span dir="ltr">&lt;<a href="mailto:azeez@wso2.com" \
target="_blank">azeez@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="auto">Malintha can you please look into that \
PR?</div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div \
dir="ltr">On Wed, Aug 22, 2018, 6:34 AM Thusitha Thilina Dayaratne &lt;<a \
href="mailto:thusithathilina@gmail.com" \
target="_blank">thusithathilina@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Hi \
Malintha,</div><div><br></div><div>AFAIK this was not implemented. <br></div><div>It \
seems like there is an open PR relate to this. IMHO that can be merged to get the \
PATCH support if the PR looks good.<br></div><div><br></div><div>[1] - <a \
href="https://github.com/wso2/msf4j/pull/546" rel="noreferrer" \
target="_blank">https://github.com/wso2/msf4j/<wbr>pull/546</a><br></div></div><br><div \
class="gmail_quote"><div dir="ltr">On Wed, Aug 8, 2018 at 3:29 AM Malintha \
Amarasinghe &lt;<a href="mailto:malinthaa@wso2.com" rel="noreferrer" \
target="_blank">malinthaa@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Just wanted to \
check whether we were able to implement this? Looking at the code I guess we do not \
support PATCH in msf4j yet [1]. We have some requirements to implement partial update \
operations in SCIM2 API via msf4j: Eg: Adding a user to an existing group without \
updating the whole group at once [2]</div><div><br></div><div>[1]  <a \
href="https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/router/MicroserviceMetadata.java#L120-L127" \
rel="noreferrer" target="_blank">https://github.com/wso2/<wbr>msf4j/blob/master/core/s \
rc/<wbr>main/java/org/wso2/msf4j/<wbr>internal/router/<wbr>MicroserviceMetadata.java#<wbr>L120-L127</a></div><div>[2] \
<a href="https://tools.ietf.org/html/rfc7644#page-32" rel="noreferrer" \
target="_blank">https://tools.ietf.org/<wbr>html/rfc7644#page-32</a></div><div><br></div><div>Thanks!</div><div>Malintha</div><div><br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 9:01 AM, \
Thusitha Thilina Dayaratne <span dir="ltr">&lt;<a href="mailto:thusithad@wso2.com" \
rel="noreferrer" target="_blank">thusithad@wso2.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr">Created issue[1] to track \
this.<div><br></div><div>[1] -  <a href="https://github.com/wso2/msf4j/issues/357" \
rel="noreferrer" target="_blank">https://github.com/wso2/<wbr>msf4j/issues/357</a></div><div><br></div><div>Thanks</div><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672HOEnZb"><font \
color="#888888"><div>Thusitha</div></font></span></div><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672HOEnZb"><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672h5"><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 8:41 AM, \
Afkham Azeez <span dir="ltr">&lt;<a href="mailto:azeez@wso2.com" rel="noreferrer" \
target="_blank">azeez@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div \
class="gmail_quote"><span>On Mon, Feb 27, 2017 at 6:21 AM, Thusitha Thilina Dayaratne \
<span dir="ltr">&lt;<a href="mailto:thusithad@wso2.com" rel="noreferrer" \
target="_blank">thusithad@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi Azeez,<div><br></div><div>Since we \
restructured swagger support as a separate dependency,  if we use swagger PATCH \
annotation then we have to bring swagger dependency again to the core. That will \
increase the minimum jar size. Therefore IMHO it would be better if we implement the  \
PATCH annotation without depending on \
Swagger.</div><div>WDYT?</div></div></blockquote><div><br></div></span><div>Yeah \
since it is a simple annotation we may add that to the msf4j core itself.  \
</div><div><div class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672m_-1219939042303510757h5"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div \
dir="ltr"><div><br></div><div>Thanks</div><div>Thusitha</div></div><div \
class="gmail_extra"><div><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672m_-1219939042303510757m_4049137376604917111h5"><br><div \
class="gmail_quote">On Mon, Feb 27, 2017 at 12:00 AM, Gayan Gunawardana <span \
dir="ltr">&lt;<a href="mailto:gayan@wso2.com" rel="noreferrer" \
target="_blank">gayan@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div \
class="gmail_quote"><span>On Sun, Feb 26, 2017 at 11:48 PM, Afkham Azeez <span \
dir="ltr">&lt;<a href="mailto:azeez@wso2.com" rel="noreferrer" \
target="_blank">azeez@wso2.com</a>&gt;</span> wrote:<br><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">Someone suggested on SO to use the \
PATCH annotation from  <span \
style="color:rgb(36,39,41);font-family:consolas,menlo,monaco,&quot;lucida \
console&quot;,&quot;liberation mono&quot;,&quot;dejavu sans \
mono&quot;,&quot;bitstream vera sans mono&quot;,&quot;courier \
new&quot;,monospace,sans-serif;font-size:13px;white-space:pre-wrap;background-color:rgb(239,240,241)">io.swagger.jaxrs</span><div><br></div><div>That \
may be a good alternative since we already support \
Swagger.</div></div></blockquote></span><div>Thanks for the alternative so we can go \
with io.swagger.jaxrs.PATCH.<br> </div><div><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863h5"><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail-HOEnZb"><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail-h5"><div \
class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 26, 2017 at 11:46 PM, \
Afkham Azeez <span dir="ltr">&lt;<a href="mailto:azeez@wso2.com" rel="noreferrer" \
target="_blank">azeez@wso2.com</a>&gt;</span> wrote:<br><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">We can add that annotation to MSF4J \
itself.</div><div class="gmail_extra"><div><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail-m_5011612177874656580h5"><br><div \
class="gmail_quote">On Sun, Feb 26, 2017 at 11:28 PM, Gayan Gunawardana <span \
dir="ltr">&lt;<a href="mailto:gayan@wso2.com" rel="noreferrer" \
target="_blank">gayan@wso2.com</a>&gt;</span> wrote:<br><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><div><div><div>Hi \
All,<br><br></div>Since <a href="http://javax.ws.rs" rel="noreferrer" \
target="_blank">javax.ws.rs</a> does not provide http verb PATCH we have to have \
custom Patch annotation as below. <br><pre \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-lang-java \
m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672 \
m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971 \
gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-prettyprint \
m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672 \
m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971 \
gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-prettyprinted"><code><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-lit">@Target</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">({</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-typ">ElementType</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">.</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln">METHOD</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">})</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln">
 </span><span class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m \
_-7332482622553823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m \
_-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-lit">@Retention</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">(</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-typ">RetentionPolicy</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">.</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln">RUN<wbr>TIME</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">)</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln">
 </span><span class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m \
_-7332482622553823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m \
_-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-lit">@HttpMethod</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">(</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-str">&quot;PATCH&quot;</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">)</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln">
 </span><span class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m \
_-7332482622553823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m \
_-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-kwd">public</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln"> \
</span><span class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_ \
-7332482622553823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_ \
-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-lit">@interface</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln"> \
PATCH </span><span class="m_7993521800006513227m_3671574271974669939m_-676063002064798 \
2563m_-7332482622553823672m_-1219939042303510757m_4049137376604917111m_635989741638785 \
8863m_-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">{</span><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-694330847743 \
5627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pln">
 </span><span class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m \
_-7332482622553823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m \
_-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902m_6079771772039282204gmail-pun">}</span></code></pre></div>Is \
it ok to have this annotation in component level or is there any common place we can \
put this annotation ?<br><br></div><div>Alternatively we can use \
&quot;X-HTTP-Method-Override&quot; header too. <br><br></div><div>WDYT \
?<br></div><div><br></div>Thanks,<br></div>Gayan<span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902HOEnZb"><font \

<font face="arial, sans-serif" color="#888888">Software Engineer; WSO2 Inc.; <a \
href="http://wso2.com/" rel="noreferrer" \
target="_blank">http://wso2.com/</a><br></font></div>


<div><font face="arial, sans-serif" color="#888888">Email: <font color="#888888"><a \
href="mailto:gayan@wso2.com" rel="noreferrer" target="_blank">gayan@wso2.com</a> \
<br></font></font></div><div><font face="arial, sans-serif" color="#888888">Mobile: \
<a value="+94719258281" rel="noreferrer">+94 (71) <font \
color="#888888">8020933</font><br></a></font></div><font color="#888888"><font \
face="arial, sans-serif"> </font></font></div> </div>
</div></div>
</div></div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail-m_5011612177874656580HOEnZb"><font \
color="#888888">-- <br><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail-m_5011612177874656580m_-117395355076485902gmail_signature"><div \
dir="ltr"><div><b>Afkham Azeez</b><br><font face="verdana, sans-serif"><span \
style="font-size:x-small"><span style="font-family:arial;font-size:small"><font \
face="verdana, sans-serif"><span style="font-size:x-small">Senior Director, Platform \
Architecture</span></font>;  <span style="font-size:x-small">WSO2, Inc.;  </span><a \
href="http://wso2.com/" rel="noreferrer" target="_blank"><span \
style="font-size:x-small">http://wso2.com</span></a></span></span></font><span \
style="font-size:x-small"><br><span style="font-size:small"><span \
style="font-size:x-small">Member; Apache Software Foundation; </span><span \
style="font-size:x-small"><a href="http://www.apache.org/" rel="noreferrer" \
target="_blank">http://www.apache.org/</a></span></span><br></span><div><i><span \
style="font-size:x-small"><a href="http://www.apache.org/" rel="noreferrer" \
target="_blank"></a></span></i><i><span style="font-size:x-small"><br>email: \
</span></i><a href="mailto:azeez@wso2.com" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">azeez@wso2.com</span></i></a><i><span \
style="font-size:x-small"> cell: <a href="tel:077%20332%200919" value="+94773320919" \
rel="noreferrer" target="_blank">+94 77 3320919</a><br>blog: </span></i><a \
href="http://blog.afkham.org" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">http://blog.afkham.org</span></i></a><i><span \
style="font-size:x-small"><br>twitter: </span></i><a \
href="http://twitter.com/afkham_azeez" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">http://twitter.com/afkham_<wbr>azeez</span></i></a><i><span \
style="font-size:x-small"><br>linked-in: </span></i><i><span \
style="font-size:x-small"><a href="http://lk.linkedin.com/in/afkhamazeez" \
rel="noreferrer" target="_blank">http://lk.linkedin.com/in/<wbr>afkhamazeez</a></span></i><br><div></div><div><i><br></i></div><div><i><span \
style="font-style:normal"><span style="font-size:x-small">Lean . Enterprise . \
Middleware</span></span></i></div></div></div></div></div> </font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail-m_5011612177874656580gmail_signature"><div \
dir="ltr"><div><b>Afkham Azeez</b><br><font face="verdana, sans-serif"><span \
style="font-size:x-small"><span style="font-family:arial;font-size:small"><font \
face="verdana, sans-serif"><span style="font-size:x-small">Senior Director, Platform \
Architecture</span></font>;  <span style="font-size:x-small">WSO2, Inc.;  </span><a \
href="http://wso2.com/" rel="noreferrer" target="_blank"><span \
style="font-size:x-small">http://wso2.com</span></a></span></span></font><span \
style="font-size:x-small"><br><span style="font-size:small"><span \
style="font-size:x-small">Member; Apache Software Foundation; </span><span \
style="font-size:x-small"><a href="http://www.apache.org/" rel="noreferrer" \
target="_blank">http://www.apache.org/</a></span></span><br></span><div><i><span \
style="font-size:x-small"><a href="http://www.apache.org/" rel="noreferrer" \
target="_blank"></a></span></i><i><span style="font-size:x-small"><br>email: \
</span></i><a href="mailto:azeez@wso2.com" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">azeez@wso2.com</span></i></a><i><span \
style="font-size:x-small"> cell: <a href="tel:+94%2077%20332%200919" \
value="+94773320919" rel="noreferrer" target="_blank">+94 77 3320919</a><br>blog: \
</span></i><a href="http://blog.afkham.org" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">http://blog.afkham.org</span></i></a><i><span \
style="font-size:x-small"><br>twitter: </span></i><a \
href="http://twitter.com/afkham_azeez" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">http://twitter.com/afkham_<wbr>azeez</span></i></a><i><span \
style="font-size:x-small"><br>linked-in: </span></i><i><span \
style="font-size:x-small"><a href="http://lk.linkedin.com/in/afkhamazeez" \
rel="noreferrer" target="_blank">http://lk.linkedin.com/in/<wbr>afkhamazeez</a></span></i><br><div></div><div><i><br></i></div><div><i><span \
style="font-style:normal"><span style="font-size:x-small">Lean . Enterprise . \
Middleware</span></span></i></div></div></div></div></div> </div>
</div></div></blockquote></div></div></div><div><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863h5"><br><br \
clear="all"><br>-- <br><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863m_-6943308477435627971gmail_signature"><div \
dir="ltr"><div><div><font face="arial, sans-serif" color="#888888">Gayan \
Gunawardana<br></font><div>

<font face="arial, sans-serif" color="#888888">Software Engineer; WSO2 Inc.; <a \
href="http://wso2.com/" rel="noreferrer" \
target="_blank">http://wso2.com/</a><br></font></div>


<div><font face="arial, sans-serif" color="#888888">Email: <font color="#888888"><a \
href="mailto:gayan@wso2.com" rel="noreferrer" target="_blank">gayan@wso2.com</a> \
<br></font></font></div><div><font face="arial, sans-serif" color="#888888">Mobile: \
<a value="+94719258281" rel="noreferrer">+94 (71) <font \
color="#888888">8020933</font><br></a></font></div><font color="#888888"><font \
face="arial, sans-serif"> </font></font></div> </div>
</div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672m_-1219939042303510757m_4049137376604917111HOEnZb"><font \
color="#888888">-- <br><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-733248262255 \
3823672m_-1219939042303510757m_4049137376604917111m_6359897416387858863gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
style="font-size:12.8000001907349px"><div><font color="#444444">Thusitha \
Dayaratne</font></div><div><span \
style="color:rgb(153,153,153);font-size:12.8000001907349px">Software \
Engineer</span></div><div><span \
style="font-size:12.8000001907349px;color:rgb(136,136,136)">WSO2 Inc. - lean . \
enterprise . middleware |    </span><a href="http://wso2.com/" \
style="font-size:12.8000001907349px;color:rgb(17,85,204)" rel="noreferrer" \
target="_blank">wso2.com</a><br></div><div><span \
style="color:rgb(153,153,153);font-size:12.8000001907349px"><br></span></div><div><span \
style="color:rgb(153,153,153);font-size:12.8000001907349px">Mobile   <a \
href="tel:071%20275%206809" value="+94712756809" rel="noreferrer" \
target="_blank">+94712756809</a></span><br></div></div><div><font color="#999999" \
style="font-size:12.8000001907349px">Blog         </font><font color="#999999"><a \
href="http://alokayasoya.blogspot.com" rel="noreferrer" \
target="_blank">alokayasoya.blogspot.com</a></font></div><div><font \
color="#999999">About </font>     <a href="http://about.me/thusithathilina" \
rel="noreferrer" target="_blank">http://about.me/<wbr>thusithathilina</a></div><div><a \
href="http://wso2.com/signature" rel="noreferrer" target="_blank"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" width="420" \
height="96"></a><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div>
 </font></span></div>
</blockquote></div></div></div><div><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672m_-1219939042303510757h5"><br><br \
clear="all"><div><br></div>-- <br><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672m_-1219939042303510757m_4049137376604917111gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><b>Afkham Azeez</b><br><font \
face="verdana, sans-serif"><span style="font-size:x-small"><span \
style="font-family:arial;font-size:small"><font face="verdana, sans-serif"><span \
style="font-size:x-small">Senior Director, Platform Architecture</span></font>;  \
<span style="font-size:x-small">WSO2, Inc.;  </span><a href="http://wso2.com/" \
rel="noreferrer" target="_blank"><span \
style="font-size:x-small">http://wso2.com</span></a></span></span></font><span \
style="font-size:x-small"><br><span style="font-size:small"><span \
style="font-size:x-small">Member; Apache Software Foundation; </span><span \
style="font-size:x-small"><a href="http://www.apache.org/" rel="noreferrer" \
target="_blank">http://www.apache.org/</a></span></span><br></span><div><i><span \
style="font-size:x-small"><a href="http://www.apache.org/" rel="noreferrer" \
target="_blank"></a></span></i><i><span style="font-size:x-small"><br>email: \
</span></i><a href="mailto:azeez@wso2.com" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">azeez@wso2.com</span></i></a><i><span \
style="font-size:x-small"> cell: <a href="tel:+94%2077%20332%200919" \
value="+94773320919" rel="noreferrer" target="_blank">+94 77 3320919</a><br>blog: \
</span></i><a href="http://blog.afkham.org" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">http://blog.afkham.org</span></i></a><i><span \
style="font-size:x-small"><br>twitter: </span></i><a \
href="http://twitter.com/afkham_azeez" rel="noreferrer" target="_blank"><i><span \
style="font-size:x-small">http://twitter.com/afkham_<wbr>azeez</span></i></a><i><span \
style="font-size:x-small"><br>linked-in: </span></i><i><span \
style="font-size:x-small"><a href="http://lk.linkedin.com/in/afkhamazeez" \
rel="noreferrer" target="_blank">http://lk.linkedin.com/in/<wbr>afkhamazeez</a></span></i><br><div></div><div><i><br></i></div><div><i><span \
style="font-style:normal"><span style="font-size:x-small">Lean . Enterprise . \
Middleware</span></span></i></div></div></div></div></div> </div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672m_-1219939042303510757gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
style="font-size:12.8000001907349px"><div><font color="#444444">Thusitha \
Dayaratne</font></div><div><span \
style="color:rgb(153,153,153);font-size:12.8000001907349px">Software \
Engineer</span></div><div><span \
style="font-size:12.8000001907349px;color:rgb(136,136,136)">WSO2 Inc. - lean . \
enterprise . middleware |    </span><a href="http://wso2.com/" \
style="font-size:12.8000001907349px;color:rgb(17,85,204)" rel="noreferrer" \
target="_blank">wso2.com</a><br></div><div><span \
style="color:rgb(153,153,153);font-size:12.8000001907349px"><br></span></div><div><span \
style="color:rgb(153,153,153);font-size:12.8000001907349px">Mobile   \
+94712756809</span><br></div></div><div><font color="#999999" \
style="font-size:12.8000001907349px">Blog         </font><font color="#999999"><a \
href="http://alokayasoya.blogspot.com" rel="noreferrer" \
target="_blank">alokayasoya.blogspot.com</a></font></div><div><font \
color="#999999">About </font>     <a href="http://about.me/thusithathilina" \
rel="noreferrer" target="_blank">http://about.me/<wbr>thusithathilina</a></div><div><a \
href="http://wso2.com/signature" rel="noreferrer" target="_blank"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" width="420" \
height="96"></a><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div>
 </div>
</div></div><br>______________________________<wbr>_________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" rel="noreferrer" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer noreferrer" \
target="_blank">http://wso2.org/cgi-bin/<wbr>mailman/listinfo/dev</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="m_7993521800006513227m_3671574271974669939m_-6760630020647982563m_-7332482622553823672gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Malintha \
Amarasinghe</div><div><i>WSO2, Inc. - lean | enterprise | middleware</i></div><div><a \
href="http://wso2.com/" style="color:rgb(17,85,204);font-size:12.8000001907349px" \
rel="noreferrer" target="_blank">http://wso2.com/</a><br></div><div><br></div><div>Mobile \
: +94 712383306</div></div></div></div></div> </div></div>
______________________________<wbr>_________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" rel="noreferrer" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer noreferrer" \
target="_blank">http://wso2.org/cgi-bin/<wbr>mailman/listinfo/dev</a><br> \
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" \
class="m_7993521800006513227m_3671574271974669939gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><b>Thusitha Thilina \
Dayaratne</b><br></div><div><span>PhD Student - Cybersecurity \
Lab<br></span></div><div><span>Monash \
University<br></span></div><div><br></div></div></div></div></div></div></div></div></div></div></div>
 ______________________________<wbr>_________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" rel="noreferrer" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer noreferrer" \
target="_blank">http://wso2.org/cgi-bin/<wbr>mailman/listinfo/dev</a><br> \
</blockquote></div> </div></div></blockquote></div><br><br \
clear="all"><div><br></div>-- <br><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Malintha \
Amarasinghe</div><div><i>WSO2, Inc. - lean | enterprise | middleware</i></div><div><a \
href="http://wso2.com/" style="color:rgb(17,85,204);font-size:12.8000001907349px" \
target="_blank">http://wso2.com/</a><br></div><div><br></div><div>Mobile : +94 \
712383306</div></div></div></div></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