Test identities names cleanup (#1552)

This commit is contained in:
Maksymilian Pawlak 2017-09-19 17:33:00 +01:00 committed by josecoll
parent 544fd943f4
commit 92e22ab5f8
3 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
cordapps = ["net.corda:finance:$corda_release_version"]
}
node {
name "O=BankOfCorda,L=New York,C=US"
name "O=BankOfCorda,L=London,C=GB"
advertisedServices = ["corda.issuer.USD"]
p2pPort 10005
rpcPort 10006
@ -74,7 +74,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
]
}
node {
name "O=BigCorporation,L=London,C=GB"
name "O=BigCorporation,L=New York,C=US"
advertisedServices = []
p2pPort 10008
rpcPort 10009

View File

@ -28,7 +28,7 @@ fun main(args: Array<String>) {
val BANK_USERNAME = "bankUser"
val BIGCORP_USERNAME = "bigCorpUser"
val BIGCORP_LEGAL_NAME = CordaX500Name(organisation = "BigCorporation", locality = "London", country = "GB")
val BIGCORP_LEGAL_NAME = CordaX500Name(organisation = "BigCorporation", locality = "New York", country = "US")
private class BankOfCordaDriver {
enum class Role {

View File

@ -76,7 +76,7 @@ val BOC_PARTY_REF = BOC.ref(OpaqueBytes.of(1)).reference
val BIG_CORP_KEY: KeyPair by lazy { generateKeyPair() }
val BIG_CORP_PUBKEY: PublicKey get() = BIG_CORP_KEY.public
val BIG_CORP_IDENTITY: PartyAndCertificate get() = getTestPartyAndCertificate(CordaX500Name(organisation = "BigCorporation", locality = "London", country = "GB"), BIG_CORP_PUBKEY)
val BIG_CORP_IDENTITY: PartyAndCertificate get() = getTestPartyAndCertificate(CordaX500Name(organisation = "BigCorporation", locality = "New York", country = "US"), BIG_CORP_PUBKEY)
val BIG_CORP: Party get() = BIG_CORP_IDENTITY.party
val BIG_CORP_PARTY_REF = BIG_CORP.ref(OpaqueBytes.of(1)).reference