File tree Expand file tree Collapse file tree
core/src/main/java/org/opendevstack/apiservice/core
persistence/src/test/java/org/opendevstack/apiservice/persistence Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import org .springframework .boot .SpringApplication ;
44import org .springframework .boot .autoconfigure .SpringBootApplication ;
5+ import org .springframework .boot .autoconfigure .domain .EntityScan ;
56import org .springframework .cache .annotation .EnableCaching ;
7+ import org .springframework .data .jpa .repository .config .EnableJpaRepositories ;
68
79@ SpringBootApplication (scanBasePackages = { "org.opendevstack.apiservice" })
810@ EnableCaching
11+ @ EntityScan (basePackages = "org.opendevstack.apiservice.persistence.entity" )
12+ @ EnableJpaRepositories (basePackages = "org.opendevstack.apiservice.persistence.repository" )
913public class DevstackApiServiceApplication {
1014
1115 public static void main (String [] args ) {
Original file line number Diff line number Diff line change 1010 */
1111@ SpringBootConfiguration
1212@ EnableAutoConfiguration
13- @ EntityScan (basePackages = "org.opendevstack.apiservice.persistence.entity" )
14- @ EnableJpaRepositories (basePackages = "org.opendevstack.apiservice.persistence.repository" )
1513public class PersistenceTestApplication {
1614
1715}
You can’t perform that action at this time.
0 commit comments