mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
update docs to reflect the removal of the bundled finance app
This commit is contained in:
parent
41c4016a83
commit
544d09ea18
@ -108,9 +108,7 @@ CorDapp specific versionId identifiers if this follows the convention of always
|
||||
starting from 1.
|
||||
|
||||
If you use the finance demo app, you should adjust your dependencies so you depend on the finance-contracts
|
||||
and finance-workflows artifacts from your own contract and workflow JAR respectively. Although a single
|
||||
finance jar still exists in Corda 4 for backwards compatibility, it should not be installed or used for
|
||||
updated apps. This way, only the code that needs to be on the ledger actually will be.
|
||||
and finance-workflows artifacts from your own contract and workflow JAR respectively.
|
||||
|
||||
Step 3. Security: Upgrade your use of FinalityFlow
|
||||
--------------------------------------------------
|
||||
@ -326,7 +324,7 @@ There are two improvements to how Java package protection is handled in Corda 4:
|
||||
1. Package sealing
|
||||
2. Package namespace ownership
|
||||
|
||||
**Sealing.** App isolation has been improved. Version 4 of the finance CorDapp (*corda-finance.jar*) is now built as a set of sealed and
|
||||
**Sealing.** App isolation has been improved. Version 4 of the finance CorDapps (*corda-finance-contracts.jar*, *corda-finance-workflows.jar*) is now built as a set of sealed and
|
||||
signed JAR files. This means classes in your own CorDapps cannot be placed under the following package namespace: ``net.corda.finance``
|
||||
|
||||
In the unlikely event that you were injecting code into ``net.corda.finance.*`` package namespaces from your own apps, you will need to move them
|
||||
|
@ -315,10 +315,10 @@ Version 4.0
|
||||
* CorDapps built by ``corda-gradle-plugins`` are now signed and sealed JAR files.
|
||||
Signing can be configured or disabled, and it defaults to using the Corda development certificate.
|
||||
|
||||
* Finance CorDapp is now build as a sealed and signed JAR file.
|
||||
Custom classes can no longer be placed in the packages defined in Finance Cordapp or access it's non-public members.
|
||||
* Finance CorDapps are now built as a sealed and signed JAR file.
|
||||
Custom classes can no longer be placed in the packages defined in either finance Cordapp or access it's non-public members.
|
||||
|
||||
* Finance CorDapp was split into two separate apps: ``corda-finance-contracts`` and ``corda-finance-workflows``.
|
||||
* Finance CorDapp was split into two separate apps: ``corda-finance-contracts`` and ``corda-finance-workflows``. There is no longer a single cordapp which provides both.
|
||||
|
||||
* All sample CorDapps were split into separate apps: workflows and contracts to reflect new convention. It is recommended to structure your CorDapps
|
||||
this way, see :doc:`app-upgrade-notes` on upgrading your CorDapp.
|
||||
|
@ -106,7 +106,6 @@ Here is an overview of the various Corda dependencies:
|
||||
* ``corda-core-deterministic`` - Used by the Corda node for deterministic contracts. Not likely to be used externally
|
||||
* ``corda-djvm`` - Used by the Corda node for deterministic contracts. Not likely to be used externally
|
||||
* ``corda-finance-contracts``, ``corda-finance-workflows`` and deprecated ``corda-finance``. Corda finance CorDapp, use contracts and flows parts respectively.
|
||||
``corda-finance`` is left for backward compatibility purposes and should be replaced by former two where needed.
|
||||
Only include as a ``cordaCompile`` dependency if using as a dependent Cordapp or if you need access to the Corda finance types.
|
||||
Use as a ``cordapp`` dependency if using as a CorDapp dependency (see below)
|
||||
* ``corda-jackson`` - Corda Jackson support. Use if you plan to serialise Corda objects to and/or from JSON
|
||||
|
@ -46,7 +46,7 @@ in the `Kotlin CorDapp Template <https://github.com/corda/cordapp-template-kotli
|
||||
// Starts an internal SSH server providing a management shell on the node.
|
||||
sshdPort 2223
|
||||
// Includes the corda-finance CorDapp on our node.
|
||||
cordapps = ["net.corda:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
extraConfig = [
|
||||
// Setting the JMX reporter type.
|
||||
jmxReporterType: 'JOLOKIA',
|
||||
@ -63,7 +63,7 @@ in the `Kotlin CorDapp Template <https://github.com/corda/cordapp-template-kotli
|
||||
}
|
||||
webPort 10007
|
||||
h2Port 10008
|
||||
cordapps = ["net.corda:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
// Grants user1 all RPC permissions.
|
||||
rpcUsers = [[ user: "user1", "password": "test", "permissions": ["ALL"]]]
|
||||
}
|
||||
@ -76,7 +76,7 @@ in the `Kotlin CorDapp Template <https://github.com/corda/cordapp-template-kotli
|
||||
}
|
||||
webPort 10011
|
||||
h2Port 10012
|
||||
cordapps = ["net.corda:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
// Grants user1 the ability to start the MyFlow flow.
|
||||
rpcUsers = [[ user: "user1", "password": "test", "permissions": ["StartFlow.net.corda.flows.MyFlow"]]]
|
||||
}
|
||||
@ -271,25 +271,25 @@ Below you can find the example task from the `IRS Demo <https://github.com/corda
|
||||
node {
|
||||
name "O=Notary Service,L=Zurich,C=CH"
|
||||
notary = [validating : true]
|
||||
cordapps = ["$corda_release_group:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
rpcUsers = rpcUsersList
|
||||
useTestClock true
|
||||
}
|
||||
node {
|
||||
name "O=Bank A,L=London,C=GB"
|
||||
cordapps = ["$corda_release_group:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
rpcUsers = rpcUsersList
|
||||
useTestClock true
|
||||
}
|
||||
node {
|
||||
name "O=Bank B,L=New York,C=US"
|
||||
cordapps = ["$corda_release_group:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
rpcUsers = rpcUsersList
|
||||
useTestClock true
|
||||
}
|
||||
node {
|
||||
name "O=Regulator,L=Moscow,C=RU"
|
||||
cordapps = ["$corda_release_group:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
rpcUsers = rpcUsersList
|
||||
useTestClock true
|
||||
}
|
||||
|
@ -25,14 +25,14 @@ service.
|
||||
notary = [validating : true]
|
||||
p2pPort 10002
|
||||
rpcPort 10003
|
||||
cordapps = ["net.corda:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
}
|
||||
node {
|
||||
name "O=PartyA,L=London,C=GB"
|
||||
p2pPort 10005
|
||||
rpcPort 10006
|
||||
webPort 10007
|
||||
cordapps = ["net.corda:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
rpcUsers = [[ user: "user1", "password": "test", "permissions": ["ALL]]]
|
||||
}
|
||||
node {
|
||||
@ -41,7 +41,7 @@ service.
|
||||
rpcPort 10009
|
||||
webPort 10010
|
||||
sshdPort 10024
|
||||
cordapps = ["net.corda:corda-finance:$corda_release_version"]
|
||||
cordapps = ["net.corda:corda-finance-contracts:$corda_release_version, net.corda:corda-finance-workflows:$corda_release_version"]
|
||||
rpcUsers = [[ user: "user1", "password": "test", "permissions": ["ALL"]]]
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ couple of resources.
|
||||
|
||||
.. code:: bash
|
||||
|
||||
wget https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-finance/<VERSION>-corda/corda-finance-<VERSION>-corda.jar
|
||||
wget https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-finance-contracts-/<VERSION>-corda/corda-finance-<VERSION>-corda.jar
|
||||
|
||||
This is required to run some flows to check your connections, and to issue/transfer cash to counterparties. Copy it to
|
||||
the Corda installation location:
|
||||
|
Loading…
Reference in New Issue
Block a user