|
I have attached a rebased and slightly modified patch that handles a couple test issues as well as some rpm packaging issues. However, there is a problem with a file (neoconf/etc/mrtg.cfg) being left after the tests run. This file does not exist in the src dir, but after running ant precommit (actually, neoconf/ant test-integation) it is left over. I was able to eliminate the file by changing the path for the mrtg.cfg file in TestUtil.java to point to outputDirectory rather than etc directory, but this breaks StatisticsPageTestUi
I've found the issue that was causing the unit tests to fail when the TestUtil.java sysProps Properties were changed. Only the mrtgConfig.filename needs to be changed from the etcDirectory -> ouputDirectory as the Template mrtg-t.cfg file is read and not written.
I've added an incremental patch which has the TestUtil.java line change included. http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=14187
XCF-2810 Add support for MRTG as a sipx service in sipxconfig. Default values are set and config file is replicated The task has been completed verified on 3.11.9-014285 build, the sipXmrtg service is added to the servers page with status as running.
The sipxproc also show the sipXmrtg service as running. [root@jupiter ~]# sipxproc "sipXmrtg"=>"Running", Therefore the issue can be closed. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
XCF-2810, XCF-2960 and XCF-3012