diff --git a/openvidu-server/pom.xml b/openvidu-server/pom.xml index 5b995cc645..e7fe0836ab 100644 --- a/openvidu-server/pom.xml +++ b/openvidu-server/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 @@ -211,6 +212,12 @@ openvidu-java-client 1.7.0 + + org.codehaus.janino + janino + 3.0.7 + + diff --git a/openvidu-server/sonar-project.properties b/openvidu-server/sonar-project.properties new file mode 100644 index 0000000000..d5c0bb0dce --- /dev/null +++ b/openvidu-server/sonar-project.properties @@ -0,0 +1,13 @@ +# Required metadata +sonar.projectKey=java-sonar-runner-simple +sonar.projectName=Sonar OpenVidu Server +sonar.projectVersion=1.0 + +# Comma-separated paths to directories with sources (required) +sonar.sources=src + +# Language +sonar.language=java + +# Encoding of the source files +sonar.sourceEncoding=UTF-8 diff --git a/openvidu-server/src/main/java/io/openvidu/server/cdr/CallDetailRecord.java b/openvidu-server/src/main/java/io/openvidu/server/cdr/CallDetailRecord.java index a82f87919d..abf8d3b420 100644 --- a/openvidu-server/src/main/java/io/openvidu/server/cdr/CallDetailRecord.java +++ b/openvidu-server/src/main/java/io/openvidu/server/cdr/CallDetailRecord.java @@ -14,6 +14,7 @@ /** * CDR logger to register all information of each WebRTC connection: + * Enabled by property 'openvidu.cdr=true' * * - Participant unique identifier * - Session unique identifier diff --git a/openvidu-server/src/main/resources/application-ngrok.properties b/openvidu-server/src/main/resources/application-ngrok.properties index 1848760d8f..5c50df5866 100644 --- a/openvidu-server/src/main/resources/application-ngrok.properties +++ b/openvidu-server/src/main/resources/application-ngrok.properties @@ -5,6 +5,9 @@ server.ssl.enabled: false server.address: 0.0.0.0 kms.uris=[\"ws://localhost:8888/kurento\"] - openvidu.secret: MY_SECRET -openvidu.publicurl: ngrok \ No newline at end of file +openvidu.publicurl: ngrok +openvidu.cdr: false +openvidu.recording: false +openvidu.recording.path: /opt/openvidu/recordings +openvidu.recording.free-access: false \ No newline at end of file diff --git a/openvidu-server/src/main/resources/logback.xml b/openvidu-server/src/main/resources/logback.xml index fe567bba95..37a136a80e 100644 --- a/openvidu-server/src/main/resources/logback.xml +++ b/openvidu-server/src/main/resources/logback.xml @@ -1,28 +1,42 @@ - + [%p] %d [%.12t] %c \(%M\) - %msg%n - - - log/CDR.%d{yyyy-MM-dd}_${myTimestamp}.log - 30 - 20GB - - - %m\n - - - - - - + + + + + + + + + + + + + log/CDR.%d{yyyy-MM-dd}_${myTimestamp}.log + + 30 + 20GB + + + %m\n + + + + + + + + \ No newline at end of file