Skip to content

Add private extensions validation (loadflow-validation)#3820

Open
samirromdhani wants to merge 4 commits intomainfrom
feat/696_loadflow_validation_extension
Open

Add private extensions validation (loadflow-validation)#3820
samirromdhani wants to merge 4 commits intomainfrom
feat/696_loadflow_validation_extension

Conversation

@samirromdhani
Copy link
Copy Markdown
Contributor

@samirromdhani samirromdhani commented Mar 12, 2026

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?

Fixes #696

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@samirromdhani samirromdhani force-pushed the feat/696_loadflow_validation_extension branch 6 times, most recently from c2285cc to 327b46d Compare March 13, 2026 15:31
Comment on lines 147 to 148
Copy link
Copy Markdown
Member

@olperr1 olperr1 Mar 16, 2026

Choose a reason for hiding this comment

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

The problem with the unit test comes from these lines.
Paths.get(...) retrieves the file from the OS file system, but in the unit test we use a virtual FS.

See for instance how it is done in DynamicSimulationTool: the FS that is used is retrieved from the context.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, that’s helpful! I see how using the FS from context's tool.

@samirromdhani samirromdhani force-pushed the feat/696_loadflow_validation_extension branch 11 times, most recently from a0c431d to 9c0abce Compare March 17, 2026 15:26
@samirromdhani samirromdhani self-assigned this Mar 18, 2026
Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>

add ExtensionsValidation tests

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>

WIP

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>

add doc

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>

test

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>

fix

fix test

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>

test

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
@samirromdhani samirromdhani force-pushed the feat/696_loadflow_validation_extension branch from f9eaad5 to c53de78 Compare March 18, 2026 12:37
@samirromdhani samirromdhani changed the title [WIP] loadflow validation - validate extensions (private) Add private extensions validation (loadflow-validation) Mar 18, 2026
@sonarqubecloud
Copy link
Copy Markdown

@samirromdhani samirromdhani marked this pull request as ready for review March 18, 2026 12:49
@samirromdhani samirromdhani requested a review from olperr1 March 18, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loadflow validation : being able to validate extensions behaviour

2 participants