Files
spring-boot-rest/spring-boot/src/main/java/com/baeldung/failureanalyzer/FailureAnalyzerApplication.java
geroza 47735dcd70 Fixed issues due to parent-boot-2 migration (migration to Spring-boot 2):
* Configured Hiberante 5 correctly
* Configured Git plugin correctly
* Changed hibernate methods to comply with new method naming conventions
* Removed and replaced deprecated properties
* Updated Actuator test to use new response structure
* Using random port in Mongo integration test, to avoid clashing with a potential instance using the mongo default port
2018-11-16 14:34:48 -02:00

15 lines
420 B
Java

package com.baeldung.failureanalyzer;
import javax.annotation.security.RolesAllowed;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FailureAnalyzerApplication {
@RolesAllowed("*")
public static void main(String[] args) {
SpringApplication.run(FailureAnalyzerApplication.class, args);
}
}