Class IpfAtnaConfigurationProperties
java.lang.Object
org.openehealth.ipf.boot.atna.IpfAtnaConfigurationProperties
@ConfigurationProperties(prefix="ipf.atna")
public class IpfAtnaConfigurationProperties
extends Object
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnterprise Site IdClass<? extends AuditExceptionHandler> Sets the exception handler in case auditing failsClass<? extends AuditMessagePostProcessor> Sets the Audit Message Postprocessor classClass<? extends AuditMessageQueue> Sets the Audit Message Queue class to be used for sending ATNA recordsSets the host of the audit repository.intSets the port of the audit repository.Sets the Audit transport (UDP, TLS)Class<? extends AuditTransmissionProtocol> Sets the Audit Sender class to be used for sending ATNA recordsgetBalp()Class<? extends FhirAuditDatasetEnricher> Class of the optional audit dataset enricher for FHIR based transactions.Names of the HTTP headers that may carry the id correlating the audit records the two ends of a transaction write about it, most preferred first.Participant object ID type to record the correlation id under, whichever header it was found in.Class<? extends WsAuditDatasetEnricher> Class of the optional audit dataset enricher for Web Service based transactions.booleanbooleanbooleanvoidsetAuditEnabled(boolean auditEnabled) voidsetAuditEnterpriseSiteId(String auditEnterpriseSiteId) Enterprise Site IdvoidsetAuditExceptionHandlerClass(Class<? extends AuditExceptionHandler> auditExceptionHandlerClass) Sets the exception handler in case auditing failsvoidsetAuditMessagePostProcessorClass(Class<? extends AuditMessagePostProcessor> auditMessagePostProcessorClass) Sets the Audit Message Postprocessor classvoidsetAuditQueueClass(Class<? extends AuditMessageQueue> auditQueueClass) Sets the Audit Message Queue class to be used for sending ATNA recordsvoidsetAuditRepositoryHost(String auditRepositoryHost) Sets the host of the audit repository.voidsetAuditRepositoryPort(int auditRepositoryPort) Sets the port of the audit repository.voidsetAuditRepositoryTransport(String auditRepositoryTransport) Sets the Audit transport (UDP, TLS)voidsetAuditSenderClass(Class<? extends AuditTransmissionProtocol> auditSenderClass) Sets the Audit Sender class to be used for sending ATNA recordsvoidsetAuditSendingApplication(String auditSendingApplication) voidsetAuditSourceId(String auditSourceId) voidsetAuditSourceType(AuditSource auditSourceType) voidsetAuditValueIfMissing(String auditValueIfMissing) voidvoidsetFhirAuditDatasetEnricherClass(Class<? extends FhirAuditDatasetEnricher> fhirAuditDatasetEnricherClass) Class of the optional audit dataset enricher for FHIR based transactions.voidsetIncludeParticipantsFromResponse(boolean includeParticipantsFromResponse) voidsetRequestIdHeaderNames(List<String> requestIdHeaderNames) Names of the HTTP headers that may carry the id correlating the audit records the two ends of a transaction write about it, most preferred first.voidsetRequestIdType(ParticipantObjectIdTypeCode requestIdType) Participant object ID type to record the correlation id under, whichever header it was found in.voidsetSpringAuditEventEnabled(boolean springAuditEventEnabled) voidsetWsAuditDatasetEnricherClass(Class<? extends WsAuditDatasetEnricher> wsAuditDatasetEnricherClass) Class of the optional audit dataset enricher for Web Service based transactions.
-
Constructor Details
-
IpfAtnaConfigurationProperties
public IpfAtnaConfigurationProperties()
-
-
Method Details
-
isAuditEnabled
public boolean isAuditEnabled() -
setAuditEnabled
public void setAuditEnabled(boolean auditEnabled) -
getAuditSourceType
-
setAuditSourceType
-
getAuditSourceId
-
setAuditSourceId
-
getAuditSendingApplication
-
setAuditSendingApplication
-
getRequestIdHeaderNames
Names of the HTTP headers that may carry the id correlating the audit records the two ends of a transaction write about it, most preferred first. The first header a request actually carries wins; empty disables the lookup.IHE BALP asks for X-Request-Id and reports it as the transaction entity of an AuditEvent. A deployment that already propagates a trace can name its headers instead: "traceparent" for W3C Trace Context, or "b3" and "X-B3-TraceId" for the single-header and multi-header flavours of B3 (naming both accepts whichever a caller uses; they yield the same id).
-
setRequestIdHeaderNames
Names of the HTTP headers that may carry the id correlating the audit records the two ends of a transaction write about it, most preferred first. The first header a request actually carries wins; empty disables the lookup.IHE BALP asks for X-Request-Id and reports it as the transaction entity of an AuditEvent. A deployment that already propagates a trace can name its headers instead: "traceparent" for W3C Trace Context, or "b3" and "X-B3-TraceId" for the single-header and multi-header flavours of B3 (naming both accepts whichever a caller uses; they yield the same id).
-
getRequestIdType
Participant object ID type to record the correlation id under, whichever header it was found in. Leave unset and the type follows the header, so that the DICOM audit record says which propagation format the id came from: XRequestId, W3cTraceContext, B3SingleHeader or B3MultiHeader. Set it only to flatten that distinction, e.g. for a repository that understands XRequestId alone. -
setRequestIdType
Participant object ID type to record the correlation id under, whichever header it was found in. Leave unset and the type follows the header, so that the DICOM audit record says which propagation format the id came from: XRequestId, W3cTraceContext, B3SingleHeader or B3MultiHeader. Set it only to flatten that distinction, e.g. for a repository that understands XRequestId alone. -
getAuditRepositoryTransport
Sets the Audit transport (UDP, TLS) -
setAuditRepositoryTransport
Sets the Audit transport (UDP, TLS) -
getAuditRepositoryHost
Sets the host of the audit repository. Deprecated, set ipf.atna.audit-repository-host -
setAuditRepositoryHost
Sets the host of the audit repository. Deprecated, set ipf.atna.audit-repository-host -
getAuditRepositoryPort
public int getAuditRepositoryPort()Sets the port of the audit repository. Deprecated, set ipf.atna.audit-repository-port -
setAuditRepositoryPort
public void setAuditRepositoryPort(int auditRepositoryPort) Sets the port of the audit repository. Deprecated, set ipf.atna.audit-repository-port -
getAuditEnterpriseSiteId
Enterprise Site Id -
setAuditEnterpriseSiteId
Enterprise Site Id -
getAuditQueueClass
Sets the Audit Message Queue class to be used for sending ATNA records -
setAuditQueueClass
Sets the Audit Message Queue class to be used for sending ATNA records -
getAuditMessagePostProcessorClass
Sets the Audit Message Postprocessor class -
setAuditMessagePostProcessorClass
public void setAuditMessagePostProcessorClass(Class<? extends AuditMessagePostProcessor> auditMessagePostProcessorClass) Sets the Audit Message Postprocessor class -
getAuditSenderClass
Sets the Audit Sender class to be used for sending ATNA records -
setAuditSenderClass
Sets the Audit Sender class to be used for sending ATNA records -
getAuditExceptionHandlerClass
Sets the exception handler in case auditing fails -
setAuditExceptionHandlerClass
public void setAuditExceptionHandlerClass(Class<? extends AuditExceptionHandler> auditExceptionHandlerClass) Sets the exception handler in case auditing fails -
isIncludeParticipantsFromResponse
public boolean isIncludeParticipantsFromResponse() -
setIncludeParticipantsFromResponse
public void setIncludeParticipantsFromResponse(boolean includeParticipantsFromResponse) -
getAuditValueIfMissing
-
setAuditValueIfMissing
-
isSpringAuditEventEnabled
public boolean isSpringAuditEventEnabled() -
setSpringAuditEventEnabled
public void setSpringAuditEventEnabled(boolean springAuditEventEnabled) -
getWsAuditDatasetEnricherClass
Class of the optional audit dataset enricher for Web Service based transactions. -
setWsAuditDatasetEnricherClass
public void setWsAuditDatasetEnricherClass(Class<? extends WsAuditDatasetEnricher> wsAuditDatasetEnricherClass) Class of the optional audit dataset enricher for Web Service based transactions. -
getFhirAuditDatasetEnricherClass
Class of the optional audit dataset enricher for FHIR based transactions. -
setFhirAuditDatasetEnricherClass
public void setFhirAuditDatasetEnricherClass(Class<? extends FhirAuditDatasetEnricher> fhirAuditDatasetEnricherClass) Class of the optional audit dataset enricher for FHIR based transactions. -
getBalp
-
setBalp
-