File tree Expand file tree Collapse file tree
core/src/main/java/org/opendevstack/apiservice/core
src/test/java/org/opendevstack/apiservice/serviceproject/service/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 <dependency >
7575 <groupId >org.mapstruct</groupId >
7676 <artifactId >mapstruct</artifactId >
77- <version >1.6.3 </version >
77+ <version >${mapstruct.version} </version >
7878 </dependency >
7979
8080 <dependency >
111111 <path >
112112 <groupId >org.mapstruct</groupId >
113113 <artifactId >mapstruct-processor</artifactId >
114- <version >1.6.3 </version >
114+ <version >${mapstruct.version} </version >
115115 </path >
116116 </annotationProcessorPaths >
117117 </configuration >
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 ;
65import org .springframework .cache .annotation .EnableCaching ;
7- import org .springframework .data .jpa .repository .config .EnableJpaRepositories ;
86
97@ SpringBootApplication (scanBasePackages = { "org.opendevstack.apiservice" })
10- @ EnableJpaRepositories (basePackages = "org.opendevstack.apiservice.persistence.repository" )
11- @ EntityScan (basePackages = "org.opendevstack.apiservice.persistence.entity" )
128@ EnableCaching
139public class DevstackApiServiceApplication {
1410
Original file line number Diff line number Diff line change 3636 <spring-javaformat-maven-plugin .version>0.0.47</spring-javaformat-maven-plugin .version>
3737 <jackson-databind-nullable .version>0.2.7</jackson-databind-nullable .version>
3838 <build-helper-maven-plugin .version>3.6.1</build-helper-maven-plugin .version>
39+ <mapstruct .version>1.6.3</mapstruct .version>
3940
4041 <!-- Test execution -->
4142 <jacoco .agent.argLine>
Original file line number Diff line number Diff line change 3838 <dependency >
3939 <groupId >org.mapstruct</groupId >
4040 <artifactId >mapstruct</artifactId >
41- <version >1.6.3 </version >
41+ <version >${mapstruct.version} </version >
4242 </dependency >
4343
4444 <dependency >
9999 <path >
100100 <groupId >org.mapstruct</groupId >
101101 <artifactId >mapstruct-processor</artifactId >
102- <version >1.6.3 </version >
102+ <version >${mapstruct.version} </version >
103103 </path >
104104 </annotationProcessorPaths >
105105 </configuration >
Original file line number Diff line number Diff line change 1717import java .util .Optional ;
1818import java .util .UUID ;
1919
20- import static org .junit .jupiter .api .Assertions .*;
20+ import static org .junit .jupiter .api .Assertions .assertEquals ;
21+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
22+ import static org .junit .jupiter .api .Assertions .assertNull ;
23+ import static org .junit .jupiter .api .Assertions .assertThrows ;
2124import static org .mockito .ArgumentMatchers .any ;
22- import static org .mockito .Mockito .*;
25+ import static org .mockito .Mockito .never ;
26+ import static org .mockito .Mockito .verify ;
27+ import static org .mockito .Mockito .when ;
2328
2429class ProjectServiceImplTest {
2530
You can’t perform that action at this time.
0 commit comments