catalog: add connection pool for the database
Change-Id: Ie014a5b11081908ea1cfdf30451ef44757d37c7e
diff --git a/catalog/src/main.cpp b/catalog/src/main.cpp
index 4bf1142..5525f24 100644
--- a/catalog/src/main.cpp
+++ b/catalog/src/main.cpp
@@ -78,9 +78,9 @@
std::shared_ptr<chronosync::Socket> syncSocket;
std::unique_ptr<atmos::util::CatalogAdapter>
- queryAdapter(new atmos::query::QueryAdapter<MYSQL>(face, keyChain, syncSocket));
+ queryAdapter(new atmos::query::QueryAdapter<ConnectionPool_T>(face, keyChain, syncSocket));
std::unique_ptr<atmos::util::CatalogAdapter>
- publishAdapter(new atmos::publish::PublishAdapter<MYSQL>(face, keyChain, syncSocket));
+ publishAdapter(new atmos::publish::PublishAdapter<ConnectionPool_T>(face, keyChain, syncSocket));
atmos::catalog::Catalog catalogInstance(face, keyChain, configFile);
catalogInstance.addAdapter(publishAdapter);