(chore) engine version in engine info

This commit is contained in:
Andreas Penski (init) 2020-07-08 13:29:01 +02:00
parent 08d43dc9ab
commit 5a7c6775b1
2 changed files with 4 additions and 1 deletions

View file

@ -4,6 +4,9 @@ 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/) 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 1.3.1
### Changed
- engine info contains version number of the validator (configurations can output this in the report for maintainance puposes)
## 1.3.0 ## 1.3.0

View file

@ -92,7 +92,7 @@ public class DefaultCheck implements Check {
protected static CreateReportInput createReport() { protected static CreateReportInput createReport() {
final CreateReportInput type = new CreateReportInput(); final CreateReportInput type = new CreateReportInput();
final EngineType e = new EngineType(); final EngineType e = new EngineType();
e.setName(EngineInformation.getName()); e.setName(EngineInformation.getName() + " " + EngineInformation.getVersion());
type.setEngine(e); type.setEngine(e);
type.setTimestamp(createTimestamp()); type.setTimestamp(createTimestamp());
type.setFrameworkVersion(EngineInformation.getFrameworkVersion()); type.setFrameworkVersion(EngineInformation.getFrameworkVersion());