nsx-metamodels
2023.4.0 (2023-05-31)
Fixed
- [important] Fixed a bug that causes options with
alwaysEnabled
andvalidUntil
to be added, but also be checked for expiration. This combination can cause projects to not be able to expand after the deadline, regardless of setting.
Changed
- Applied the flatten plugin to primeMetamodel and metaMetamodel projects to provide cleaner pom.xml files.
Removed
- Removed logic that automatically added the option
isStatusField
to fields with the namestatus
and typejava.lang.String
. The option now needs to be explicitly added.
Added
- Added SCM information to deployed pom.xml artifacts.
2023.3.4 (2023-05-25)
Added
- Added several validation rules for ontologies
Fixed
- Fixed test model builder for ontologies (couldn't find ontology in expansionMetaModel)
- Fixed ExtractClasspathResourcesStep for multiple DataResources with the same Classpath location (used in tests)
2023.3.3 (2023-05-23)
Changed
- Changed PrimeDataLoader so that it loads DataResources directly from their source jar instead of the classpath. This prevents issues with DataResources that overlap in the classpath.
2023.3.2 (2023-05-17)
Changed
- Moved ValueType prototype resolution to convertModel step. This should fix some warnings during expansion.
2023.3.1 (2023-05-11)
Added
- Added warning for expanders when retrieving nativeTypes or restrictions when inheritance has not been resolved.
Fixed
- Fixed an issue in SimpleValueTypeCompositeToTree when inheritance was not resolved (e.g. in Micro-Radiant)
2023.3.0 (2023-05-10)
Added
- Added DataResource registration that does not require a
_data.xml
file, instead it looks for files with dataResource as root tag. - Added DataResourceValidator to validate data-resources.
Fixed
- Fixed NullPointerException in
TestModelBuilder#extendModel()
ifbuildModel()
was not used.
2023.2.3 (2023-04-20)
Removed
- Removed options that expired on 2023-04-07:
legacy.valueFieldType.hashCodeMethod.disable
2023.2.2 (2023-04-20)
Fixed
- Fixed issue in DelegatingDataResourceLoader that caused data to start leaking in tests./
2023.2.0 (2023-04-12)
Added
- Added ArtifactListener element. ArtifactListeners can be registered to add logic before/after writing each Artifact.
- DataResources can now skip the elementTypeCanonicalName and instead define a type attribute on the root XML.
The type should be the elementType reference (e.g.
elements::Technology
).
Fixed
- Removed Time ValueType
- Added Text ValueType for creating String types that have no limit
2023.1.2 (2023-03-31)
Added
- Added CustomRestriction for ValueTypes
- Added find logic in TestModelBuilder that uses CompositeScanners. This means
buildModelAndFind()
now supports elements that do not reference their composition parent in their functional key (globallyUnique)
Fixed
ValueTypes
- Fixed SimpleValueType CompositeToTree so that inherited properties aren't exported.
- Fixed an issue causing String SimpleValueType to be missing nativeTypes.
Metamodels
- Fixed issues with elements that have a composition Reference to themselves.
- Fixed import from directory causing elements from within the file to be overwritten
2023.1.1 (2023-03-20)
Fixed
- Fix export of ValueField so that it only exports type if that was the original representation in the file
- Fix NullPointerException in FieldCompositeEnricher
2023.1.0 (2023-03-20)
Added
Added ValueType to replace ValueFieldType
- ValueType currently has a single subclass SimpleValueType
- SimpleValueTypes have NativeTypes to represent specific types native to a technology
- SimpleValueTypes also have Restrictions to represent constraints, such as string length etc.
ModelLoadingListeners ValueTypeToValueFieldTypeConverter and ValueFieldTypeToValueTypeConverter keep ValueFieldTypes and ValueTypes synchronized. This should keep both expanders based on ValueFieldTypes and on ValueTypes running.
2023.0.2 (2023-02-01)
- Re-release 2023.0.1
2023.0.0 (2023-01-31)
- merged prime-core 2022.11.x changes
2022.12.0-alpha-2 (2022-12-07)
Added
- Added ElementType methods on TreeProjection
- Added superType and isAbstract to ElementType Data Resources
- Added
oppositeField
to LinkField
Fixed
- Added missing implementation for
newCompositeEnricher()
on CompositeFactories - Implemented multi-level inheritance of attributes and references
2022.12.0-alpha-1 (2022-11-30)
Changed
- merged prime-core, metamodel-stack and meta-metamodel into nsx-metamodels repository
- merged several metamodel-stack expansion-resources into metamodel-expanders
Added
- Added support for inheritance in metamodels. You can assign a superClass for each ElementClass. That superClass needs to have isAbstract enabled
- Added isSealed. Sealed ElementClasses can be inherited from, but only from within the same Ontology.
Removed
- Removed id field from Composites and Trees
- Removed element-stubs expansion-resource