On Mon, Oct 24, 2016 at 5:41 PM, Sanjeewa Malalgoda <[email protected]> wrote:
> Hi Azeez, All, > When we are implementing APIs for API Management operations we need to run > APIs with different contexts. As examples /apis for publisher can be > different from store API. So far what we have done is adding base context > per each API. But that is not a part of API definition. Sometimes that > helped users to run their APIs with different contexts. > > If we take this base context to code level things will work. But its not a > clean solution IMO. So at the time we start service or some configuration > file should allow to add root context to API easily. Can we do something > like this? > In JAX-RS this can be done using @ApplicationPath annotation but we haven't supported this annotation in MSF4J, there is another thread[1] on same subject by Lakshan. [1] - [Dev] Setting the Application Base URI in msf4j Thanks ! > > Thanks, > sanjeewa. > > -- > > *Sanjeewa Malalgoda* > WSO2 Inc. > Mobile : +94713068779 > > <http://sanjeewamalalgoda.blogspot.com/>blog :http://sanjeewamalalgoda. > blogspot.com/ <http://sanjeewamalalgoda.blogspot.com/> > > > -- Sagara Gunathunga Associate Director / Architect; WSO2, Inc.; http://wso2.com V.P Apache Web Services; http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
