International-Data-Spaces-Association / InformationModel

The Information Model of the International Data Spaces implements the IDS reference architecture as an extensible, machine readable and technology independent data model.
Apache License 2.0
64 stars 37 forks source link

Configmanager Routen boolean #387

Closed HeinrichPet closed 3 years ago

HeinrichPet commented 3 years ago

Hi @HaydarAk,

inside a appRoute we need a boolean to indicate that a route is broken, meaning that there is no route from Start A to End Z (because some subroutes a not connected).

Best regards, Heinrich

HaydarAk commented 3 years ago

Hi @HeinrichPet I see the problem, but I am not sure that this kind of information belongs to the Information Model. Let me explain why I think it does not belong there:

In my opinion, it is a task of the "application logic" to ensure that a route is complete, before it is persisted. Complete = Start A and End Z are connnected via some subroutes.

I think we should have a clear distinction between our "persistance layer" (the Information Model) and our application layer. On the persistance layer, there are basic syntactic and semantic checks (does X contain all mandatory properties and is therefore valid) while runtime / application specific information has to be checked in the application layer. A broken app route is similar to a Connector Self description message which has no payload -> Both are incomplete / incorrect.

HeinrichPet commented 3 years ago

Hi @HaydarAk

you are right. Then the issues can be closed.