Loading src/dlt/gateway/.gitignore +1 −1 Original line number Diff line number Diff line Loading @@ -87,4 +87,4 @@ gradle-app.setting .gradletasknamecache local.properties wallet/ No newline at end of file wallet*/ No newline at end of file src/dlt/gateway/src/main/kotlin/grpc/FabricServer.kt +3 −2 Original line number Diff line number Diff line Loading @@ -48,8 +48,9 @@ class FabricServer(val port: Int) { private val server: Server init { val cfg = Config.DltConfig.newBuilder().setWallet("wallet").setConnectionFile("config/connection-org1.json") .setUser("appUser" + Random.nextUInt()) val id = Random.nextUInt() val cfg = Config.DltConfig.newBuilder().setWallet("wallet$id").setConnectionFile("config/connection-org1.json") .setUser("appUser$id") .setChannel("dlt") .setContract("basic").setCaCertFile("config/ca.org1.example.com-cert.pem").setCaUrl("https://teraflow.nlehd.de:7054") .setCaAdmin("admin").setCaAdminSecret("adminpw").setMsp("Org1MSP").setAffiliation("org1.department1") Loading Loading
src/dlt/gateway/.gitignore +1 −1 Original line number Diff line number Diff line Loading @@ -87,4 +87,4 @@ gradle-app.setting .gradletasknamecache local.properties wallet/ No newline at end of file wallet*/ No newline at end of file
src/dlt/gateway/src/main/kotlin/grpc/FabricServer.kt +3 −2 Original line number Diff line number Diff line Loading @@ -48,8 +48,9 @@ class FabricServer(val port: Int) { private val server: Server init { val cfg = Config.DltConfig.newBuilder().setWallet("wallet").setConnectionFile("config/connection-org1.json") .setUser("appUser" + Random.nextUInt()) val id = Random.nextUInt() val cfg = Config.DltConfig.newBuilder().setWallet("wallet$id").setConnectionFile("config/connection-org1.json") .setUser("appUser$id") .setChannel("dlt") .setContract("basic").setCaCertFile("config/ca.org1.example.com-cert.pem").setCaUrl("https://teraflow.nlehd.de:7054") .setCaAdmin("admin").setCaAdminSecret("adminpw").setMsp("Org1MSP").setAffiliation("org1.department1") Loading