File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/com/staketab/minanames/client Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import com .staketab .minanames .dto .ZkCloudWorkerRequestDTO ;
4
4
import lombok .RequiredArgsConstructor ;
5
+ import lombok .extern .slf4j .Slf4j ;
5
6
import org .springframework .beans .factory .annotation .Value ;
6
7
import org .springframework .context .annotation .Configuration ;
7
8
import org .springframework .http .ResponseEntity ;
8
9
import org .springframework .web .client .RestTemplate ;
9
10
10
11
@ Configuration
11
12
@ RequiredArgsConstructor
13
+ @ Slf4j
12
14
public class ZkCloudWorkerClient {
13
15
14
16
private final RestTemplate zkCloudWorkerRestTemplate ;
@@ -26,6 +28,7 @@ public class ZkCloudWorkerClient {
26
28
27
29
public ResponseEntity <String > sendToZkCloudWorker (ZkCloudWorkerRequestDTO requestDTO ) {
28
30
setDefaultValues (requestDTO );
31
+ log .info (requestDTO .toString ());
29
32
return zkCloudWorkerRestTemplate .postForEntity (PATH_TO_ZK_CLOUD_WORKER , requestDTO , String .class );
30
33
}
31
34
You can’t perform that action at this time.
0 commit comments