Skip to content

Commit

Permalink
Merge pull request #249 from antonioribeiro/feature/add-checkout-com-…
Browse files Browse the repository at this point in the history
…checker

Add checkout.com API checker
  • Loading branch information
antonioribeiro committed Oct 23, 2021
2 parents 3a82216 + 7e358d1 commit 2d6d39b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config/health.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
// 'Broadcasting',
'Cache',
'Certificate',
'CheckoutCom',
'ConfigurationCached',
'Database',
'DebugMode',
Expand Down
16 changes: 16 additions & 0 deletions src/config/resources/CheckoutCom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Checkout.com API
abbreviation: https
checker: PragmaRX\Health\Checkers\Https
notify: true
column_size: 3
timeout_message: "[TIMEOUT] A request to %s took %s seconds. Timeout is set to %s seconds."
connection_timeout: 30
roundtrip_timeout: 30
targets:
- default:
urls:
- checkout-com:
url: "https://{{ config('services.checkout_com.api.host') }}/event-types"
method: GET
headers:
Authorization: "{{ config('services.checkout_com.api.keys.secret') }}"

0 comments on commit 2d6d39b

Please sign in to comment.