Commit Graph

3056 Commits

Author SHA1 Message Date
0f73b68d39 CORPRIV-661: Implement saving profiles. 2017-02-20 15:25:02 +00:00
ddd8d6a513 Upgrade to TornadoFX 1.6.2. 2017-02-20 09:13:02 +00:00
ac56c7d451 Merge branch 'master' into demobench 2017-02-17 08:23:08 +00:00
638bfcd131 Merged in pat-doorman-jira (pull request #19)
Doorman-Jira integration

Approved-by: Shams Asari
2017-02-16 17:50:57 +00:00
1611066c44 Addressed PR issues 2017-02-16 15:13:05 +00:00
f999da3a4d Addressed PR issues 2017-02-16 15:11:25 +00:00
5064cbb5c0 Addressed PR issues 2017-02-16 14:47:20 +00:00
e2f93f64a9 Addressed PR issues 2017-02-16 14:45:36 +00:00
d76db6d047 Addressed PR issues 2017-02-16 11:30:03 +00:00
234863f88c Doorman-Jira integration 2017-02-15 15:42:41 +00:00
38e57d6342 CORPRIV-661: Allow profiles to be loaded into DemoBench. 2017-02-14 17:14:54 +00:00
0ae5713a47 Merge branch 'master' into demobench 2017-02-14 10:37:02 +00:00
7cd8d952a9 Merged in pat-add-keygen-option-to-doorman (pull request #18)
Add keygen option to doorman

Approved-by: Shams Asari
2017-02-14 09:48:22 +00:00
6622db80e7 Remove CashFlow
Remove the CashFlow flow, replacing it with CashFlowCommand which can be used for the use-cases
with instructions passed around as an object.
2017-02-13 17:50:05 +00:00
ac2bc138ac Include Merkle tree root hash in FilteredTransaction
Remove no longer needed test. Make FilteredTransaction constructor private
2017-02-13 17:50:05 +00:00
aff5148c9b Add support for contract upgrades (#165)
* Add support for contract upgrades
* Add interface for the upgraded contract to implement, which provides functionality for upgrading legacy states.
* Add shared upgrade command and verification code for it.
* Add DummyContractV2 to illustrate what an upgraded contract looks like.
* Add new functions to vault service to support upgrading state objects.
* Add contract upgrade flow
2017-02-13 17:50:05 +00:00
ef52014504 Updated the notice
... to the last version reviewed & approved by legal counsel
2017-02-13 17:50:05 +00:00
bbb6650632 Capsule fat JAR now contains a CDDL notice. 2017-02-13 17:50:05 +00:00
71182ec8c1 End flow if waiting for ledger commit and committer flow errors 2017-02-13 17:50:05 +00:00
3c0d6fd14f Split CashFlow into three flows
Split CashFlow into independent CashIssueFlow, CashExitFlow and CashPaymentFlow,
so that users can be given access to one but not the other(s).

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-02-13 17:50:05 +00:00
a9d9441411 Add AnonymousParty superclass of Party
Add AnonymousParty superclass of Party in preparation for anonymising parties stored in
contract states.

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-02-13 17:50:05 +00:00
35253e53b8 minor changes in for/while loops. Sanity check for even number of nodes (in buildMerkleTree) has now been moved before entering the loop. 2017-02-13 17:50:05 +00:00
dbe3b1636d Extract Class pattern: Move MerkleTree (from MerkleTransaction) to its own class file inside core.crypto package. 2017-02-13 17:50:05 +00:00
83bcae0cec Rebuilds docs. 2017-02-13 17:50:05 +00:00
53e7c27d58 Split users for bank and big corp 2017-02-13 17:50:04 +00:00
e80001a831 Changes docs to point to cordapp-tutorial instead of cordapp-template as appropriate. 2017-02-13 17:50:04 +00:00
0dddf7ce66 Update version to 0.9-SNAPSHOT 2017-02-13 17:50:04 +00:00
3556967a0e Update notice on the docs index page to point to release M8
Regenerate docs
2017-02-13 17:50:04 +00:00
66409395d4 Release notes for M8 (#213) 2017-02-13 17:50:03 +00:00
e737fa5e9f Demo bug fixes (#217)
* Add webAddress back to NMS as it shifts the port allocation for all subsequent nodes and causes all demos to break.

* Attachment demo: fix node names

* Notary demo: fix certificate paths & ports

* IRS demo: role decider fixed to allocate roles properly. Previously it used to pick current node as the Fixer, causing both nodes to initiate the trade flow, resulting in double spend exceptions..
2017-02-13 17:50:03 +00:00
e4c2a34611 Update version to 0.8 2017-02-13 17:50:03 +00:00
aea3f6f20e Fix the port numbers in the documentation to match actual values (build) 2017-02-13 17:50:03 +00:00
5787626032 Fix the port numbers in the documentation to match actual values 2017-02-13 17:50:03 +00:00
26ddf5927d FlowException can be thrown from within UntrustworthyData.unwrap for better Java interop, and more checked exception annotations relating to flows 2017-02-13 17:50:03 +00:00
cbd52b28d6 Update party match in vault service
Replaces the legacy name-only comparison in the vault service with a party comparison. `Party` now
has an equals method that only uses the owning key, and therefore this functions as expected.
2017-02-13 17:50:03 +00:00
998aa8e024 Remove use of names from contracts
Remove dependency on name data that cash/obligation state objects will not have access to party details (such as name)
once privacy is correctly enforced.
2017-02-13 17:50:03 +00:00
8cb27f1052 Switch to using CompositeKey inside network map cache
Switch to using CompositeKey inside network map cache, so that look up of node info from keys
can be done in a more sensible manner.
2017-02-13 17:50:03 +00:00
12de4f46b1 Minor: suppress deprecation warning in CordaRPCOpsImpl 2017-02-13 17:50:03 +00:00
8627a7dbbe Work around change in how c'tors with optional arguments are handled via RPC in FixingRoleDecider. 2017-02-13 17:50:03 +00:00
3871dbbc1f Make FlowLogicRef able to handle multiple constructors more elegantly (e.g. when invoking FinalityFlow directly via RPC). 2017-02-13 17:50:03 +00:00
c1034f5214 Print out exceptions in the attachment demo test. 2017-02-13 17:50:03 +00:00
f3c9b458fd Improve the flow commit API.
Make FinalityFlow do more, and be used more consistently.

Add a new waitForLedgerCommit API that is intended to be used at the end of flows, or at any other point where a flow wants to wait for a transaction to finalise (but the finalisation flow is being done by someone else).

Update the docs a bit.
2017-02-13 17:50:03 +00:00
383d794c28 Tearoff fixes (#78)
* Move merkle building extension functions on wire tx to WireTransaction class.

* Add timestamp, notary, transaction type and signers to wire transaction id calculation.

* Change construction of MerkleTree from duplicating last node on a given level to padding leaves' list with zero hash to size of the nearest power of 2 - so we always have a full binary tree.
The problem was that it was possible to construct 2 different transactions with the same ids. Trick worked for txs having number of leaves that were not power of 2.

* Update tear-offs documentation and diagrams to reflect changes in construction of Merkle trees - padding with zero hashes and including all WireTransaction fields in id computation.

* Change in filtering API of WireTransaction for partial Merkle trees calculation.
Instead of many filtering functions over a transaction only one needs to be provided.
Additional change to check and verification of FilteredTransaction.

* IRS demo change. Make filtering function a protected method of RatesFixFlow class.
Comment on situation when capturing too much scope and connected problems with checkpointing.
Change oracle and tear-offs documentation.
2017-02-13 17:50:03 +00:00
4b96fe2502 Cleaned up logging in the webdriver to remove log that fails to display correctly on Windows. 2017-02-13 17:50:02 +00:00
b9a5f34371 Addresses RGB feedback. 2017-02-13 17:50:02 +00:00
8621d47e09 CORPRIV-660: Display Web server's port number on launch button. 2017-02-13 15:13:47 +00:00
1e8c80855c * Moved DoormanParameter to its own file
* throws ShowHelpException instead of exitProcess in the helper method.
2017-02-13 15:00:57 +00:00
94747dcddf Switch from Runtime.exec() to ProcessBuilder. 2017-02-13 12:27:06 +00:00
166cbbf2e5 Add utility function for creating SLF4J loggers, and close unused I/O streams from forked processes. 2017-02-13 10:39:11 +00:00
bb8aa50d68 CORPRIV-659: Basic shell script to package DemoBench as DMG. 2017-02-13 08:58:31 +00:00