mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
Resolve "Make engine version configurable"
This commit is contained in:
parent
94f872c752
commit
6fba84f31b
5 changed files with 81 additions and 10 deletions
|
|
@ -58,10 +58,6 @@ import net.sf.saxon.s9api.Processor;
|
|||
@Slf4j
|
||||
public class DefaultCheck implements Check {
|
||||
|
||||
private static final String ENGINE_NAME = "KoSIT Prüftool";
|
||||
|
||||
private static final String ENGINE_VERSION = "1.0.0";
|
||||
|
||||
@Getter
|
||||
private final ScenarioRepository repository;
|
||||
|
||||
|
|
@ -99,10 +95,10 @@ public class DefaultCheck implements Check {
|
|||
protected static CreateReportInput createReport() {
|
||||
final CreateReportInput type = new CreateReportInput();
|
||||
final EngineType e = new EngineType();
|
||||
e.setName(ENGINE_NAME);
|
||||
e.setName(EngineInformation.getName());
|
||||
type.setEngine(e);
|
||||
type.setTimestamp(ObjectFactory.createTimestamp());
|
||||
type.setFrameworkVersion(ENGINE_VERSION);
|
||||
type.setFrameworkVersion(EngineInformation.getFrameworkVersion());
|
||||
return type;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue