+1 When I went through this last time, not only was it hard to understand the flows, but the XenServer version management was a pain. Would suggest creating a base class which always works (i.e. is independent of XenServer version) for core functions. Then add in that which exists for a specific version. Should help greatly with testing IMO.
-tim On Thu, May 19, 2016 at 2:37 PM, Syed Mushtaq <syed1.mush...@gmail.com> wrote: > Hi All, > > I would like to refactor CitrixResourceBase class which is responsible for > communicating with Xenserver. It has grown too long (>5K lines) and has > absolutely no testing. > > In my first pass I want to separate out the functionality buy the subsystem > it targets (compute, storage, network etc) and will go on from there. What > do you think? Is anyone working on this currently? > > Thanks, > -Syed >