RWTH-EBC / FiLiP

FIWARE Library for Python (FiLiP) to work with FIWARE API
BSD 3-Clause "New" or "Revised" License
23 stars 13 forks source link

164 adding multientity to tutorials #260

Closed RCX112 closed 6 months ago

RCX112 commented 7 months ago

closes #164

RCX112 commented 7 months ago

@djs0109 I also added an example of a timestamp attribute, which uses the JEXL function 'toisodate'.

RCX112 commented 6 months ago

@djs0109 The documentation of the iotagent-node-lib says, that the legacy expression language is deprecated since 3.2.0 and they only use JEXL (https://iotagent-node-lib.readthedocs.io/en/3.4.0/deprecated.html). Should we therefore remove old functionalities of the expression languages in filip?

djs0109 commented 6 months ago

@RCX112 nice hint! I think we can first add a deprecation warning for the attribute expressionLanguage in service group. We should also keep in mind that, the expression validator must also be adjusted accordingly. For example, if expression of legacy format is detected, a warning/error will be given

djs0109 commented 6 months ago

@RCX112 could you merge the #165 to this branch? Because they are highly related with each other

RCX112 commented 6 months ago

@djs0109 I added some tests for the expression languages and I also put the pyjexl package in the requirements

djs0109 commented 6 months ago

@RCX112 Thank you! It looks really great. I only changed a little in the tutorials