Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/com/batch/client/MigrationClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private static void handle(HttpRequest request, ClientHttpResponse response) thr

// areaBasedList
public AreaBasedListResponse getAreaBasedLists(int pageNo, int numOfRows, String contentTypeId, String modifiedTime) {
UriComponentsBuilder uri = UriComponentsBuilder.fromUriString(baseUrl + "/areaBasedList")
UriComponentsBuilder uri = UriComponentsBuilder.fromUriString(baseUrl + "/areaBasedList2")
.queryParam("serviceKey", serviceKey)
.queryParam("pageNo", pageNo)
.queryParam("numOfRows", numOfRows)
Expand Down Expand Up @@ -94,7 +94,7 @@ public AreaBasedListResponse getAreaBasedLists(int pageNo, int numOfRows, String

// categoryCode
public List<CategoryCodeResponse.Item> getCategoryCode(String contentTypeId, String cat1, String cat2) {
UriComponentsBuilder uri = UriComponentsBuilder.fromUriString(baseUrl + "/categoryCode")
UriComponentsBuilder uri = UriComponentsBuilder.fromUriString(baseUrl + "/categoryCode2")
.queryParam("serviceKey", serviceKey)
.queryParam("pageNo", 1)
.queryParam("numOfRows", 100)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Content process(Content content) throws Exception {

DetailCommonResponse response = restClient.get()
.uri(uriBuilder -> uriBuilder
.path("/detailCommon")
.path("/detailCommon2")
.queryParam("serviceKey", serviceKey)
.queryParam("MobileOS", "ETC")
.queryParam("MobileApp", "Catsgotogedog")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public List<ContentImage> process(Content content) throws Exception {

DetailImageResponse response = restClient.get()
.uri(uriBuilder -> uriBuilder
.path("/detailImage")
.path("/detailImage2")
.queryParam("serviceKey", serviceKey)
.queryParam("MobileOS", "ETC")
.queryParam("MobileApp", "Catsgotogedog")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/batch/processor/DetailInfoProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public DetailInfoProcessResult process(Content content) throws Exception {
// DetailInfoApiResponse response = restClient.get()
ResponseEntity<String> responseEntity = restClient.get()
.uri(uriBuilder -> uriBuilder
.path("/detailInfo")
.path("/detailInfo2")
.queryParam("serviceKey", serviceKey)
.queryParam("MobileOS", "ETC")
.queryParam("MobileApp", "Catsgotogedog")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public DetailIntroProcessResult process(Content content) throws Exception {
ResponseEntity<String> responseEntity = restClient.get()
.uri(uriBuilder -> {
URI uri = uriBuilder
.path("/detailIntro")
.path("/detailIntro2")
.queryParam("serviceKey", serviceKey)
.queryParam("MobileOS", "ETC")
.queryParam("MobileApp", "Catsgotogedog")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public PetGuide process(Content content) throws Exception {

DetailPetTourResponse response = restClient.get()
.uri(uriBuilder -> uriBuilder
.path("/detailPetTour")
.path("/detailPetTour2")
.queryParam("serviceKey", serviceKey)
.queryParam("MobileOS", "ETC")
.queryParam("MobileApp", "Catsgotogedog")
Expand Down
Loading