-
Notifications
You must be signed in to change notification settings - Fork 265
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
entity coherence checking tool #4481
Comments
The new script make the following ones obsolete:
Btw, they are pretty old and use Python 2.x so it is a good idea to remove both |
The check_legacy_location_metadata.py script in PR #4048 could be also integrated in the new script. |
Rule 15 is special, as it is not individually checked on every entity. The following aggregation pipeline will help to detect violations:
|
PR #4490 |
Python script to check orion DB entity inconsistencies. In particular, the following rules would be taken into account:
Rules to check:
_id
field consistencyattrNames
field consistencymdNames
field consistency_id
location
field consistencylastCorrelator
existencegeo:x
attribute type wherex
different fromjson
location
metadatalocation
metadata should beWGS84
orWSG84
location
location
For Rules 20-26: https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md#identifiers-syntax-restrictions
Entity datamodel: https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/admin/database_model.md#entities-collection
The text was updated successfully, but these errors were encountered: