Hi Sajith, PCA executes life cycle state events at the startup and it also wait until member initiatlized event to start its process. Therefore I do not think we can apply patches to PCA and restart.
Can you please explain the patching process you are proposing? Thanks On Wed, Nov 11, 2015 at 6:07 PM, Sajith Kariyawasam <saj...@wso2.com> wrote: > Hi Devs, > > At the moment Python Cartridge Agent (PCA) doesn't have a convenient way > of applying patches. > If there is an issue identified and fixed, in order to apply the fix to a > running system that particular file(s) has to be replaced in the running > system, > and there is no easy way to revert the patch is there is any issue found > later. > Also, there is no way of tracking the list of patches applied. > > I would like to suggest to implement a patching model for PCA, similar to > that we have in Stratos core, which is based on carbon [1] > WDYT ? > > [1] https://docs.wso2.com/display/Carbon420/WSO2+Patch+Application+Process > > Thanks, > Sajith > > -- > Sajith Kariyawasam > *Committer and PMC member, Apache Stratos, * > *WSO2 Inc.; http://wso2.com <http://wso2.com>* > *Mobile: 0772269575 <0772269575>* > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos