Skip to content

Commit

Permalink
feat: Add collabsoft to deployer
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Guillemin committed Apr 22, 2024
1 parent 0490535 commit a6fbc31
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ pronoteWSVersion=0.0.4
escoGLCVersion=0.0.4

wisemappingVersion=5.0.21-recia-1.1.0
escoCollabsoftVersion=0.0.1-SNAPSHOT

org.gradle.parallel=true
8 changes: 8 additions & 0 deletions overlays/collabsoft/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dependencies {
runtime "fr.recia.collabsoft:esco-collabsoft:${escoCollabsoftVersion}@war"
}

war {
archiveName = "collabsoft.war"
classpath = classpath.files
}
31 changes: 31 additions & 0 deletions overlays/collabsoft/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>

<configuration scan="true" scanPeriod="30 seconds">
<contextName>collabsoft</contextName>
<jmxConfigurator/>

<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_DIR}/${CONTEXT_NAME}.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_DIR}/archives/${CONTEXT_NAME}.%d{yyyy-MM-dd}.log.gz
</fileNamePattern>
<maxHistory>366</maxHistory>
</rollingPolicy>
<encoder>
<charset>UTF-8</charset>
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level [%thread] %logger: %msg%n</Pattern>
</encoder>
</appender>

<root level="${logback.loglevel:-WARN}">
<appender-ref ref="FILE"/>
</root>


<logger name="fr.recia.collabsoft" level="WARN"/>

<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
<resetJUL>true</resetJUL>
</contextListener>

</configuration>
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ include "overlays:pronote-ws"
include "overlays:GLC"
include 'overlays:psi-probe'
include 'overlays:wisemapping'
include 'overlays:collabsoft'

0 comments on commit a6fbc31

Please sign in to comment.