arrowhead-f / core-java

Arrowhead Core Framework Implementation in Java
https://forge.soa4d.org/plugins/mediawiki/wiki/arrowhead-f/index.php/Main_Page
Apache License 2.0
4 stars 12 forks source link

Query with wrong interface still returns services #44

Closed cochicde closed 5 years ago

cochicde commented 5 years ago

I'm not sure about the right behaviour, but I registered a service with interface JSON, but if I query the service with interface "JSON1" or no interface at all "", the Service Registry still returns the registered service. Is this the right behaviour?

uzoltan commented 5 years ago

Right now I'm pretty sure interface matching happens on the side of the Orchestrator. Tomorrow I'll check if this could be moved to the SR, or it's this way for a reason.

uzoltan commented 5 years ago

I even had a //NOTE above the interface filtering in the Orchestrator code, that I think this should be done on the SR side, so now I've moved it there :)

e1173fcfeef4d72c4cd6db1c1618c5827c2db8d3

cochicde commented 5 years ago

Just tested! Works fine!

uzoltan commented 5 years ago

Btw the matching is case sensitive.