Commit Graph

2065 Commits

Author SHA1 Message Date
Jose Coll
3410671694 Merge branch 'master' into colljos-vault-code-clean-up-refactor 2016-11-02 13:51:49 +00:00
Clinton Alexander
3b0f173984 Merged in clint-cordformdeps (pull request #424)
Cordapps now correctly resolve dependencies.
2016-11-02 11:26:12 +00:00
Clinton Alexander
18bd53711f Fixed spelling of CorDapp. 2016-11-02 11:23:31 +00:00
Clinton Alexander
69dcd45660 CorDapp dependencies must now be fully qualified maven dependency names. 2016-11-02 11:22:52 +00:00
Jose Coll
012dc9ec10 Merge branch 'master' into colljos-vault-code-clean-up-refactor 2016-11-02 11:20:21 +00:00
Jose Coll
a38b363e9d Fixed subtle bug in Cash Spending when processing for same Issuer with multiple refs. 2016-11-02 11:15:09 +00:00
Clinton Alexander
29e203315b Cordapps now correctly resolve dependencies. 2016-11-02 11:12:31 +00:00
Clinton Alexander
ad81ecf2f9 Merged in clint-todocleanup (pull request #432)
Removed unused files, cleaned up build scripts.
2016-11-02 11:06:10 +00:00
Rick Parker
847257c250 Merged in parkri-speed-up-integration-tests (pull request #434)
Speed up JDBCHashMapTestSuite by 3min on my laptop by avoiding Exposed table existence checks each time a map/table is created by re-using the map/sets across tests (after clear()-ing to reset their state).
2016-11-02 11:02:54 +00:00
rick.parker
b188bfda52 Speed up JDBCHashMapTestSuite by 3min on my laptop by avoiding Exposed table existence checks each time a map/table is created by re-using the map/sets across tests (after clear()-ing to reset their state). 2016-11-02 10:08:38 +00:00
Ross Nicoll
f26813c1ab Merged in rnicoll-cache-key-collision (pull request #425)
Error if multiple nodes match a key
2016-11-01 18:14:23 +00:00
Jose Coll
7e3c00c1ff Merged in colljos-pluginservicehub (pull request #427)
Added PluginServiceHub for use by Corda plugin service extensions.
2016-11-01 17:12:52 +00:00
Jose Coll
f415c497d9 Minor changes to address PR feedback and comments 2016-11-01 16:47:50 +00:00
Jose Coll
a0aa16ffae Merge remote-tracking branch 'origin/colljos-vault-code-clean-up-refactor' into colljos-vault-code-clean-up-refactor
# Conflicts:
#	node/src/main/kotlin/com/r3corda/node/services/vault/NodeVaultService.kt
2016-11-01 16:30:56 +00:00
Jose Coll
e449ba93c4 Minor fix following rebase to incoporate Ross changes to CashState definition. 2016-11-01 16:29:21 +00:00
Ross Nicoll
b4ee47bd33 Error if multiple nodes match a key
InMemoryNetworkMapCache.getNodeByPublicKey() previously returned null if multiple nodes matched
a given public key (for example if the same node is registered more than once with different
names). This is incorrect behaviour, as there is a match.
2016-11-01 16:27:54 +00:00
Ross Nicoll
0232628f49 Merged in rnicoll-web-server-diagnostics (pull request #416)
Add diagnostics for web server and API plugin instantiation
2016-11-01 16:27:09 +00:00
Clinton Alexander
7360394367 Removed redundant and unused files. 2016-11-01 16:23:03 +00:00
Ross Nicoll
e6a0f18436 Add diagnostics for web server and API plugin instantiation 2016-11-01 16:22:49 +00:00
Jose Coll
be3b7b14bd Re-factoring of CashBalances code (moved to VaultService)
Re-factoring of OnLedgerAsset generateSpend code (moved to VaultService)

Fixed broken tests caused by missing Transaction Context (when moving from InMemory to Db implementation of vault service in MockNetwork)

Adapted all Contract tests that perform Cash Spending to use the Vault Service.
Note: pending resolution of 2 failing tests (IRSSimulation, CP issue, move & redeem)

Fixed items raised by MH in CRD-CR-58 code review.

Decommissioned InMemoryVaultService service (all dependent Tests updated to use NodeVaultService)

Merge remote-tracking branch 'remotes/origin/master' into colljos-vault-code-clean-up-refactor

Fixed conflict.

Fixed failing Commercial Paper test.

FungibleAsset reverted back to original filename.
2016-11-01 16:17:39 +00:00
Jose Coll
253a70f55e Fixed bug in generateSpending whereby Issuer Ref was not being checked. 2016-11-01 16:12:19 +00:00
Clinton Alexander
1e6cca4d5d Removed dead installDist configurations and moved Jolokia access to the correct resources dir. 2016-11-01 16:09:13 +00:00
Mike Hearn
2744d8abaa Tech white paper: new sections on the data model, identity lookups, attachments, dispute resolution, compound keys, timestamps. 2016-11-01 16:40:59 +01:00
Roger Willis
f7c3b95928 Merged in clint-cordform-nodeconf-fix (pull request #429)
Fixed node config file being written to the wrong place in Cordformation templates.
2016-11-01 15:24:37 +00:00
Ross Nicoll
b4affcbc63 Merged in rnicoll-remove-fungible-asset-properties (pull request #408)
Remove deposit and issuanceDef fields
2016-11-01 14:52:12 +00:00
Ross Nicoll
613a86c5d9 Remove deposit and issuanceDef fields
Remove deposit field from the FungibleAsset interface, and moved it into a fixed reference to
amount.token.issuer.
Remove issuanceDef field and replace it with amount.token.
2016-11-01 14:49:57 +00:00
Clinton Alexander
dea9d663ff Fixed node config file being written to the wrong place in Cordformation templates. 2016-11-01 14:11:42 +00:00
Jose Coll
d9f0a161e4 Addressed comments in PR review. 2016-11-01 12:05:48 +00:00
Clinton Alexander
276683e053 Merged in clint-attachmentdemosample (pull request #421)
Moved attachment demo to another repo. Added ApiUtils.
2016-11-01 11:54:59 +00:00
Clinton Alexander
7d08c0b068 Removed attachment demo.
Added ApiUtils - a library for managing api lifecycles with less boilerplate.

Added default values to http api and improved the api utils.

Fixed spacing and comments.

Removed withName and added a bad request response to handle error cases.

Replaced use of 400 error with a 404 and error message as per HTTP spec.
2016-11-01 11:53:49 +00:00
Roger Willis
1b2c1bd7c4 Merged in rg_permission_changes (pull request #428)
Changing permission on scripts runnodes to uog+rx
2016-11-01 11:51:25 +00:00
Richard Green
c4ce05cc1c Changing permission on scripts runnodes to uog+rx 2016-11-01 11:47:53 +00:00
Andras Slemmer
e5d210492b Merged in aslemmer-fix-debian-localhost-bind (pull request #423)
core: Bind client socket to getLocalHost explicitly, fixes #6
2016-11-01 10:04:28 +00:00
Jose Coll
308d7c1df7 Added PluginServiceHub for use by Corda plugin service extensions. 2016-10-31 17:15:06 +00:00
Andras Slemmer
3f36462053 core: Bind client socket to getLocalHost explicitly, fixes #6 2016-10-31 15:53:15 +00:00
Jose Coll
822ea360a6 Merge remote-tracking branch 'origin/colljos-vault-code-clean-up-refactor' into colljos-vault-code-clean-up-refactor 2016-10-31 14:05:02 +00:00
Jose Coll
f34683fbc4 Fixed bug in generateSpending whereby Issuer Ref was not being checked. 2016-10-31 14:02:33 +00:00
Rick Parker
cd8abffafe Merged in upgrade-h2-to-1.4 (pull request #422)
Upgrade H2 to 1.4 to fix curious file corruption issue encountered by Patrick.
2016-10-31 11:27:40 +00:00
rick.parker
5898a15579 Upgrade H2 to 1.4 to fix curious file corruption issue encountered by Patrick. 2016-10-28 17:39:10 +01:00
Clinton Alexander
572249be17 Merged in clint-traderdemocordapp (pull request #418)
Removed trader demo from Corda and added some HTTP utilities.
2016-10-28 12:47:51 +00:00
Clinton Alexander
c3533bac7d Improved error reporting. 2016-10-28 13:46:43 +01:00
Clinton Alexander
c42983fcfc Removed now unused resource file. 2016-10-28 13:46:43 +01:00
Clinton Alexander
fdbd67db5c Added some more error logging to Node. 2016-10-28 13:46:43 +01:00
Clinton Alexander
7eeea97653 Added new test utilities for HTTP requests. 2016-10-28 13:46:43 +01:00
Clinton Alexander
39cbab9ce1 Removed trader demo integration test. Fixed the AttachmentDemo which had unnecessary coupling to the traderdemo. Added new test util func. 2016-10-28 13:46:43 +01:00
Clinton Alexander
c3ac4efa70 Removed trader demo. 2016-10-28 13:46:43 +01:00
Roger Willis
e9461cbd4d Merged in rog-quickfix (pull request #420)
Fixed typo in 'client/build.gradle'
2016-10-28 12:40:37 +00:00
RogerWillis
b3dc24d8b3 Fixed typo in 'client/build.gradle' 2016-10-28 13:33:36 +01:00
Jose Coll
fd3dcc6327 Merge branch 'colljos-vault-code-clean-up-refactor' of https://bitbucket.org/R3-CEV/r3prototyping into colljos-vault-code-clean-up-refactor 2016-10-27 18:03:56 +01:00
Jose Coll
bd21326bc3 Re-factoring of CashBalances code (moved to VaultService)
Re-factoring of OnLedgerAsset generateSpend code (moved to VaultService)

Fixed broken tests caused by missing Transaction Context (when moving from InMemory to Db implementation of vault service in MockNetwork)

Adapted all Contract tests that perform Cash Spending to use the Vault Service.
Note: pending resolution of 2 failing tests (IRSSimulation, CP issue, move & redeem)

Fixed items raised by MH in CRD-CR-58 code review.

Decommissioned InMemoryVaultService service (all dependent Tests updated to use NodeVaultService)

Merge remote-tracking branch 'remotes/origin/master' into colljos-vault-code-clean-up-refactor

Fixed conflict.

Fixed failing Commercial Paper test.

FungibleAsset reverted back to original filename.
2016-10-27 17:47:34 +01:00