2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

1340 Commits

Author SHA1 Message Date
Razvan Becheriu
2d95d555ba fixed build sysrepo 2019-05-16 18:12:40 +03:00
Razvan Becheriu
c007fd5dc7 fixed typo 2019-04-19 03:55:02 -04:00
Razvan Becheriu
051f0d05f0 force enable gtest with benchmarks 2019-04-19 03:55:02 -04:00
Francis Dupont
8a7fa461fe [520-fix_benchmarks] Updated configure.ac and benchmarks Makefile.am 2019-04-19 03:55:02 -04:00
Thomas Markwalder
7f8c4fc535 [master] Postgresql unit tests now support wipe-data only
Merge branch '531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism'
2019-03-20 15:09:54 -04:00
Francis Dupont
cffeb42460 [474-optionally-disable-collection-host-lookups] Removed srandomdev 2019-03-20 08:20:36 -04:00
Thomas Markwalder
d88c013de4 [#531,!279] PgSQL unit testing now supports data wipe
src/share/database/scripts/pgsql
    wipe_data.sh.in - new file

doc/devel/unit-tests.dox
    Removed MySQL/CQL only comment

several files:
    Added commentary and removed superflous calls to destroyPgSQLSchema

src/lib/pgsql/testutils/pgsql_schema.*
    destroyPgSQLSchema()
    createPgSQLSchema() - modified to support data wiping
    wipePgSQLData() - new function

src/lib/pgsql/tests
    pgsql_schema.cc
	pgsql_schema.h - deleted these. They appear to have
    been added by mistake.
2019-03-13 10:44:17 -04:00
Tomek Mrugalski
499b7c3645 [#441,!233] Cosmetic change in config.report 2019-03-13 08:37:54 -04:00
Francis Dupont
f6611731de [441-make-distcheck-fails-on-fedora-29-automake-1-16] Some updates 2019-03-13 08:37:54 -04:00
Francis Dupont
c5ecc2be01 [441-make-distcheck-fails-on-fedora-29-automake-1-16] Second attempt to fix automake 1.16 issue; distribute generated file 2019-03-13 08:37:54 -04:00
Thomas Markwalder
7e81d7bea2 [master] MySQL and CQL unit tests now wipe data only by default
Merge branch '526-improve-mysql-unit-test-time'
2019-03-12 15:22:57 -04:00
Thomas Markwalder
878ce0b44f [#526,!269] Added env var control and CQL symmetry
Data wiping is on by default, for both MySQL and CQL
(not yet implemented for Postgresql) and but can be
overridden by KEA_TEST_DB_WIPE_DATA_ONLY.

src/lib/mysql/testutils/mysql_schema.*
    destroyMySQLSchema()
    createMySQLSchema() - added check of softWipeEnabled() to
    see if env var has turned it OFF.

Changed CQL to work the same way as MySQL:

src/share/database/scripts/cql
    wipe_data.sh.in - new file, replaces soft_wipe.cql

src/lib/cql/testutils/cql_schema.*
    destroyCqlSchema() - now destroys the schema
    if data wipe fails or is disabled

    createCqlSchema() - now drops/creates the schema
    if data wipe fails or is disabled.

    runCqlScript(() - added request-timeout to prevent
    timeout errors in slow environments

    wipeCqlData(bool show_err) - new function that
    attempts to run the wipe shell script

src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc
    Removed now superflous destroyCqlSchema calls
2019-03-12 10:47:57 -04:00
Francis Dupont
93cd62c99f [498-pkg-config-usage-in-kea-libs-is-wrong] Got rid of dns++.pc 2019-03-11 11:11:24 -04:00
Francis Dupont
765d73d6be [486-no-longer-use-bison-is-yacc-emulation-mode] Changed from AC_PROG_YACC 2019-03-11 08:48:40 -04:00
Francis Dupont
cb3e2d5010 [486-no-longer-use-bison-is-yacc-emulation-mode] Improved LEX check 2019-03-11 08:48:40 -04:00
Thomas Markwalder
6af5e78ec8 [#526,!269] - MySQL unit tests now wipe data, instead of schema
src/share/database/scripts/mysql/wipe_data.sh.in -
    New shell script which intelligently deletes data from
    the schema IF the schema version matches the expected version

src/lib/mysql/testutils/mysql_schema.*
    destroyMySQLSchema() - modfied to default to calling
    wipeData(), and only destroying the schema if that fails
    or by force flag = true;

    createMySQLSchema() - modified to default to calling
    wipeData(), and only recreating the schema if that
    fails or by force flag = true;

    wipeData() - new method which runs the
    MySQL wipe_data.sh shell script, passing in the expected
    schema version.

src/share/database/scripts/mysql/dhcpdb_create.mysql
    createAuditRevisionDHCP4()
    createAuditEntryDHCP4()
    createAuditRevisionDHCP6()
    createAuditEntryDHCP6() - added session variable,
    @disable_audit, to allow procedures to be "turned
    off" during data wiping.

src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_mgr_unittest.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
src/lib/dhcpsrv/tests/cfg_db_access_unittest.cc
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
    Removed calls to destroy schema from test constructors
2019-03-08 12:09:14 -05:00
Tomek Mrugalski
9fcf8befe6 [#161,!240] Proper libdir is now printed. 2019-02-20 22:35:26 -05:00
Francis Dupont
e319fb421e [161-move-hooks-subdirectory-under-kea-own-directory] Added mysql_cb and fixed configure.ac 2019-02-20 22:35:26 -05:00
Adam Osuchowski
6a17e1b1a4 hooksdir moved from $(libdir)/hooks to $(libdir)/kea/hooks 2019-02-20 22:35:26 -05:00
Wlodek Wencel
fb0da96375 [master] typo fixed in enable perfdhcp 2019-02-08 19:20:33 +01:00
Francis Dupont
ef559d3c38 [354-compilation-with-mysql-fails-on-fedora-29] Added HAVE_MYSQL_MY_BOOL 2019-02-07 17:02:22 -05:00
Francis Dupont
6ed6d024ca [340-make-perfdhcp-build-optional] typo 2019-02-05 17:19:03 -05:00
Francis Dupont
8ee2c24be1 [340-make-perfdhcp-build-optional] Made perfdhcp optional (default=no) 2019-02-05 17:19:03 -05:00
Francis Dupont
ec3e03eb06 [117-configure-script-doesn-t-fail-when-enable-generate-docs-is-used-and-docbook-style-xsl-is-not-installed] Made --nonet in xsltproc optional 2019-02-04 10:57:57 -05:00
Marcin Siodelski
39c84ebcce [#396,!205] Added MySQL upgrade script from 7.0 to 8.0. 2019-01-30 10:18:59 +01:00
Marcin Siodelski
14e2d24b1e [#396,!205] Enable building mysql_cb hooks library. 2019-01-30 10:18:59 +01:00
Michal Nowikowski
f7b2296712 improved error trace in case ./configure cannot find pgsql dependencies 2019-01-29 10:54:49 +01:00
Francis Dupont
3bc05d7544 [111-configure-options-with-pgsql-not-working-properly] Added a default for auto-detected PG_CONFIG 2019-01-29 10:54:49 +01:00
Michal Nowikowski
c8f9c77f84 improved error trace in case ./configure cannot find mysql dependencies 2019-01-29 10:44:45 +01:00
Francis Dupont
381f20baea [111-configure-options-with-mysql-not-working-properly] Added a default for auto-detected MYSQL_CONFIG 2019-01-29 10:44:45 +01:00
Francis Dupont
798cfefb0f [111-configure-options-with-cql-not-working-properly] Added check of existance by the config script 2019-01-29 02:35:39 -05:00
Francis Dupont
3f03045b3a [371-ld-warning-message-on-macos-build] Add lib64 only when it exists and is a directory 2019-01-25 09:05:45 -05:00
Wlodek Wencel
3c926717d8 [master] bumped up version after release 2018-12-18 13:48:34 +01:00
Francis Dupont
c5b20a8cba [204-move-models-] Checkpoint: moved modules, added revisions, updated pretests 2018-12-10 11:08:44 +01:00
Wlodek Wencel
cd646f915f [master] changes for 1.5.0-beta2 release 2018-11-29 13:56:31 +01:00
Tomek Mrugalski
398cfdd6a4 [#293,!45] Add coroutine.hpp back to the kea sources 2018-11-28 21:17:38 +01:00
Tomek Mrugalski
14b9c94027 [#293,!145] ext/coroutine/Makefile added in configure.ac 2018-11-28 21:17:37 +01:00
Francis Dupont
856a1aa4e8 [177-serialize-netconf-tests] Moved shell tests into tests/shtests 2018-11-26 14:25:12 +01:00
Francis Dupont
4304a10b21 [176-update-to-sysrepo-0-7-6-release] typo 2018-11-19 14:19:20 +01:00
Francis Dupont
7d2b1973ee [176-update-to-sysrepo-0-7-6-release] Changet HAVE_OLD_SYSREPO into HAVE_PRE_0_7_6_SYSREPO 2018-11-19 13:41:17 +01:00
Francis Dupont
7f34be2881 [176-update-to-sysrepo-0-7-6-release] Added sysrepo 0.7.6 support 2018-11-19 13:16:10 +01:00
Francis Dupont
ae800ad72d [master] Fixed with-sysrepo help (#146) 2018-11-19 10:59:07 +01:00
Wlodek Wencel
a322a413ab [master] version update after release 2018-11-15 20:53:27 +01:00
Marcin Siodelski
49572aa300 [#93,!105] Exclude mysql_cb hooks library from Kea 1.5.0 dist. 2018-10-30 15:43:57 +01:00
Tomek Mrugalski
c6b9d78908 [#10,!3] docgen moved to doc/docgen 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
e833c57668 [5422] Initial kea-docgen implemented 2019-10-29 18:57:12 +01:00
Francis Dupont
1b7963c1bc [65-libyang-testutils] Filled files, ready for review 2018-10-24 15:50:51 +02:00
Marcin Siodelski
479791d759 [#93,!35] Extended MySqlConnection with generic query functions. 2018-10-08 16:39:22 +02:00
Francis Dupont
73cafb6aaa [128-netconf-config] Added netconf config code from kea-yang 2018-10-05 20:47:02 -04:00
Francis Dupont
7399e18625 [128-netconf-use-libprocess] Added use of libprocess in netconf 2018-09-27 09:08:13 -04:00