2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
Commit Graph

1369 Commits

Author SHA1 Message Date
Michal Nowikowski
349c85baa4 added reporting docs generation scope 2019-07-30 17:11:53 +02:00
Michal Nowikowski
6717a81787 improved detecting sphinx and pdflatex in configure.ac, improved building docs in hammer 2019-07-30 10:45:13 +02:00
Michal Nowikowski
c196f4c2b2 fixed building docs on some systems 2019-07-30 10:45:13 +02:00
Michal Nowikowski
66e300f74f improved building docs on some systems
- improved handling sphinx in configure.ac
- adjusted hammer with new deps for docs
- updated docs about new deps for docs
2019-07-30 10:45:13 +02:00
Michal Nowikowski
695668a25e removed old rules for generating manuals 2019-07-30 10:45:13 +02:00
Michal Nowikowski
01fb9fd370 rearranges docs and build script
Two reasons:
- sphinx requires to have all sources in its source directory
  so man pages have to be moved
- layout of subfolders in doc folder was not consistent
2019-07-30 10:45:13 +02:00
Michal Nowikowski
8c15d974bc disabled discovery of old tools in ./configure 2019-07-30 10:45:13 +02:00
Michal Nowikowski
d1f24e1715 improved build scripts, renamed kea-guide.rst to index.rst 2019-07-30 10:45:13 +02:00
Tomek Mrugalski
a1adbffd91 Initial changes to have sphinx detected 2019-07-30 10:45:12 +02:00
Francis Dupont
454a816e41 [742-new-libyang-and-sysrepo-versions] Added HAVE_POST_0_7_7_SYSREPO config flag 2019-07-26 16:27:31 +02:00
Marcin Siodelski
f27f45ec3b [#680,!426] Delete embedded options when subnet gets deleted in mysql_cb. 2019-07-25 03:58:11 -04:00
Michal Nowikowski
8b2d843bfa updated release version in configure.ac 2019-07-22 06:32:54 -04:00
Francis Dupont
8cb113a52f [667-remove-obsolete-compatcheck-dir] Removed compatcheck more than obsolete directory 2019-07-04 07:17:08 -04:00
Francis Dupont
d8276f1036 [550-authentication-key-to-text-method-miss-spelled] AuthKey is binary 2019-07-02 17:33:39 +02:00
Thomas Markwalder
770aeae623 [#691,!395] Add Connection socket exposure and close_callback handler
Addes close_callback and exposes Connectin's TCP socket to it
and connect_callback.

src/lib/http/client.h b/src/lib/http/client.h
    HttpClient:
        Added second parameter, socket FD, to ConnectHandler
        Added CloseHandler typedef

        asyncSendRequest() - added close_callback parameter

src/lib/http/client.cc
    Connection - added close_callback parameter to all
    methods that accept connect_callback parameter

    Added invocation of close_callback wherever the connection's
    socket is closed.

src/lib/http/tests/server_client_unittests.cc
    TEST_F(HttpClientTest, connectCloseCallbacks) - new test that
    verifies connect and close callback operations
2019-06-27 07:49:10 -04:00
Francis Dupont
93d3a878a9 [682-keactrl-unable-to-kill-kea-processes] Added expansion of runstatdir when it includes localstatedir 2019-06-25 14:56:42 +02:00
Francis Dupont
8641448c41 [295-min-max-lease-time-configuration-options] Moved MySQL schema updates to version 8.1 2019-06-22 10:05:24 -04:00
Francis Dupont
80bc902549 [538-kea-should-not-store-anything-in-var-kea-lsb-violation] Updated doc + some improvements 2019-06-18 12:54:26 -04:00
Francis Dupont
85c5b01d69 [538-kea-should-not-store-anything-in-var-kea-lsb-violation] Introduced runstatedir for pid files 2019-06-18 12:54:26 -04:00
Razvan Becheriu
bf7debc182 [#522,!261] addressed review 2019-06-11 09:45:57 +03:00
Razvan Becheriu
ea390ca70d cassandra cpp driver depends on libssl 2019-06-11 09:35:11 +03:00
Razvan Becheriu
79e76b740c fixed compilation 2019-06-11 09:35:11 +03:00
Razvan Becheriu
1fa2f5fc92 fixed building from source tith openssl 2019-06-11 09:35:11 +03:00
Michal Nowikowski
04b356da11 updated version to 1.6.0-beta 2019-05-28 20:27:38 +02:00
Michal Nowikowski
fccb0cf410 updated versions, updated copyright dates, sorted messages 2019-05-28 10:53:08 +02:00
Marcin Siodelski
ddcca9527d [#617,!340] Backed out version change in configure.ac 2019-05-27 20:47:40 +02:00
Razvan Becheriu
06d44ac1a9 [#6017,!340] bumped up libraries version before release 2019-05-27 20:47:40 +02:00
Razvan Becheriu
b912c5a084 implemented getPage4 and getPage6 for Cassandra, sorting and filtering hosts in unittests, implemented migration script for schema 4.0 2019-05-22 19:53:22 +03:00
Razvan Becheriu
51f66afe7b added mysql dependency on openssl 2019-05-20 15:06:09 +03:00
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