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

Add 'helper' block to connector definition #3

Open
skierkowski opened this issue Oct 28, 2014 · 0 comments
Open

Add 'helper' block to connector definition #3

skierkowski opened this issue Oct 28, 2014 · 0 comments
Assignees

Comments

@skierkowski
Copy link
Member

If you look at the current code for connectors, there is A LOT of repeated code. For example, validating parameters, initializing connections, Finding a particular entity, etc. Since the actions and listeners get executed in a different context (in ServiceInstance) instead of the service definition, you can't just define the shared variables/methods in the parent block. A such, one can add a helper block to the service definitions for common methods/variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant