From 5c683cb61e1a42dd8bc5524dad181125857367e5 Mon Sep 17 00:00:00 2001 From: Sergei Date: Wed, 25 Sep 2024 19:26:32 +0000 Subject: [PATCH] Add logs in new access service mock --- .../storage/core/tools/testing/access_service_new/mock/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloud/storage/core/tools/testing/access_service_new/mock/main.go b/cloud/storage/core/tools/testing/access_service_new/mock/main.go index 84a8da128d4..24bcda2ed64 100644 --- a/cloud/storage/core/tools/testing/access_service_new/mock/main.go +++ b/cloud/storage/core/tools/testing/access_service_new/mock/main.go @@ -79,6 +79,7 @@ func (t *accessServiceMock) Authorize( request *iamv1.AuthorizeRequest, ) (*iamv1.AuthorizeResponse, error) { + log.Printf("Received authorize request %v\n", request) results := make(map[int64]*iamv1.AuthorizeResult) for key, value := range request.GetChecks() { token := value.GetIamToken() @@ -136,6 +137,7 @@ func (t *accessServiceMock) Authenticate( request *iamv1.AuthenticateRequest, ) (*iamv1.AuthenticateResponse, error) { + log.Printf("Received authenticate request %v\n", request) token := request.GetIamToken() if token == "" { return &iamv1.AuthenticateResponse{