Skip to content
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

Merged
merged 10 commits into from
Jul 27, 2015

Conversation

dcrissman
Copy link
Member

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.

@dcrissman
Copy link
Member Author

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.

@dcrissman
Copy link
Member Author

Further chatted with @jewzaam and he confirmed that we want to have both entityName (as in lightblue) and [esb]EntityName.

@dcrissman dcrissman changed the title use the entityName off the doc Refactor publish hook configuration and event collection Jul 23, 2015
@dcrissman
Copy link
Member Author

@vritant ready for code review. changes are as we discussed.

vritant added a commit that referenced this pull request Jul 27, 2015
Refactor publish hook configuration and event collection
@vritant vritant merged commit 75c589a into lightblue-platform:master Jul 27, 2015
@dcrissman dcrissman deleted the use-doc-entityName branch July 28, 2015 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants