Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Queue
Commits
bad031e3
Verified
Commit
bad031e3
authored
Sep 24, 2019
by
Sander van den Oever
Browse files
Options
Downloads
Patches
Plain Diff
Add Sentry dependency in pom.xml
Because apparently that's necessary for CI?
parent
4c399758
No related branches found
No related tags found
1 merge request
!183
Use Real IPs instead of Proxy IP for Sentry (#250)
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
build.gradle
+1
-1
1 addition, 1 deletion
build.gradle
pom.xml
+5
-0
5 additions, 0 deletions
pom.xml
src/main/java/nl/tudelft/ewi/queue/QueueApplication.java
+4
-2
4 additions, 2 deletions
src/main/java/nl/tudelft/ewi/queue/QueueApplication.java
with
10 additions
and
3 deletions
build.gradle
+
1
−
1
View file @
bad031e3
...
...
@@ -95,7 +95,7 @@ dependencies {
compile
(
'javax.xml.bind:jaxb-api:2.3.0'
)
compile
(
'javax.activation:activation:1.1'
)
compile
(
'org.glassfish.jaxb:jaxb-runtime:2.3.0'
)
compile
'io.sentry:sentry-spring:1.7.27'
compile
(
'io.sentry:sentry-spring:1.7.27'
)
// Assets
compile
'org.webjars:jquery:3.4.1'
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
5
−
0
View file @
bad031e3
...
...
@@ -151,6 +151,11 @@
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<version>
1.5.15.RELEASE
</version>
</dependency>
<dependency>
<groupId>
io.sentry
</groupId>
<artifactId>
sentry-spring-boot-starter
</artifactId>
<version>
1.7.27
</version>
</dependency>
<dependency>
<groupId>
org.thymeleaf.extras
</groupId>
<artifactId>
thymeleaf-extras-springsecurity4
</artifactId>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/nl/tudelft/ewi/queue/QueueApplication.java
+
4
−
2
View file @
bad031e3
...
...
@@ -24,6 +24,8 @@ import java.util.Locale;
import
javax.annotation.PostConstruct
;
import
io.sentry.spring.SentryExceptionResolver
;
import
io.sentry.spring.SentryServletContextInitializer
;
import
nl.martijndwars.webpush.PushService
;
import
nl.martijndwars.webpush.Utils
;
import
nl.tudelft.ewi.queue.dialect.AuthenticatedDialect
;
...
...
@@ -95,7 +97,7 @@ public class QueueApplication extends
*/
@Bean
public
HandlerExceptionResolver
sentryExceptionResolver
()
{
return
new
io
.
sentry
.
spring
.
SentryExceptionResolver
();
return
new
SentryExceptionResolver
();
}
/**
...
...
@@ -106,7 +108,7 @@ public class QueueApplication extends
*/
@Bean
public
ServletContextInitializer
sentryServletContextInitializer
()
{
return
new
io
.
sentry
.
spring
.
SentryServletContextInitializer
();
return
new
SentryServletContextInitializer
();
}
@PostConstruct
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment