Should we consider the same for proxies too? Paul
On Thu, Feb 23, 2012 at 8:38 AM, Udayanga Wickramasinghe <[email protected]>wrote: > Hi, > > On Wed, Feb 22, 2012 at 6:47 PM, Udayanga Wickramasinghe < > [email protected]> wrote: > >> Hi, >> I think it would be great to have versioning capability for ESB API >> resources.. >> For example following could be the draft schemas of API's that can be >> deployed as resources of the same version... >> >> <api name="AccountManagementAPI" *version*=*"1.0.0"* *version-type="url >> | header | query-param | .." *context="/am"> >> <resource uri-template="/account/{accountId}" methods="GET" >> inSequence="..." outSequence="..."/> >> <resource uri-template="/account/{accountId}" methods="PUT" >> inSequence="...." outSequence="..." /> >> ................... >> .............. >> ..... >> </api> >> >> We need to (optionally) include a *version-param* attribute as well > (ie:- which can be used to extract the actual version)..Sorry i missed it > earlier...Modified schema is the following.. > > <api name="AccountManagementAPI" *version*=*"1.0.0"* *version-type="url | > header | query-param | .." **version-param="regex | string"** *context="/am"> > > ........... > ...... > </api> > > Regards, > udayanga > > -- > *Udayanga Wickramasinghe* > Software Engineer; WSO2 Inc.; http://wso2.com, > *email: **[email protected]* <[email protected]>* cell: +94 (77) 983-4365 > blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com/> > * > twitter: **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick> > * > * > -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [email protected] "Oxygenating the Web Service Platform", www.wso2.com
