Skip to content

True Delta-Based Itereation 1 - #585

Open
h4uges wants to merge 11 commits into
vitruv-tools:mainfrom
h4uges:main
Open

h4uges wants to merge 11 commits into
vitruv-tools:mainfrom
h4uges:main

Conversation

@h4uges

@h4uges h4uges commented Apr 20, 2023

Copy link
Copy Markdown
Contributor

The goal of this PR is to save Vitruv Models in a delta-based representation. In iteration 1 we save the complete delta from start to current status of the model, without any concept of checkpoints or similar concepts.

Not in this PR:

- make ModelInstance a Resource (with delta based (de)serialization)
- add new entry for ModelInstances in ResourceFactoryRegistry of models resource set
h4uges and others added 5 commits April 25, 2023 10:11
- depends on commit to Vitruv-Change project
- added DeltaBasedResource in Vitruv-Change, based ModelInstance on this DeltaBasedResource
@h4uges
h4uges marked this pull request as ready for review May 5, 2023 11:40
@h4uges
h4uges requested a review from a team as a code owner May 5, 2023 11:40
@h4uges

h4uges commented May 8, 2023

Copy link
Copy Markdown
Contributor Author

@TomWerm please retrigger actions after vitruv-tools/Vitruv-Change#69 is merged.

TomWerm
TomWerm previously approved these changes May 8, 2023
class ModelInstance extends DeltaBasedResource {
static val LOGGER = Logger.getLogger(ModelInstance)
@Accessors(PUBLIC_GETTER)
Resource resource

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the public getter for resource breaks the "Component-Based Systems Application Test Utilities" in the Vitruv-CaseStudies repository (see https://github.com/vitruv-tools/Vitruv-CaseStudies/blob/86958b26f9ad3708232a57e1fc29d2212dc7859b/bundles/tools.vitruv.applications.cbs.testutils/src/tools/vitruv/applications/cbs/testutils/equivalencetest/EquivalenceTestExecutable.xtend#L90), which is why the build fails.

- handle loading of aware of state based representations and pathmap-mechanism
- work in progress
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants