Hi Gayeshan, On Thu, Dec 18, 2014 at 6:23 PM, Gayashan Amarasinghe <[email protected]> wrote: > > Hi all, > > I have a set of data services deployed in DSS which are exposed as > RESTfull services. For each of these services there's a specific policy > stored in the governance registry. (service knows this policy path from a > parameter in the services xml file) > > I have requirement to register some sort of a listener/observer to this > policy resource in the registry so that once the policy is updated in the > registry it can redeploy the service. Is it possible to achieve this using > the existing extension points of registry? > Yes, You need to write a registry handler. Please refer [1] and [2] for more information.
[1] https://docs.wso2.com/display/Governance460/Handlers [2] https://docs.wso2.com/display/Governance460/Handler+Architecture Thanks, Janaka > > Thanks. > /Gayashan > > -- > *Gayashan Amarasinghe* > Software Engineer | Platform TG > WSO2, Inc. | http://wso2.com > lean. enterprise. middleware > > Mobile : +94718314517 > Blog : gayashan-a.blogspot.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Janaka Ranabahu* Senior Software Engineer; WSO2 Inc.; http://wso2.com *E-mail: [email protected] <http://wso2.com>**M: **+94 718370861* Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
