* 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
19 lines
481 B
Java
19 lines
481 B
Java
package com.baeldung.rss;
|
|
|
|
import javax.annotation.security.RolesAllowed;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
@SpringBootApplication
|
|
@ComponentScan(basePackages = "com.baeldung.rss")
|
|
public class RssApp {
|
|
|
|
@RolesAllowed("*")
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(RssApp.class, args);
|
|
}
|
|
|
|
}
|