Open MNXOnline opened 1 year ago
Hello there, evangelist ! :)
Just remove the "idPattern", no need for it, if you only want to filter on entity type.
Or, remove the '$' sign after '.*', it doesn't make a whole lot of sense - that should work too.
[ The implementation of REGEX is not 100% (not even 10% I have to admit), that's why it fails with the '$' sign. ].
Try that and let me know,
/KZ
Hi again Ken-the-evangelist!
I've been experimenting with various combinations (including variations of id and idPattern, adjusting wildcards, etc.), but unfortunately, I haven't had any success yet. It seems that unless you explicitly define the correct ID of the entity within the registration, the data from the Context Provider doesn't get retrieved.
I'm starting to wonder if there might be something specific to my setup causing this issue. Could you possibly take a moment to double-check on your end as well?
Your wisdom would be greatly appreciated ;)
Best regards,
Mannix
Let's do an audio tomorrow. I'm not gonna be available until around 16.00 (bank holiday). If you're out tomorrow, pues el miércoles. Let me know when and we'll straighten it out.
Hi @kzangeli!
I've been following the discussion in #897 closely, and I'm curious if there have been any updates regarding Context Forwarding in the latest versions of Orion-LD.
I'm using this version of Orion-LD:
I've created a Data Provider which is configured with the following GET endpoints:
During my testing on Orion-LD, I've created several payloads to simulate different scenarios. Interestingly, everything works seamlessly when I create a payload with a specific ID, such as Person001 using contextsourceregistration:001. However, I've encountered unexpected behavior when I attempt to use IdPattern, like in the case of Person002, or querying with type=Person using contextsourceregistration:002.
To illustrate, the following works perfectly:
However, this doesn't produce the expected results:
My goal is to have the ability to forward entities through a designated CB without the need to store them beforehand or register each one individually. This would greatly enhance the efficiency and flexibility of the setup.
Looking forward to your insights and any possible solutions.
Best regards,
Mannix