Hi, This is related to meta-data persistence. Meta-file for the proxy service should go into repository/deployment/server/servicemetafiles. There in the meta-file policy should be updated. And upon restart it it should apply the policy back to the service (proxy).
Proxy update scenario can be dependent the way its updated. If you delete the existing proxy and recreate it, then upon deletion meta-file will be deleted. But if the proxy is updated (via the ui), it should keep the existing policies. To investigate this you can look into the meta-file writing and update code usage in policy editor component and also the meta-file core api and implementations in core/org.wso2.carbon.core persistence package. thanks, thanks, On Wed, May 29, 2013 at 1:52 PM, Chanaka Fernando <[email protected]> wrote: > Hi, > > This is related to the following jira ticket. > > https://wso2.org/jira/browse/ESBJAVA-1485 > > Here what happens is that the policies we are changing from the policy > editor are not saved in the registry. When the proxy is redeployed, it > picks the policy from the registry and hence the saved values cannot be > restored from the proxy service. > > This can be easily reproducible and we need to fix this since this is a > valid requirement. Appreciate the help from anyone who is familiar with the > PolicyEditor code. > > > Thanks, > > -- > Chanaka Fernando > Technical Lead > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 773337238 > Blog : http://chanakaudaya.wordpress.com/ > > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - [email protected] <[email protected]> mobile - 071 56 91 321
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
