refactor: add debug print
This commit is contained in:
+3
@@ -11,12 +11,14 @@ import com.cleverthis.clevermicro.client.amqp.handler.HandlerContext;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import java.io.IOException;
|
||||
import java.util.NoSuchElementException;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.keycloak.representations.idm.UserRepresentation;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* Serve endpoints on `user-service-v1`.
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class UserEndpointV1 extends AbstractEndpoint {
|
||||
private static final String ROUTING_KEY = "user-service-v1";
|
||||
@@ -42,6 +44,7 @@ public class UserEndpointV1 extends AbstractEndpoint {
|
||||
default -> throw new EndpointBadRequestException("Method not found");
|
||||
};
|
||||
reply(ctx, EndpointResponses.ok(result));
|
||||
log.info("Replied req {} with result: {}", request, result);
|
||||
}
|
||||
|
||||
private UserRepresentation queryUserById(
|
||||
|
||||
Reference in New Issue
Block a user