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

Orion-ld after 0.8.0 is not supporting the formation of service/subservice in quantumleap logs #742

Closed
tonyrosset opened this issue Oct 16, 2023 · 5 comments
Assignees

Comments

@tonyrosset
Copy link

Any version of orion-ld after 0.8.0 is not supporting the formation of service/subservice in quantumleap logs, thereby no table-schema formed with "mt" prefix in crate-db. But tables are formed with "et" prefix followed by entity type containing quantumleap persisted data.

Below is my example quantumleap subscription

{
"description": "Notify me of animal locations",
"type": "Subscription",
"entities": [{"type": "Device"}],
"watchedAttributes": ["location", "status", "heartRate"],
"notification": {
"attributes": ["location", "status", "heartRate"],
"format": "normalized",
"endpoint": {
"uri": "http://quantumleap:8668/v2/notify",
"accept": "application/json",
}
},
"throttling": 10,
"@context": "http://context:3000/data-models/ngsi-context.jsonld"
}

How to solve this problem? I am following this tutorial text

@c0c0n3
Copy link
Member

c0c0n3 commented Nov 8, 2023

Hi @tonyrosset :-)

The docs are out of date, sorry about that. But I think the solution to your problem could be straightforward: update to the latest QL and use the NGSILD-Tenant header instead of the NGSI-v2 fiware-service header.

Please have a look at #728 for the details, specifically this comment

Let me know if that works for you and we can close this issue.

@SBlechmann
Copy link

Sorry for shooting from the side again :'D just saw that issue.

If I'm not mistaken, the support for Linked Data is not in the latest image (0.8.3) but rather merged in the master branch.
So you have to build the image yourself from the current master.

@c0c0n3
Copy link
Member

c0c0n3 commented Nov 9, 2023

hahaha, no worries :-)

yep, the latest versioned image is 0.8.3 which does not include #721---NGSI LD tenant header support. But the latest image we pushed

  • orchestracities/quantumleap:edge

does include that feature. So sorry for the confusion, but please have a look at #728 for the details.

@c0c0n3
Copy link
Member

c0c0n3 commented Nov 9, 2023

Also, we should be releasing a new official versioned image, probably 1.0.0 soon, hopefully before Dec the 6th.

@tonyrosset
Copy link
Author

"endpoint": {
"uri": "http://quantumleap:8668/v2/notify",
"accept": "application/json",
"receiverInfo": [
{
"key": "fiware-service",
"value": "openiot"
}
]
}

its solved by adding the servicepath in receiverinfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants