crossid / zeebe-mongo-exporter

Apache License 2.0
7 stars 3 forks source link

flow puts end date even though it's not completed. #2

Closed asaf closed 3 years ago

asaf commented 3 years ago
{
    "_id" : 2251799813685251,
    "bpmnProcessId" : "getsystemuser.dev",
    "version" : 1,
    "workflowKey" : 2251799813685249,
    "startTime" : "2020-12-05T09:55:33.834Z",
    "state" : "active",
    "endedTime" : "2020-12-05T09:55:33.801Z"
}
ranisharim-crossid commented 3 years ago

Cannot reproduce via tests image

asaf commented 3 years ago

@ranisharim-crossid not sure maybe I've done wrong tests, I'll do some more

ranisharim-crossid commented 3 years ago

I made a change that I thought was redundant before. Perhaps I was wrong. Try again with new version please.

asaf commented 3 years ago

I just verified, it puts 'end date' even though it's not ended. will try with the new ver

asaf commented 3 years ago

@ranisharim-crossid now it stopped writing new flows, it doesn't feel ready, I'm suspending QA until we stabilize this with more unit tests.

dev-zeebe        | java.lang.NullPointerException: null
dev-zeebe        |  at io.crossid.zeebe.exporter.ZeebeMongoClient.exportBulk(ZeebeMongoClient.java:108) ~[?:?]
dev-zeebe        |  at io.crossid.zeebe.exporter.ZeebeMongoClient.flush(ZeebeMongoClient.java:93) ~[?:?]
ranisharim-crossid commented 3 years ago

Is there any way I can run an actual workflow? Unit tests with made up data arent good enough

ranisharim-crossid commented 3 years ago

@ranisharim-crossid now it stopped writing new flows, it doesn't feel ready, I'm suspending QA until we stabilize this with more unit tests.

dev-zeebe        | java.lang.NullPointerException: null
dev-zeebe        |    at io.crossid.zeebe.exporter.ZeebeMongoClient.exportBulk(ZeebeMongoClient.java:108) ~[?:?]
dev-zeebe        |    at io.crossid.zeebe.exporter.ZeebeMongoClient.flush(ZeebeMongoClient.java:93) ~[?:?]

That should be fixed now. But we really need to find a way to put a real worklow in unit tests...