17a9f8a7ea
Merge pull request #1355 from corda/aslemmer-fix-flaky-retry-test
...
Fix flaky distributed retry test
2017-09-01 10:55:42 +01:00
83dc1d020d
Fixes tests.
2017-09-01 10:50:13 +01:00
62c64ace23
Adding createSignature(filteredTransaction) to serviceHub ( #1380 )
2017-09-01 10:45:01 +01:00
54e302608f
Updates the error message.
2017-09-01 10:07:34 +01:00
9891fb58b0
Address comments
2017-09-01 09:34:29 +01:00
75cd76b09b
Fix flaky distributed retry test
2017-09-01 09:34:28 +01:00
ebbca94d67
Show error msg rather than fail silently when running a flow with no progress tracker from the shell.
2017-08-31 22:38:33 +01:00
485c2feb83
CORDA-540: Ensure that registration of a test node was a success prior to performing further testing with it ( #1379 )
...
Registration may fail due to low level serialization problems especially when running in AMQP mode
Also some minor improvements for exceptions reporting and test coverage
2017-08-31 18:38:29 +01:00
9a8e7294e7
Fix AMQP object graph alignment bug and an issue with private constru… ( #1376 )
...
* Fix AMQP object graph alignment bug and an issue with private constructors.
2017-08-31 18:15:56 +01:00
b1df11acfa
Rewrite ExchangeRate to use BigDecimal
...
Rewrite ExchangeRate to use BigDecimal for the quantity multiplication, to ensure that there is no loss of precision during the conversion process. The previous version using double-precision floating point maths inherently means that the precision is not fixed, but is floating.
Change ExchangeRate to an abstract class rather than an interface, so the functions on it can be implemented directly rather than being extension functions, to improve Java compatibility.
2017-08-31 17:29:58 +01:00
574c476709
Moves filterFun and indexOffsets into MerkleTransaction.
2017-08-31 17:11:44 +01:00
8d29c78073
changelog additions, mainly for crypto and finance related tasks
2017-08-31 16:56:24 +01:00
e1943e2b51
Move ContentSignerBuilder into net.corda.node.utilities
...
Move `ContentSignerBuilder` into `net.corda.node.utilities` so it's not part of the API visible to CorDapp developers, when it's only needed inside the node itself.
2017-08-31 16:55:40 +01:00
d485441c27
Adds JVMStatic annotation to getServiceType.
2017-08-31 15:57:18 +01:00
4e9b367d98
Notary demo broken, due to incorrect usage of soft-locking, plus general API movement. Reverted to a simple custom state version.
2017-08-31 15:41:49 +01:00
03ddaaac11
Remove the copy of Guava from within the finance module. ( #1362 )
2017-08-31 14:40:32 +01:00
1139c1abf5
Throw a diagnostic exception if your FlowLogic.call method is not marked as @Suspendable.
...
This catches a bunch of unit tests where it's missing and also resolves an issue I saw Roger hit the other day.
2017-08-31 15:11:09 +02:00
b63df0ea39
Vault Service API final clean-up ( #1348 )
...
* Remove notify/notifyAll from public Vault Service API.
* 1st pass - remove ContractUpgrade public API calls from VaultService into self contained ContractUpgradeService.
* Fix compile error caused by cut'n'paste refactoring.
2017-08-31 14:01:10 +01:00
bbebea234d
remove reference to repository with JetBrains/Exposed library
2017-08-31 13:42:08 +01:00
35dec9abdc
Make addToWhitelist vararg for compactness. ( #1361 )
2017-08-31 13:24:45 +01:00
9b3cad30b2
Remove CompositeSignaturesWithKeys
...
Remove CompositeSignaturesWithKeys class, as other refactors mean it is
now superfluous. Instead serialization of the TransactionSignature can
be used directly.
2017-08-31 11:42:46 +01:00
472ecc65c6
NetworkMapCache database backed ( #1135 )
...
Work on database backed NetworkMapCache
Make NodeInfo JPA entity.
Enable node startup with it's database network map cache. Fix schema.
Make node not wait for finishing network map service registration if it
successfully loaded data from database.
Add tests for startup without NetworkMapService.
* Rename networkMapRegistrationFuture
Change networkMapRegistrationFuture to nodeReadyFuture, it no longer
indicates the NetworkMapService registration, because we are able to run
network without map service configured.
* Partially integrate database into NetworkMapCache
Full integrtion will come with service removal.
Move MockServiceHubInternal to net.corda.node.testing
* Add workaround to transaction scope race
Temporary workaround to force isolated transaction (otherwise it causes race conditions when processing
network map registration on network map node).
* Remove WorldMapLocation from NodeInfo
Infer the node's location based on X500 name
Add serial number on NodeInfo
For tests of running without NetworkMap, start nodes with nonexistent NetworkMap address
Make clearNetworkMapCache callable via RPC.
2017-08-31 11:00:11 +01:00
3e5fa9ee6a
Update api-flows.rst.
2017-08-31 10:09:31 +01:00
e075e52377
Update Gradle for verify-enclave project. ( #30 )
2017-08-31 08:19:20 +01:00
660d012800
Merge pull request #1352 from corda/aslemmer-quasar-exclude
...
Add exclude pattern to the quasar agent
2017-08-30 17:39:05 +01:00
e9f3b92e97
Add alwaysExcluded flag to quasar-hook, run config for generating exclude pattern
2017-08-30 17:14:01 +01:00
9bd4342039
Removed is relevant from LinearState ( #1294 )
2017-08-30 16:26:34 +01:00
4e761ebd2e
Merge pull request #28 from corda/aslemmer-enterprise-merge-august-29
...
Aslemmer enterprise merge august 29
2017-08-30 15:37:52 +01:00
cdea1665cf
Merge pull request #1358 from corda/release/kat/gradleVNumber
...
M15 Release - move master version number onto 0.16
2017-08-30 15:17:36 +01:00
a9f572c366
Move Jackson client support into net.corda.client.jackson package
...
Move Jackson client support into net.corda.client.jackson package to match naming scheme used elsewhere
2017-08-30 15:11:03 +01:00
923fe16392
Update Dokka configuration
...
* Switch documentation JDK version to 8
* Add node-api package to Dokka includes
* Remove node package from Dokka includes
2017-08-30 14:53:37 +01:00
89fa2eb8b6
M15 Release - move master version number onto 0.16
2017-08-30 14:12:42 +01:00
e50052aeb1
Update getting-set-up.rst.
2017-08-30 13:20:11 +01:00
2b7ec0542f
Refactoring MockServices class - removing Kt Java class ( #1350 )
2017-08-30 12:10:42 +01:00
a4ba8e4f2f
Merge open master
2017-08-30 11:41:30 +01:00
4387be0c4b
CORDA-540: Mark CompositeKeyTests which works with cyclic graphs as Kryo specific ( #1354 )
2017-08-30 11:41:04 +01:00
d2a2e2c419
Update tut-two-party-introduction.rst.
2017-08-30 11:18:28 +01:00
ca1d5287b1
Upgrade to TornadoFX 1.7.10 ( #1288 )
...
We can do this now that we've upgraded to Kotlin 1.1.4.
2017-08-30 11:13:07 +01:00
674050779e
Squashed commit of the following: ( #29 )
...
commit 5575c69eb456ccf7c3cfa41c20a45c8c70ce7656
Merge: 679e5af0e 7650b9c6f
Author: Joel Dice <joel.dice@gmail.com >
Date: Tue Aug 22 07:46:44 2017 -0600
Merge pull request #541 from corda/class-resolver-crash
Fix crash when resolving system classes.
commit 679e5af0ef5d73a467845513d51d0fa0f7fa46b0
Merge: 01bef8ed6 6535959bd
Author: Joel Dice <joel.dice@gmail.com >
Date: Tue Aug 22 07:36:22 2017 -0600
Merge pull request #542 from corda/remove-unused-getVMClass
Refactor partially implemented getVMClass(Object) function.
commit 01bef8ed6f92e0b047a12a46f9286aca82c4fdb9
Merge: fabf4dd0c 2fb3b0d17
Author: Joel Dice <joel.dice@gmail.com >
Date: Wed Aug 2 16:48:52 2017 -0600
Merge pull request #544 from teras/master
Update to latest active iOS platform
commit 2fb3b0d179228a370875df7711a6b58c492f4de4
Author: Panayotis Katsaloulis <panayotis@panayotis.com >
Date: Wed Aug 2 21:14:26 2017 +0300
Update to latest active iOS platform
commit 6535959bd8f85b9351c823c6c4a1d364905a8824
Author: Chris Rankin <chris.rankin@r3.com >
Date: Fri Jul 28 09:58:42 2017 +0100
Remove unimplemented function Classes.getVMClass(Object).
This function seems to have been migrated to Object already anyway,
so refactor its one remaining use accordingly.
commit 7650b9c6fe21e02380a17620f192c9bbcec02092
Author: Chris Rankin <chris.rankin@r3.com >
Date: Thu Jul 27 15:06:18 2017 +0100
Fix crash when resolving system classes.
2017-08-30 11:03:22 +01:00
00513883a2
Move HibernateConfiguration into net.corda.node.services.persistence
2017-08-30 10:07:56 +01:00
0176184a86
CORDA-540: Cater for repeated object references found in the AMQP serialization graph ( #1326 )
...
Also provide unit test that clearly exposes the problem
2017-08-29 17:59:03 +01:00
9664954920
Stop hibernate logging massive byte arrays (at debug level) and causing OOM. ( #1351 )
2017-08-29 17:31:18 +01:00
d1825261f7
AttachmentDemo: Make sure the demo transaction is valid under new constraints
2017-08-29 17:05:13 +01:00
210cb4658a
Test DSL: only "unverified" transactions get filled with dummy data to make them valid WireTransactions.
...
Recording is removed for a ledger with a single transaction.
2017-08-29 17:05:13 +01:00
65a59f680b
Update integration tests to handle new transaction constraints
2017-08-29 17:05:13 +01:00
73664c3383
Test DSL: update tests to handle new transaction constraints
2017-08-29 17:05:13 +01:00
f5776d6bd7
Enforce transaction validity rules
2017-08-29 17:05:13 +01:00
76ffd485ac
Merge pull request #1349 from corda/feature/kat/serialiseWithEnvelopeReturn
...
Add alt serialise method that returns the schema and the bytes
2017-08-29 16:57:41 +01:00
2facab3be3
Split ClockUtils to improve Java compatibility
...
Split `ClockUtils` into `MutableClock`, and move the extension functions into `NodeSchedulerService` which is the only thing that uses them.
2017-08-29 16:57:29 +01:00
a2a3f51689
Updated vault query api documentation. ( #1338 )
...
* Updated vault query api documentation.
* Readability improvement following PR review feedback.
2017-08-29 16:51:42 +01:00