You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The guid path parameter is formatted like: [ IGCType ]@[ MetadataCollectionId ]:[IGC-RID]
getEntityDetail is ignoring MetadataCollectionId.
If there are 2 or more IGC proxies in the cohort, having entities with the same RID each, the first one getting the request from enterprise, will respond with the entity, but different GUID than the one from request.
This behaviour makes OMRS to provide a different entity than the one requested, and the entity from the second IGC proxy unreachable from enterprise layer.
I think connector should validate toe MetadataCollectionId part from the GUID.
The text was updated successfully, but these errors were encountered:
The connector should only respond with the instances that are known to the specific metadata collection it represents. It makes sense to check metadata collection id because it is part of the instance identity (guid), when this part of the id does not match then from egeria perspective it is different instance. In this case we should respond with 'EntityNotKnownException' allowing federation/enterprise layer to find the matching instance comming from the correct metadata collection origin.
This also makes sense from purely REST API perspective and it should apply for all get instance by guid methods, based on the usage in the code I see the follwing:
The guid path parameter is formatted like: [ IGCType ]@[ MetadataCollectionId ]:[IGC-RID]
getEntityDetail is ignoring MetadataCollectionId.
If there are 2 or more IGC proxies in the cohort, having entities with the same RID each, the first one getting the request from enterprise, will respond with the entity, but different GUID than the one from request.
This behaviour makes OMRS to provide a different entity than the one requested, and the entity from the second IGC proxy unreachable from enterprise layer.
I think connector should validate toe MetadataCollectionId part from the GUID.
The text was updated successfully, but these errors were encountered: