Shams Asari
7b09795795
CORDA-1383: Cleaned up the JSON format of WireTransaction and SignedTransaction ( #3248 )
...
In particular correctly outputs the custom state and command objects in the txs. Also fixed up deserialisation back into the transaction objects.
2018-05-30 16:37:41 +01:00
Katelyn Baker
a359f627d5
CORDA-1545 - Arrays of primitive byte arrays don't deserialize ( #3249 )
...
* CORDA-1545 - Arrays of primitive byte arrays don't deserialize
At serialization time we incorrectly encode the type as byte[p][] instead
of binary[]
2018-05-29 14:36:04 +01:00
Katarzyna Streich
8504b65e7b
ENT-1933: make NetworkParameters serialization compatible ( #3234 )
...
* ENT-1933: make NetworkParameters serialization compatible
2018-05-25 17:14:00 +01:00
Katelyn Baker
7cbc316b9d
CORDA-1521 - Fix rpc attachment smoke test / better AMQP logging ( #3213 )
...
* CORDA-1521 - Fix rpc attachment smoke test / better AMQP logging
* Remove poor debug message
* Review comments
* reduce debug spam
2018-05-25 13:00:04 +01:00
Katelyn Baker
ee0d580448
CORDA-1530 - Generics break default evolver ( #3232 )
...
* CORDA-1530 - Generics break default evolver
When selecting an annotated constructor for evolving a type make sure
we treat generics in the same manner we did when serialized. Effectively
throw away the template information and treat lists as lists and maps
as maps
2018-05-24 18:30:45 +01:00
Shams Asari
4e0378de9c
CORDA-1238: Moved the blob inspector out of experimental and wired it to JackonSupport ( #3224 )
...
The existing output format was not complete and so was deleted to avoid it becoming a tech debt. We can always resurrect it at a later point.
2018-05-24 18:26:55 +01:00
Shams Asari
3136e973a7
CORDA-1511: Kryo only used for node checkpoints and so moved out of serialization module and into node ( #3228 )
2018-05-24 12:18:07 +01:00
Chris Rankin
76918de656
ENT-1903: Isolate the WeakHashMap reference. ( #3221 )
2018-05-23 20:09:57 +01:00
Katelyn Baker
cba83aca13
Move RxNotification serializer into the serialization package ( #3214 )
2018-05-22 15:17:18 +01:00
Chris Rankin
a38250c100
Declare serialisation default interface methods as Java8-style defaults. ( #3086 )
2018-05-18 12:31:01 +01:00
Shams Asari
824adca6c0
CORDA-1238: Updated JacksonSupport to serialise pojos annotated with @CordaSerializable with the same properties as the AMQP serialisation framework. ( #3162 )
...
This fixes an issue for pojos with getters that aren't c'tor-based properties. Jackson serialises these out but is then unable to deserialise the pojo back.
2018-05-17 18:34:12 +01:00
Shams Asari
3cdd908714
Moved the serialisation logic in nodeapi.internal.serialization into its own module: serialization ( #3179 )
...
node-api now depends on this module and upcoming changes will use this as well rather than having to depend on node-api.
EnumEvolveTests.deserializeWithRename and EnumEvolveTests.multiOperations are temporarily ignored since their test resources can't be regenerated due to bugs.
2018-05-17 16:18:07 +01:00