Implement consul config permission mapping resolving with fallback to application yaml #29

Merged
hurui200320 merged 1 commits from feat/23 into develop 2025-06-13 04:28:56 +00:00
Member

This PR adds the ability to pull permission mapping config from consul, and fallback to the built-in application.yaml if not available.

Ref: clevermicro/user-management#23

Note: The pipeline failed because there is not enough coverage. The coverage for the added class is above 95%.

This PR adds the ability to pull permission mapping config from consul, and fallback to the built-in `application.yaml` if not available. Ref: clevermicro/user-management#23 Note: The pipeline failed because there is not enough coverage. The coverage for the added class is above 95%.
hurui200320 self-assigned this 2025-06-06 08:35:21 +00:00
hurui200320 added 1 commit 2025-06-06 08:35:22 +00:00
feat(General): implement consul config permission mapping resolving with fallback to application yam
Unit test coverage / gradle-test (push) Failing after 1m47s
CI for publishing docker image / build-and-publish (push) Successful in 2m22s
Unit test coverage / gradle-test (pull_request) Failing after 1m16s
cc12d773d6
Pull config from consul to resolve permission mapping dynamically

if consul is not available or the

value is corrupted, use settings from local value in application.yaml

ISSUES CLOSED: clevermicro/user-management#23
hurui200320 requested review from abed.alrahman 2025-06-06 08:35:48 +00:00
hurui200320 requested review from stanislav.hejny 2025-06-06 08:35:49 +00:00

Coverage is 40%

Coverage is 40%
stanislav.hejny approved these changes 2025-06-12 11:03:02 +00:00
abed.alrahman approved these changes 2025-06-12 16:20:44 +00:00
hurui200320 force-pushed feat/23 from cc12d773d6 to eaa14e7101 2025-06-13 04:17:37 +00:00 Compare

Coverage is 42%

Coverage is 42%
hurui200320 merged commit eaa14e7101 into develop 2025-06-13 04:28:56 +00:00
hurui200320 deleted branch feat/23 2025-06-13 04:28:57 +00:00
Sign in to join this conversation.
No Label
4 Participants
Notifications
Due Date
No due date set.
Reference: clevermicro/user-management#29