Details
-
Enhancement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
26.1.2
-
Security Level: Default (Default Security Scheme)
-
Horizon 2020 - July 22, Horizon 2020 - August 5
-
Backlog
Description
When using the XmlCollector with a DefaultJsonCollectionHandler and posting json content, AbstractXmlCollectionHandler.parseString() will throw a java.lang.IllegalArgumentException because the content matches the pattern
.*[{].+[}].*
.
This is what the entry looks like in xml-datacollection-config.xml:
<xml-source url="https://{nodeLabel}:{parameter:port}/jolokia/"> <request method="POST"> <content type='application/json'><![CDATA[{"type":"read","mbean":"Catalina:type=GlobalRequestProcessor,*","attribute":["requestCount","processingTime","maxTime","errorCount","bytesSent","bytesReceived","maxTime","requestBytesReceived","requestBytesSent","requestProcessingTime"]}]]></content> </request> <import-groups>xml-datacollection/tomcat-jvm-globalrequestprocessor.xml</import-groups> </xml-source>
Attachments
Issue Links
- mentioned in
-
Page Loading...