CORDA-792 Fix local shell in trader demo and SIMM valuation demo. (#2837)

Added rpcSettings to start RPC so the local shell can connect to the node.
This commit is contained in:
szymonsztuka 2018-03-16 16:41:34 +00:00 committed by GitHub
parent 5b7f06a39d
commit fb37a5bcf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -69,6 +69,10 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
notary = [validating : true]
p2pPort 10002
cordapp project(':finance')
rpcSettings {
address "localhost:10014"
adminAddress "localhost:10015"
}
extraConfig = [
custom: [
jvmArgs: ["-Xmx1g"]

View File

@ -50,6 +50,10 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
name "O=Notary Service,L=Zurich,C=CH"
notary = [validating : true]
p2pPort 10002
rpcSettings {
address "localhost:10003"
adminAddress "localhost:10004"
}
cordapps = ["$project.group:finance:$corda_release_version"]
}
node {