Skip to content

Commit

Permalink
updated version in CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agg3fe committed Feb 9, 2024
1 parent ba162c8 commit 9ea1dc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.2.17
## 0.3.0
### Added
- Upgrade dependency to ESMF SDK 2.5.1
### Fixed
Validation removed while upload of model in semantic hub via API.

## 0.2.16
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ public SemanticModel save( SemanticModelType type, String newModel, SemanticMode
validateStatus( status, rdfModel, modelUrn, existsByPackage.get().getStatus() );
}

sdsSdk.validate( rdfModel, this::findContainingModelByUrn, type );
/**
* This statement is commented out as this is creating problem in validation of models. Even if dependent models are present,
* it is not able to find them and does not allow to upload the model.
* Since the model validation is being performed on eclipse-tractusx/sldt-semantic-models, so every models uploaded to
* semantic hub is validated already.
**/
// sdsSdk.validate( rdfModel, this::findContainingModelByUrn, type );

Model rdfModelOriginal = sdsSdk.load( newModel.getBytes( StandardCharsets.UTF_8 ) );

Expand Down

0 comments on commit 9ea1dc0

Please sign in to comment.