bareos: master 9a95f844
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
readonly | readonly | master | 2020-09-04 15:01 | master bea484d9 | Pending |
Changeset | Initial checkin of experimental Bareos REST API This is an experimental and preliminary backend for development purposes. The endpoints are subject for review and maybe changed in the future. It provides a REST API using fastapi, uvicorn and python-bareos to connect to a Bareos director. It supports the `configure add` commands to create configuration for clients, jobs, filesets and some more resources. It also provides endpoints to query job information and job control (i.e. start / restart jobs, trigger restores). Python3 is required to run the REST API. |
||||
mod - CHANGELOG.md | Diff File | ||||
mod - docs/manuals/source/DeveloperGuide/api.rst | Diff File | ||||
add - rest-api/LICENSE | Diff File | ||||
add - rest-api/README.md | Diff File | ||||
add - rest-api/api.ini | Diff File | ||||
add - rest-api/bareos-restapi.py | Diff File | ||||
add - rest-api/bareosRestapiModels.py | Diff File | ||||
add - rest-api/metatags.yaml | Diff File | ||||
add - rest-api/openapi.json | Diff File | ||||
add - rest-api/requirements.txt | Diff File | ||||
mod - systemtests/CMakeLists.txt | Diff File | ||||
add - systemtests/tests/python-bareos/etc/bareos/bareos-dir.d/schedule/README.txt | Diff File | ||||
add - systemtests/tests/python-restapi/api/api.ini.in | Diff File | ||||
add - systemtests/tests/python-restapi/api/bareos-restapi.py | Diff File | ||||
add - systemtests/tests/python-restapi/api/bareosRestapiModels.py | Diff File | ||||
add - systemtests/tests/python-restapi/api/metatags.yaml | Diff File | ||||
add - systemtests/tests/python-restapi/api/startapi.sh.in | Diff File | ||||
add - systemtests/tests/python-restapi/api/stopapi.sh | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/client/test2-fd.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/console/admin-tls.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/admin-runscript-client-server.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/admin-runscript-client.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/admin-runscript-server.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-bareos-fd-runscript-client-defaults.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-bareos-fd-runscript-client.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-bareos-fd-runscript-server.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-test2-fd.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/jobdefs/jobdefs-runscript1.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/jobdefs/jobdefs-runscript2.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/messages/Daemon.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/messages/Standard.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/pool/Differential.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/pool/Full.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/pool/Incremental.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/pool/Scratch.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/profile/all.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/profile/operator.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/storage/File.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-fd.d/client/myself.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-fd.d/messages/Standard.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-sd.d/device/FileStorage.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-sd.d/messages/Standard.conf | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bconsole-admin-notls.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bconsole-admin-tls.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bconsole-client-bareos-fd.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bconsole-job-backup-bareos-fd.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/etc/bareos/bconsole.conf.in | Diff File | ||||
add - systemtests/tests/python-restapi/testrunner.in | Diff File | ||||
add - systemtests/tests/python-restapi/testrunner_container_centos7.in | Diff File | ||||
add - systemtests/tests/python-restapi/write.sh | Diff File |