vitruv-tools / Vitruv

View-based Development and Model Consistency Framework
http://vitruv.tools
Eclipse Public License 1.0
14 stars 19 forks source link

Migrate to UUIDs #572

Closed JanWittler closed 1 year ago

JanWittler commented 1 year ago

This PR migrates the V-SUM to use UUIDs within its changes while preserving hierarchical IDs for any view (adapting to https://github.com/vitruv-tools/Vitruv-Change/pull/47). The conversion from HID-based changes to UUID-based ones happens in the IdentityMappingViewType.

There is one code duplication regarding assigning hierarchical IDs to changes. As we should refactor hierarchical ID and UUID resolvers to be hidden behind the same IDResolver interface I postponed refactoring this code smell to when such interface exists. I would document it accordingly in an issue.