bareos: master d5f22772

Author Committer Branch Timestamp Parent
franku GitHub master 2019-11-22 15:15 master 4af7b649 Pending
Changeset Merge pull request 0000339 from bareos/dev/franku/master/run-on-incoming-connect-interval

dev/franku/master/run on incoming connect interval

Add functionality for the RunOnIncomingConnectInterval director job directive:

- relevant jobs will be started after one minute of maximum idle time
- refactored scheduler and other code for testability
- moved initialization of the database connection to a separate file and consolidated duplicate code to a single function
- added a new database query
- added unit tests
mod - core/src/cats/bdb_dbi.h Diff File
mod - core/src/cats/bdb_mysql.h Diff File
mod - core/src/cats/bdb_postgresql.h Diff File
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/cats/cats.cc Diff File
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/cats_backends.h Diff File
mod - core/src/cats/dbi.cc Diff File
mod - core/src/cats/mysql.cc Diff File
mod - core/src/cats/postgresql.cc Diff File
mod - core/src/cats/sql_find.cc Diff File
mod - core/src/cats/sql_pooling.h Diff File
mod - core/src/dird/CMakeLists.txt Diff File
add - core/src/dird/check_catalog.cc Diff File
add - core/src/dird/check_catalog.h Diff File
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/dird/fd_cmds.cc Diff File
add - core/src/dird/get_database_connection.cc Diff File
add - core/src/dird/get_database_connection.h Diff File
mod - core/src/dird/job.cc Diff File
add - core/src/dird/run_on_incoming_connect_interval.cc Diff File
add - core/src/dird/run_on_incoming_connect_interval.h Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/scheduler.h Diff File
mod - core/src/dird/scheduler_job_item_queue.cc Diff File
mod - core/src/dird/scheduler_job_item_queue.h Diff File
mod - core/src/dird/scheduler_private.cc Diff File
mod - core/src/dird/scheduler_private.h Diff File
mod - core/src/dird/scheduler_time_adapter.h Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/include/baconfig.h Diff File
add - core/src/lib/api_mode.h Diff File
mod - core/src/lib/output_formatter.h Diff File
mod - core/src/tests/CMakeLists.txt Diff File
rm - core/src/tests/client-initiated-reconnect.cc Diff File
mod - core/src/tests/configs/client-initiated-reconnect/bareos-dir.d/job/backup-bareos-fd.conf Diff File
add - core/src/tests/run_on_incoming_connect_interval.cc Diff File
mod - core/src/tests/scheduler_job_item_queue.cc Diff File
add - docs/manuals/source/manually_added_config_directive_descriptions/dir-job-RunOnIncomingConnectInterval.rst.inc Diff File