SamCooper / COMMON_SPEC_RIDS

1 stars 0 forks source link

[Directory service] Raise a COM Event when a provider is published or removed #76

Open CesarCoelho opened 6 years ago

CesarCoelho commented 6 years ago

At the moment, the Directory service does not publish any COM Events. It is not possible to know if the state of the Directory service has changed. It is suggested to raise a COM Event when this happens. A COM Event can be easily raised after adding or removing a new provider to the Directory service.

CesarCoelho commented 5 years ago

Hi Sam, I don't think you should postpone this one. This is an extremely important functionality. Also, in terms of changes to the book, you must add 3 COM Events to the Common service:

  1. Added Provider Event
  2. Changed Provider Event
  3. Removed Provider Event

If you have a node that relies on a set of other services, you want to be notified when your "dependency" services are added to the Directory service. This is when the Events come to play!