tonykang22 / hello-world-auto-store

3 stars 1 forks source link

[order-manager] 배포 테스트 이슈 #1 #81

Open tonykang22 opened 1 year ago

tonykang22 commented 1 year ago

배포 테스트 이슈 1

개요


Common 공유 사항

찾기 힘든 쿠팡 상품

image


찾기 힘든 쿠팡 취소된 주문

image image image


구매 상태 적용까지 시간 소요

image image

구매 직후 : 주문 상세 조회[구매자 이름으로 검색]에서는 주문 목록이 확인되지만, 배송관리에서 [결제완료] 상품으로 나타나지는 않음. (SDK 호출에서도 마찬가지로 [결제완료] 상품으로 인지하지 않음.)


테스트에 사용된 상품 정보


[아마존 가격 이슈 취소] 케이스

이슈 1.

내용

10:40:00.000 [scheduling-1] INFO  c.g.k.o.s.c.CoupangOrderFetcher - Fetch Coupang order list begins. 1 times tried.
10:40:00.165 [scheduling-1] INFO  c.g.k.o.s.c.CoupangOrderFetcher - Return Coupang order list.
10:40:00.166 [pool-1-thread-14] INFO  c.g.k.o.s.c.CoupangOrderService - Updating Coupang order status to Prepare-Shipping. Source Order Id : 16000153487651
10:40:00.166 [pool-1-thread-14] INFO  c.g.k.o.s.HelloWorldAutoStoreProductService - Get HwasProduct by Coupang Order Id : 13547107496
10:40:00.179 [pool-1-thread-14] INFO  c.g.k.o.s.a.AmazonProductValidator - Fetch amazon product by ASIN : B08N9G371M begins. 1 times tried.
10:45:00.162 [pool-1-thread-15] INFO  c.g.k.o.s.c.CoupangOrderService - Updating Coupang order status to Prepare-Shipping. Source Order Id : 16000153487651
10:45:00.162 [pool-1-thread-15] INFO  c.g.k.o.s.HelloWorldAutoStoreProductService - Get HwasProduct by Coupang Order Id : 13547107496
10:45:00.171 [pool-1-thread-15] INFO  c.g.k.o.s.a.AmazonProductValidator - Fetch amazon product by ASIN : B08N9G371M begins. 1 times tried.
10:50:00.152 [pool-1-thread-16] INFO  c.g.k.o.s.c.CoupangOrderService - Updating Coupang order status to Prepare-Shipping. Source Order Id : 16000153487651
10:50:00.152 [pool-1-thread-16] INFO  c.g.k.o.s.HelloWorldAutoStoreProductService - Get HwasProduct by Coupang Order Id : 13547107496
10:50:00.160 [pool-1-thread-16] INFO  c.g.k.o.s.a.AmazonProductValidator - Fetch amazon product by ASIN : B08N9G371M begins. 1 times tried.


파악

11:15:09.052 [http-nio-8080-exec-1] INFO  c.g.k.o.d.RequestInterceptor - Request : POST http://localhost:8080/amazon, Requested At: 2022-09-27T11:15:09
11:15:09.053 [http-nio-8080-exec-1] DEBUG o.s.o.j.s.OpenEntityManagerInViewInterceptor - Opening JPA EntityManager in OpenEntityManagerInViewInterceptor
11:15:09.226 [http-nio-8080-exec-1] DEBUG o.s.w.m.HandlerMethod - Could not resolve parameter [0] in public java.lang.String com.github.kingwaggs.ordermanager.controller.DtoController.getAmazonResponse(com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse): Type definition error: [simple type, class com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Category]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Category` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: (PushbackInputStream); line: 168, column: 9] (through reference chain: com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse["product"]->com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Product["categories"]->java.util.ArrayList[0])
11:15:09.237 [http-nio-8080-exec-1] DEBUG o.s.o.j.s.OpenEntityManagerInViewInterceptor - Closing JPA EntityManager in OpenEntityManagerInViewInterceptor
11:15:09.249 [http-nio-8080-exec-1] DEBUG o.s.w.s.DispatcherServlet - Failed to complete request: org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Category]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Category` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: (PushbackInputStream); line: 168, column: 9] (through reference chain: com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse["product"]->com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Product["categories"]->java.util.ArrayList[0])
11:15:09.255 [http-nio-8080-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Category]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Category` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: (PushbackInputStream); line: 168, column: 9] (through reference chain: com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse["product"]->com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Product["categories"]->java.util.ArrayList[0])] with root cause
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Category` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: (PushbackInputStream); line: 168, column: 9] (through reference chain: com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse["product"]->com.github.kingwaggs.ordermanager.domain.dto.response.AmazonProductResponse$Product["categories"]->java.util.ArrayList[0])
    at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67)
    at com.fasterxml.jackson.databind.DeserializationContext.reportBadDefinition(DeserializationContext.java:1764)
    at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:400)
    at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1209)
    at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1415)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:362)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:195)
    at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer._deserializeFromArray(CollectionDeserializer.java:355)
    at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:244)
    at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28)
    at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:324)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187)
    at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:324)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187)
    at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:322)
    at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4593)
    at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3601)
    at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:378)
    at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.read(AbstractJackson2HttpMessageConverter.java:342)
    at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:185)
    at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:160)
    at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:133)
    at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:121)
    at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:170)
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1064)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.base/java.lang.Thread.run(Thread.java:829)


조치사항



이슈 2

내용

image image


파악

image

해당 상품의 Rainforest의 Availability 값은 "Only 1 left in stock - order soon."이다.


조치사항



이슈 3

내용

image image image


파악


이해를 돕기 위한 예시 상황


조치사항


tonykang22 commented 1 year ago

Zinc 관련 (주문 요청)

이슈 1

내용


파악

image


조치사항



이슈 2

내용


파악


조치사항



이슈 3

내용


파악

image


조치사항

tonykang22 commented 1 year ago

쿠팡 취소/환불 주문 관련

이슈 1

내용

image

image


파악

image


조치사항