-
Notifications
You must be signed in to change notification settings - Fork 0
Add specific parameters management #163
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
Open
sBouzols
wants to merge
29
commits into
main
Choose a base branch
from
add_specific_parameters
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
037b712
refactor(): parameters management adaptation from loadflow-server
sBouzols 963ac7f
Merge remote-tracking branch 'origin/main' into add_specific_parameters
sBouzols 8e86e9e
fix MockitoSpyBean
sBouzols aa55771
feat(): Add get specific-parameters endpoint
sBouzols e08b1f6
Merge branch 'main' into add_specific_parameters
sBouzols c08dcf9
fix unused import
sBouzols 085c7ef
fix TU
sBouzols f52aeb9
Merge branch 'main' into add_specific_parameters
sBouzols f80efdb
license header
sBouzols c489bc9
Merge branch 'add_specific_parameters' of https://github.com/gridsuit…
sBouzols 85b880a
clean code
sBouzols 1d37fa8
tests(SCParameters): Add some test for coverage
sBouzols 9bc46aa
remove unused import
sBouzols ae15fb0
remove unused entity clone code
sBouzols 502922b
test(): add a test to check duplication of parameters containing spec…
sBouzols c927c6e
unused import
sBouzols b7d114a
remove empty test class
sBouzols 4cf9b4b
Merge branch 'main' into add_specific_parameters
sBouzols 73a90f6
fix some sonar issues
sBouzols c448c5e
Merge branch 'main' into add_specific_parameters
sBouzols 54135e7
refactor from review add ShortCircuitParametersConstants.DEFAULT_PROV…
sBouzols fb95434
docs(): add author where needed
sBouzols 35c9749
missing >
sBouzols d353d06
use builder to be clearer
sBouzols 9571657
manage provider following review remark
sBouzols 9dd7904
remove getDefaultParametersValues not used
sBouzols 49f2c9d
remove `lombok.experimental.Accessors` annotation usage
sBouzols 1982e0b
add extension management in `buildParameters`
sBouzols 42cad1b
feat: add default provider management
sBouzols File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/org/gridsuite/shortcircuit/server/dto/ShortCircuitParametersValues.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* | ||
| * Copyright (c) 2025, RTE (http://www.rte-france.com) | ||
| * This Source Code Form is subject to the terms of the Mozilla Public | ||
| * License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| * file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
| */ | ||
| package org.gridsuite.shortcircuit.server.dto; | ||
|
|
||
| import com.powsybl.shortcircuit.ShortCircuitParameters; | ||
| import lombok.Builder; | ||
| import java.util.Map; | ||
|
|
||
| /** | ||
| * @author Sylvain Bouzols <sylvain.bouzols at rte-france.com> | ||
| */ | ||
| @Builder | ||
| public record ShortCircuitParametersValues( | ||
| String provider, | ||
| ShortCircuitPredefinedConfiguration predefinedParameters, | ||
| ShortCircuitParameters commonParameters, | ||
| Map<String, String> specificParameters | ||
| ) { | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.