fiware-cepheus icon indicating copy to clipboard operation
fiware-cepheus copied to clipboard

Dropping XML support

Open marcc-orange opened this issue 9 years ago • 4 comments

The Orion Context Broker announced it will drop support XML after its next release.

We will also follow and drop XML.

marcc-orange avatar Feb 03 '16 16:02 marcc-orange

Right now is there any way of using json responses in version 0.1.6? http://stackoverflow.com/questions/37208354/how-to-configure-cepheus-cep-so-it-returns-json-to-orion-instead-of-xml

macu39 avatar May 13 '16 11:05 macu39

@macu39 In 0.1.6, the Cepheus CEP and Broker support both XML and JSON formats of the NGSI v1 protocol. But the default format is still XML. When Cepheus contacts a remote host without knowledge of its supported protocols, it uses the XML format for NGSIv1. This means that Cepheus 0.1.6 is not compatible with Orion 1.x and above.

The removal of the XML support in 0.1.7 will fix this issue as all requests will be expected to use the JSON format.

marcc-orange avatar May 13 '16 20:05 marcc-orange

Just added an issue to track the compatibility problem #51

marcc-orange avatar May 13 '16 20:05 marcc-orange

Removing XML support will be removed at later point. It is deprecated from 0.1.17.

marcc-orange avatar May 19 '16 10:05 marcc-orange