Patrick Kuo
9bd4342039
Removed is relevant from LinearState ( #1294 )
2017-08-30 16:26:34 +01:00
Katelyn Baker
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
Ross Nicoll
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
Ross Nicoll
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
Katelyn Baker
89fa2eb8b6
M15 Release - move master version number onto 0.16
2017-08-30 14:12:42 +01:00
Joel Dudley
e50052aeb1
Update getting-set-up.rst.
2017-08-30 13:20:11 +01:00
mkit
2b7ec0542f
Refactoring MockServices class - removing Kt Java class ( #1350 )
2017-08-30 12:10:42 +01:00
Viktor Kolomeyko
4387be0c4b
CORDA-540: Mark CompositeKeyTests which works with cyclic graphs as Kryo specific ( #1354 )
2017-08-30 11:41:04 +01:00
Joel Dudley
d2a2e2c419
Update tut-two-party-introduction.rst.
2017-08-30 11:18:28 +01:00
Chris Rankin
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
Ross Nicoll
00513883a2
Move HibernateConfiguration into net.corda.node.services.persistence
2017-08-30 10:07:56 +01:00
Viktor Kolomeyko
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
Rick Parker
9664954920
Stop hibernate logging massive byte arrays (at debug level) and causing OOM. ( #1351 )
2017-08-29 17:31:18 +01:00
Andrius Dagys
d1825261f7
AttachmentDemo: Make sure the demo transaction is valid under new constraints
2017-08-29 17:05:13 +01:00
Andrius Dagys
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
Andrius Dagys
65a59f680b
Update integration tests to handle new transaction constraints
2017-08-29 17:05:13 +01:00
Andrius Dagys
73664c3383
Test DSL: update tests to handle new transaction constraints
2017-08-29 17:05:13 +01:00
Andrius Dagys
f5776d6bd7
Enforce transaction validity rules
2017-08-29 17:05:13 +01:00
Katelyn Baker
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
Ross Nicoll
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
josecoll
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
Katelyn Baker
414f2b4b40
Review Comments - give test methods a better name
2017-08-29 16:23:10 +01:00
Patrick Kuo
3b9c1ec0ff
Use identity service to resolve anonymised identities in explorer
2017-08-29 16:07:09 +01:00
Ross Nicoll
bc5aceddbf
Enable anonymisation in two party deal/trade flows
2017-08-29 16:07:09 +01:00
Katelyn Baker
1e023fcf54
Add alt serialise method that returns the schema and the bytes
...
For future testing it would be nice, post serialisation, to have easy
access to the serialised objects schema so we can check how it was
serialised. Adding a helper function to return a data class that does
this in the same way we can for deserialize
2017-08-29 15:20:43 +01:00
mkit
a84cd567d8
Removing Kt suffixed Java class ( #1344 )
2017-08-29 13:41:17 +01:00
Andrzej Cichocki
98e2ea9352
Add cordaCompile to graphs ( #1282 )
2017-08-29 11:45:19 +01:00
josecoll
a027e51ca3
Revert linearId
(UniqueIdentifier) Vault Query search attribute ( #1325 )
...
* Revert `linearId` (UniqueIdentifier) search attribute for developer convenience.
* Introduced secondary LinearStateQueryCriteria constructor as per MN review comments.
* Fix broken test.
2017-08-29 10:27:43 +01:00
Carsten Otto
041af053e3
fix typo
2017-08-29 11:16:08 +02:00
Andrzej Cichocki
cd0ab40b2e
Core doesn't need a compile dep on guava ( #1283 )
2017-08-29 09:56:26 +01:00
Mike Hearn
e2f112c3a8
Add support for multi-spends to OnLedgerAsset and Cash. Multi-spends let you request multiple payments to different parties be calculated simultaneously. ( #1342 )
2017-08-28 19:13:53 +01:00
Ross Nicoll
8f0ea714b3
Add IdentitySyncFlow
...
Add IdentitySyncFlow for synchronizing the certificate paths for confidential identities in a transaction with all counterparties of the transaction.
2017-08-25 17:53:31 +01:00
Joel Dudley
701c4f3c60
Updates the transaction API page and cookbook.
2017-08-25 17:15:39 +01:00
Ross Nicoll
0fb4465c10
Move default session ID into messaging service
...
Move default session ID into messaging service to clean up the API. This means it no longer shows up in a Java class (ServiceHubInternalKt) as its only member, and is instead scoped into the service that actually uses the value. This does result in a MessagingService.Companion object (as MessagingService is an interface), however this is probably the most sensible solution.
2017-08-25 16:23:05 +01:00
Roman Plášil
a35d835d38
Enable autorecovery in RAFT Copycat client
...
Otherwise it doesn't reconnect after network issues
2017-08-25 15:31:35 +01:00
Rick Parker
c61b036844
Some custom serializers, fixes to generics handling, some annotations and added NonEmptySet as a special case of Set. ( #1330 )
2017-08-25 15:09:43 +01:00
szymonsztuka
34b7c89b40
Portable database primary keys
...
Blob/ByteArray I not allowed as primary key in Oracle
2017-08-25 13:22:09 +01:00
Viktor Kolomeyko
e2f402f0e4
Correct misleading comment in CompositeKey and minor changes to its unit test ( #1321 )
2017-08-25 11:37:55 +01:00
Katelyn Baker
2b5e3e39a2
Merge pull request #1302 from corda/feature/kat/evolvability
...
Add evolvability to the deserializer
2017-08-25 10:38:52 +01:00
josecoll
a3dbbc173b
Vault query criteria default attribute handling. ( #1322 )
...
* Performance fix: prevent self joins on VaultStates table (was occurring when Sort specified).
* Enrichment and overriding of Common attributes (eg. Vault.StateStatus and Contract State Types) using composite query criteria.
Remove unnecessary QueryEditor implementation from NodeVaultService.
* Updated documentation and changelog.
* Misc fixes to broken documentation code snippets.
* Incorporating changes from PR review feedback.
2017-08-25 08:38:12 +01:00
Clinton
1750ab07af
Merge pull request #1315 from corda/clint-gradle4
...
Upgraded to gradle 4.1.
2017-08-24 22:55:50 +01:00
Katelyn Baker
dda9d22264
Review Comments
...
* Typos in comments
* Refactor some one liners
2017-08-24 17:36:01 +01:00
Katelyn Baker
e4a2529de0
More Review Comments
...
Move more logic into the constructor factory for the evolver seraliser
rather than everytime we read
2017-08-24 17:36:01 +01:00
Katelyn Baker
cf9fbc715d
Review Comments
...
Refactor small bits of the serialiser, move things out of the read
methods and into the make factory companion object
2017-08-24 17:36:01 +01:00
Katelyn Baker
299b8026c7
Add constructor annotation for evolve selection
...
Current implementation is such that if we find *a* constructor that
works for us we use that, this is of course rather non deterministic, it
also means we may not select the best constructor
for example
old versions had constructors that took
V1: A B
V2: A B C D
if current version, V3 is
V3: A B C D E
which provides secondary constructors for the above then there is a
chance we'd de-serialise objects that were serialised as V2 using the V1
constructor and thus throw away information we don't need to
Additional Changes:
Fixes following rebase onto master
2017-08-24 17:36:01 +01:00
Katelyn Baker
7894e723e8
Fix evolver to work on nested schema types
...
Dumb assumption in the initial implementation meant it could only
evolve a top level type in the schema
2017-08-24 17:36:01 +01:00
Katelyn Baker
6bcfb2eddf
Add better test, add support for constructor determination
2017-08-24 17:36:01 +01:00
Katelyn Baker
1d131eced5
Add Evolvability to Serializer
...
If we attempt to deserialize a class and find that since it's
serialization the definition has changed we need to create a serializer
capable of evolving the serialised data and constructing an instance of
the new type
We currently cope with
* Removing members
* Adding nullable members
* Adding non nullable members if a constructor is provided that
allows us to set the old arguments and defaults the new (mandatory)
fields
* Reordering paramters
2017-08-24 17:35:03 +01:00
Rick Parker
db07d717e0
Make constructors always accessible to deserialization code. ( #1320 )
2017-08-24 17:33:09 +01:00
Clinton Alexander
ac26b7d1c6
Fixed issues detecting tests caused by changes to directory structures in gradle.
2017-08-24 16:46:54 +01:00