From 9b05c5200ec98fb1e49edc55584e9284437095e0 Mon Sep 17 00:00:00 2001 From: Zipeng WU Date: Tue, 2 Nov 2021 12:11:00 +0100 Subject: [PATCH] SONAR-15423 Download access.log in system administration page --- .../js/apps/system/components/PageActions.tsx | 10 +++++ .../__snapshots__/PageActions-test.tsx.snap | 22 ++++++++++ .../sonar/server/platform/ws/LogsAction.java | 16 ++++--- .../server/platform/ws/LogsActionTest.java | 44 +++++-------------- 4 files changed, 52 insertions(+), 40 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx b/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx index 8554c67f874..3604e87eaa3 100644 --- a/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx +++ b/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx @@ -137,6 +137,16 @@ export default class PageActions extends React.PureComponent { Web Server +
  • + + Access Logs + +
  • }>