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

chore(core): migrate StorageInterface to service-loader mechanism #3620

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

fhussonnois
Copy link
Member

@fhussonnois fhussonnois commented Apr 25, 2024

@fhussonnois fhussonnois force-pushed the chore/storage-plugins branch 15 times, most recently from b496e82 to ba6fc82 Compare April 26, 2024 16:34
@fhussonnois fhussonnois changed the title Chore/storage plugins chore(core): migrate StorageInterface to service-loader mechanism Apr 26, 2024
@fhussonnois fhussonnois added the kind/breaking-change Code modifications needed before upgrading label Apr 29, 2024
Comment on lines +29 to +35
/**
* Closes any resources used by this class.
*/
@Override
default void close() {
// no-op
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure it's a good idea as most if not all storage may have something to close so it's better to mandate thinking about it.

model/src/main/java/io/kestra/core/models/Plugin.java Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Apr 29, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
75.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@fhussonnois fhussonnois merged commit b381ee5 into develop Apr 29, 2024
5 of 6 checks passed
@fhussonnois fhussonnois deleted the chore/storage-plugins branch April 29, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/breaking-change Code modifications needed before upgrading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants