How does Asset relate to DataAddress? #214
Replies: 1 comment
-
the discussion we had so far: MoritzKeppler "why is DataAddress not just an attribute at Asset? From a DDD perspective: does a DataAddress has it's own identity? Don't think so - but maybe I'm wrong..." ndr_brt "Actually looking from a DDD perspective the Asset is an entity, it has an identity, it has an history and, why not, their attributes could be modified without changing its identity. PaulLatzelsperger "yes exactly. My intention was to mimic the behavior of a database where inserting values into two tables does not happen at the exact same time, but rather one-after-the-other. A transaction takes care of consistency. MoritzKeppler "What we offer to outside is e.g. an IDS Resource or something similar. In my eyes it would be an antipattern to provide the internal model 1:1 to the world outside. PaulLatzelsperger "
that would imply giving consumers direct access to, say, a database, right? Because I think the DataAddress would contain database name, etc...
sure, but then there will also be a different instance of the Asset within the consumer's realm, even if that may contain the same metadata." |
Beta Was this translation helpful? Give feedback.
-
how does Asset relate to DataAddress?
see discussion started in #199
@ndr-brt @paullatzelsperger
Moritz Keppler moritz.keppler@daimler.com, Daimler TSS GmbH, legal info/Impressum
Beta Was this translation helpful? Give feedback.
All reactions