Correct ports in demos broken after RPC port revert.

This commit is contained in:
Katarzyna Streich 2017-03-07 17:45:45 +00:00 committed by kasiastreich
parent 97b3c35ec2
commit 97f2f4a8e0
4 changed files with 13 additions and 13 deletions

View File

@ -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. 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 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 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. 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: 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) 4. Select the counterparty (i.e. Bank B)
5. Enter at least 3 trades - via the "Create New Trade" tab 5. Enter at least 3 trades - via the "Create New Trade" tab
6. On the "Agree Valuations" tab, click the "Start Calculations" button 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/>`_ 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:10010/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. 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.

View File

@ -71,7 +71,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
nearestCity "London" nearestCity "London"
advertisedServices = ["corda.notary.validating", "corda.interest_rates"] advertisedServices = ["corda.notary.validating", "corda.interest_rates"]
artemisPort 10002 artemisPort 10002
webPort 10004 webPort 10003
cordapps = [] cordapps = []
useTestClock true useTestClock true
} }
@ -79,8 +79,8 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
name "Bank A" name "Bank A"
nearestCity "London" nearestCity "London"
advertisedServices = [] advertisedServices = []
artemisPort 10005 artemisPort 10004
webPort 10007 webPort 10005
cordapps = [] cordapps = []
useTestClock true useTestClock true
} }
@ -89,7 +89,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
nearestCity "New York" nearestCity "New York"
advertisedServices = [] advertisedServices = []
artemisPort 10006 artemisPort 10006
webPort 10010 webPort 10007
cordapps = [] cordapps = []
useTestClock true useTestClock true
} }

View File

@ -30,8 +30,8 @@ fun main(args: Array<String>) {
val role = options.valueOf(roleArg)!! val role = options.valueOf(roleArg)!!
val value = options.valueOf(valueArg) val value = options.valueOf(valueArg)
when (role) { when (role) {
Role.UploadRates -> IRSDemoClientApi(HostAndPort.fromString("localhost:10004")).runUploadRates() Role.UploadRates -> IRSDemoClientApi(HostAndPort.fromString("localhost:10003")).runUploadRates()
Role.Trade -> IRSDemoClientApi(HostAndPort.fromString("localhost:10007")).runTrade(value) Role.Trade -> IRSDemoClientApi(HostAndPort.fromString("localhost:10005")).runTrade(value)
Role.Date -> IRSDemoClientApi(HostAndPort.fromString("localhost:10007")).runDateChange(value) Role.Date -> IRSDemoClientApi(HostAndPort.fromString("localhost:10007")).runDateChange(value)
} }
} }

View File

@ -94,7 +94,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
nearestCity "London" nearestCity "London"
advertisedServices = [] advertisedServices = []
artemisPort 10004 artemisPort 10004
webPort 10007 webPort 10005
cordapps = [] cordapps = []
} }
node { node {
@ -102,7 +102,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
nearestCity "New York" nearestCity "New York"
advertisedServices = [] advertisedServices = []
artemisPort 10006 artemisPort 10006
webPort 10010 webPort 10007
cordapps = [] cordapps = []
} }
node { node {
@ -110,7 +110,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
nearestCity "tokyo" nearestCity "tokyo"
advertisedServices = [] advertisedServices = []
artemisPort 10008 artemisPort 10008
webPort 10013 webPort 10009
cordapps = [] cordapps = []
} }
} }