dbeaver/pro#6687 revert audit loging (#3674)" (#3684)

This reverts commit 55c776f3e4.
This commit is contained in:
Ruslan Musaev
2025-08-20 15:13:55 +00:00
committed by GitHub
parent a2695f3102
commit 31841b7720
3 changed files with 2 additions and 3 deletions
@@ -37,7 +37,6 @@ public interface ApiCallInterceptor {
@NotNull HttpServletRequest request,
@Nullable Map<String, Object> variables,
@NotNull String apiCall,
@Nullable String userId,
@NotNull LocalDateTime startTime,
@Nullable String errorMessage,
@NotNull String apiProtocol
@@ -271,7 +271,7 @@ public class GraphQLEndpoint extends HttpServlet {
errorMessage = executionException.getMessage();
}
if (WebAppUtils.getWebApplication() instanceof ApiCallInterceptor apiCallInterceptor) {
apiCallInterceptor.onApiCallEvent(request, variables, operationName, userId, startTime, errorMessage, API_PROTOCOL);
apiCallInterceptor.onApiCallEvent(request, variables, operationName, startTime, errorMessage, API_PROTOCOL);
}
}
@@ -75,7 +75,7 @@ public abstract class WebServiceServletBase extends HttpServlet {
} finally {
if (WebAppUtils.getWebApplication() instanceof ApiCallInterceptor apiCallInterceptor) {
apiCallInterceptor.onApiCallEvent(
request, getVariables(request), request.getRequestURI(), null, startTime, errorMessage, API_PROTOCOL
request, getVariables(request), request.getRequestURI(), startTime, errorMessage, API_PROTOCOL
);
}
}