2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-06 17:05:14 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Marcin Siodelski
d2082757db [#173,!154] Addressed review comments.
-reconnect-wait-time in unit tests in [ms]
-removed duplicated database_connection_unittest.cc
2018-12-10 10:36:45 -05:00
Tomek Mrugalski
e7d240e268 [#115,!48] exception throwing replaced with gentler error logs 2018-11-08 02:58:25 +07:00
Tomek Mrugalski
9c17656551 [#115,!48] The patch has been applied correctly to database_connection.cc|h 2018-11-08 02:37:19 +07:00
Thomas Markwalder
d06703a963 [#32,!23] Added ControlConfigInfo to lib/config
src/lib/config/config_ctl_info.*
    New files, implementing ConfigDbInfo and ConfigControlInfo
    classes use for housing configuration backend and control
    information

src/lib/config/Makefile.am
    Added config_ctl_info.h/cc
    Added libkea-database.la

src/lib/config/tests/config_ctl_info_unitests.cc
    New file which unit tests new classes

src/lib/database/database_connection.*
    DatabaseConnection::toElement(const ParameterMap& params) - new
    static function which turns a parameter map into Elements

    DatabaseConnection::toElementDbAccessString(const std::string& dbaccess)
    - new static function which turns an access string into Elements

src/lib/database/dbaccess_parser.*
    Replaced StringPairMap with DatabaseConnection::ParameterMap

src/lib/database/tests/database_connection_unittest.cc
    TEST(DatabaseConnection, toElementDbAccessStringValid)
    TEST(DatabaseConnection, toElementDbAccessStringInvalid)
    TEST(DatabaseConnection, toElementDbAccessStringEmpty) - new tests

src/lib/dhcpsrv/cfg_db_access.*
    CfgDbAccess::toElementDbAccessString() - moved to
    lib/database/database_connection.cc so it can be shared
2018-10-05 09:05:44 -04:00
Marcin Siodelski
7b2555aa66 [#92,!13] New libkea-database library created. 2018-09-03 03:31:33 -04:00