Commit Graph

5759 Commits

Author SHA1 Message Date
Thomas Schroeter
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
Tomas Tauber
3a9fa50799 Added the additional Corda utility code with FSM-like transition contract checking 2018-05-21 10:28:27 +02:00
Thomas Schroeter
acefe4261c Bootstrap HA and BFT notaries 2018-05-18 18:33:49 +01:00
Shams Asari
eecb210a35
Clarifying the ident width in the code style guide (#3190) 2018-05-18 17:28:40 +01:00
Viktor Kolomeyko
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
szymonsztuka
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
Chris Rankin
a38250c100
Declare serialisation default interface methods as Java8-style defaults. (#3086) 2018-05-18 12:31:01 +01:00
Viktor Kolomeyko
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
Stanly Johnson
ae5bacb4b4 Network bootstrapper check for duplicate node names (#3182) 2018-05-18 10:31:24 +01:00
Andrius Dagys
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
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
Katelyn Baker
bbc80429be
Merge pull request #3072 from corda/kat/feature/amqp-rpc
CORDA-847 - AMQP RPC
2018-05-17 13:54:43 +01:00
Kat Baker
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
Kat Baker
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
Chris Rankin
d09e9383e6
Fix build breakage with Gradle 4.7. (#3178) 2018-05-17 12:50:46 +01:00
josecoll
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
Anthony Keenan
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
Patrick Kuo
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
Joel Dudley
cb882ad694
Removes outdated information from scheduling tutorial. (#3175) 2018-05-17 09:09:07 +01:00
Michal Kit
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
josecoll
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
Tudor Malene
8e934df217
Fix db transaction check (#3164) 2018-05-16 15:55:51 +01:00
Thomas Schroeter
3d50e73271 Add configuration notary.serviceLegalName for clustered notaries 2018-05-16 15:19:14 +01:00
Patrick Kuo
573210486d
snapshot should be all uppercase (#3123) 2018-05-16 14:40:47 +01:00
Andrzej Cichocki
65b782c206
ENT-933 Add spectator and participant profiles of rigorousMock (#3157) 2018-05-16 13:56:41 +01:00
Andras Slemmer
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
Andras Slemmer
3392c15c0b CORDA-1491: Use MessagingExecutor for deduplication ACK codepath 2018-05-16 12:21:29 +01:00
Katarzyna Streich
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
Joel Dudley
0c38a63486
Update generating-a-node.rst 2018-05-15 17:37:09 +01:00
Joel Dudley
502088d798
Update generating-a-node.rst 2018-05-15 17:36:17 +01:00
josecoll
3f2e653f01
Update references to point to new repo and remove other redundant references. (#3151) 2018-05-15 17:09:50 +01:00
Shams Asari
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
Mike Hearn
7da0bcd741 Docs: simplify design review process doc and link into toctree. 2018-05-15 16:59:35 +02:00
Mike Hearn
75b621bdce Docs: improve appearance of notary service HA doc. 2018-05-15 16:59:35 +02:00
Mike Hearn
7b26f4ecb4 Docs: import notary service HA doc. 2018-05-15 16:59:35 +02:00
Mike Hearn
987875d600 Docs: improve the appearance of monitoring and management 2018-05-15 16:59:35 +02:00
Mike Hearn
c7bfc8f655 Docs: import monitoring and management 2018-05-15 16:59:35 +02:00
Mike Hearn
9868a18361 Docs: improve appearance of the Kafka design doc. 2018-05-15 16:59:35 +02:00
Mike Hearn
3a80cdfb68 Docs: Import kafka notary design doc. 2018-05-15 16:59:35 +02:00
Mike Hearn
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
Mike Hearn
b2c28cb523 Docs: import hadr design doc. 2018-05-15 16:59:35 +02:00
Mike Hearn
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
Mike Hearn
9cf06dff10 Docs: add float design doc, as is. 2018-05-15 16:59:35 +02:00
Mike Hearn
1895872307 Docs: improve rendering of "failure detection and master election" 2018-05-15 16:59:35 +02:00
Mike Hearn
7b6284c504 Docs: add design doc "failure detection and master election" 2018-05-15 16:59:35 +02:00
Mike Hearn
534863fb7c Minor: rename directory for cert hierarchies doc to remove JIRA ref. 2018-05-15 16:59:35 +02:00
Mike Hearn
6ff91cadca Docs: add a note to the top of the cert hierarchies design doc.
Enable AutoStructify in ReCommonMark to allow rst/md to be mixed.
2018-05-15 16:59:35 +02:00
Mike Hearn
da01312ab6 Docs: adjust the certificate hierarchy design doc to render better in sphinx. 2018-05-15 16:59:35 +02:00
Mike Hearn
3baf27bbc7 Docs: bring certificate hierarchy design doc across into the open repo. 2018-05-15 16:59:35 +02:00