eclipse-tractusx / sldt-semantic-hub

Apache License 2.0
7 stars 10 forks source link

Idea: SemanticHubResolutionStrategy #67

Open arnoweiss opened 1 year ago

arnoweiss commented 1 year ago

I think it'd be great to have an extension of io.openmanufacturing.sds.ascpectmodel.resolver.AbstractResolutionStrategy that gets a specified model from a specified Semantic Hub instance via the API. This would be an elegant way to load aspect models without having to store them locally. Since the API of sldt-semantic-hub is not part of the SAMM-spec, I suspect it would be inappropriate to include it in the eclipse-esmf-sdk directly.

LuLeRoemer commented 1 year ago

So your proposal would basically be to allow distributed Semantic Hubs that can request each other, did I get that correct?

arnoweiss commented 1 year ago

Whether a network works with distributed semantic hubs or a central semantic hub is irrelevant for this issue. Either way, a user looking to load an aspect model into esmf-sdk will have to specify where the semantic hub is running that it wants to GET the aspect model from.

Again: this would mainly benefit users of esmf-sdk but transcends the SAMM-spec and therefore might be better placed here - almost as a kind of "client library".

agg3fe commented 1 year ago

Hi, We are currently working on handling BAMM and SAMM models in Semantic-Hub. We will update you on this.