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

Auto-generate PLC4X adapters #2632

Closed
dominikriemer opened this issue Mar 25, 2024 · 1 comment · Fixed by #2637
Closed

Auto-generate PLC4X adapters #2632

dominikriemer opened this issue Mar 25, 2024 · 1 comment · Fixed by #2637
Assignees
Milestone

Comments

@dominikriemer
Copy link
Member

Body

Currently, we support only two PLC adapters provided by Apache PLC4X (S7 and Modbus). Both adapters only support a fraction of the configuration options PLC4X offers.

With the latest release, PLC4X has added a very cool functionality to retrieve metadata for all available drivers. We can make use of this feature by automatically creating adapters for all protocols supported by PLC4X and can also automatically generate all available configuration options per driver.

This will greatly enhance the number of protocols supported by StreamPipes, while at the same time reduce maintenance efforts since we don't need to manually specify adapter configurations.

StreamPipes Committer

I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

@dominikriemer
Copy link
Member Author

I participated at the PLC4X meetup the last weekend and already managed to set up a prototype, but it will take some more work to make it production-ready...

@dominikriemer dominikriemer self-assigned this Mar 25, 2024
@dominikriemer dominikriemer added this to the 0.95.0 milestone Mar 25, 2024
@dominikriemer dominikriemer linked a pull request Mar 25, 2024 that will close this issue
dominikriemer added a commit that referenced this issue Apr 2, 2024
* feat(#2632): Auto-generate PLC4X adapters

* Cleanup code

* Fix test

* Fix checkstyle

* Fix dependency convergence, exclude adapters

* Improve connection handling

* Modify metadata option

* Add asset resolver

* remove empty dependency management section
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

Successfully merging a pull request may close this issue.

1 participant