Implement query user endpoint for RabbitMQ #35

Merged
hurui200320 merged 1 commits 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
hurui200320 self-assigned this 2025-07-25 08:05:37 +00:00
hurui200320 added 9 commits 2025-07-25 08:05:39 +00:00
build: switch build tool to maven and configured amq adapter library
CI for publishing docker image / build-and-publish (push) Has been cancelled
Unit test coverage / gradle-test (push) Failing after 2m4s
8ad2a7becf
feat(RabbitmqRPC): implement basic support for RabbitMQ RPC.
Unit test coverage / gradle-test (push) Failing after 3m38s
CI for publishing docker image / build-and-publish (push) Successful in 4m2s
16c040b51b
feat: implemented RabbitMQ RPC endpoint for query user info.
CI for publishing docker image / build-and-publish (push) Successful in 3m34s
Unit test coverage / gradle-test (push) Failing after 6m31s
ec7052ddee
ISSUES RELATED: clevermicro/user-management#34
test: implement unit tests for RabbitMQ RPC endpoint
Unit test coverage / gradle-test (push) Failing after 3m7s
CI for publishing docker image / build-and-publish (push) Successful in 3m43s
d39455eaca
test: implement extra unit test to read 85% goal
Unit test coverage / gradle-test (push) Successful in 3m36s
CI for publishing docker image / build-and-publish (push) Successful in 3m47s
81b010ea66
feat: add OpenTelemetry log exporter to victoria logs.
Unit test coverage / gradle-test (push) Successful in 5m5s
CI for publishing docker image / build-and-publish (push) Successful in 6m23s
ff0dcbda5e
fix: fix permission check rule resolving
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
973a185f13
This commit fix the way for resolving the permission check rule. Now it respect the request path

instead of randomly picking one.
hurui200320 requested review from stanislav.hejny 2025-07-25 08:05:50 +00:00
hurui200320 added a new dependency 2025-07-25 08:06:28 +00:00

Coverage is 85%

Coverage is 85%
hurui200320 added a new dependency 2025-07-25 08:12:36 +00:00
hurui200320 force-pushed feat/34 from 973a185f13 to bed3de76dd 2025-07-31 04:56:26 +00:00 Compare
hurui200320 merged commit bed3de76dd into develop 2025-07-31 04:56:48 +00:00
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 Label
2 Participants
Notifications
Due Date
No due date set.
Blocks
You do not have permission to read 1 dependency
Reference: clevermicro/user-management#35