File tree Expand file tree Collapse file tree
java/org/baeldung/um/spring Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <parent >
1414 <groupId >org.springframework.boot</groupId >
1515 <artifactId >spring-boot-starter-parent</artifactId >
16- <version >1.3.6 .RELEASE</version >
16+ <version >1.4.2 .RELEASE</version >
1717 <relativePath /> <!-- lookup parent from repository -->
1818 </parent >
1919
112112
113113 <!-- overriding Spring Boot -->
114114 <spring-hateoas .version>0.18.0.RELEASE</spring-hateoas .version>
115- <spring-boot .version>1.3.6 .RELEASE</spring-boot .version>
115+ <spring-boot .version>1.4.2 .RELEASE</spring-boot .version>
116116
117117 <commons-collections .version>3.2.1</commons-collections .version>
118118 <hibernate .version>5.0.5.Final</hibernate .version>
124124
125125 <slf4j .version>1.7.13</slf4j .version>
126126
127- <spring .version>4.2.3.RELEASE</spring .version>
128- <spring-security .version>4.0.3.RELEASE</spring-security .version>
129-
130127 <!-- Spring related -->
131128 <aspectjweaver .version>1.8.7</aspectjweaver .version>
132129
154151 <validation-api .version>1.1.0.Final</validation-api .version>
155152
156153 <!-- ops related -->
157- <tomcat .version>8.0.30</tomcat .version>
158154
159155 <!-- logging -->
160156 <logback .version>1.1.3</logback .version>
Original file line number Diff line number Diff line change 6464 <groupId >org.springframework.boot</groupId >
6565 <artifactId >spring-boot-starter-web</artifactId >
6666 </dependency >
67+ <dependency >
68+ <groupId >org.springframework.boot</groupId >
69+ <artifactId >spring-boot-starter-actuator</artifactId >
70+ </dependency >
6771
6872 <!-- persistence -->
6973
7377 <version >1.1</version >
7478 </dependency >
7579
80+ <!-- dev -->
81+ <dependency >
82+ <groupId >org.springframework.boot</groupId >
83+ <artifactId >spring-boot-devtools</artifactId >
84+ <optional >true</optional >
85+ </dependency >
86+
7687 <!-- test scoped -->
7788
7889 <dependency >
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ protected void configure(final HttpSecurity http) throws Exception {
3232 // @formatter:off
3333 http .
3434 authorizeRequests ().
35+ antMatchers ("/api/health" ).anonymous ().
3536 anyRequest ().authenticated ().and ().
3637 httpBasic ().and ().
3738 sessionManagement ().sessionCreationPolicy (SessionCreationPolicy .STATELESS ).and ().
Original file line number Diff line number Diff line change 11server.port =8082
22server.contextPath =/um-webapp
33
4- spring.datasource.validation-query =SELECT 1;
4+ spring.datasource.validation-query =SELECT 1;
You can’t perform that action at this time.
0 commit comments