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

Prototype the OCM Plugin Manager #377

Open
jakobmoellerdev opened this issue Jan 23, 2025 · 1 comment
Open

Prototype the OCM Plugin Manager #377

jakobmoellerdev opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
area/ipcei Important Project of Common European Interest
Milestone

Comments

@jakobmoellerdev
Copy link
Contributor

jakobmoellerdev commented Jan 23, 2025

The OCM Plugin System currently relies on man assumptions that are problematic for us:

  1. The OCM Plugins for upload / download are unable to adjust resources, and instead adjust only accesses, thus they are unable to transform
  2. The OCM Plugins have commands for installation and registration, but they can only deal with one byte stream at a time and get forked every time they are called which is quite inefficient.
@github-actions github-actions bot added the area/ipcei Important Project of Common European Interest label Jan 23, 2025
@frewilhelm frewilhelm moved this from 🆕 ToDo to 🏗 In Progress in OCM Backlog Board Jan 23, 2025
@morri-son morri-son added this to the 2025-Q1 milestone Jan 30, 2025
@Skarlso
Copy link
Contributor

Skarlso commented Jan 30, 2025

What's Done

  • current basic plugin loading and communication via TCP or UDS is working
  • interfaces that are hiding the plugin logic has been created
  • plugins can be lazy loaded ( meaning they are only started when needed )
  • openAPI schema has been created to make plugins able to be generated for other languages
  • testing with several hundred concurrent requests and improve stability of the plugin system

What remains

  • refactor the code
  • deduplication of returned plugins ( right now, a single plugin if it registered for a type could be returned twice )
  • use the openapi generated go structs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ipcei Important Project of Common European Interest
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

3 participants