Skip to content

Commit 1e2dca6

Browse files
committed
refactor: 중복 패키지 제거 및 Jira URI 변경
1 parent 48e5d7b commit 1e2dca6

File tree

8 files changed

+6
-15
lines changed

8 files changed

+6
-15
lines changed

build.gradle

-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ dependencies {
3333
implementation 'org.springframework.boot:spring-boot-starter-web'
3434
implementation 'org.springframework.boot:spring-boot-starter-webflux'
3535
implementation 'com.graphql-java-kickstart:graphql-webclient-spring-boot-starter:1.0.0'
36-
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.68.Final:osx-aarch_64'
3736
compileOnly 'org.projectlombok:lombok'
3837
runtimeOnly 'org.postgresql:postgresql'
3938
annotationProcessor 'org.projectlombok:lombok'
@@ -42,7 +41,6 @@ dependencies {
4241
testImplementation 'io.projectreactor:reactor-test'
4342
testImplementation 'org.springframework.batch:spring-batch-test'
4443

45-
4644
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.4'
4745

4846
// macOS Error

src/main/java/com/pbl/tasktoolintegration/jira/JiraController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@Slf4j
1919
@RequiredArgsConstructor
2020
@RestController
21-
@RequestMapping("/api/jira")
21+
@RequestMapping("/jira")
2222
public class JiraController {
2323
private final JiraService jiraService;
2424

src/main/java/com/pbl/tasktoolintegration/jira/config/ADFDeserializer.java src/main/java/com/pbl/tasktoolintegration/jira/common/config/ADFDeserializer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pbl.tasktoolintegration.jira.config;
1+
package com.pbl.tasktoolintegration.jira.common.config;
22

33
import com.atlassian.adf.jackson2.AdfJackson2;
44
import com.atlassian.adf.model.node.Doc;

src/main/java/com/pbl/tasktoolintegration/jira/config/JiraConfiguration.java src/main/java/com/pbl/tasktoolintegration/jira/common/config/JiraConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pbl.tasktoolintegration.jira.config;
1+
package com.pbl.tasktoolintegration.jira.common.config;
22

33
import com.atlassian.adf.jackson2.AdfJackson2;
44
import com.atlassian.adf.model.node.Doc;

src/main/java/com/pbl/tasktoolintegration/jira/common/config/WebConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.pbl.tasktoolintegration.jira.common.config;
22

3-
import com.pbl.tasktoolintegration.jira.config.converter.ResponseTimeUnitConverter;
3+
import com.pbl.tasktoolintegration.jira.common.config.converter.ResponseTimeUnitConverter;
44
import org.springframework.context.annotation.Configuration;
55
import org.springframework.format.FormatterRegistry;
66
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

src/main/java/com/pbl/tasktoolintegration/jira/config/converter/ResponseTimeUnitConverter.java src/main/java/com/pbl/tasktoolintegration/jira/common/config/converter/ResponseTimeUnitConverter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pbl.tasktoolintegration.jira.config.converter;
1+
package com.pbl.tasktoolintegration.jira.common.config.converter;
22

33
import com.pbl.tasktoolintegration.jira.model.request.ResponseTimeUnit;
44
import lombok.extern.slf4j.Slf4j;

src/main/java/com/pbl/tasktoolintegration/jira/model/request/GetJiraResponseTimeQuery.java

-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
package com.pbl.tasktoolintegration.jira.model.request;
22

3-
import com.fasterxml.jackson.annotation.JsonProperty;
4-
import com.pbl.tasktoolintegration.jira.config.converter.ResponseTimeUnitConverter;
5-
import com.pbl.tasktoolintegration.jira.model.dto.GetJiraUserDto;
6-
import com.pbl.tasktoolintegration.jira.model.dto.JiraIssueChangeLogDto;
7-
import jakarta.persistence.Convert;
83
import lombok.AllArgsConstructor;
94
import lombok.Data;
105
import lombok.Getter;
116
import lombok.NoArgsConstructor;
127
import org.springframework.lang.Nullable;
13-
import org.springframework.web.bind.annotation.RequestParam;
148

159
import java.time.LocalDate;
16-
import java.util.List;
1710

1811
@Getter
1912
@AllArgsConstructor

src/test/java/com/pbl/tasktoolintegration/jira/JiraServiceTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.pbl.tasktoolintegration.jira;
22

3-
import com.pbl.tasktoolintegration.jira.config.JiraConfiguration;
3+
import com.pbl.tasktoolintegration.jira.common.config.JiraConfiguration;
44
import lombok.extern.slf4j.Slf4j;
55
import org.junit.jupiter.api.extension.ExtendWith;
66
import org.springframework.beans.factory.annotation.Autowired;

0 commit comments

Comments
 (0)