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

Cyclic Dependency between Service API and Remote Workflow Controller #88

Open
heikomuller opened this issue May 30, 2021 · 0 comments
Open

Comments

@heikomuller
Copy link
Member

Please describe the problem.
The cyclic dependency between the flowserv.service.local.LocalAPIFactory and the flowserv.controller.remote.engine.RemoteWorkflowController makes it currently impossible to instantiate the backend (in the init_backend function) from the environment variables FLOWSERV_BACKEND_CLASS and FLOWSERV_BACKEND_MODULE.

Describe the solution you'd like
We either need to think ablut breaking this dependency or change the protocol for instantiating backends (e.g., add an additional init() call that passes the API factory object to the created backend).

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

No branches or pull requests

1 participant