New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: allow generic REST service? #196
Comments
https://www.npmjs.com/package/jsonpath for extracting fields... |
Hi @bobfang1992, yes, you can implement this Service, if you want to. Just create the service in the I think, that only a The generic build format for the build monitor looks is the following:
Kind regards |
Hi, this might be a bit naive but is it possible to allow the monitor to query against any generic REST service and then just display the response?
For example a config can look at this:
The the monitor will periodically hit
mydomain.com/api/v1/is_service_okay
and then check the return value. It extract the result usingpayload["status"]
as specified by the extractor (there might be more suitable json extracting syntax out there, just an example" and then match the result with the pattern you specified, if it is okay then show green, if not then show red.Do you think this is possible? If so I could contribute, where do I start?
The text was updated successfully, but these errors were encountered: