mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
20dbbf008d
* CORDA-4105 Add public API to allow custom serialization schemes (#6848) * CORDA-4105 Add public API to allow custom serialization schemes * Fix Detekt * Suppress warning * Fix usused import * Improve API to use generics This does not break Java support (only Intelij gets confused). * Add more detailed documentation to public interfaces * Change internal variable name after rename public API * Update Public API to use ByteSquence instead of SerializedBytes * Remove unused import * Fix whitespace. * Add added public API to .ci/api-current.txt * Improve public interfaces Rename CustomSchemeContext to SerializationSchemeContext to improve clarity and move to it's own file. Improve kdoc to make things less confusing. * Update API current with changed API * CORDA-4104 Implement custom serialization scheme discovery mechanism (#6854) * CORDA-4104 Implement CustomSerializationScheme Discovery Mechanism Discovers a single CustomSerializationScheme implementation inside the drivers dir using a system property. * Started MockNetwork test * Add driver test of Custom Serialization Scheme * Fix detekt and minor style error * Respond to review comments Allow non-single arg constructors (there must be one no args constructor), move code from SerializationEnviroment into its own file, improve exceptions to be more user friendly. * Fix minor bug in Scheme finding code + improve error messages * CORDA-4104 Improve test coverage of custom serialization scheme discovery (#6855) * CORDA-4104 Add test of classloader scanning for CustomSerializationSchemes * Fix Detekt * NOTICK Clarify KDOC on SerializationSchemeContext (#6865) * CORDA-4111 Change Component Group Serialization to use contex when the lazy map is constructed (#6856) Currently the component group will recheck the thread local (global) serialization context when component groups are serialized lazily. Instead store the serialization context when the lazy map is constructed and use that latter when doing serialization lazily. * CORDA-4106 Test wire transaction can still be written to the ledger (#6860) * Add test that writes transaction to the Database * Improve test check serialization scheme in test body * CORDA-4119 Minor changes to serialisation injection for transaction building (#6868) * CORDA-4119 Minor changes to serialisation injection for transaction building Scan the CorDapp classloader instead of the drivers classloader. Add properties map to CustomSerialiaztionContext (copied from SerializationContext). Change API to let a user pass in the serialization context in TransactionBuilder.toLedgerTransaction * Improve KDOC + fix shawdowing issue in CordaUtils * Pass only the properties map into theTransactionBuilder.toWireTransaction Not the entire serializationContext * Revert change to CordaUtils * Improve KDOC explain pitfalls of setting properties |
||
---|---|---|
.. | ||
src | ||
build.gradle |