Class TigerProxyConfiguration.TigerProxyConfigurationBuilder
- java.lang.Object
-
- de.gematik.test.tiger.common.data.config.tigerProxy.TigerProxyConfiguration.TigerProxyConfigurationBuilder
-
- Enclosing class:
- TigerProxyConfiguration
public static class TigerProxyConfiguration.TigerProxyConfigurationBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
proxyRoutes
public TigerProxyConfiguration.TigerProxyConfigurationBuilder proxyRoutes(List<TigerRoute> proxyRoutes)
- Returns:
this.
-
forwardToProxy
public TigerProxyConfiguration.TigerProxyConfigurationBuilder forwardToProxy(ForwardProxyInfo forwardToProxy)
- Returns:
this.
-
directReverseProxy
public TigerProxyConfiguration.TigerProxyConfigurationBuilder directReverseProxy(DirectReverseProxyInfo directReverseProxy)
- Returns:
this.
-
proxyLogLevel
public TigerProxyConfiguration.TigerProxyConfigurationBuilder proxyLogLevel(String proxyLogLevel)
- Returns:
this.
-
tls
public TigerProxyConfiguration.TigerProxyConfigurationBuilder tls(TigerTlsConfiguration tls)
- Returns:
this.
-
keyFolders
public TigerProxyConfiguration.TigerProxyConfigurationBuilder keyFolders(List<String> keyFolders)
- Returns:
this.
-
activateAsn1Parsing
public TigerProxyConfiguration.TigerProxyConfigurationBuilder activateAsn1Parsing(boolean activateAsn1Parsing)
- Returns:
this.
-
activateForwardAllLogging
public TigerProxyConfiguration.TigerProxyConfigurationBuilder activateForwardAllLogging(boolean activateForwardAllLogging)
- Returns:
this.
-
fileSaveInfo
public TigerProxyConfiguration.TigerProxyConfigurationBuilder fileSaveInfo(TigerFileSaveInfo fileSaveInfo)
- Returns:
this.
-
proxyPort
public TigerProxyConfiguration.TigerProxyConfigurationBuilder proxyPort(Integer proxyPort)
- Returns:
this.
-
skipTrafficEndpointsSubscription
public TigerProxyConfiguration.TigerProxyConfigurationBuilder skipTrafficEndpointsSubscription(boolean skipTrafficEndpointsSubscription)
- Returns:
this.
-
trafficEndpoints
public TigerProxyConfiguration.TigerProxyConfigurationBuilder trafficEndpoints(List<String> trafficEndpoints)
- Returns:
this.
-
downloadInitialTrafficFromEndpoints
public TigerProxyConfiguration.TigerProxyConfigurationBuilder downloadInitialTrafficFromEndpoints(boolean downloadInitialTrafficFromEndpoints)
- Returns:
this.
-
trafficEndpointFilterString
public TigerProxyConfiguration.TigerProxyConfigurationBuilder trafficEndpointFilterString(String trafficEndpointFilterString)
- Returns:
this.
-
maximumPartialMessageAgeInSeconds
public TigerProxyConfiguration.TigerProxyConfigurationBuilder maximumPartialMessageAgeInSeconds(int maximumPartialMessageAgeInSeconds)
- Returns:
this.
-
connectionTimeoutInSeconds
public TigerProxyConfiguration.TigerProxyConfigurationBuilder connectionTimeoutInSeconds(int connectionTimeoutInSeconds)
- Returns:
this.
-
stompClientBufferSizeInMb
public TigerProxyConfiguration.TigerProxyConfigurationBuilder stompClientBufferSizeInMb(int stompClientBufferSizeInMb)
- Returns:
this.
-
perMessageBufferSizeInMb
public TigerProxyConfiguration.TigerProxyConfigurationBuilder perMessageBufferSizeInMb(int perMessageBufferSizeInMb)
- Returns:
this.
-
rbelBufferSizeInMb
public TigerProxyConfiguration.TigerProxyConfigurationBuilder rbelBufferSizeInMb(int rbelBufferSizeInMb)
- Returns:
this.
-
skipParsingWhenMessageLargerThanKb
public TigerProxyConfiguration.TigerProxyConfigurationBuilder skipParsingWhenMessageLargerThanKb(int skipParsingWhenMessageLargerThanKb)
- Returns:
this.
-
skipDisplayWhenMessageLargerThanKb
public TigerProxyConfiguration.TigerProxyConfigurationBuilder skipDisplayWhenMessageLargerThanKb(int skipDisplayWhenMessageLargerThanKb)
- Returns:
this.
-
activateRbelParsing
public TigerProxyConfiguration.TigerProxyConfigurationBuilder activateRbelParsing(boolean activateRbelParsing)
- Returns:
this.
-
activateEpaVauAnalysis
public TigerProxyConfiguration.TigerProxyConfigurationBuilder activateEpaVauAnalysis(boolean activateEpaVauAnalysis)
- Returns:
this.
-
activateErpVauAnalysis
public TigerProxyConfiguration.TigerProxyConfigurationBuilder activateErpVauAnalysis(boolean activateErpVauAnalysis)
- Returns:
this.
-
parsingShouldBlockCommunication
public TigerProxyConfiguration.TigerProxyConfigurationBuilder parsingShouldBlockCommunication(boolean parsingShouldBlockCommunication)
- Returns:
this.
-
rewriteHostHeader
public TigerProxyConfiguration.TigerProxyConfigurationBuilder rewriteHostHeader(boolean rewriteHostHeader)
- Returns:
this.
-
trafficEndpointConfiguration
public TigerProxyConfiguration.TigerProxyConfigurationBuilder trafficEndpointConfiguration(TrafficEndpointConfiguration trafficEndpointConfiguration)
- Returns:
this.
-
modifications
public TigerProxyConfiguration.TigerProxyConfigurationBuilder modifications(List<RbelModificationDescription> modifications)
- Returns:
this.
-
localResources
public TigerProxyConfiguration.TigerProxyConfigurationBuilder localResources(boolean localResources)
- Returns:
this.
-
maximumTrafficDownloadPageSize
public TigerProxyConfiguration.TigerProxyConfigurationBuilder maximumTrafficDownloadPageSize(int maximumTrafficDownloadPageSize)
- Returns:
this.
-
trafficDownloadPageSize
public TigerProxyConfiguration.TigerProxyConfigurationBuilder trafficDownloadPageSize(int trafficDownloadPageSize)
- Returns:
this.
-
name
public TigerProxyConfiguration.TigerProxyConfigurationBuilder name(String name)
- Returns:
this.
-
adminPort
public TigerProxyConfiguration.TigerProxyConfigurationBuilder adminPort(int adminPort)
Management-port of the Tiger Proxy.- Returns:
this.
-
filenamePattern
public TigerProxyConfiguration.TigerProxyConfigurationBuilder filenamePattern(String filenamePattern)
- Returns:
this.
-
uploadUrl
public TigerProxyConfiguration.TigerProxyConfigurationBuilder uploadUrl(String uploadUrl)
- Returns:
this.
-
username
public TigerProxyConfiguration.TigerProxyConfigurationBuilder username(String username)
- Returns:
this.
-
password
public TigerProxyConfiguration.TigerProxyConfigurationBuilder password(String password)
- Returns:
this.
-
proxiedServer
public TigerProxyConfiguration.TigerProxyConfigurationBuilder proxiedServer(String proxiedServer)
used to overwrite proxyCfg with values that allow to reverse proxy the given server node.- Returns:
this.
-
proxiedServerProtocol
public TigerProxyConfiguration.TigerProxyConfigurationBuilder proxiedServerProtocol(String proxiedServerProtocol)
Used when adding a route to the Tiger Proxy. By default, or when set to "inherit", the healthcheck-url-protocol is used here, alternatively you may use http or https explicitly.- Returns:
this.
-
build
public TigerProxyConfiguration build()
-
-