Hi All,
In IoTS, We have exposed all the APIs through the API manager. In a
particular API, we have 2 API resources
1) POST /* with a scope X1
2) POST /{type}/operations with a scope X2.
When we invoke the second resource, API call ends up going to the first one
in the synapse layer. However after synapse forwards it to the backend, it
ends up to the correct resource in the Jax-rs.
The issue we are facing in here is that during scope validation it picks up
the wrong resource.
So this made me wondered why is the mapping is correctly evaluated in the
tomcat but not in the synapse layer. Do we have a bug here? or was it an
architecture decision to go with the first matching resource.
Are there any solutions to pick the best possible matching resource in the
synapse layer?
Thanks
*Ayyoob Hamza*
*Senior Software Engineer*
WSO2 Inc.; http://wso2.com
email: [email protected] cell: +94 77 1681010 <%2B94%2077%207779495>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev