Closed francoisledroff closed 2 years ago
If I can create or update a provider based on a user/system generated ID and not worry about ProviderId that gets returned, then I would also need to be able to find a provider based on the user/system generated ID. In this case "instanceId"
Assuming I can create / update a provider and pass "instanceId" = "amol"; i should also be able to findProviderByInstanceId("amol") and get the providerId needed for things like consuming events and registering journals etc.. That way I never have to save the providerId and I only need to worry about instanceId. What would also be great is if we were able to register a journal listening to events based on the instanceId and not ProviderId too.
@amol-anand thanks for your feedback I added a findCustomEventsProviderByInstanceId
method to the ProviderService
30 adding a
createOrUpdateProvider()
method to the ProviderService