We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python script to check orion DB entity inconsistencies. In particular, the following rules would be taken into account:
Rules to check:
_id
attrNames
mdNames
location
lastCorrelator
geo:x
x
json
WGS84
WSG84
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:
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
Sorry, something went wrong.
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:
db.entities.aggregate([{$group: { _id: {"id": "$_id.id", "type": "$_id.type", "servicePath": "$_id.servicePath"}, count: {$sum: 1} }}, {$match: {count: {$gt: 1}}}])
PR #4490
No branches or pull requests
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: