Allow publishing of IESI script executions to GCP PubSub#182
Allow publishing of IESI script executions to GCP PubSub#182BerrevoetsRobbe wants to merge 10 commits intodevelopfrom
Conversation
…script-executions-to-gcp-pubsub
…script-executions-to-gcp-pubsub
…script-executions-to-gcp-pubsub
peterbillen
left a comment
There was a problem hiding this comment.
-
add empty conf section to /core/conf/application.yml
publishers:- type:
project:
topic:
- type:
-
remove the scriptresult object from the console output and replace the object just by the word 'scriptresult'
|
@BerrevoetsRobbe How to deserialize a string to the ScriptResult object? I am getting a nullpointer exception here |
|
Additionally, I am getting the following test errors on the branch: |
What code are you executing? It seems that you are mapping to Metadata.class and not ScriptResult.claa |
Not reproducable on my machine. All tests succeed and
Should be fixed with latests commit. Currently a H2 in-memory is used as db during unit tests, not a SQLite DB. |
|
I've modified the Java object being sent to io.metadew.iesi.connection.publisher.ScriptResultDto. You can see how it's serialized/deserialized at io.metadew.iesi.connection.publisher.ScriptResultDtoService/io.metadew.iesi.connection.publisher.ScriptResultDtoServiceTest |
…script-executions-to-gcp-pubsub
Is your feature request related to a problem? Please describe.
I want to be able to configure a GCP PubSub where IESI should publish all the run ids of scripts that have finished.
Id
4fb0d16