Class SessionsService
java.lang.Object
org.qubership.integration.platform.engine.service.debugger.sessions.SessionsService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinishSession(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, ExecutionStatus executionStatus, String finishTime, long duration) voidlogSessionElementAfter(org.apache.camel.Exchange exchange, Exception externalException, String sessionId, String sessionElementId, String bodyForLogging, Map<String, String> headersForLogging, Map<String, String> contextHeaders, Map<String, SessionElementProperty> exchangePropertiesForLogging) voidlogSessionElementAfter(org.apache.camel.Exchange exchange, Exception externalException, String sessionId, String sessionElementId, Set<String> maskedFields, boolean maskingEnabled) voidlogSessionElementBefore(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String nodeId, String bodyForLogging, Map<String, String> headersForLogging, Map<String, String> contextHeaders, Map<String, SessionElementProperty> exchangePropertiesForLogging) voidlogSessionStepElementBefore(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String stepId, String stepChainElementId) moveFromSingleElCacheToCommonCache(String sessionId) Move element from single element cache to common sessions cachevoidputElementToSingleElCache(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String nodeId, String bodyForLogging, Map<String, String> headersForLogging, Map<String, String> contextHeaders, Map<String, SessionElementProperty> exchangePropertiesForLogging) Build and put NOT STEP session element to single element cache.voidputStepElementToSingleElCache(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String stepId, String stepChainElementId) Build and put STEP session element to single element cache.startSession(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String parentSessionId, String startTime, String currentDomain, String currentEngineAddress)
-
Constructor Details
-
SessionsService
-
-
Method Details
-
startSession
-
finishSession
public void finishSession(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, ExecutionStatus executionStatus, String finishTime, long duration) -
logSessionStepElementBefore
public void logSessionStepElementBefore(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String stepId, String stepChainElementId) -
logSessionElementBefore
public void logSessionElementBefore(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String nodeId, String bodyForLogging, Map<String, String> headersForLogging, Map<String, String> contextHeaders, Map<String, SessionElementProperty> exchangePropertiesForLogging) -
logSessionElementAfter
-
logSessionElementAfter
public void logSessionElementAfter(org.apache.camel.Exchange exchange, Exception externalException, String sessionId, String sessionElementId, String bodyForLogging, Map<String, String> headersForLogging, Map<String, String> contextHeaders, Map<String, SessionElementProperty> exchangePropertiesForLogging) -
putElementToSingleElCache
public void putElementToSingleElCache(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String nodeId, String bodyForLogging, Map<String, String> headersForLogging, Map<String, String> contextHeaders, Map<String, SessionElementProperty> exchangePropertiesForLogging) Build and put NOT STEP session element to single element cache. Used for ERROR level logging -
putStepElementToSingleElCache
public void putStepElementToSingleElCache(org.apache.camel.Exchange exchange, CamelDebuggerProperties dbgProperties, String sessionId, String sessionElementId, String stepId, String stepChainElementId) Build and put STEP session element to single element cache. Used for ERROR level logging -
moveFromSingleElCacheToCommonCache
Move element from single element cache to common sessions cache- Returns:
- session element id
-
sessionShouldBeLogged
-