mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
Introducing StartableByRPC and SchedulableFlow annotations, needed by flows started via RPC and schedulable flows respectively.
CordaPluginRegistry.requiredFlows is no longer needed as a result.
This commit is contained in:
@ -30,14 +30,6 @@ class CorDappInfoServlet(val plugins: List<CordaPluginRegistry>, val rpc: CordaR
|
||||
} else {
|
||||
plugins.forEach { plugin ->
|
||||
h3 { +plugin::class.java.name }
|
||||
if (plugin.requiredFlows.isNotEmpty()) {
|
||||
div {
|
||||
p { +"Whitelisted flows:" }
|
||||
ul {
|
||||
plugin.requiredFlows.map { it.key }.forEach { li { +it } }
|
||||
}
|
||||
}
|
||||
}
|
||||
if (plugin.webApis.isNotEmpty()) {
|
||||
div {
|
||||
plugin.webApis.forEach { api ->
|
||||
@ -56,7 +48,7 @@ class CorDappInfoServlet(val plugins: List<CordaPluginRegistry>, val rpc: CordaR
|
||||
div {
|
||||
p { +"Static web content:" }
|
||||
ul {
|
||||
plugin.staticServeDirs.map { it.key }.forEach {
|
||||
plugin.staticServeDirs.keys.forEach {
|
||||
li { a("web/$it") { +it } }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user