Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The version of the Master Schema and Aggregate Script is not know by the Item #279

Closed
kovax opened this issue Sep 5, 2019 · 1 comment
Closed
Assignees
Labels
dsl issue for the dsl package enhancement New feature or request kernel issue for the kernel package restapi issue for the restapi package
Milestone

Comments

@kovax
Copy link
Member

kovax commented Sep 5, 2019

Currently versioning information if an Item is stored in the Factory. But Master Schema and Aggregate Script is not attached to any activity, therefore their actual version it not know. For this reason the restapi and webui has loads these scripts using the hardcoded version 0.

@kovax kovax added enhancement New feature or request restapi issue for the restapi package dsl issue for the dsl package kernel issue for the kernel package labels Sep 5, 2019
@kovax kovax added this to the 4.4.0 milestone Sep 5, 2019
@kovax kovax self-assigned this Sep 5, 2019
@kovax
Copy link
Member Author

kovax commented Sep 5, 2019

The solution is to use Dependency collection in the Factory Item and add the Master Schema and Aggregate Script item to it with the actual version number as a member property. When an Item instantiated by that factory, this dependency is converted to Item Properties using a script, and use these properties in the restapi.getMasterOutcome() to load the proper version of the script.

kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Sep 17, 2019
kovax added a commit that referenced this issue Oct 5, 2019
kovax added a commit that referenced this issue Oct 5, 2019
kovax added a commit that referenced this issue Oct 11, 2019
kovax added a commit that referenced this issue Oct 14, 2019
@kovax kovax modified the milestones: 4.4.0, 4.5.0 Nov 8, 2019
kovax added a commit that referenced this issue Nov 30, 2019
kovax added a commit that referenced this issue Nov 30, 2019
@kovax kovax modified the milestones: 4.5.0, 4.6.0 Dec 19, 2019
kovax added a commit that referenced this issue Dec 21, 2019
kovax added a commit that referenced this issue Jan 2, 2020
@kovax kovax modified the milestones: 4.6.0, 5.0.0 Jan 4, 2020
kovax added a commit that referenced this issue Jan 4, 2020
…OfMasterSchema

#279 - Item version of Master Schema and Aggregate Script
@kovax kovax closed this as completed Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dsl issue for the dsl package enhancement New feature or request kernel issue for the kernel package restapi issue for the restapi package
Projects
None yet
Development

No branches or pull requests

1 participant