Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
spring-boot-starter-sentry-dingding
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董建华
spring-boot-starter-sentry-dingding
Commits
7a37e868
Commit
7a37e868
authored
May 18, 2021
by
董建华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
85685126
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
pom.xml
pom.xml
+12
-6
DefaultDingDingExceptionHandler.java
...oup/exceptionhandler/DefaultDingDingExceptionHandler.java
+1
-1
spring.factories
src/main/resources/META-INF/spring.factories
+2
-0
No files found.
pom.xml
View file @
7a37e868
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<version>
0.0.1-SNAPSHOT
</version>
<version>
0.0.1-SNAPSHOT
</version>
<name>
spring-boot-starter-sentry-ext
</name>
<name>
spring-boot-starter-sentry-ext
</name>
<description>
sentry超时的时候可选钉钉备用
</description>
<description>
sentry超时的时候可选钉钉备用
</description>
<packaging>
jar
</packaging>
<properties>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<start-class></start-class>
<start-class></start-class>
...
@@ -24,6 +24,12 @@
...
@@ -24,6 +24,12 @@
<retrofit.version>
2.4.0
</retrofit.version>
<retrofit.version>
2.4.0
</retrofit.version>
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-configuration-processor
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-autoconfigure
</artifactId>
<artifactId>
spring-boot-autoconfigure
</artifactId>
...
@@ -78,7 +84,6 @@
...
@@ -78,7 +84,6 @@
</dependency>
</dependency>
</dependencies>
</dependencies>
...
@@ -86,10 +91,11 @@
...
@@ -86,10 +91,11 @@
<build>
<build>
<plugins>
<plugins>
<plugin>
<!--<plugin>-->
<groupId>
org.springframework.boot
</groupId>
<!--<groupId>org.springframework.boot</groupId>-->
<artifactId>
spring-boot-maven-plugin
</artifactId>
<!--<artifactId>spring-boot-maven-plugin</artifactId>-->
</plugin>
<!--</plugin>-->
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<artifactId>
maven-compiler-plugin
</artifactId>
...
...
src/main/java/cn/quantgroup/exceptionhandler/DefaultDingDingExceptionHandler.java
View file @
7a37e868
...
@@ -25,7 +25,7 @@ public class DefaultDingDingExceptionHandler implements SentryExceptionHandler {
...
@@ -25,7 +25,7 @@ public class DefaultDingDingExceptionHandler implements SentryExceptionHandler {
private
final
String
dingDingUrl
;
private
final
String
dingDingUrl
;
DefaultDingDingExceptionHandler
(
ThrErrProProperties
proProperties
)
{
public
DefaultDingDingExceptionHandler
(
ThrErrProProperties
proProperties
)
{
this
.
proProperties
=
proProperties
;
this
.
proProperties
=
proProperties
;
this
.
client
=
new
OkHttpClient
();
this
.
client
=
new
OkHttpClient
();
this
.
dingDingUrl
=
dingDingHost
.
concat
(
proProperties
.
getDingDingToken
());
this
.
dingDingUrl
=
dingDingHost
.
concat
(
proProperties
.
getDingDingToken
());
...
...
src/main/resources/META-INF/spring.factories
0 → 100644
View file @
7a37e868
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
cn.quantgroup.config.SentryDingdingConfiguration
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment