Skip to content

Conversation

@antoinebhs
Copy link
Contributor

@antoinebhs antoinebhs commented Nov 15, 2024

In order for the in-memory copy to work, we have to ensure that the extensions copied in memory are present in the classpath. Anyway, only a subset of extensions are required for the security analysis with OLF. That's the list OPENLOADFLOW_SECURITY_ANALYSIS_EXTENSIONS.
To do that, I took all the extensions from OLF and filtered them for the copy.
Unfortunately, the NetworkSerde.copy() API does not have the option to pass the extension filter as parameter so I forked the method from powsybl-core.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

@jonenst jonenst merged commit 9ad82d9 into main Nov 15, 2024
2 of 3 checks passed
@jonenst jonenst deleted the filter-extensions-for-copy branch November 15, 2024 16:36
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 this pull request may close these issues.

3 participants