ensure context srv and subsrv using device srv and subsrv processing measures #668
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The logs where srv and subsrv are wrong is expected to be reproduced when a device has more than one geo:point attrs
time=2022-05-30T08:08:06.593Z | lvl=ERROR | corr=ef3f58df-8fda-480b-b15d-fb543396de40 | trans=ef3f58df-8fda-480b-b15d-fb543396de40 | op=IOTAJSON.HTTP.Binding | from=n/a | srv=smartcity | subsrv=/ | msg=MEASURES-002: Couldn't send the updated values to the Context Broker due to an error: {"name":"ENTITY_GENERIC_ERROR","message":"Error accesing entity data for device: device:disp6 of type: device","details":{"error":"NoResourcesAvailable","description":"You cannot use more than one geo location attribute when creating an entity. Use ignoreType metadata if you want to add additional informative locations."},"code":413} | comp=IoTAgent
https://fiware-orion.readthedocs.io/en/master/user/ngsiv2_implementation_notes.html#limit-to-attributes-for-entity-location