Commit Graph

5917 Commits

Author SHA1 Message Date
8990e9f783 Merge pull request #3170 from corda/CORDA-1459
Corda 1459
2018-05-21 10:45:29 +01:00
2907250468 Mark HA notary design as deprecated (#3171)
This design is superseded by the CFT notary design.

* Mark HA notary design as deprecated
* Remove outdated HA notary service design
2018-05-21 09:57:29 +01:00
3a9fa50799 Added the additional Corda utility code with FSM-like transition contract checking 2018-05-21 10:28:27 +02:00
acefe4261c Bootstrap HA and BFT notaries 2018-05-18 18:33:49 +01:00
eecb210a35 Clarifying the ident width in the code style guide (#3190) 2018-05-18 17:28:40 +01:00
fa090eb865 CORDA-1506: Cash selection logic fails when selection with a change from more that 2 different issuer groups (#3187)
* Expose a flaw in cash selection logic

* Minimal test exposing the bug.

* Remaining unspent cash overwrites the cash of the first issuer, not the current issuer - the problem emerged when at least three different groups were selected, for 2 different issuers the last one in selection process was always the first remaining one.

* Addressing PR comments + more precise test name

* Addressing PR comments.
2018-05-18 17:16:41 +01:00
013eb33d7c ENT-1574 Progress tracker distinguishes steps which were not processed (#3173)
* Progress Tracker doesn't mark as "green tick" a step which hasn't been set in the flow. Steps behind the current step, which were not processed ('an optional step') are now marked distingishly as green crossed sign for shell and as minus sign for ssh.

* Finality Flow sets the current step to NOTARISING only if the actual notarization is performed.
2018-05-18 16:39:55 +01:00
a38250c100 Declare serialisation default interface methods as Java8-style defaults. (#3086) 2018-05-18 12:31:01 +01:00
215e54f1ab ENT-1902: If we are already in the JavaFX thread - perform direct invocation without postponing it. (#3177)
Or else if we are operating in JavaFX thread the sequence of invocations will change.
2018-05-18 11:09:02 +01:00
ae5bacb4b4 Network bootstrapper check for duplicate node names (#3182) 2018-05-18 10:31:24 +01:00
24b43117dc Increase the number of log files retained per day
Currently the node will keep up to 10 compressed log files during rollover, and discard old ones. This limit seems too low for production use and might lead to valuable log data loss.
2018-05-17 19:55:58 +01:00
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
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
bbc80429be Merge pull request #3072 from corda/kat/feature/amqp-rpc
CORDA-847 - AMQP RPC
2018-05-17 13:54:43 +01:00
0c3a30edc8 Corda-847 - Remove Kryo for RPC
It's no longer used as we've switched over to AMQP for RPC calls so
remove it from everywhere and only use it for checkpointing

 * Wire up demo bench post Kryo removal
 * Test Fixes
 * rebase and fix tests
 * Test Fix
 * wip
 * revert changes to api now we don't need to add annotations
2018-05-17 12:55:45 +01:00
f850daa582 CORDA-847 - AMQP RPC
* Client and server support for amqp
 * Observable (and supporting) serialisers
   Unit Tests
 * Fixing tests
 * Test fixes
 * CORDA-847 - Update api doc with additon of @CordaSerializable annotation
 * TestFixes
 * review comments
 * TestFixes
 * Test Fix
 * Test Fix
 * Test Fix
 * Test Fix
 * Test Fix
 * Test Fix
 * TestFix
 * Test Fix
 * Review Comments
2018-05-17 12:53:38 +01:00
d09e9383e6 Fix build breakage with Gradle 4.7. (#3178) 2018-05-17 12:50:46 +01:00
939e50d999 Vault Fungible Asset Query Criteria: removed incorrect reference in docs. (#2547)
* Removed incorrect reference.

* Removed reference to finance package class.
2018-05-17 11:41:10 +01:00
8ee9c5d5fc CORDA-1280 Update api-current from v3.2 and use most recent version of api-scanner (#3153)
* Update api current from v3

* Update Cordapp Context as per CORDA-556

* Update Exception base classes as per CORDA-1334: port enterprise statemachine (#2964)

* Move notary service related classes and interfaces in core to internal (#2827)

* CordaRPCClient changes from CORDA-1099: Orchestrated clean shutdown from Shell (#2831)

* [CORDA-1264]: Ensure correct serialisation and masking for throwables raised by a node and propagated through RPC. (#2892)

* CORDA-973 Refactoring for serialization compression support (#2466)

* [CORDA-941]: Add NetworkParameters contract implementation whitelist. (#2580)

* Cleanup and improvements to the serialisation format of JacksonSupport (needed for CORDA-1238) (#3102)

* Existing internal exposures which need removing - see CORDA-1489

* revert to gradle plugins version of api-scanner
2018-05-17 10:09:12 +01:00
0b76a12637 CORDA-864 Wire up max message size (#3057)
* add checks on message size
* added size check in AMQP bridge
* passing maxMessageSize to AMQPClient and server
* added Interceptor to enforce maxMessageSize on incoming messages
2018-05-17 09:59:30 +01:00
cb882ad694 Removes outdated information from scheduling tutorial. (#3175) 2018-05-17 09:09:07 +01:00
0ee116a1d9 CORDA-1476 Adding TLS certificate CRL extension point configs (#3140)
* Adding TLS certificate CRL extension point configs

* Addressing review comments

* Addressing review comments - round 3
2018-05-17 08:21:24 +01:00
27803cdc9e ENT-1887 Make sure open and enterprise API are identical (#3158)
* Sync public API's (and associated internal helpers) between Enterprise and OS.

* Add previous default constructor explicitly.

* Keep the API checker happy!

* Revert addition of ENT makeTestDataSourceProperties() function.
2018-05-16 18:01:53 +01:00
1c49043b36 [CORDA-1459] Typo fix 2018-05-16 17:19:41 +01:00
dc5d89367d Merge branch 'master' into CORDA-1459 2018-05-16 17:11:23 +01:00
c4be0ad959 [CORDA-1459] Removed CommodityContract 2018-05-16 17:11:12 +01:00
8e934df217 Fix db transaction check (#3164) 2018-05-16 15:55:51 +01:00
3d50e73271 Add configuration notary.serviceLegalName for clustered notaries 2018-05-16 15:19:14 +01:00
573210486d snapshot should be all uppercase (#3123) 2018-05-16 14:40:47 +01:00
65b782c206 ENT-933 Add spectator and participant profiles of rigorousMock (#3157) 2018-05-16 13:56:41 +01:00
87e955701c Merge pull request #3161 from corda/CORDA-1491/aslemmer-fix-ack-race
CORDA-1491: Use MessagingExecutor for deduplication ACK codepath
2018-05-16 13:20:25 +01:00
3392c15c0b CORDA-1491: Use MessagingExecutor for deduplication ACK codepath 2018-05-16 12:21:29 +01:00
b06738b371 CORDA-1093 Deleting node info from directory (#3115)
* CORDA-1093 Deleting node info from directory

Deleting NodeInfo from additional-node-infos directory should remove it from cache.
2018-05-16 11:45:59 +01:00
0c38a63486 Update generating-a-node.rst 2018-05-15 17:37:09 +01:00
502088d798 Update generating-a-node.rst 2018-05-15 17:36:17 +01:00
3f2e653f01 Update references to point to new repo and remove other redundant references. (#3151) 2018-05-15 17:09:50 +01:00
b031e66ab9 CORDA-1238: Updated JacksonSupport to support SerializedBytes, CertPath, X509Certificate and the signature classes (#3145)
SerializedBytes are first converted to the object it represents before being serialised as a pojo.

These changes will be needed to support the the blob inspector when it will output to YAML/JSON.
2018-05-15 17:02:43 +01:00
7da0bcd741 Docs: simplify design review process doc and link into toctree. 2018-05-15 16:59:35 +02:00
75b621bdce Docs: improve appearance of notary service HA doc. 2018-05-15 16:59:35 +02:00
7b26f4ecb4 Docs: import notary service HA doc. 2018-05-15 16:59:35 +02:00
987875d600 Docs: improve the appearance of monitoring and management 2018-05-15 16:59:35 +02:00
c7bfc8f655 Docs: import monitoring and management 2018-05-15 16:59:35 +02:00
9868a18361 Docs: improve appearance of the Kafka design doc. 2018-05-15 16:59:35 +02:00
3a80cdfb68 Docs: Import kafka notary design doc. 2018-05-15 16:59:35 +02:00
f29bbb6b16 Docs: Docs: switch from ReCommonMark to m2r, as RCM is not really maintained and is buggy.
Tidy up presentation of HA design doc.

Misc markup fixes throughout, as revealed by m2r.
2018-05-15 16:59:35 +02:00
b2c28cb523 Docs: import hadr design doc. 2018-05-15 16:59:35 +02:00
3f44910a2b Docs: use toctree to link design decisions into site. Update float design doc to fit with docsite. 2018-05-15 16:59:35 +02:00
9cf06dff10 Docs: add float design doc, as is. 2018-05-15 16:59:35 +02:00
1895872307 Docs: improve rendering of "failure detection and master election" 2018-05-15 16:59:35 +02:00
7b6284c504 Docs: add design doc "failure detection and master election" 2018-05-15 16:59:35 +02:00