-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added version checker for correct cb version #190 #200
base: master
Are you sure you want to change the base?
Conversation
filip/clients/ngsi_v2/cb.py
Outdated
option, which is implemented in FiLiP, but won't work with lower orion versions. | ||
""" | ||
orion_version = self.get_version()['orion']['version'] | ||
if version.parse(orion_version) < version.parse('3.6.0'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you can reused the code on L1200
filip/clients/ngsi_v2/cb.py
Outdated
option, which is implemented in FiLiP, but won't work with lower orion versions. | ||
""" | ||
orion_version = self.get_version()['orion']['version'] | ||
if version.parse(orion_version) < version.parse('3.6.0'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think some significant changes have also been made in 3.8.0
. @tstorek Do you think we should also set an upper limit for the supported Orion version? like version < 3.8.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@djs0109 @jkriwet I think that it is worth having a look at the changes: https://github.com/telefonicaid/fiware-orion/releases. If introducing such bounds would also mean creating the issues to support the features in coming versions.
…on' into 190-Warn-about-wrong-orion-version
close #190