Commit Graph

5866 Commits

Author SHA1 Message Date
accb9eb5b3 Remove mutex and stop catching deadlock / SQLExceptions. (#3242)
SQL Exceptions thrown with Cash Selection are now retried via Flow Hospital
2018-05-29 12:15:06 +01:00
78c759e2e6 Resolve compiler warnings for Kotlin >= 1.2.40. (#3245) 2018-05-28 18:06:33 +01:00
7d69bc664a [CORDA-1297] Columns nullability (#3112)
JPA/Hibernate entities need to impose the correct NULL/NOT NULL constraints on the database - whatever these correct values actually are.
API change: net.corda.core.schemas.PersistentStateRef fields (index and txId) are now non-nullable. Rationale: The fields were always effectively non-nullable - values were set from non-nullable fields of other objects. The class is used in context of database table Primary Key of for other entities and a database already imposes those columns as non-nullable (even if JPA annotation nullable=false was absent).
2018-05-25 19:03:24 +02:00
380ab22917 Update contributors (#3241)
changed Guy Hochstetler org from IBM to R3
2018-05-25 17:48:56 +01:00
8504b65e7b ENT-1933: make NetworkParameters serialization compatible (#3234)
* ENT-1933: make NetworkParameters serialization compatible
2018-05-25 17:14:00 +01:00
d772bc8b7f Added back support for parsing OpaqueBytes as UTF-8 strings in JacksonSupport (#3240) 2018-05-25 17:07:19 +01:00
a63e08d94c Add example in docs for node SSH server port configuration option. (#3236) 2018-05-25 17:38:34 +02:00
5e14277770 Add back import. (#3237) 2018-05-25 15:47:01 +01:00
59fdb3df67 CORDA-1475 CORDA-1465 Allow flows to retry from last checkpoint (#3204) 2018-05-25 13:26:00 +01:00
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
a3d88f752d CORDA-1510 - Allow Doorman and NetworkMap to be configured independently (#3220)
* CORDA-1510 - Allow Doorman and NetworkMap to be configured independently

Currently only one compatabilityZoneURL can be specified, however the
two services can be run on as separate servers. Allow nodes to be
configured in this manner

* Partial review comments

* Review comments

* review comments
2018-05-25 11:37:20 +01:00
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
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
15b262f25f Remove default value for myLegalName (#3230) 2018-05-24 17:37:43 +01:00
2e72f784f1 Late start bridges (unless configured otherwise) if the queue is empty. (#3227) 2018-05-24 16:54:09 +01:00
7ff008d4e3 Prevent bridge reconnection attempts on targets that present invalid/misconfigured/different certificates to protect nodes from dead identities. (#3225) 2018-05-24 16:53:09 +01:00
52eef5da5b Replace timestamp with time-window (#3211) 2018-05-24 16:06:33 +01:00
d1e147b1c1 [CORDA-1638]: Audit log of failed transactions MVP. (#3231) 2018-05-24 16:06:14 +01:00
4adc0380a2 CORDA-1496 Add api-scanner documentation (#3184)
Add api-scanner documentation
2018-05-24 15:43:58 +02:00
645163e9cc Fixing node keys bullet points (#3207) 2018-05-24 14:30:36 +01:00
61fedb5fd2 [CORDA-1528]: Node configuration not containing property "rpcSettings.address" fails with error "No configuration setting found for key 'address'" (fix). (#3229) 2018-05-24 13:20:04 +01:00
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
76918de656 ENT-1903: Isolate the WeakHashMap reference. (#3221) 2018-05-23 20:09:57 +01:00
356b22fa44 Expands contributing page to include guidelines. (#3218) 2018-05-23 17:10:23 +01:00
1083e28343 ENT-1882: Don't remove own node info - fix (#3219)
* ENT-1882: Don't remove own node info

Don't remove own node info from cache on network map update.
2018-05-23 16:33:08 +01:00
941adb0a75 Update CONTRIBUTORS.md 2018-05-23 15:39:36 +01:00
1137a0cc8f [CORDA-1458]: Prevent passwords from being logged as part of node's configuration. (#3223) 2018-05-23 13:51:40 +01:00
c3de65a545 Update tutorial-attachments.rst 2018-05-23 13:44:28 +01:00
48f89e9ff8 [CORDA-1526]: Ensure MDC is printed in logs only if not empty. (#3222) 2018-05-23 13:23:02 +01:00
9b01ef77c6 Clarifies that only stable H2 releases should be used. 2018-05-23 11:21:58 +01:00
093be1b88c Using a List for the identity certs in InMemoryIdentityService and PersistentIdentityService (#3210) 2018-05-23 10:14:13 +01:00
57fce1dd16 Docs: Add a section on what data is visible to notaries (#3159) 2018-05-23 08:59:58 +01:00
c943a4d46b Moves whitepapers. (#3217) 2018-05-22 15:38:43 +01:00
cba83aca13 Move RxNotification serializer into the serialization package (#3214) 2018-05-22 15:17:18 +01:00
072cf0fa97 Enabling logging in ExceptionSerialisingRpcOpsProxy. (#3212) 2018-05-22 13:37:09 +01:00
fb70c4b69c Marked createComponentGroups as @CordaInternal (#3193) 2018-05-22 11:38:56 +01:00
c2c792eccf Silence SASL exception (#3208) 2018-05-22 11:25:31 +01:00
48b126321b Reverting API breaking change in PermissionException. (#3209) 2018-05-22 09:48:29 +01:00
bff419e9af Corda-1505 catch connection failure exception and re-throw as RPCException (#3203)
* CORDA-1505: catch connection failure exception and rethrow as RPCException

* CORDA-1443: remove incorrect import

* CORDA-1443: fix some failing tests

* CORDA-1505: fix broken CordaRPCClient test

* fix tests

* CORDA-1505: catch connection failure exception and rethrow as RPCException

* CORDA-1443: remove incorrect import

* CORDA-1443: fix some failing tests

* CORDA-1505: fix broken CordaRPCClient test

* fix tests

* CORDA-1505: changed exception handling to RPCException

* CORDA-1505: changed exception handling to RPCException
2018-05-21 18:01:31 +01:00
f0db76d854 Re-enabled commented out test and fixed warnings in Finance. (#3206) 2018-05-21 17:00:30 +01:00
f7f45477ca Update CONTRIBUTORS.md 2018-05-21 16:39:55 +01:00
cda5a6a8f2 add RPC client examples of connection management (#3201) 2018-05-21 13:39:38 +01:00
5de2c2aa4b [CORDA-1264}: Complete obfuscation of exceptions to client side. (#3155) 2018-05-21 13:34:37 +01:00
b0b36b5b7d Merge pull request #3013 from corda/corda-platform-whitepaper
New Platform Intro Whitepaper
2018-05-21 12:51:31 +01:00
5b6d5e766b One individual removed from list upon request (#2602) 2018-05-21 13:47:43 +02:00
4d8ea047d5 Add extraConfig example. (#3185) 2018-05-21 12:42:23 +01:00
3ffbbf8087 Added favicon to docs.corda.net (#3199)
* Added favicon to docs.corda.net

* docs.corda.net favicon path fix
2018-05-21 11:49:56 +01:00
455221629b CORDA-1343 Make the RPCClient ssl constructors public. Clean up broke… (#3039)
* CORDA-1343 Make the RPCClient ssl constructors public. Clean up broker authentication logic

* CORDA-1343 small fix

* CORDA-1343 cleanup

* CORDA-1343 fixed api changes script

* CORDA-1343 fixed merge

* CORDA-1343 removed unused property

* CORDA-1343 add separate p2p and rpc node users

* CORDA-1343 remove test configuration

* CORDA-1343 fix tests

* CORDA-1343 address core review comments

* CORDA-1343 some documentation and adding createWithSsl method for a haAddressPool

* CORDA-1343 clean up the CordaRPCClient interface

* CORDA-1343 add internal shell test

* CORDA-1343 address code review comments

* CORDA-1343 split the internalShell user from the System Rpc user

* CORDA-1343 fix test

* CORDA-1343 Add warning when certificateChainCheckPolicies is being configured

* CORDA-1343 Address code review changes

* CORDA-1343 fix merge

* CORDA-1343 added test, docs, clarify comments

* CORDA-1343 clean up docs

* CORDA-1343 fix api

* CORDA-1343 fix merge

* CORDA-1343 fix merge

* CORDA-1343 fix merge

* CORDA-1343 fix merge
2018-05-21 13:05:08 +03:00
fc88cefbc8 CORDA-1288 Node properties can be set as system properties. (#3172) 2018-05-21 10:55:44 +01:00
8990e9f783 Merge pull request #3170 from corda/CORDA-1459
Corda 1459
2018-05-21 10:45:29 +01:00