Skip to content
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

ensure context srv and subsrv using device srv and subsrv processing measures #668

Merged
merged 2 commits into from May 30, 2022

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented May 27, 2022

The logs where srv and subsrv are wrong is expected to be reproduced when a device has more than one geo:point attrs

Screenshot from 2022-05-30 10-34-43

Screenshot from 2022-05-30 10-35-50

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

@AlvaroVega AlvaroVega changed the title [WIP] ensure context srv and subsrv using device srv and subsrv ensure context srv and subsrv using device srv and subsrv processing measures May 30, 2022
@AlvaroVega AlvaroVega requested a review from fgalan May 30, 2022 08:54
@fgalan
Copy link
Member

fgalan commented May 30, 2022

Should IOTA-UL have a similar PR?

@AlvaroVega
Copy link
Member Author

Should IOTA-UL have a similar PR?

twin PR telefonicaid/iotagent-ul#562

Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fgalan fgalan merged commit 7d2bc7b into master May 30, 2022
@fgalan fgalan deleted the fix/measure_context_srv_subsrv branch May 30, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants