Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #8 from mohideen/internal-audit
- Loading branch information
Showing
6 changed files
with
160 additions
and
4 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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation=" | ||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | ||
|
||
<!-- Master context for fcrepo4. --> | ||
|
||
<import resource="${fcrepo.spring.repo.configuration:classpath:/spring/auth-repo.xml}"/> | ||
<import resource="${fcrepo.spring.rest.configuration:classpath:/spring/rest.xml}"/> | ||
<import resource="${fcrepo.spring.minter.configuration:classpath:/spring/minter.xml}"/> | ||
<import resource="${fcrepo.spring.eventing.configuration:classpath:/spring/eventing.xml}"/> | ||
<import resource="${fcrepo.spring.jms.configuration:classpath:/spring/jms.xml}"/> | ||
<import resource="${fcrepo.spring.transactions.configuration:classpath:/spring/transactions.xml}"/> | ||
|
||
<!-- audit context --> | ||
<import resource="${fcrepo.spring.jms.configuration:classpath:/spring/audit.xml}"/> | ||
</beans> |
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,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE configuration> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%p %d{HH:mm:ss.SSS} \(%c{0}\) %m%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="org.fcrepo.auth" additivity="false" level="${fcrepo.log.auth:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo.connector.file" additivity="false" level="${fcrepo.log.connector.file:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo.http.api" additivity="false" level="${fcrepo.log.http.api:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo.http.commons" additivity="false" level="${fcrepo.log.http.commons:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo.jms" additivity="false" level="${fcrepo.log.jms:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo.kernel" additivity="false" level="${fcrepo.log.kernel:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo.transform" additivity="false" level="${fcrepo.log.transform:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo" additivity="false" level="${fcrepo.log:-INFO}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<logger name="org.fcrepo.audit" additivity="false" level="${fcrepo.log.audit:-TRACE}"> | ||
<appender-ref ref="STDOUT"/> | ||
</logger> | ||
<root additivity="false" level="WARN"> | ||
<appender-ref ref="STDOUT"/> | ||
</root> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:context="http://www.springframework.org/schema/context" | ||
xmlns:p="http://www.springframework.org/schema/p" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | ||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> | ||
|
||
<context:annotation-config/> | ||
|
||
<!-- publishes events from the internal bus to JMS --> | ||
<bean class="org.fcrepo.audit.InternalAuditor"/> | ||
|
||
|
||
|
||
</beans> |
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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation=" | ||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | ||
|
||
<!-- Master context for fcrepo4. --> | ||
|
||
<import resource="${fcrepo.spring.repo.configuration:classpath:/spring/repo.xml}"/> | ||
<import resource="${fcrepo.spring.rest.configuration:classpath:/spring/rest.xml}"/> | ||
<import resource="${fcrepo.spring.minter.configuration:classpath:/spring/minter.xml}"/> | ||
<import resource="${fcrepo.spring.eventing.configuration:classpath:/spring/eventing.xml}"/> | ||
<import resource="${fcrepo.spring.jms.configuration:classpath:/spring/jms.xml}"/> | ||
<import resource="${fcrepo.spring.transactions.configuration:classpath:/spring/transactions.xml}"/> | ||
|
||
<!-- audit context --> | ||
<import resource="${fcrepo.spring.jms.configuration:classpath:/spring/audit.xml}"/> | ||
</beans> |