Change port numbers in SIMM demo so both through CLI and IntelliJ webserver listens on the same port.

Related change in documentation.
This commit is contained in:
Katarzyna Streich 2017-03-06 13:58:34 +00:00 committed by Ross Nicoll
parent 110787061d
commit f2b3adab4f
2 changed files with 8 additions and 8 deletions

View File

@ -170,9 +170,9 @@ To run from the command line in Windows:
To run from IntelliJ:
1. Open the Corda project in IntelliJ and import the Gradle project
2. Run the ``Notary Demo: Run Nodes`` configuration to start the nodes. Once all nodes are started you will see several
2. Run the ``Raft Notary Demo: Run Nodes`` configuration to start the nodes. Once all nodes are started you will see several
"Node started up and registered in ..." messages
3. Run the ``Notary Demo: Run Notarisation`` configuration to make a call to the "Party" node to initiate notarisation requests
3. Run the ``Raft Notary Demo: Run Notarisation`` configuration to make a call to the "Party" node to initiate notarisation requests
In a few seconds you will see a message "Notarised 10 transactions" with a list of transaction ids and the signer public keys
Notary nodes store consumed states in a replicated commit log, which is backed by a H2 database on each node.
@ -340,12 +340,12 @@ To run from IntelliJ:
Then, for all three:
3. Browse to http://localhost:10005/web/simmvaluationdemo
3. Browse to http://localhost:10007/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:10009/web/simmvaluationdemo/>`_
and are visible to `Bank B <http://localhost:10007/web/simmvaluationdemo/>`_.
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/>`_.
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

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