mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
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:
parent
110787061d
commit
f2b3adab4f
@ -170,9 +170,9 @@ To run from the command line in Windows:
|
|||||||
To run from IntelliJ:
|
To run from IntelliJ:
|
||||||
|
|
||||||
1. Open the Corda project in IntelliJ and import the Gradle project
|
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
|
"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
|
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.
|
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:
|
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)
|
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:10009/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:10007/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.
|
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.
|
||||||
|
@ -93,7 +93,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
|||||||
nearestCity "London"
|
nearestCity "London"
|
||||||
advertisedServices = []
|
advertisedServices = []
|
||||||
artemisPort 10004
|
artemisPort 10004
|
||||||
webPort 10005
|
webPort 10007
|
||||||
cordapps = []
|
cordapps = []
|
||||||
}
|
}
|
||||||
node {
|
node {
|
||||||
@ -101,7 +101,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
|||||||
nearestCity "New York"
|
nearestCity "New York"
|
||||||
advertisedServices = []
|
advertisedServices = []
|
||||||
artemisPort 10006
|
artemisPort 10006
|
||||||
webPort 10007
|
webPort 10010
|
||||||
cordapps = []
|
cordapps = []
|
||||||
}
|
}
|
||||||
node {
|
node {
|
||||||
@ -109,7 +109,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
|
|||||||
nearestCity "tokyo"
|
nearestCity "tokyo"
|
||||||
advertisedServices = []
|
advertisedServices = []
|
||||||
artemisPort 10008
|
artemisPort 10008
|
||||||
webPort 10009
|
webPort 10013
|
||||||
cordapps = []
|
cordapps = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user