Go, Spanner, Kubernetes management task 8/23- bank list returns already closed banks modify API task 8/30- development in Partner service avoid using Docker without Docker 5 8/18- What I did in this Internship disable email address management task 8/26- catch up of merpay tech stack about Identical Partner Project create some API 9/8- ...??? 10/31
Development with Docker became more complicated • We want to run the test without setting up the docker container • Partner service only dependent on authority service, so only we need fake-authority container now
Development with Docker became more complicated • We want to run the test without setting up the docker container • Partner service only dependent on authority service, so only we need fake-authority container now
• Authority-sdk can issue FAKE PAT(Private Access Token) • The key pair generated (↑) must also be used on the grpc server • Put the keyID, public Key in environment variable • If grpc server starts and environment variable is not empty (that is ‘test mode’), use already generated key Test starts E2E_FAKE_AUTH_KEY_ ID hoge E2E_FAKE_AUTH_PRIV ATE_KEY E2E_FAKE_AUTH_PUB LIC_KEY GRPC server starts if environment variable exists, fetch it
and sometimes it doesn’t ( token is expired error occurred but token expires 1 day later..why ? 😭) • authority-sdk provides some similar functions, I didn’t find which ones is appropriate for this situation
and sometimes it doesn’t ( token is expired error occurred but token expires 1 day later..why ? 😭) • authority-sdk provides some similar functions, I didn’t find which ones is appropriate for this situation because I didn’t know that Go time duration ‘ type is nanosecond
and sometimes it doesn’t ( token is expired error occurred but token expires 1 day later..why ? 😭) • authority-sdk provides some similar functions, I didn’t find which ones is appropriate for this situation I issued new subjectID every time, but authority-sdk provides better function I used WithFakePAT, but this returns PAT without digital signature