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 . > > If this gets invoked for all the messages coming in to API-GW, we need to make sure that the messages don't get build all the time. > *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 > > -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
