Skip to content

Commit 53a0521

Browse files
author
Greg Meyer
authored
Merge pull request #4 from DirectProjectJavaRI/develop
Releasing 8.0.0
2 parents 8a8b5bd + 598c60e commit 53a0521

5 files changed

Lines changed: 83 additions & 50 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@
2121

2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
24+
/target/
25+
/.classpath
26+
/.factorypath
27+
/.project

pom.xml

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.nhind</groupId>
55
<artifactId>direct-msg-monitor-web</artifactId>
6-
<version>6.0</version>
6+
<version>8.0.0</version>
77
<packaging>war</packaging>
88
<name>NHIN-Direct Message Monitor Web Application Module</name>
99
<description>NHIN-Direct Message Monitor Web Application Module</description>
@@ -15,14 +15,14 @@
1515
<connection>scm:git:https://github.com/DirectProjectJavaRI/direct-msg-monitor-web.git</connection>
1616
</scm>
1717
<prerequisites>
18-
<maven>3.0.0</maven>
18+
<maven>3.5.0</maven>
1919
</prerequisites>
20-
<parent>
21-
<groupId>org.springframework.boot</groupId>
22-
<artifactId>spring-boot-starter-parent</artifactId>
23-
<version>2.1.2.RELEASE</version>
24-
<relativePath />
25-
</parent>
20+
<parent>
21+
<groupId>org.springframework.boot</groupId>
22+
<artifactId>spring-boot-starter-parent</artifactId>
23+
<version>2.5.2</version>
24+
<relativePath />
25+
</parent>
2626
<developers>
2727
<developer>
2828
<name>Greg Meyer</name>
@@ -42,36 +42,42 @@
4242
<properties>
4343
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4444
<camel.version>2.22.0</camel.version>
45+
<mina.version>1.0.9</mina.version>
4546
</properties>
4647
<dependencyManagement>
4748
<dependencies>
4849
<dependency>
4950
<groupId>org.springframework.boot</groupId>
5051
<artifactId>spring-boot-dependencies</artifactId>
51-
<version>2.1.2.RELEASE</version>
52+
<version>2.5.2</version>
5253
<type>pom</type>
5354
<scope>import</scope>
5455
</dependency>
5556
<dependency>
5657
<groupId>org.springframework.cloud</groupId>
5758
<artifactId>spring-cloud-starter-parent</artifactId>
58-
<version>Greenwich.RELEASE</version>
59+
<version>2020.0.3</version>
5960
<type>pom</type>
6061
<scope>import</scope>
61-
</dependency>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.apache.mina</groupId>
65+
<artifactId>mina-core</artifactId>
66+
<version>${mina.version}</version>
67+
</dependency>
6268
</dependencies>
6369
</dependencyManagement>
6470
<dependencies>
6571
<dependency>
6672
<groupId>org.nhind</groupId>
6773
<artifactId>direct-msg-monitor</artifactId>
68-
<version>6.0</version>
74+
<version>8.0.0</version>
6975
</dependency>
7076
<dependency>
7177
<groupId>org.springframework.boot</groupId>
7278
<artifactId>spring-boot-starter-tomcat</artifactId>
7379
<scope>provided</scope>
74-
</dependency>
80+
</dependency>
7581
<dependency>
7682
<groupId>org.springframework.boot</groupId>
7783
<artifactId>spring-boot-starter-web</artifactId>
@@ -91,7 +97,11 @@
9197
<dependency>
9298
<groupId>org.springframework.boot</groupId>
9399
<artifactId>spring-boot-configuration-processor</artifactId>
94-
</dependency>
100+
</dependency>
101+
<dependency>
102+
<groupId>org.springframework.cloud</groupId>
103+
<artifactId>spring-cloud-starter-bootstrap</artifactId>
104+
</dependency>
95105
<dependency>
96106
<groupId>org.springframework.cloud</groupId>
97107
<artifactId>spring-cloud-starter-stream-rabbit</artifactId>
@@ -166,9 +176,8 @@
166176
<plugin>
167177
<groupId>org.apache.maven.plugins</groupId>
168178
<artifactId>maven-javadoc-plugin</artifactId>
169-
<version>2.6.1</version>
170179
<configuration>
171-
<additionalparam>-Xdoclint:none</additionalparam>
180+
<additionalJOption>-Xdoclint:none</additionalJOption>
172181
<charset>UTF-8</charset>
173182
<docencoding>UTF-8</docencoding>
174183
<docfilessubdirs>true</docfilessubdirs>
@@ -201,8 +210,7 @@
201210
</execution>
202211
</executions>
203212
</plugin>
204-
-->
205-
213+
-->
206214
</plugins>
207215
</build>
208216
<distributionManagement>

src/main/resources/application.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,30 @@ info.build.version: "@project.version@"
77
spring:
88
cloud:
99
stream:
10+
function:
11+
definition: directTxMonitoring
1012
bindings:
11-
direct-tx-monitoring-input:
13+
directTxMonitoring-in-0:
1214
destination: direct-tx-monitoring
1315
group: direct-tx-monitoring-stream-group
1416
consumer:
1517
concurrency: 10
1618
maxAttempts: 10
1719
backOffInitialInterval: 15000
18-
backOffMaxInterval: 120000
20+
backOffMaxInterval: 120000
21+
22+
#Default username and password
23+
security:
24+
basic:
25+
enabled: true
26+
user:
27+
name: admin
28+
password: '{bcrypt}$2a$04$WQsYXSBOnycO1/7E9bKUVevWX3.Gxv2V6ZfYx9UKoy3lm9.4TjU7e'
29+
30+
#Default Derby Database Settings. This is not recommended for production use
31+
#and not fit for purpose for ephemeral deployments (you are almost guaranteed to lose your data if
32+
#using an ephemeral environment)
33+
datasource:
34+
url: jdbc:derby:msgmonitor;create=true
35+
username: nhind
36+
password: nhind

src/main/resources/bootstrap.properties

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/main/resources/bootstrap.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
spring:
2+
application:
3+
name: direct-msg-monitor
4+
jpa:
5+
open_in_view: false
6+
7+
main:
8+
allow-bean-definition-overriding: true
9+
10+
jmx:
11+
default-domain: direct-msg-monitor
12+
13+
#Don't use rabbit as part of the health check
14+
management:
15+
health:
16+
rabbit:
17+
enabled: false
18+
19+
#unique jmx names to avoid collisions when running
20+
#multiple spring boot apps in an web container
21+
endpoints:
22+
jmx:
23+
default-domain: direct-msg-monitor
24+
uniqueNames: true
25+
26+
camel:
27+
springboot:
28+
xmlRoutes: classpath:routes/routes.xml
29+
30+
direct:
31+
msgmonitor:
32+
dsnSender:
33+
useSMTPGatewaySender: true

0 commit comments

Comments
 (0)