diff --git a/pom.xml b/pom.xml index 1829f8c..c4ce36f 100644 --- a/pom.xml +++ b/pom.xml @@ -42,7 +42,7 @@ - 35 + 36 org.gridsuite.sensitivityanalysis.server 1.0.5 5.0.0-alpha.14 @@ -85,12 +85,7 @@ - - com.powsybl - powsybl-ws-commons - 1.19.0 - - + com.squareup.okhttp3 okhttp-bom ${mockwebserver3.version} diff --git a/src/main/java/org/gridsuite/sensitivityanalysis/server/service/SensitivityAnalysisParametersService.java b/src/main/java/org/gridsuite/sensitivityanalysis/server/service/SensitivityAnalysisParametersService.java index 785efdf..17a91a7 100644 --- a/src/main/java/org/gridsuite/sensitivityanalysis/server/service/SensitivityAnalysisParametersService.java +++ b/src/main/java/org/gridsuite/sensitivityanalysis/server/service/SensitivityAnalysisParametersService.java @@ -138,7 +138,7 @@ public NonEvacuatedEnergyRunContext createNonEvacuatedEnergyRunContext(UUID netw variantId, nonEvacuatedEnergyInputData, receiver, - provider, + provider != null ? provider : "default-provider", // TODO : remove test on provider null when fix in powsybl-ws-commons will handle null provider reportInfos, userId);