File tree Expand file tree Collapse file tree 3 files changed +21
-8
lines changed
java/org/gridsuite/securityanalysis/server/service Expand file tree Collapse file tree 3 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 8686 <dependencyManagement >
8787 <dependencies >
8888 <!-- overrides of imports -->
89+ <dependency >
90+ <groupId >com.powsybl</groupId >
91+ <artifactId >powsybl-ws-commons</artifactId >
92+ <version >1.19.0-SNAPSHOT</version >
93+ </dependency >
8994 <dependency ><!-- To remove when integrate in next release of gridsuite-dependencies or powsybl-ws-dependencies -->
9095 <groupId >com.squareup.okhttp3</groupId >
9196 <artifactId >okhttp-bom</artifactId >
Original file line number Diff line number Diff line change @@ -105,9 +105,6 @@ public SecurityAnalysisResult run(SecurityAnalysisRunContext runContext) {
105105 runContext .setNetwork (network );
106106 AtomicReference <ReportNode > rootReporter = new AtomicReference <>();
107107 return run (runContext , null , rootReporter );
108- } catch (InterruptedException e ) {
109- Thread .currentThread ().interrupt ();
110- return null ;
111108 } catch (Exception e ) {
112109 LOGGER .error (getFailedMessage (getComputationType ()), e );
113110 return null ;
Original file line number Diff line number Diff line change 11spring :
22 application :
33 name : security-analysis-server
4-
4+
55 jpa :
66 properties :
77 hibernate :
@@ -20,6 +20,7 @@ spring:
2020 group : saGroup
2121 consumer :
2222 concurrency : 2
23+ max-attempts : 1
2324 publishRun-out-0 :
2425 destination : ${powsybl-ws.rabbitmq.destination.prefix:}sa.run
2526 publishResult-out-0 :
@@ -30,11 +31,21 @@ spring:
3031 destination : ${powsybl-ws.rabbitmq.destination.prefix:}sa.cancel
3132 publishStopped-out-0 :
3233 destination : ${powsybl-ws.rabbitmq.destination.prefix:}sa.stopped
33- publishFailed-out-0 :
34- destination : ${powsybl-ws.rabbitmq.destination.prefix:}sa.failed
3534 publishCancelFailed-out-0 :
3635 destination : ${powsybl-ws.rabbitmq.destination.prefix:}sa.cancelfailed
37- output-bindings : publishRun-out-0;publishResult-out-0;publishCancel-out-0;publishStopped-out-0;publishFailed-out-;publishCancelFailed-out-0
36+ output-bindings : publishRun-out-0;publishResult-out-0;publishCancel-out-0;publishStopped-out-0;publishCancelFailed-out-0
37+ rabbit :
38+ bindings :
39+ consumeRun-in-0 :
40+ consumer :
41+ auto-bind-dlq : true
42+ dead-letter-exchange : ${powsybl-ws.rabbitmq.destination.prefix:}sa.run.dlx
43+ dead-letter-queue-name : ${powsybl-ws.rabbitmq.destination.prefix:}sa.run.dlx.dlq
44+ dead-letter-exchange-type : topic
45+ quorum :
46+ enabled : true
47+ delivery-limit : 2
48+
3849
3950powsybl-ws :
4051 database :
@@ -89,4 +100,4 @@ security-analysis:
89100 - [ 1, 1, 1, 1 ]
90101 - [ 1, 1, 1, 1 ]
91102 - [ 1, 1, 1, 1 ]
92- - [ 1, 1, 1, 1 ]
103+ - [ 1, 1, 1, 1 ]
You can’t perform that action at this time.
0 commit comments