Implement query user endpoint for RabbitMQ #35

Merged
hurui200320 merged 1 commit from feat/34 into develop 2025-07-31 04:56:48 +00:00
Member

This PR implemented ticket clevermicro/user-management#34 for the user-service-v1 endpoint, along with all the infrastructures required to support the endpoints.

The changes are:

  • switch build tool to gradle for easier access to the private artifacts of clevermicro (although later Brian change the artifacts to public)
  • set up clevermicro amqp client
  • switched to official keycloak admin client instead of implementing it with webflux
  • implement the message formats for the RPC protocol, for now they are exclusive to auth-service, but in the future we will reuse (might with some changes) them for all RPC calls inside clevermicro (need a server lib for handling the message parsing and convertion)
  • implement the user query endpoint
  • implement unit test so the overall coverage is above 85%
  • fixed all issues found during the testing phase with shared env

Currently the latest docker image has been deployed to the shared env, see https://docs.cleverthis.com/en/architecture/microservices/shared-env#multi-user-support

This PR implemented ticket clevermicro/user-management#34 for the user-service-v1 endpoint, along with all the infrastructures required to support the endpoints. The changes are: + switch build tool to gradle for easier access to the private artifacts of clevermicro (although later Brian change the artifacts to public) + set up clevermicro amqp client + switched to official keycloak admin client instead of implementing it with webflux + implement the message formats for the RPC protocol, for now they are exclusive to auth-service, but in the future we will reuse (might with some changes) them for all RPC calls inside clevermicro (need a server lib for handling the message parsing and convertion) + implement the user query endpoint + implement unit test so the overall coverage is above 85% + fixed all issues found during the testing phase with shared env Currently the latest docker image has been deployed to the shared env, see https://docs.cleverthis.com/en/architecture/microservices/shared-env#multi-user-support

Coverage is 85%

Coverage is 85%
hurui200320 force-pushed feat/34 from 973a185f13
All checks were successful
Unit test coverage / gradle-test (push) Successful in 3m30s
CI for publishing docker image / build-and-publish (push) Successful in 3m46s
Unit test coverage / gradle-test (pull_request) Successful in 2m16s
to bed3de76dd
All checks were successful
Unit test coverage / gradle-test (pull_request) Successful in 7m21s
Unit test coverage / gradle-test (push) Successful in 7m26s
CI for publishing docker image / build-and-publish (push) Successful in 7m2s
2025-07-31 04:56:26 +00:00
Compare
hurui200320 deleted branch feat/34 2025-07-31 04:56:50 +00:00

Coverage is 85%

Coverage is 85%
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
You do not have permission to read 1 dependency
Reference
clevermicro/user-management!35
No description provided.