mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
ENT-3496 Add the checkpointed flow's simple name to the json file name
This commit is contained in:
parent
a60d657c7c
commit
143499f6fd
@ -97,7 +97,7 @@ class CheckpointDumper(private val checkpointStorage: CheckpointStorage, private
|
||||
val checkpoint = serialisedCheckpoint.checkpointDeserialize(context = checkpointSerializationContext)
|
||||
val json = checkpoint.toJson(runId.uuid)
|
||||
val jsonBytes = writer.writeValueAsBytes(json)
|
||||
zip.putNextEntry(ZipEntry("${runId.uuid}.json"))
|
||||
zip.putNextEntry(ZipEntry("${json.flowLogicClass.simpleName}-${runId.uuid}.json"))
|
||||
zip.write(jsonBytes)
|
||||
zip.closeEntry()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user