Commit Graph

24 Commits

Author SHA1 Message Date
Mauro Mugnaini 7790eb127c
Better handling of exceptions and retrying behavior in case of read timeout. (Default connection timeout is 10s and read timeout now is 60s) 2024-04-22 16:17:59 +02:00
Mauro Mugnaini d761dac8ac
- Restored correct behavior for event publishing with workflow id only sent back
- Extracted `AbstractHTTPWithJWTTokenAuthEventSender` class for easy subclassing
- Added new outcome check methods to inspect last send and last check actions results and some other facilities
2024-03-08 13:43:43 +01:00
Mauro Mugnaini 38259734b1
Added also setter/getter methods for connection and read timeouts 2024-03-06 12:18:30 +01:00
Mauro Mugnaini edfe561608
Added hooks methods for connection and read timeouts override 2024-03-06 12:09:09 +01:00
Mauro Mugnaini e41a8f9c20
Added missing constructor for extracted abstract class 2024-03-05 15:06:11 +01:00
Mauro Mugnaini b47f04a197
Extracted the `AbstractHTTPWithJWTTokenAuthEventSender` abstract class for easy extention purposes and updated to `maven-parent` version `1.2.1-SNAPSHOT` and `maven-portal-bom` version `3.7.0` 2024-03-05 11:49:47 +01:00
Mauro Mugnaini ec8476164c Added `BufferedEventProcessor` to manual send bunch of events and controlling their output status 2022-07-07 16:46:07 +02:00
Mauro Mugnaini a49e030d71 Added functions to also get the workflow execution's results with a pluggable results parser, ref. impl. for `Conductor` 2021-12-27 12:49:14 +01:00
Mauro Mugnaini 3f01b590f2 Refactored/extracted event sender that uses OIDC token only and extended it for the UMA version 2020-12-21 18:10:16 +01:00
Mauro Mugnaini dd27c3f442 [v1.0.1] Tuned some log levels and content sending the event and removed the use of deprecated code 2020-11-17 11:44:20 +01:00
Mauro Mugnaini 01bee7e266 Test updated to new UMA settings 2020-07-09 15:39:45 +02:00
Mauro Mugnaini c15cd4b718 Renamed class to self-explain it and added UMA token use with audience 2020-07-09 14:33:54 +02:00
Mauro Mugnaini 2d74631416 Rationalized logs 2020-07-03 17:33:57 +02:00
Mauro Mugnaini 86afd4c162 Event name now is the end part of the endpoint URL, removed Accept header to avoid Conductor issue and client identy (to construct authorization header) now is optional 2020-06-29 17:00:57 +02:00
Mauro Mugnaini 6b7326636e User is no more a base field 2020-06-29 16:59:17 +02:00
Mauro Mugnaini 9b699ea51b Log message changed 2020-06-29 16:58:16 +02:00
Mauro Mugnaini 352c4ae2b9 Added quick test class and log conf 2020-06-29 16:57:59 +02:00
Mauro Mugnaini 53b46a72a1 Added some logs for real event endpoint and JSON payload 2020-06-25 12:39:11 +02:00
Mauro Mugnaini 9b888a796b Fixed endpoint not assigned in thread and added connection and read timeout to the HTTP connection 2020-06-25 11:41:04 +02:00
Mauro Mugnaini 9eb4ad8bf7 Changed log level to warn on publish not 200-OK and added HTTP result code to message 2020-06-24 18:49:50 +02:00
Mauro Mugnaini 9f56248a54 Event name is now sent as part of the URI 2020-06-24 09:52:51 +02:00
Mauro Mugnaini 159da23f7b Bad getters signature 2020-06-24 09:52:22 +02:00
Mauro Mugnaini b1d6ce25e3 EventSender now sends Event instead of its superclass JSONObject 2020-06-23 13:09:44 +02:00
Mauro Mugnaini 2502967dff First share. Alpha version 2020-06-18 12:55:34 +02:00