-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add si-ent-api application deployement
- Loading branch information
1 parent
bfea155
commit c7973fa
Showing
5 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dependencies { | ||
runtime "fr.recia.api:esco-si-ent-api:${siENTAPIVersion}@war" | ||
} | ||
|
||
war { | ||
archiveName = 'si-ent-api.war' | ||
|
||
classpath = classpath.files | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<configuration scan="true" scanPeriod="30 seconds"> | ||
<contextName>si-ent-api</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> | ||
|
||
<appender name="AUTH" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>${LOG_DIR}/${CONTEXT_NAME}-auth.log</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | ||
<fileNamePattern>${LOG_DIR}/archives/${CONTEXT_NAME}-auth.%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> | ||
|
||
|
||
<logger name="fr.recia" level="WARN"/> | ||
<logger name="org" level="WARN"/> | ||
|
||
<logger name="fr.recia.si.ent.api.config.security.AuthenticationService" level="INFO" additivity="false"> | ||
<appender-ref ref="AUTH" /> | ||
</logger> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="FILE"/> | ||
</root> | ||
|
||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"> | ||
<resetJUL>true</resetJUL> | ||
</contextListener> | ||
|
||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters