Implement RabbitMQ RPC endpoint for user management API #34
Labels
No labels
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Support
Type
Task
Type
Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#61 Add method for multi-user endpoints from auth-service
clevermicro/amq-adapter-python
You do not have permission to read 3 dependencies
#35 Implement query user endpoint for RabbitMQ
clevermicro/user-management
Reference: clevermicro/user-management#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In ticket clevermicro/user-management#24 and clevermicro/user-management#25, Abed implemented the HTTP endpoint for managing groups and tenants, we also have HTTP endpoints for query user information. But for CleverMicro, ideally, all the internal communication should be done through RabbitMQ.
This ticket will add RabbitMQ RPC endpoints for those HTTP endpoints, offering full support for both HTTP and RabbitMQ RPC.
For RabbitMQ RPC, we should add the following routing key to a direct exchange
cleverthis.clevermicro.auth.endpoints
:token-service-v1
: services related to JWT tokens, for example, query user info with a JWT token or verify the token, etc.user-service-v1
: services related to user management, for example, registering new users, query user details via user name and user id, etc.group-service-v1
: services related to group management, for example, CRUD of groups, managing the member inside the group, etc.tenant-service-v1
: service related to tenant management, for example, CRUD of tenant, managing groups and member inside the tenant, etc.permission-service-v1
: service related to service specific permission, mainly for managing the rules in keycloak via auth-service.Note: The permission service is optional since right now CleverSwarm doesn't require any authorization (decide who can access what). The content of the user service may depend on what CleverSwarm needs.
This ticket will only add endpoint for user service, since that's the one required by CleverSwarm. The rest will be added when CleverSwarm and CleverBrag needs them.
This ticket should design the message format, and implement the RPC handlers (with some automation on endpoint discovery), and corresponding unit tests.