this way we can avoid having a situtation that it's NULL.
#include <auth/query.h>
#include <auth/statistics.h>
#include <auth/auth_log.h>
+#include <auth/datasrc_clients_mgr.h>
#include <boost/bind.hpp>
#include <boost/lexical_cast.hpp>
bool validateStatistics(isc::data::ConstElementPtr data) const;
auth::Query query_;
+
+ auth::DataSrcClientsMgr datasrc_clients_mgr_;
};
AuthSrvImpl::AuthSrvImpl(AbstractXfroutClient& xfrout_client,
isc::server_common::initKeyring(*config_session);
auth_server->setTSIGKeyRing(&isc::server_common::keyring);
- // Instantiate the data source clients manager. At the moment
- // just so we actually create it in system tests.
- DataSrcClientsMgr datasrc_clients_mgr;
-
// Start the data source configuration. We pass first_time and
// config_session for the hack described in datasrcConfigHandler.
bool first_time = true;