[
https://issues.apache.org/jira/browse/FELIX-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Georg Henzler updated FELIX-6024:
---------------------------------
Fix Version/s: healthcheck.generalchecks 2.0.0
> Create HttpRequestsCheck
> -------------------------
>
> Key: FELIX-6024
> URL: https://issues.apache.org/jira/browse/FELIX-6024
> Project: Felix
> Issue Type: New Feature
> Components: Health Checks
> Reporter: Georg Henzler
> Assignee: Georg Henzler
> Priority: Major
> Fix For: healthcheck.generalchecks 2.0.0
>
>
> Generic http requests that can execute http requests and validate the
> response:
> * The OSGi configuration should allow for a list of URLs
> * Should allow configuration of additional request options (like method or
> headers) in curl-like syntax (since this is well known)
> * Has to allow for host relative URLs (using the host/port from HttpService)
> and full URLs
> * The response should be checkable against
> ** Http response code (equals)
> ** Response text (via RegEx)
> ** Response timing (via SimpleConstraintChecker)
> ** Response header (via SimpleConstraintChecker)
> ** Value in JSON response (via SimpleConstraintChecker)
> * The result status shall be configurable for the case any of the checks fail
> * connect/read timeouts shall be configurable
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)