Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES-1840: Add dynamic network config file #83

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading