Skip to content

Commit 6f407fd

Browse files
authored
ES-1840: Add dynamic network config file (#83)
1 parent 989f990 commit 6f407fd

File tree

3 files changed

+37
-4
lines changed

3 files changed

+37
-4
lines changed

config/dynamic-network-config.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[
2+
{
3+
"x500Name" : "CN=MGM, OU=Test Dept, O=R3, L=London, C=GB",
4+
"cpi" : "MGM",
5+
"mgmNode" : "true"
6+
},
7+
{
8+
"x500Name" : "CN=Alice, OU=Test Dept, O=R3, L=London, C=GB",
9+
"cpi" : "MyCorDapp",
10+
"mgmNode" : "false"
11+
},
12+
{
13+
"x500Name" : "CN=Bob, OU=Test Dept, O=R3, L=London, C=GB",
14+
"cpi" : "MyCorDapp"
15+
},
16+
{
17+
"x500Name" : "CN=Charlie, OU=Test Dept, O=R3, L=London, C=GB",
18+
"cpi" : "MyCorDapp"
19+
},
20+
{
21+
"x500Name" : "CN=Dave, OU=Test Dept, O=R3, L=London, C=GB",
22+
"cpi" : "MyCorDapp"
23+
},
24+
{
25+
"x500Name" : "CN=NotaryRep1, OU=Test Dept, O=R3, L=London, C=GB",
26+
"cpi" : "NotaryServer",
27+
"serviceX500Name": "CN=NotaryService, OU=Test Dept, O=R3, L=London, C=GB",
28+
"flowProtocolName" : "com.r3.corda.notary.plugin.nonvalidating",
29+
"backchainRequired" : "true"
30+
}
31+
]

config/static-network-config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
{
1919
"x500Name" : "CN=NotaryRep1, OU=Test Dept, O=R3, L=London, C=GB",
2020
"cpi" : "NotaryServer",
21-
"serviceX500Name": "CN=NotaryService, OU=Test Dept, O=R3, L=London, C=GB"
21+
"serviceX500Name": "CN=NotaryService, OU=Test Dept, O=R3, L=London, C=GB",
22+
"flowProtocolName" : "com.r3.corda.notary.plugin.nonvalidating",
23+
"backchainRequired" : "true"
2224
}
2325
]

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ kotlin.code.style=official
22

33
# Specify the version of the Corda-API to use.
44
# This needs to match the version supported by the Corda Cluster the CorDapp will run on.
5-
cordaApiVersion=5.3.0.8-beta-1711609687915
5+
cordaApiVersion=5.3.0.12-beta-1714370887105
66

77
# Specify the version of the Corda runtime to use.
8-
cordaRuntimeVersion=5.3.0.0-beta-1711617024604
8+
cordaRuntimeVersion=5.3.0.0-beta-1714402943997
99

1010
# Specify the version of the notary plugins to use.
1111
# Currently packaged as part of corda-runtime-os, so should be set to a corda-runtime-os version.
12-
cordaNotaryPluginsVersion=5.3.0.0-beta-1711617024604
12+
cordaNotaryPluginsVersion=5.3.0.0-beta-1714402943997
1313

1414
# Specify the version of the cordapp-cpb and cordapp-cpk plugins
1515
cordaPluginsVersion=7.0.4

0 commit comments

Comments
 (0)