]> source.dussan.org Git - sonarqube.git/commit
SONAR-6799 SONAR-6232 compute engine logs
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 22 Sep 2015 19:09:45 +0000 (21:09 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Sun, 27 Sep 2015 10:29:27 +0000 (12:29 +0200)
commit7ed36fc7a331927153f99adf9683b5fe995851ea
treed57b0f9e4d9e45e07606b0454a40daf3bb39e99c
parent0d6868ad3bee64df7020d2b0a72b4dcdb90e0a3f
SONAR-6799 SONAR-6232 compute engine logs

- add WS api/ce/logs
- add boolean field 'logs' to the responses of the WS that return tasks
- purge log files (max nb of files per project can be configured)
41 files changed:
server/sonar-process/src/main/java/org/sonar/process/LogbackHelper.java
server/sonar-process/src/test/java/org/sonar/process/LogbackHelperTest.java
server/sonar-search/src/main/java/org/sonar/search/SearchLogging.java
server/sonar-server/src/main/java/org/sonar/server/app/WebLogging.java
server/sonar-server/src/main/java/org/sonar/server/computation/CePropertyDefinitions.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CeWorkerImpl.java
server/sonar-server/src/main/java/org/sonar/server/computation/log/CeFileAppenderFactory.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/log/CeLogAcceptFilter.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/log/CeLogDenyFilter.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/log/CeLogging.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/log/LogFileRef.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/log/package-info.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/CeWsModule.java
server/sonar-server/src/main/java/org/sonar/server/computation/ws/LogsWsAction.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/TaskFormatter.java
server/sonar-server/src/main/java/org/sonar/server/computation/ws/TaskWsAction.java
server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel1.java
server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
server/sonar-server/src/main/resources/org/sonar/server/computation/ws/activity-example.json
server/sonar-server/src/main/resources/org/sonar/server/computation/ws/project-example.json
server/sonar-server/src/main/resources/org/sonar/server/computation/ws/queue-example.json
server/sonar-server/src/test/java/org/sonar/server/app/ProgrammaticLogbackValveTest.java
server/sonar-server/src/test/java/org/sonar/server/app/WebLoggingTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/CePropertyDefinitionsTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/CeWorkerImplTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/log/CeFileAppenderFactoryTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/log/CeLogAcceptFilterTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/log/CeLogDenyFilterTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/log/CeLoggingTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/log/LogFileRefTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/ActivityWsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/ws/CeWsModuleTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/ws/LogsWsActionTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/ProjectWsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/ws/QueueWsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/ws/TaskFormatterTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/TaskWsActionTest.java
sonar-application/src/main/java/org/sonar/application/AppLogging.java
sonar-core/src/main/java/org/sonar/core/config/PurgeConstants.java
sonar-ws/src/main/gen-java/org/sonarqube/ws/WsCe.java
sonar-ws/src/main/protobuf/ws-ce.proto