What would happen to old sequence? should we delete it or let both to be around?
Using a name pattern can work, but is it a bad thing if we explicitly tell what to run? --Srinath On Wed, Jul 31, 2013 at 1:20 PM, Vijayaratha Vijayasingam <[email protected]>wrote: > Hi all; > > *Our requirement* > > Allow users to create their own sequences and make them available in the > API configuration. A developer creates the necessary sequences to say log, > audit requests, may be add authorization via XACML , whatever is needed and > pushes those with a description to the API publisher repository. When a > publisher comes in (@ publisher UI) and publishes in API, the list of > sequences is visible and he can pick one from the lists. > > *Existing feature* > > Currently we have a mediation extension point(it is a synapse rest > handler) where, it picks the existing sequences (which are deployed > following a naming convention) and whenever a request comes in to the API, > handler checks whether a custom sequence available for that particular API > and if it is available it executes that custom sequence . > > *Implementation* > * > * > We could use Devstudio to develop the custom sequences and deploy them in > APIManager. From the publisher UI, we could provide a UI option to select > the existing sequences. > Once selected, we could change the sequence name to follow the naming > convention(needed for handler) and store them in the registry (should we > store at local registry(file sytem)/user registry?) > Handler can take care of the execution part(it is already implemented) > > Please provide suggestions.... > > Thanks. > -- > -Ratha > mobile: (+94)755906608 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- ============================ Srinath Perera, Ph.D. http://people.apache.org/~hemapani/ http://srinathsview.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
