Orange-OpenSource / fiware-cepheus

FIWARE Cepheus - CEP for NGSI IoT gateways
GNU General Public License v2.0
17 stars 21 forks source link

Dropping XML support #42

Open marcc-orange opened 8 years ago

marcc-orange commented 8 years ago

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

We will also follow and drop XML.

macu39 commented 8 years ago

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

marcc-orange commented 8 years ago

@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 commented 8 years ago

Just added an issue to track the compatibility problem #51

marcc-orange commented 8 years ago

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