mirror of
https://github.com/corda/corda.git
synced 2025-05-29 05:34:22 +00:00
Correct ports in demos broken after RPC port revert.
This commit is contained in:
parent
97b3c35ec2
commit
97f2f4a8e0
@ -104,7 +104,7 @@ To run from IntelliJ:
|
||||
The date change rolls the clock forwards and causes the nodes to agree on the fixings over a period.
|
||||
|
||||
This demo also has a web app. To use this, run nodes and upload rates, then navigate to
|
||||
http://localhost:10007/web/irsdemo and http://localhost:10010/web/irsdemo to see each node's view of the ledger.
|
||||
http://localhost:10005/web/irsdemo and http://localhost:10007/web/irsdemo to see each node's view of the ledger.
|
||||
|
||||
To use the web app, click the "Create Deal" button, fill in the form, then click the "Submit" button. You can then
|
||||
use the time controls at the top left of the home page to run the fixings. Click any individual trade in the blotter to view it.
|
||||
@ -340,12 +340,12 @@ To run from IntelliJ:
|
||||
|
||||
Then, for all three:
|
||||
|
||||
3. Browse to http://localhost:10007/web/simmvaluationdemo
|
||||
3. Browse to http://localhost:10005/web/simmvaluationdemo
|
||||
4. Select the counterparty (i.e. Bank B)
|
||||
5. Enter at least 3 trades - via the "Create New Trade" tab
|
||||
6. On the "Agree Valuations" tab, click the "Start Calculations" button
|
||||
|
||||
Additionally, you can confirm that these trades are not visible from `Bank C's node <http://localhost:10013/web/simmvaluationdemo/>`_
|
||||
and are visible to `Bank B <http://localhost:10010/web/simmvaluationdemo/>`_.
|
||||
Additionally, you can confirm that these trades are not visible from `Bank C's node <http://localhost:10009/web/simmvaluationdemo/>`_
|
||||
and are visible to `Bank B <http://localhost:10007/web/simmvaluationdemo/>`_.
|
||||
|
||||
Please note that any URL path information after `simmvaluationdemo` should not be bookmarked or navigated to directly, as it is only provided for aesthetic purposes.
|
||||
|
@ -71,7 +71,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
||||
nearestCity "London"
|
||||
advertisedServices = ["corda.notary.validating", "corda.interest_rates"]
|
||||
artemisPort 10002
|
||||
webPort 10004
|
||||
webPort 10003
|
||||
cordapps = []
|
||||
useTestClock true
|
||||
}
|
||||
@ -79,8 +79,8 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
||||
name "Bank A"
|
||||
nearestCity "London"
|
||||
advertisedServices = []
|
||||
artemisPort 10005
|
||||
webPort 10007
|
||||
artemisPort 10004
|
||||
webPort 10005
|
||||
cordapps = []
|
||||
useTestClock true
|
||||
}
|
||||
@ -89,7 +89,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
||||
nearestCity "New York"
|
||||
advertisedServices = []
|
||||
artemisPort 10006
|
||||
webPort 10010
|
||||
webPort 10007
|
||||
cordapps = []
|
||||
useTestClock true
|
||||
}
|
||||
|
@ -30,8 +30,8 @@ fun main(args: Array<String>) {
|
||||
val role = options.valueOf(roleArg)!!
|
||||
val value = options.valueOf(valueArg)
|
||||
when (role) {
|
||||
Role.UploadRates -> IRSDemoClientApi(HostAndPort.fromString("localhost:10004")).runUploadRates()
|
||||
Role.Trade -> IRSDemoClientApi(HostAndPort.fromString("localhost:10007")).runTrade(value)
|
||||
Role.UploadRates -> IRSDemoClientApi(HostAndPort.fromString("localhost:10003")).runUploadRates()
|
||||
Role.Trade -> IRSDemoClientApi(HostAndPort.fromString("localhost:10005")).runTrade(value)
|
||||
Role.Date -> IRSDemoClientApi(HostAndPort.fromString("localhost:10007")).runDateChange(value)
|
||||
}
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
||||
nearestCity "London"
|
||||
advertisedServices = []
|
||||
artemisPort 10004
|
||||
webPort 10007
|
||||
webPort 10005
|
||||
cordapps = []
|
||||
}
|
||||
node {
|
||||
@ -102,7 +102,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
||||
nearestCity "New York"
|
||||
advertisedServices = []
|
||||
artemisPort 10006
|
||||
webPort 10010
|
||||
webPort 10007
|
||||
cordapps = []
|
||||
}
|
||||
node {
|
||||
@ -110,7 +110,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
||||
nearestCity "tokyo"
|
||||
advertisedServices = []
|
||||
artemisPort 10008
|
||||
webPort 10013
|
||||
webPort 10009
|
||||
cordapps = []
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user