Andrzej Cichocki
039cacae76
CORDA-787 Remove unused class ( #2049 )
...
* and refactor a superclass that isn't really one
* move it to internal
* misc refactorings
2017-11-17 12:24:55 +00:00
Michele Sollecito
92c8861802
[CORDA-760]: Propagate invocation context across the codebase. ( #2016 )
2017-11-15 14:58:43 +00:00
Chris Rankin
2a961b8e2c
Separate server contexts from shared contexts. ( #2044 )
2017-11-13 21:23:23 +00:00
Andrzej Cichocki
052124bbe0
CORDA-716 Make serialization init less static ( #1996 )
2017-11-10 15:44:43 +00:00
Chris Burlinchon
39e2f6ad99
ENT-1031 AMQP serializer for ContractAttachment, evaluate lazy attachment and write out in full
2017-11-10 14:42:18 +00:00
Christian Sailer
2a83167d3b
Merge pull request #2024 from corda/christians_public-key-caching-hooks
...
Public key customization hooks
2017-11-10 13:37:37 +00:00
Christian Sailer
5354c777ce
CORDA-781 code layout cleaned up
2017-11-10 11:54:03 +00:00
Christian Sailer
b0517954a0
CORDA-781 clean up imports
2017-11-10 11:10:06 +00:00
Christian Sailer
13001ee674
CORDA-781 code review: clean up AMQP scheme
2017-11-10 10:23:19 +00:00
cburlinchon
4c1d1733a5
Serialization of large contract attachments causes OOM exception ( #1991 )
...
* Don't serialize contract attachment, only hash and contract class name if we are checkpointing
2017-11-10 10:21:36 +00:00
Christian Sailer
26819bfd04
No public key serializer overriding for checkpointing
2017-11-09 15:23:12 +00:00
Christian Sailer
89b01ab342
Hooks for PublicKeySerializer customization
2017-11-09 15:12:52 +00:00
Christian Sailer
219433c3cd
Hooks for PublicKeySerializer
2017-11-09 14:49:23 +00:00
Andrzej Cichocki
a036a6300c
Enforce serialization API for Java. ( #2014 )
2017-11-08 11:49:52 +00:00
Katarzyna Streich
deaba2887d
Some cleanup after network map removal ( #2006 )
2017-11-07 12:16:49 +00:00
Konstantinos Chalkias
7944fcde5c
Supported TLS cipher suites ( #2005 )
2017-11-07 10:05:51 +00:00
Shams Asari
d04e48740b
Introducing network parameters.
...
network-parameters file read in by the node at startup, of which only the list of notaries is used. For now, the driver and MockNetwork have been updated to require notaries to be started first. This is so that the same set of network parameters can be defined for all the nodes.
CN in the legal name is not longer disallowed since it's no longer reserved for distributed notary names.
Single-node notaries now only have one identity, their main identity. Nodes part of a cluster continue to have two.
(Based off Kasia's work)
2017-11-03 09:46:10 +00:00
Katelyn Baker
d6adb83cd0
CORDA-756 - Refactor Kryo into sub module as per AMQP
2017-10-31 15:45:58 +00:00
Andrzej Cichocki
4b0b13dad4
CORDA-716 Retire TestDependencyInjectionBase ( #1939 )
2017-10-31 10:21:38 +00:00
Katelyn Baker
a74154a126
Merge pull request #1904 from corda/kat/feature/enumEvolver
...
CORDA-553 - First steps towards evolvability
2017-10-30 14:08:09 +00:00
Alberto Arri
9176fcb8e6
Remove for good network map service node ( #1942 )
...
* [CORDA-446] Kill network map registration and fix NodeBasedTest
2017-10-30 11:45:52 +00:00
Katelyn Baker
ecbb4330da
CORDA-553 - Review comments
2017-10-30 11:15:05 +00:00
Katelyn Baker
3350605536
CORDA-553 - Cope with future transforms
2017-10-27 12:41:23 +01:00
Katelyn Baker
bc12f87a24
CORDA-553 - Review Comments
2017-10-27 12:41:13 +01:00
Katelyn Baker
3633624dc6
CORDA-553 - First steps towards evolvability
...
Define the two transforms that will be useful for enum evolvability (see
design document for more details).
Furthermore, define the generic mechanism by which transform annotations
on classes are encoded into the AMQP envelope
With nothing to check for these annotations at either end, this is
mostly a no op, but an important step toward getting evolvability in
place
2017-10-27 12:40:53 +01:00
bpaunescu
04d8260e0f
CORDA-351: force update dependencies and suppress vulnerabilities not… ( #1944 )
...
* CORDA-351: force update dependencies and suppress vulnerabilities not affecting corda
* CORDA-351: force update dependencies and suppress vulnerabilities not affecting corda
2017-10-26 12:16:57 +01:00
Katelyn Baker
cbc4003032
Merge pull request #1905 from corda/kat/feature/addEnterpriseAMQPIdentifier
...
Corda-725 - Change AMQP identifier
2017-10-20 10:21:19 +01:00
Andrzej Cichocki
005ce349a7
* Retire MockServiceHubInternal ( #1909 )
...
* Introduce rigorousMock
* Add test-utils and node-driver to generated documentation
2017-10-20 10:06:53 +01:00
Katelyn Baker
e6de0aa406
Review Comments
2017-10-19 16:19:42 +01:00
Katelyn Baker
1e05f27bae
CORDA-725 - Change AMQP identifier to officially assigned value
...
This does change our header format so pre-cached test files need
regenerating
2017-10-19 12:01:39 +01:00
Alberto Arri
b33b013284
[CORDA-442] let Driver run without network map ( #1890 )
...
* [CORDA-442] let Driver run without network map
- Nodes started by driver run without a networkMapNode.
- Driver does not take a networkMapStartStrategy anymore
- a new parameter in the configuration "noNetworkMapServiceMode" allows for a node not to be a networkMapNode nor to connect to one.
- Driver now waits for each node to write its own NodeInfo file to disk and then copies it into each other node.
- When driver starts a node N, it waits for every node to be have N nodes in their network map.
Note: the code to copy around the NodeInfo files was already in DemoBench, the NodeInfoFilesCopier class was just moved from DemoBench into core (I'm very open to core not being the best place, please advise)
2017-10-18 13:49:32 +01:00
Viktor Kolomeyko
cac3057877
CORDA-540: Make Verifier work in AMQP mode ( #1870 )
2017-10-17 10:44:27 +01:00
Andrzej Cichocki
38cf4a489e
CORDA-676 Eager cordapp schemas ( #1839 )
...
* Retire customSchemas.
* Key cordapp-to-hash map by url as native equality too strict.
2017-10-16 11:35:29 +01:00
Matthew Nesbit
899f7f9d0d
Change the serialization/deserialization code of SessionMessage data to add more validation.
...
Address PR comments
As pointed out by Shams the SessionInit must be well formed at this point.
2017-10-11 15:17:48 +01:00
Chris Rankin
9cec137a31
CORDA-702: Don't whitelist certain non-annotated types ( #1864 )
...
* Don't whitelist arrays of non-serialisable types for RPC.
* Don't whitelist enums which have not been annotated as serialisable.
2017-10-11 11:17:14 +01:00
Viktor Kolomeyko
ef0f0acc4a
Make integration tests pass in AMQP mode, part 1 ( #1855 )
2017-10-11 11:13:46 +01:00
Andrzej Cichocki
4ee250a19b
Retire setCordappPackages. ( #1860 )
2017-10-11 10:35:21 +01:00
Shams Asari
bd53a22efa
Removed extraAdvertisedServiceIds config
...
The remaining use for it was the finance CorDapp for permissioning CCY issuers. Instead this is now taken from a custom config in node.conf.
2017-10-10 13:47:37 +01:00
Tommy Lillehagen
14f959b4af
Code clean-up run
2017-10-09 15:26:40 +01:00
Tommy Lillehagen
f98942d7ad
Reformat files in node-api
2017-10-09 15:26:39 +01:00
Chris Rankin
689758a71c
CORDA-644: Only serialise Kotlin lambdas when checkpointing. ( #1801 )
...
* Remove local function because it is serialised as a lambda.
* Don't automatically whitelist Kotlin lambdas unless checkpointing.
* Add comment to @CordaSerializable, warning not to allow AnnotationTarget.EXPRESSION.
2017-10-09 13:02:40 +01:00
Viktor Kolomeyko
a9508b393c
CORDA-540: AMQP Private key serializer ( #1838 )
2017-10-09 11:22:11 +01:00
Viktor Kolomeyko
a425f82c77
CORDA-540: Change how standard mutable whitelists structured ( #1814 )
2017-10-09 10:19:37 +01:00
Shams Asari
727cd0e55c
Cleaned up notary configuration by introducing a notary config option.
...
extraAdvertisedServiceIds is no longer used for this.
2017-10-07 12:52:37 +01:00
Viktor Kolomeyko
33ba145149
CORDA-540: Add verification to ensure that private keys can only be serialized with specific contexts ( #1800 )
2017-10-05 17:42:16 +01:00
Ross Nicoll
46532ccbcb
Don't repackage well known key types ( #1545 )
...
* Don't repackage well known key types when converting keys to a well known type
* Remove custom key serializers
* Remove duplicate serializer registration
2017-10-05 09:14:00 +01:00
Viktor Kolomeyko
e2bb14da8e
CORDA-540: AMQP specific fixes in "node-api" project ( #1765 )
2017-10-03 15:07:34 +01:00
Shams Asari
6c488fd6e0
Merge pull request #1783 from corda/shams-remove-network-map-service-type
...
Removed the network map service type as it's no longer needed.
2017-10-03 12:15:31 +01:00
Viktor Kolomeyko
c87e1045eb
CORDA-540: Perform schema verification ( #1672 )
2017-10-03 11:47:53 +01:00
Shams Asari
457f95f188
Removed the network map service type as it's no longer needed.
...
The absence or presence of the networkMapService config is what determines if a node is the network map or not.
2017-10-03 11:32:37 +01:00