synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irange Thenuwara (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SYNAPSE-1000) findResource method doesn't count http method of the resource
Date Mon, 16 May 2016 09:40:12 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Irange Thenuwara closed SYNAPSE-1000.
-------------------------------------
    Resolution: Duplicate

same issue in SYNAPSE-1001, please continue SYNAPSE-1001

> findResource method doesn't count http method of the resource
> -------------------------------------------------------------
>
>                 Key: SYNAPSE-1000
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1000
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 2.1
>            Reporter: Irange Thenuwara
>            Assignee: Hiranya Jayathilaka
>
> Hi,
> We have two resources in same API and a sample is as follows,
> {noformat}
> <resource methods="PATCH GET DELETE PUT"
>              url-mapping="/*"
>              faultSequence="fault">
>  .
>  .
>    </resource>
>    <resource methods="POST"
>              url-mapping="/*"
>              faultSequence="fault">
>    .
>    .
>    <handlers>
> {noformat}
> In this two resources we have to url-templates.
> When we try to invoke second resource, findResource() method loose the second resource.

> I checked the "URLMappingBasedDispatcher.java" in synapse and this occures due to http-method
is not count inside this method. 
> Since many tools allow this kind of api formats I think its better we fix this?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message