* fix issue #9783 * fix issue #9783 * add it test for v2 config. * fix ci problem. * fix ci problem. * fix ci problem. * fix history process NamespaceParameter * fix ci problem. * add some unit test * reformat code