Commit Graph

12000 Commits

Author SHA1 Message Date
Mattia Codato cb32786880 Use RelayMessage to broadcast the updated executions 2020-06-30 17:50:08 +02:00
Mattia Codato 626080f610 Remove unnecessary check 2020-06-30 15:53:25 +02:00
Mattia Codato 15dac85583 Use HttpUtility::GetLastParameter to get endpoint 2020-06-30 15:51:15 +02:00
Mattia Codato 8f3617d074 Fix response strings 2020-06-30 15:48:29 +02:00
Mattia Codato 5c06256ac5 Use dynamic_pointer_cast 2020-06-30 15:41:47 +02:00
Mattia Codato 94be948ff6 Unify how to take macros parameter 2020-06-30 13:51:42 +02:00
Mattia Codato e4e0115c9d Get local endpoint if FromClient is not set and origin is local 2020-06-30 13:47:13 +02:00
Mattia Codato 22dc2f2393 Use SyncSendMessage for remote endpoint and call ExecuteCommandAPIHandler for local endpoint 2020-06-30 13:43:00 +02:00
Mattia Codato 7077605880 Use the right method to get the notification command 2020-06-29 13:55:20 +02:00
Mattia Codato 3f1b51b355 Use RelayMessage instead of SyncSendMessage 2020-06-29 09:28:02 +02:00
Mattia Codato da82c17891 Call Endpoint::GetByName only once 2020-06-26 16:38:40 +02:00
Mattia Codato 50693d7ea9 Add newline at the end of file 2020-06-26 16:36:57 +02:00
Mattia Codato fd761397ac Unify result status strings 2020-06-26 15:39:42 +02:00
Mattia Codato 899076c77b Code format 2020-06-26 14:29:03 +02:00
Mattia Codato 35bb329a59 Implement ClusterEvents::UpdateExecutionsAPIHandler 2020-06-26 12:33:44 +02:00
Mattia Codato 82444a59e2 Fix resolve macros. Check if endpoint is local or remote 2020-06-26 12:32:12 +02:00
Mattia Codato 714e75bbd1 Remove wait parameter, ttl is required, remove unnecessary checks 2020-06-26 09:33:23 +02:00
Benjamin Groeber cc6fa66ba6 Allow apiactions to return sucecss http codes different from 200 2020-06-23 11:52:22 +02:00
Benjamin Groeber e9b6c68fd5 Use tabs instead of spaces 2020-06-23 11:44:26 +02:00
Benjamin Groeber 2bb6f9d38d Fix formatting of long fn 2020-06-23 11:41:49 +02:00
Benjamin Groeber 159e3d2945 Remove superfluous else clause 2020-06-23 11:41:15 +02:00
Andrea Avancini 823fe34d24 Parameter evaluation, macro resolution, update executions, send ExecuteCommand message for ExecuteCommand Endpoint 2020-06-18 15:27:31 +02:00
Alexander A. Klimov 9cb3779ec2 Add stub for event::UpdateExecutions
refs #8034
2020-06-02 17:16:30 +02:00
Alexander A. Klimov 120440b84f Introduce Checkable#executions
refs #8034
2020-06-02 17:09:13 +02:00
Alexander A. Klimov d6fad3232b Introduce Checkable#pending_executions
refs #8034
2020-06-02 16:59:42 +02:00
Alexander A. Klimov fc220bac69 Add stub for event::ExecutedCommand
refs #8034
2020-06-02 13:44:15 +02:00
Alexander A. Klimov 3f07dd6cae Add stub for event::ExecuteCommand w/ source
refs #8034
2020-06-02 11:52:58 +02:00
Alexander A. Klimov 752df8ea28 Add stub for /v1/actions/execute-command
refs #8034
2020-06-02 11:43:32 +02:00
Noah Hilverling fd4abff369
Merge pull request #8027 from Icinga/feature/github-actions-sles
GitHub actions: build SLES packages
2020-05-27 16:41:17 +02:00
Alexander A. Klimov ac0e480e19 GitHub actions: build SLES packages 2020-05-25 16:35:30 +02:00
Noah Hilverling 9f45c29239
Merge pull request #8023 from Icinga/feature/github-actions-32bit
GitHub actions: build 32-bit .deb packages
2020-05-20 14:44:43 +02:00
Noah Hilverling d1e9a14eca
Merge pull request #8019 from Icinga/feature/github-actions-artifacts
GitHub actions: publish packages
2020-05-20 11:22:19 +02:00
Alexander A. Klimov 113cd8f597 GitHub actions: build 32-bit .deb packages 2020-05-20 11:15:27 +02:00
Alexander A. Klimov 0537543ef3 GitHub actions: publish packages 2020-05-19 15:42:05 +02:00
Noah Hilverling f71be9e802
Merge pull request #8018 from Icinga/feature/github-actions
GitHub actions: build packages
2020-05-19 11:26:07 +02:00
Noah Hilverling 7395465089
Merge pull request #8014 from Icinga/bugfix/icinga-db-ack-expire-8012
Icinga DB: record ack expiries
2020-05-19 11:16:28 +02:00
Alexander A. Klimov 36f52c1206 GitHub actions: build .rpm packages 2020-05-18 18:30:32 +02:00
Alexander A. Klimov 2fc2a28af4 Don't use Travis CI 2020-05-18 18:15:05 +02:00
Alexander A. Klimov 7b85a506ff GitHub actions: build .deb packages 2020-05-18 18:15:05 +02:00
Alexander A. Klimov c4a8afbe5f Icinga DB: record ack expiries
refs #8012
2020-05-15 12:02:51 +02:00
Noah Hilverling 26fc9a2738
Merge pull request #8013 from Icinga/bugfix/icingadb-stats-wq
Icinga DB: don't use the work queue for publishing stats
2020-05-15 11:25:38 +02:00
Alexander A. Klimov fc72cca70e Icinga DB: don't use the work queue for publishing stats 2020-05-15 11:17:25 +02:00
Noah Hilverling d5d89b7f39
Merge pull request #7970 from Icinga/bugfix/reconnect-loop
RequestCertificateHandler(): don't disconnect nodes already integrated into the cluster
2020-04-27 13:05:22 +02:00
Noah Hilverling af7768944a
Merge pull request #7985 from Icinga/bugfix/icingadb-sticky-ack
IcingaDB::SerializeState(): include whether an ack is sticky
2020-04-22 17:15:25 +02:00
Alexander A. Klimov 35f25e99b4 IcingaDB::SerializeState(): include whether an ack is sticky 2020-04-20 14:53:55 +02:00
Alexander A. Klimov 5a5cf1a2eb RequestCertificateHandler(): don't disconnect nodes already integrated into the cluster
... not to cause a reconnect loop.
2020-04-08 13:29:55 +02:00
Alexander Aleksandrovič Klimov 2e22ceb23e
Merge pull request #7936 from Icinga/bugfix/config-sync-failed-reload-7742
ApiListener::ConfigUpdateHandler(): make the whole process mutually exclusive
2020-04-07 15:55:14 +02:00
Noah Hilverling 4464e4990e
Merge pull request #7946 from Icinga/bugfix/regression-ca-verification
Fix CA verification regression
2020-04-01 15:05:52 +02:00
Michael Insel 51e534ff4c Fix CA verification regression
Uninitialized bool values may evaluate to true while it should be false.
2020-03-29 16:05:29 +02:00
Alexander Aleksandrovič Klimov 2ab08a8d96
Merge pull request #7938 from Icinga/bugfix/icinga-web-2-docs-url
Docs: Fix Icinga Web 2 docs URL
2020-03-24 15:05:46 +01:00