Implement XML/JSON Monitor

Goal

Implement XML/JSON Monitor (with basic and token based authentication, and make it SOAP friendly).

It should have HTTP support using CSS Selector instead of XPATH (which is the preferred option for XML or JSON). Once the text is found, be able to provide an SPEL expression to decide if the service is up or down, and be able to configure a custom reason when the service is down (either because of authentication failure, time out, match not found).

For SOAP, we should be able to make the “request” configurable with placeholder using something like the XML Collector header (in order to pass an XML using CDATA).

This one can replace all the existing monitors related to HTTP.

Folks

Alejandro Galue