RWTH-EBC/FiLiP

Warn about wrong orion version

Opened this issue · 4 comments

Is your feature request related to a problem? Please describe.
When using the latest filip with older fiware versions, some errors occur. For instance, overwrite_metadata in update_attribute is not supported and returns dubios http errors.

Describe the solution you'd like
Upon opening the ContextBrokerClient, check the version of the context broker and compare it to the supported versions of filip.
Maybe add a list with links between fiware and filips versions that are compatible.

Describe alternatives you've considered
Warn about not using the latest fiware versions upon starting instances of ContextBrokerClient or IOTA etc.

related to #157

@jkriwet you can directly create a PR for the next time ;)

As discussed here #206 (comment), IoTagent-JSON must be later than 1.14.0