mirror of
https://github.com/corda/corda.git
synced 2025-06-21 08:40:03 +00:00
added checkpoints debug
shell command (#6574)
This commit is contained in:
@ -24,4 +24,11 @@ public class CheckpointShellCommand extends InteractiveShellCommand<FlowManagerR
|
||||
public void dump() {
|
||||
runDumpCheckpoints(ops());
|
||||
}
|
||||
|
||||
@Command
|
||||
@Man("Outputs the contents of all started flow checkpoints in a zip file")
|
||||
@Usage("Outputs the contents of all started flow checkpoints in a zip file")
|
||||
public void debug() {
|
||||
runDebugCheckpoints(ops());
|
||||
}
|
||||
}
|
||||
|
@ -565,6 +565,11 @@ object InteractiveShell {
|
||||
rpcOps.dumpCheckpoints()
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun runDebugCheckpoints(rpcOps: FlowManagerRPCOps) {
|
||||
rpcOps.debugCheckpoints()
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun runRPCFromString(input: List<String>, out: RenderPrintWriter, context: InvocationContext<out Any>, cordaRPCOps: CordaRPCOps,
|
||||
inputObjectMapper: ObjectMapper): Any? {
|
||||
|
Reference in New Issue
Block a user