Skip to content
Snippets Groups Projects
Commit 2cf59593 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

Merge branch 'KOP-3126-Add-xta-client-lib-opts' into 'release-2.19.0'

KOP-3126 config: Add logging and schema validation setting

See merge request !7
parents cc3a7f21 5ef92bbe
No related branches found
No related tags found
2 merge requests!8Release 2.19.0,!7KOP-3126 config: Add logging and schema validation setting
Pipeline #2267 passed
...@@ -54,6 +54,10 @@ class XtaProperties { ...@@ -54,6 +54,10 @@ class XtaProperties {
private KeyStore keyStore; private KeyStore keyStore;
@NotEmpty @NotEmpty
private List<String> identifiers; private List<String> identifiers;
private boolean logSoapRequests;
private boolean logSoapResponses;
private boolean validateSoapSchemas;
} }
@Validated @Validated
......
...@@ -73,6 +73,9 @@ public class XtaServiceConfiguration { ...@@ -73,6 +73,9 @@ public class XtaServiceConfiguration {
.msgBoxServiceUrl(getMsgBoxPortUrl()) .msgBoxServiceUrl(getMsgBoxPortUrl())
.clientCertKeystore(clientCertKeyStore) .clientCertKeystore(clientCertKeyStore)
.isMessageSupported(this::isSupportedMessageType) .isMessageSupported(this::isSupportedMessageType)
.logSoapRequests(properties.isLogSoapRequests())
.logSoapResponses(properties.isLogSoapResponses())
.schemaValidation(properties.isValidateSoapSchemas())
.build(); .build();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment