-
Notifications
You must be signed in to change notification settings - Fork 103
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
Destination logs insert _ character #2108
Comments
bug in a log ? |
I think, because not exist something as yyy_/_parking_onstreetparking |
Printed by fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSISink.java Line 421 in 29eaf83
and fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSISink.java Line 614 in 29eaf83
But tablename is build at (i.e. for postgis) fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIPostgisSink.java Lines 610 to 625 in 29eaf83
and depends on datamodel configured for that sink |
The issue is still ongong in our prouction environment with 2.16.0 cygnus_version |
Could you provide for this case #2108 (comment) what is the name of service, subservice, entity_id, entity_type, database name and so on (not real, but with examples) ? |
There are several cases:
|
yyyyyyyyy is a subservice? |
For example in a log with " Sink: mysql-sink Destination: smartcity_/_thing:dispB_thing" and default data model (dm-by-entity) |
Summarizing character '_' is used by cygnus in destination (and then in logs where destination appears) to contact depending n datamodel used the several atoms: having in account that subservice contains always '/'. So |
Example:
Must be:
Destination: yyy/parking_onstreetparking
Doubt: For all sink types?
The text was updated successfully, but these errors were encountered: