bareos: master 36d67505

Author Committer Branch Timestamp Parent
frank frank master 2020-05-27 11:52 master ca5d97b1 Pending
Changeset dird: display who triggered the job in job reports

This commit introduces an enum class named JobTrigger used in
JobControlRecords. The purpose is storing and tracking down by whom a
job has been triggered and to display its value in job report summaries.

Currently the following values are defined, kScheduler, kUser and
kClient. The default is kUnknown.

The commit also adjusts all the different job summary generators
to display the JobTrigger in a human readable format.
mod - core/src/dird/CMakeLists.txt Diff File
mod - core/src/dird/admin.cc Diff File
mod - core/src/dird/archive.cc Diff File
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/consolidate.cc Diff File
mod - core/src/dird/jcr_private.h Diff File
add - core/src/dird/job_trigger.cc Diff File
add - core/src/dird/job_trigger.h Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/run_on_incoming_connect_interval.cc 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/ua_run.cc Diff File
mod - core/src/dird/verify.cc Diff File
mod - core/src/tests/scheduler.cc Diff File
mod - core/src/tests/scheduler_job_item_queue.cc Diff File