This is a user management service that enables developers to focus on writing applications without worrying about where to store user information, user authentication and authorization flows and all that nonsense. This takes care of all that. Mmadu was coined from the igbo word "Mmadu" meaning people.
MIT License
3
stars
2
forks
source link
Domain notification event listeners not setup when a domain is configured using the api #147
When a domain is configured on the notification service using the /domains api, the event listeners are not setup and because of this, it does not listen to events.
However, when the service is restarted, the event listeners are setup and can now listen to events.
Steps to Reproduce:
Configure a new domain on the notification service
Expected: Two queues are supposed to be created for the domain: UserEventQueue[test1.event.#] and UserEventQueue[test1.user.#]. This shows that the service has started listening to user and generic events. Notification service should listen for events as soon as a domain is configured as above or by creating a domainConfiguration item using the POST /repo/domainConfigurations api.
Actual: These queues are not created. However, when the service is restarted, the queues are created and the service listens for events.
When a domain is configured on the notification service using the /domains api, the event listeners are not setup and because of this, it does not listen to events.
However, when the service is restarted, the event listeners are setup and can now listen to events.
Steps to Reproduce:
http://localhost:15672/#/queues
Expected: Two queues are supposed to be created for the domain: UserEventQueue[test1.event.#] and UserEventQueue[test1.user.#]. This shows that the service has started listening to user and generic events. Notification service should listen for events as soon as a domain is configured as above or by creating a domainConfiguration item using the
POST /repo/domainConfigurations
api.Actual: These queues are not created. However, when the service is restarted, the queues are created and the service listens for events.