-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor publish hook configuration and event collection #22
Refactor publish hook configuration and event collection #22
Conversation
…lue-esb-hook into use-doc-entityName
After chatting with @vritant it sounds like part of the confusion is coming from the fact that both lightblue and esb refer to their data models as 'entities'. So what was originally created to refer to the lightblue entity was retasked to being the esb entity which confused me. So I think we need to come up with a way to refer to both types of entities that does not step on eachother. |
Further chatted with @jewzaam and he confirmed that we want to have both entityName (as in lightblue) and [esb]EntityName. |
@vritant ready for code review. changes are as we discussed. |
Refactor publish hook configuration and event collection
Unless I am missing something, I don't know why we would want/need the publish hook definition to require the entityName when it already has access to that from the Document.
This PR makes this change and cleans up the unit tests.