You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Georg Henzler (JIRA)" <ji...@apache.org> on 2019/01/10 22:06:00 UTC

[jira] [Created] (FELIX-6024) Create HttpRequestsCheck

Georg Henzler created FELIX-6024:
------------------------------------

             Summary: 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


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)