Nuwan Dias created SYNAPSE-919:
----------------------------------
Summary: REST_URL_POSTFIX ignored when accessing API with the
OPTIONS method
Key: SYNAPSE-919
URL: https://issues.apache.org/jira/browse/SYNAPSE-919
Project: Synapse
Issue Type: Bug
Reporter: Nuwan Dias
Consider the following API configuration.
<api xmlns="http://ws.apache.org/ns/synapse" name="TwitterAPI"
context="/twitter" version="1.0.0" version-type="url">
<resource methods="POST GET OPTIONS DELETE PUT" url-mapping="/*">
<inSequence>
<send>
<endpoint name="Twitter_EP">
<address uri="http://twitter.com/search"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<send/>
</outSequence>
</resource>
</api>
When this API is accessed as http://localhost:8280/twitter/1.0.0/a/b/c, the
a/b/c string should be considered as the REST_URL_POSTFIX and appended to the
endpoint url as its suffix. However, this currently does not happen and the url
suffix is ignored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]