Skip to content

Commit

Permalink
ES-1840: Add dynamic network config file (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlawson3 authored Apr 30, 2024
1 parent 989f990 commit 6f407fd
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 4 deletions.
31 changes: 31 additions & 0 deletions config/dynamic-network-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[
{
"x500Name" : "CN=MGM, OU=Test Dept, O=R3, L=London, C=GB",
"cpi" : "MGM",
"mgmNode" : "true"
},
{
"x500Name" : "CN=Alice, OU=Test Dept, O=R3, L=London, C=GB",
"cpi" : "MyCorDapp",
"mgmNode" : "false"
},
{
"x500Name" : "CN=Bob, OU=Test Dept, O=R3, L=London, C=GB",
"cpi" : "MyCorDapp"
},
{
"x500Name" : "CN=Charlie, OU=Test Dept, O=R3, L=London, C=GB",
"cpi" : "MyCorDapp"
},
{
"x500Name" : "CN=Dave, OU=Test Dept, O=R3, L=London, C=GB",
"cpi" : "MyCorDapp"
},
{
"x500Name" : "CN=NotaryRep1, OU=Test Dept, O=R3, L=London, C=GB",
"cpi" : "NotaryServer",
"serviceX500Name": "CN=NotaryService, OU=Test Dept, O=R3, L=London, C=GB",
"flowProtocolName" : "com.r3.corda.notary.plugin.nonvalidating",
"backchainRequired" : "true"
}
]
4 changes: 3 additions & 1 deletion config/static-network-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
{
"x500Name" : "CN=NotaryRep1, OU=Test Dept, O=R3, L=London, C=GB",
"cpi" : "NotaryServer",
"serviceX500Name": "CN=NotaryService, OU=Test Dept, O=R3, L=London, C=GB"
"serviceX500Name": "CN=NotaryService, OU=Test Dept, O=R3, L=London, C=GB",
"flowProtocolName" : "com.r3.corda.notary.plugin.nonvalidating",
"backchainRequired" : "true"
}
]
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ kotlin.code.style=official

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

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

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

# Specify the version of the cordapp-cpb and cordapp-cpk plugins
cordaPluginsVersion=7.0.4
Expand Down

0 comments on commit 6f407fd

Please sign in to comment.