2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 21:18:02 +00:00

36562 Commits

Author SHA1 Message Date
Thomas Markwalder
f53a22cb8c [#3476] Add foreign key UTs
/src/bin/admin/tests/mysql_tests.sh.in
    mysql_migrate_opt_record_type() - new test

/src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_migrate_opt_record_type() - new test

/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
    TEST_F(MySqlConfigBackendDHCPv4Test, invalidOptionDefDataType4Test)
    TEST_F(MySqlConfigBackendDHCPv4Test, allOptionDefDataTypes4Test)

/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc
    TEST_F(MySqlConfigBackendDHCPv6Test, invalidOptionDefDataType6Test)
    TEST_F(MySqlConfigBackendDHCPv6Test, allOptionDefDataTypes6Test)

/src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp4_unittest.cc
    TEST_F(PgSqlConfigBackendDHCPv4Test, invalidOptionDefDataType4Test)
    TEST_F(PgSqlConfigBackendDHCPv4Test, allOptionDefDataTypes4Test)

/src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp6_unittest.cc
    TEST_F(PgSqlConfigBackendDHCPv6Test, invalidOptionDefDataType6Test)
    TEST_F(PgSqlConfigBackendDHCPv6Test, allOptionDefDataTypes4Test)

/src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.*
    GenericConfigBackendDHCPv4Test::invalidOptionDefDataType4Test()
    GenericConfigBackendDHCPv4Test::allOptionDefDataTypes4Test()

/src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.*
    GenericConfigBackendDHCPv6Test::invalidOptionDefDataType6Test()
    GenericConfigBackendDHCPv6Test::allOptionDefDataTypes6Test()

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/mysql/upgrade_023_to_024.sh.in
/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
/src/share/database/scripts/pgsql/upgrade_023_to_024.sh.in
    Modify table updates to only consider record_types

/src/share/database/scripts/mysql/upgrade_022_to_023.sh.in
/src/share/database/scripts/pgsql/upgrade_022_to_023.sh.in
    Check for 22.0 or 22.1
2024-07-18 11:17:41 -04:00
Thomas Markwalder
315d2f9867 [#3476] Correct option def data type enum overlap
new files:
    src/share/database/scripts/mysql/upgrade_023_to_024.sh.in
    src/share/database/scripts/pgsql/upgrade_023_to_024.sh.in

configure.ac
    Added new upgrade files

    src/share/database/scripts/mysql/upgrade_023_to_024.sh
    src/share/database/scripts/pgsql/upgrade_023_to_024.sh

src/bin/admin/kea-admin.in
    mysql_upgrade()
    pgsql_upgrade() - now sort scripts numerically

src/bin/admin/tests/mysql_tests.sh.in
    mysql_upgrade_23_to_24_test() - new test function
    mysql_upgrade_test() - updated version check

src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_db_version_test() - updated version check
    pgsql_upgrade_23_to_24_test()  - new test function

src/lib/dhcp/option_data_types.h
    Set explicit values for OPT_RECORD_TYPE and OPT_UKNOWN_TYPE

src/lib/dhcp/tests/option_definition_unittest.cc
    TEST(OptionDataTypeUtil, typeToString)
    TEST(OptionDataTypeUtil, stringToType) - new tests

src/lib/mysql/mysql_constants.h
    Updated schema version to 24.0

src/lib/pgsql/pgsql_connection.h
    Updated schema version to 24.0

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Added option_def_data_type table creation

src/share/database/scripts/mysql/dhcpdb_drop.mysql
    Added option_def_data_type table drop

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    Added option_def_data_type table creation

src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Added option_def_data_type table drop
2024-07-18 11:17:41 -04:00
Francis Dupont
9c33b2bfbf [#3094] Typos 2024-07-18 14:45:30 +02:00
Francis Dupont
0975949b9c [#3094] Finished tests and doc 2024-07-18 14:45:25 +02:00
Francis Dupont
6901b0f0a5 [#3094] Checkpoint: added UTs, doc to do 2024-07-18 14:44:32 +02:00
Francis Dupont
8f1742a2d6 [#3094] Checkpoint: translated idea to code, need logs, UTs and doc 2024-07-18 14:44:32 +02:00
Andrei Pavel
c7fcd27804
[#3497] consider minor schema number in CI job 2024-07-17 12:13:10 +03:00
Marcin Siodelski
1f41e53b9e [#3481] Spelling error 2024-07-16 16:50:53 +02:00
Marcin Siodelski
d2b249ceda [#3481] Set runtime option defs in CB 2024-07-16 16:02:32 +02:00
Marcin Siodelski
d0e0bf4a01 [#3481] Added ChangeLog entry 2024-07-16 16:02:29 +02:00
Marcin Siodelski
47e248756d [#3481] Encapsulate options from CB 2024-07-16 16:01:38 +02:00
Razvan Becheriu
a7f5c38a65 [#3446] addressed review comments 2024-07-16 12:43:21 +00:00
Razvan Becheriu
797512d777 [#3446] addressed review comments 2024-07-16 12:43:21 +00:00
Razvan Becheriu
0f69a00e59 [#3446] addressed review 2024-07-16 12:43:21 +00:00
Razvan Becheriu
2da36722ea [#3446] added unittests 2024-07-16 12:43:21 +00:00
Razvan Becheriu
0657e81e0e [#3446] added unittests 2024-07-16 12:43:21 +00:00
Razvan Becheriu
f1672edf2c [#3446] updated documentation 2024-07-16 12:43:21 +00:00
Razvan Becheriu
8a25cf329d [#3446] added ChangeLog entry 2024-07-16 12:43:21 +00:00
Razvan Becheriu
e21656d559 [#3446] add dhcp state to get-status 2024-07-16 12:43:21 +00:00
Andrei Pavel
442a720984
[#3495] Fix tools/check-for-json-errors-in-doc.sh
Fix tools/check-for-json-errors-in-doc.sh from escaping double-escaped
characters in JSON which results in malformed JSON which results in CI
failing.
2024-07-15 20:04:52 +03:00
Andrei Pavel
17fe5c20b6
[#1723] rename messages to duplicate-log-messages 2024-07-09 13:49:32 +03:00
Andrei Pavel
95799832c1
[#1723] check-messages.py: remove duplicated strip 2024-07-09 13:49:32 +03:00
Andrei Pavel
2fc4f40e14
[#1723] regenerate messages 2024-07-09 13:49:32 +03:00
Andrei Pavel
cd41c2e2cb
[#1723] remove unlogged message definitions 2024-07-09 13:49:31 +03:00
Andrei Pavel
909676bdcd
[#1723] add debug levels to message documentation 2024-07-09 13:49:31 +03:00
Andrei Pavel
2672bc6c33
[#1723] rm tools/check-messages.sh 2024-07-09 13:49:31 +03:00
Andrei Pavel
98b440d8e4
[#1723] exhonerate existing duplicate messages 2024-07-09 13:49:31 +03:00
Andrei Pavel
002bc4c157
[#1723] fix placeholder ids in messages 2024-07-09 13:49:31 +03:00
Andrei Pavel
5b4ccf3eee
[#1723] tools/check-messages.py 2024-07-09 13:49:31 +03:00
Andrei Pavel
cbc484285d
[#1723] fix a problem with bandit searching .git 2024-07-09 13:49:31 +03:00
Andrei Pavel
fcd83dfe68
[#1723] tools/check-messages.sh 2024-07-09 13:49:31 +03:00
Wlodek Wencel
3d03061ee3 [#3480] add upgrade_022_to_023.sh to Makefile.am 2024-07-04 10:46:49 +02:00
Razvan Becheriu
7113108b2d [#3449] added ChangeLog entry. 2024-07-02 14:38:46 +03:00
Razvan Becheriu
6419c57b9d [#3449] clean up on destructor 2024-07-02 14:22:40 +03:00
Razvan Becheriu
0fe6f2e381 [#3449] fixed fd and memory leak 2024-07-02 14:22:40 +03:00
Francis Dupont
67842fcbe2 [#3050] Removed spurious commas from daemon.cc 2024-06-27 14:48:44 +02:00
Francis Dupont
3b01f545fa [#3050] Added a ChangeLog entry 2024-06-27 14:48:41 +02:00
Francis Dupont
84c437e30f [#3050] Added Umask RAII and use it 2024-06-27 14:47:52 +02:00
Marcin Godzina
7d862a067c [#3468] bump up version to 2.7.1 2024-06-26 11:59:15 +00:00
Marcin Godzina
1075e0403b [#3464] release changes Kea-2.7.0 2024-06-24 08:18:19 +00:00
Razvan Becheriu
7a7fad6519 [#3459] added util/io library to script and bumped version 2024-06-21 00:09:40 +03:00
Razvan Becheriu
3c5e39fa36 [#3459] bump up library versions for 2.7.0 release 2024-06-21 00:00:53 +03:00
Razvan Becheriu
69c0f922cf [#3366] fix memory leak in unittests 2024-06-20 18:54:47 +00:00
Andrei Pavel
bad37a609a
[#3435] add ChangeLog entry 2024-06-20 21:29:58 +03:00
Andrei Pavel
4a1c295f66
[#3435] some formatting in netconf 2024-06-20 21:29:58 +03:00
Andrei Pavel
2b55f11ccc
[#3435] fix a crash on empty notification tree
... and a message containing two "%1"s.
2024-06-20 21:29:58 +03:00
Andrei Pavel
e897808250
[#3435] add exception_handler to onNotification as well 2024-06-20 20:00:46 +03:00
Andrei Pavel
cae551ae9b
[#3435] add exception handling for module changes 2024-06-20 20:00:45 +03:00
Andrei Pavel
e6c414e9af
[#3435] do not use abs_top_srcdir in distributed scripts 2024-06-20 20:00:45 +03:00
Andrei Pavel
c61324b545
[#3323] typed enums to appease ubsan
example of UBSan error: runtime error: load of value 65536, which is not a valid value for type 'const HeaderFlag'
2024-06-20 19:32:20 +03:00