Skip to content

Commit

Permalink
Add possible values to naming strategies at CGMES import (#2609)
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
  • Loading branch information
geofjamg authored Jun 12, 2023
1 parent f990b14 commit 9a2c13b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ private void copyStream(ReadOnlyDataSource from, DataSource to, String fromName,
NAMING_STRATEGY,
ParameterType.STRING,
"Configure what type of naming strategy you want to use for the provided ID mapping file",
NamingStrategyFactory.IDENTITY)
NamingStrategyFactory.IDENTITY,
new ArrayList<>(NamingStrategyFactory.LIST))
.addAdditionalNames("iidm.import.cgmes.id-mapping-file-naming-strategy");
private static final Parameter IMPORT_CONTROL_AREAS_PARAMETER = new Parameter(
IMPORT_CONTROL_AREAS,
Expand Down

0 comments on commit 9a2c13b

Please sign in to comment.