mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +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