mirror of
https://github.com/corda/corda.git
synced 2025-04-15 06:56:59 +00:00
Merge pull request #476 from corda/clint-cordformationh2
Added H2 port to cordformation config
This commit is contained in:
commit
79e9c3f5c7
@ -1,3 +1,3 @@
|
||||
gradlePluginsVersion=0.10.2
|
||||
gradlePluginsVersion=0.10.3
|
||||
kotlinVersion=1.1.1
|
||||
guavaVersion=21.0
|
||||
|
@ -202,6 +202,7 @@ is a three node example;
|
||||
p2pPort 10002
|
||||
rpcPort 10003
|
||||
webPort 10004
|
||||
h2Port 11002
|
||||
cordapps []
|
||||
}
|
||||
node {
|
||||
@ -211,6 +212,7 @@ is a three node example;
|
||||
p2pPort 10005
|
||||
rpcPort 10006
|
||||
webPort 10007
|
||||
h2Port 11005
|
||||
cordapps []
|
||||
}
|
||||
node {
|
||||
@ -220,6 +222,7 @@ is a three node example;
|
||||
p2pPort 10008
|
||||
rpcPort 10009
|
||||
webPort 10010
|
||||
h2Port 11008
|
||||
cordapps []
|
||||
}
|
||||
}
|
||||
|
@ -75,6 +75,13 @@ class Node {
|
||||
config = config.withValue("useHTTPS", ConfigValueFactory.fromAnyRef(isHttps))
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the H2 port for this node
|
||||
*/
|
||||
void h2Port(Integer h2Port) {
|
||||
config = config.withValue("h2port", ConfigValueFactory.fromAnyRef(h2Port))
|
||||
}
|
||||
|
||||
void useTestClock(Boolean useTestClock) {
|
||||
config = config.withValue("useTestClock", ConfigValueFactory.fromAnyRef(useTestClock))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user