Add cloud information model archive builder #8503
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the archive build that converts the Cloud Information Model JSON LD format into a gloassary. There are multiple errors in the JSONLD file and so this is a temporary measure until we can create a way to maintain the content.
This addition allowed us to rebuild the CloudInformationModel.omarchive to correct errors in the way Enums are stored - and to add the RootCategery classification to the top-level category.
Related Issue(s)
PostgreSQL Repository Connector
I noticed a problem in the saving of new versions of an entity in that it was adding the classifications as if they were new. This meant that the classification/classification attributes tables were accumulating multiple active versions of the same classification. This only occurred when the entity was updated.
Testing
Loading multiple versions of the core content pack into the repository. This showed the classification loading problem that was fixed above.
Loading the regenrated CloudInformationModel archive to check that it loaded without error.
Release Notes & Documentation
The CloudInformaitonModel archive is already documented - this PR just adds the capability to maintain it.
Additional notes
none