Skip to content

Commit

Permalink
Xenon 1.4.3
Browse files Browse the repository at this point in the history
Bumped version to 3.4.5
  • Loading branch information
dkovacevic committed Nov 1, 2022
1 parent 233ddf7 commit 88b01af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.wire</groupId>
<artifactId>lithium</artifactId>
<version>3.4.4</version>
<version>3.4.5</version>
<name>Lithium</name>
<description>Wire Bots SDK written in Java</description>
<url>https://wire.com/</url>
Expand Down Expand Up @@ -58,7 +58,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<dropwizard.version>2.1.4</dropwizard.version>
<xenon.version>1.4.2</xenon.version>
<xenon.version>1.4.3</xenon.version>
<junit.version>5.9.0</junit.version>
<maven.test.skip>true</maven.test.skip>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public class StatusCheckFilter implements FilterFactory<IAccessEvent> {
@Override
public Filter<IAccessEvent> build() {
return new Filter<IAccessEvent>() {
return new Filter<>() {
@Override
public FilterReply decide(IAccessEvent event) {
if (event.getRequestURI().contains("/status")) {
Expand All @@ -20,6 +20,9 @@ public FilterReply decide(IAccessEvent event) {
if (event.getRequestURI().contains("/swagger")) {
return FilterReply.DENY;
}
if (event.getRequestURI().contains("/metrics")) {
return FilterReply.DENY;
}
return FilterReply.NEUTRAL;
}
};
Expand Down

0 comments on commit 88b01af

Please sign in to comment.