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

Turn scan storages into plugins #6603

Open
sschuberth opened this issue Mar 3, 2023 · 0 comments
Open

Turn scan storages into plugins #6603

sschuberth opened this issue Mar 3, 2023 · 0 comments
Assignees
Labels
enhancement Issues that are considered to be enhancements model About the data model plugin Topics related to ORT plugins

Comments

@sschuberth
Copy link
Member

sschuberth commented Mar 3, 2023

Scan storages (storage readers / writers) also seem to be a good fit for being implemented as plugins. They should straight use the new org.ossreviewtoolkit.plugins.api.Plugin API.

Some additional notes:

@sschuberth sschuberth added enhancement Issues that are considered to be enhancements model About the data model plugin Topics related to ORT plugins labels Mar 3, 2023
@sschuberth sschuberth changed the title Turn scan storage into plugins Turn scan storages into plugins Mar 9, 2023
@mnonnenmacher mnonnenmacher self-assigned this Mar 11, 2024
mnonnenmacher added a commit to boschglobal/ort-server that referenced this issue Apr 30, 2024
The ORT Server uses its own storage implementations and does not offer
a way to configure other storages. Therefore the storage related
properties can be removed from `ScannerConfiguration`, as they have
never been used. Related configuration classes and database tables will
be removed in subsequent commits.

If required, support for other storages might be added later on, this
might make sense to integrate external scan result storages like
ClearlyDefined. But this should be done after scan storages have become
plugins in ORT [1], because then they would share one configuration
model and would not require dedicated database tables anymore.

[1]: oss-review-toolkit/ort#6603

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
mnonnenmacher added a commit to boschglobal/ort-server that referenced this issue May 2, 2024
The ORT Server uses its own storage implementations and does not offer
a way to configure other storages. Therefore the storage related
properties can be removed from `ScannerConfiguration`, as they have
never been used. Related configuration classes and database tables will
be removed in subsequent commits.

If required, support for other storages might be added later on, this
might make sense to integrate external scan result storages like
ClearlyDefined. But this should be done after scan storages have become
plugins in ORT [1], because then they would share one configuration
model and would not require dedicated database tables anymore.

[1]: oss-review-toolkit/ort#6603

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
github-merge-queue bot pushed a commit to eclipse-apoapsis/ort-server that referenced this issue May 3, 2024
The ORT Server uses its own storage implementations and does not offer
a way to configure other storages. Therefore the storage related
properties can be removed from `ScannerConfiguration`, as they have
never been used. Related configuration classes and database tables will
be removed in subsequent commits.

If required, support for other storages might be added later on, this
might make sense to integrate external scan result storages like
ClearlyDefined. But this should be done after scan storages have become
plugins in ORT [1], because then they would share one configuration
model and would not require dedicated database tables anymore.

[1]: oss-review-toolkit/ort#6603

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues that are considered to be enhancements model About the data model plugin Topics related to ORT plugins
Projects
None yet
Development

No branches or pull requests

2 participants