Commit Graph

5614 Commits

Author SHA1 Message Date
Shams Asari
adef57f127
Including FlowException in the RPC exception whitelist (CORDA-1264) ()
These exceptions are designed to be propagated in P2P and so makes sense to keep them visible if the recipient is an RPC user.
2018-05-01 07:48:50 +01:00
Shams Asari
42edf58b92
Introducing AbstractArgsParser which removes the boilerplate of printing help and exiting the process on cmd line errors. () 2018-04-30 22:22:51 +01:00
Joel Dudley
09a35f8e68
Splits node structure from node creation. Tweaks. () 2018-04-30 15:19:59 +01:00
Joel Dudley
79cbaf8adf
Makes it clear that notaries are clusters or 1+ nodes. 2018-04-30 14:58:13 +01:00
PyPie
beef7bdfba A typo fix.
Line 108
Was: We want to create an IOU of 100 with PartyB. We start the ``IOUFlow`` by typing:
Should be We want to create an IOU of 99 with PartyB. We start the ``IOUFlow`` by typing:
2018-04-30 13:54:14 +01:00
Chris Rankin
d039ede537
Configure Gradle's wrapper task. () 2018-04-30 12:47:04 +01:00
Shams Asari
0a8043ccc4
CORDA-1261: Document bootstrapping cannot use the same H2 port () 2018-04-30 11:05:57 +01:00
jamesbr3
32b57feaa0 Update jolokia to 1.5.0 ()
* Update jolokia to 1.5.0

* adding jolokia update to changelog
2018-04-30 10:24:08 +01:00
Michal Kit
ab80df342a
CORDA-1319 Adding CRL checking for nodes ()
* Adding CRL support for nodes

* Addressing review comments
2018-04-30 09:26:26 +01:00
bpaunescu
c3e6b39e59
artemis upgrade to 2.5.0 () 2018-04-27 19:54:08 +01:00
Viktor Kolomeyko
0cbfab9214
CORDA-1335: Move DistributedServiceTests into a separate package to reduce size of attachments produced. () 2018-04-27 16:47:01 +01:00
szymonsztuka
6e7787bd64
Better login missing cash selection implementation. ()
* When a cash selection implementation cannot be found for a driver name, print the driver name  and also driver names with implementation (available).
* Remove MySQL stub class as it would be misleading in error logs (MySQL would appear as implemented).
2018-04-27 16:06:56 +01:00
Andrius Dagys
efd203e5f3
ENT-1540: Make sure transactions with "expired" time windows get re-notarised correctly ()
* ENT-1540: Make sure transactions with "expired" time windows get re-notarised correctly.

Currently the time window is checked before states are being passed to a uniqueness provider. If the time window is
invalid, the transaction will be rejected even if it has already been notarised, which violated idempotency.

For this reason the time window verification was moved alongside state conflict checks.

* Update API - this only affects custom notary interfaces
2018-04-27 15:02:09 +01:00
josecoll
6b78ee8c14
Fix incorrect imports. () 2018-04-27 11:52:51 +01:00
Joel Dudley
0f310dd966
Updates withoutIssuer to not strip display token size. 2018-04-27 10:26:47 +01:00
Maksymilian Pawlak
b210f7ab0b
DB test using transaction with rollback rather then recreating whole DB ()
VaultQuery tests wrapped inside transaction which gets rolled back rather then recreating DB from scratch for each test
Moved Missing schema test to separate class, as it modifies global test class state
2018-04-27 09:52:25 +01:00
Michele Sollecito
235df69efe
[CORDA-1379]: Allow soft trapping of unknown config keys. () 2018-04-27 15:33:13 +07:00
Joel Dudley
efa69ce959
Whitelists Triple. 2018-04-27 08:57:28 +01:00
Anthony Keenan
aecde00365
CORDA-1001 Remove unused bits of PersistentMap ()
* Remove unused bits of PersistentMap

* Add persistent map tests

* Reivew comments
2018-04-26 21:58:01 +01:00
Patrick Kuo
99129c1141
Merge pull request from corda/pat/explorer-networkview-bugfix
[Bug fix] - explorer doesn't remove node from network view.
2018-04-26 16:52:21 +01:00
Michele Sollecito
033fc3cf7b
[CORDA-1342]: The shell doesn't print the return value of a started flow - fixed. () 2018-04-26 22:51:23 +07:00
josecoll
b208d03f5c
Corda Behave: compendium of minor changes and improvements ()
* Compendium of minor changes and improvements:
- build fat behave-jar so can run scenarios from shell scripts (from TC)
- additional run script to execute basic scenarios (for TC)
- default staging path shortened to "corda" (removed deps)
- toned down logging (info -> debug)
- fixed all compiler warnings
- fixed couple of bugs in startup checking steps
- base scenarios use variables declared using Examples parameterization

* Added missing braces

* Changes to address PR feedback.

* Mark underlying Cucumber libraries for future de-coupling.
2018-04-26 16:13:34 +01:00
Joel Dudley
22d5967b9e
Adds setting the PATH environment variable to the set-up instructions. 2018-04-26 15:50:17 +01:00
Katarzyna Streich
cde701ab10
Add docs on private networks config and endpoint ()
Add docs on private networks config and endpoint
2018-04-26 14:26:37 +01:00
Thomas Schroeter
2ff3939e2e
Add exponential backoff to P2P messaging retry () 2018-04-26 13:58:41 +01:00
josecoll
5dc71fc350
Behave: use existing Core common utility functions for Logger creation and Ti… ()
* Use existing Core common utility functions for Logger creation and Time durations.

* Updated JUnit tests.
2018-04-26 13:40:37 +01:00
Patrick Kuo
1b31574512 [Bug fix] - explorer doesn't remove node from network view. ()
(cherry picked from commit eb5b03e)
2018-04-26 13:23:16 +01:00
Andrius Dagys
7ad19af93f
CORDA-1353: Notaries should reject transactions that contain too… ()
CORDA-1353: Notaries should reject transactions that contain too many inputs. Otherwise, it may cause a slowdown or make the service hang.
2018-04-25 17:29:19 +01:00
Konstantinos Chalkias
f89b3b3e0f
Update license year to 2018 () 2018-04-25 14:47:32 +01:00
Shams Asari
e09fc60294
Improved error message on net parameters mismatch during node startup () 2018-04-25 14:33:07 +01:00
Joel Dudley
486441c383
Changes flow tests used in flow testing tutorial to use MockNetwork instead of InternalMockNetwork. 2018-04-25 13:53:22 +01:00
Andras Slemmer
88c12791a8
Merge pull request from corda/CORDA-1368/aslemmer-transaction-wait-dbcommit
CORDA-1368: Add flow-id to MDC, small fix in DBTransactionStorage
2018-04-25 13:02:10 +01:00
Joel Dudley
8ce05e0ae3
Updates diagram to correctly show chain-walking process. 2018-04-25 12:54:57 +01:00
Andras Slemmer
29dbe6ab53 Add flow-id to MDC 2018-04-25 10:36:50 +01:00
Andras Slemmer
f1da044c86 Remove double wrap 2018-04-25 10:36:40 +01:00
Mike Hearn
4cfb1606da
Minor: document the h2port option () 2018-04-25 10:38:59 +02:00
Chris Rankin
3fb3371d52
Upgrade DemoBench to TornadoFX 1.7.15 (for Kotlin 1.2). () 2018-04-24 19:50:43 +01:00
Konstantinos Chalkias
03fb9d4be2
CORDA-1354 Check for jars in nested folders (to add in classpath) ()
+ edge cases (logging if we don't have permission to jar folders)
2018-04-24 18:43:07 +01:00
Chris Rankin
5f70b6e049
Upgrade to corda-gradle-plugins 4.0.14 () 2018-04-24 15:50:38 +01:00
Chris Rankin
8e507d0b88
CORDA-1263: Replace deprecated kotlin-stdlib-jre8 with kotlin-stdlib-jdk8. () 2018-04-24 14:03:41 +01:00
Shams Asari
65525d74e7
CORDA-1325: Bootstrapper unable to whitelist two versions of the same contract simultaneously ()
Also added unit tests
2018-04-24 10:51:24 +01:00
Andras Slemmer
10c559a3f3
Merge pull request from corda/aslemmer-cherry-7759fdbb71ea9b2021afd8af0ac05447c5305b3a
cherry-pick 7759fdbb71ea9b2021afd8af0ac05447c5305b3a
2018-04-24 10:33:22 +01:00
Chris Burlinchon
b0d2a258c0 cherry-pick 7759fdbb71ea9b2021afd8af0ac05447c5305b3a 2018-04-24 09:36:57 +01:00
bpaunescu
c4ceca3787
Merge pull request from corda/ENT-1775-PR759
ENT-1775: reworked client to handle failover in HA mode instead of Artemis
2018-04-23 17:15:00 +01:00
Andras Slemmer
640e5c6088
Merge pull request from corda/CORDA-1334/aslemmer-enterprise-smm-port
CORDA-1334: port enterprise statemachine
2018-04-23 16:42:10 +01:00
Andras Slemmer
6bf34ed5c7 Fix bugs 2018-04-23 15:36:16 +01:00
Andras Slemmer
5b4fd6fe64 Address comments 2018-04-23 15:36:16 +01:00
Rick Parker
57caf9af28 Cherry pick 34f8719363 2018-04-23 15:36:16 +01:00
Andras Slemmer
19dad6da96 Add back deprecated functions 2018-04-23 15:36:16 +01:00
Andras Slemmer
ce5fb66260 StateMachine rewrite 2018-04-23 15:36:16 +01:00