Katelyn Baker
222c5b9db8
CORDA-943 - Fix trader demo
...
This is a multi issue problem
1. Fingerprinting of generics treats <T> and <?> differently, forcing
the evolver to be used when not needed
2. However, the evolver is required sometimes as generics are not
guaranteed to fingerprinting bi-directionally (thanks to type erasure of
deeply nested generic types). However, with serialization now writing
properties in a specific order, we need to ensure they're read back in
that order before applying them to an evolved constructor so as to
not corrupt the object reference cache
2018-01-31 14:58:00 +00:00
Matthew Nesbit
ceff50d656
Refactor location of bridge code to allow out of process bridging ( #2431 )
...
Fix some issues Andras has seen
2018-01-30 16:29:59 +00:00
Joel Dudley
2d557d04b4
Minor rewrites. Better documentation of granting RPC permissions to RPC users.
2018-01-30 16:06:20 +00:00
Mike Hearn
d6f9721cb8
Docs: move serialisation into the CorDapp section. Fix some markup issues ( #2429 )
...
* Docs: move serialisation into the CorDapp section. Fix some markup issues.
* Address review comments
2018-01-30 10:59:03 +01:00
Patrick Kuo
685ab4c9b0
Add trace logging to network map client ( #2424 )
...
* Add trace logging to network map client
* Add trace logging to network map client
* address PR issue
* address PR issue
2018-01-29 17:44:28 +00:00
Patrick Kuo
28e29c0873
Fix path issue which causes windows build failure. ( #2430 )
2018-01-29 17:43:48 +00:00
James Brown
9ca63d173d
Update OWASP dependency checker to latest working version
2018-01-29 18:36:51 +01:00
Patrick Kuo
93054a9590
Add cmdline option for network root truststore and password ( #2407 )
...
* add cmdline option for network root truststore and password, instead of using node's truststore configuration to avoid confusion.
* revert line auto format
* fix failing integration test
* address PR issue
2018-01-29 13:43:16 +00:00
Joel Dudley
4851d9ca6a
Documents rationale for using cordapp, cordaRuntime and cordaCompile Gradle configs.
2018-01-29 12:42:31 +00:00
Andras Slemmer
37e207eaf3
Merge pull request #2271 from corda/aslemmer-fix-irsdemo
...
Fix non-visible IRS demo bug
2018-01-29 11:03:08 +00:00
Rick Parker
e19f51d9ac
CORDA-959 Filter unschedules and remove database activity from inside mutex. ( #2426 )
...
* Filter unschedules and remove database activity from inside mutex.
* Race condition fix
* Bug fix
2018-01-26 17:44:42 +00:00
Thomas Schroeter
4257891c98
Revert "Raft Notary: remove snapshotting" ( #2423 )
...
This reverts commit cf33be66ff
.
2018-01-26 16:23:59 +00:00
Andras Slemmer
fca3d565ac
Add 'Regulator' node for AutoOfferFlow, fixing IRS
2018-01-26 14:29:35 +00:00
Andras Slemmer
58f76ee2da
Put IRS spring whatever back on classpath
2018-01-26 11:21:38 +00:00
Andrius Dagys
e357a88181
Deprecate TimeWindowChecker, make TimeWindowInvalid report exact current time and transaction time window ( #2280 )
...
* Make notary service return the current time and the transaction time window
along with the TimeWindowInvalid error.
Deprecate TimeWindowChecker.
Add a static method for validating transaction time window to reduce code duplication.
2018-01-26 09:32:11 +00:00
Andras Slemmer
69bfc9b437
Comment out lines breaking IRS demo
2018-01-25 19:59:24 +00:00
Matthew Nesbit
0ff9c9e2e3
Move to message based bridge control protocol ( #2410 )
...
Tidy up
Remove dead RPCSecurity logic from ArtemisMessageServer
Address PR comments
Address PR comments
2018-01-25 17:53:34 +00:00
Joel Dudley
b8f25fe689
Docs on contributing to Corda
2018-01-25 17:15:36 +00:00
Mike Hearn
17a6f61eba
Simplify CashTests and add some comments/convenience APIs to MockServices ( #2241 )
2018-01-25 16:29:26 +01:00
Andrzej Cichocki
242d9cf7ad
CORDA-692 Don't include internal packages in API documentation ( #2415 )
...
* Use G1 for gradle daemon
2018-01-25 15:26:13 +00:00
Joel Dudley
471907366b
Renames Controller to NetworkMapAndNotary, in line with templates and example CorDapp.
2018-01-25 15:14:32 +00:00
josecoll
371cb0a081
Gradle plugins: additional of publish sources configuration field ( #2420 )
...
* Gradle plugins change: publication of source code is config driven (defaults to true).
2018-01-25 14:40:11 +00:00
Michele Sollecito
9783f11ba8
Exposed RPC SSL settings through Cordformation ( #2419 )
2018-01-25 14:32:58 +00:00
jamesbr3
5f8af818b1
Merge pull request #2408 from corda/jamesbr-remove-jolokia-war
...
Remove jolokia war reference from webserver
2018-01-24 21:19:50 +00:00
Shams Asari
0fa6969d5d
Added various X509 utilities to remove some of the existing boilerplate. ( #2416 )
2018-01-24 18:07:29 +00:00
Katelyn Baker
3c95772288
Merge pull request #2418 from corda/kat/feature/gradleUpgrade4.4.1
...
Upgrade gradle to 4.4.1
2018-01-24 17:29:03 +00:00
Joel Dudley
52ae34782d
Removes a reference to the bundled node webserver.
2018-01-24 16:41:49 +00:00
Katelyn Baker
51d6209c97
Upgrade gradle to 4.4.1
2018-01-24 16:15:43 +00:00
Mike Hearn
cfb8997f23
Fix build break due to an API change between PR check and merge
2018-01-24 17:14:03 +01:00
Ben Wyeth
d17670c747
Provide an API to register callback on app shutdown ( #2402 )
...
Provide an API to register callback on app shutdown.
2018-01-24 16:19:24 +01:00
Michele Sollecito
3c0e006456
Reverted incorrect additional advertised RPC address in NodeInfo ( #2417 )
2018-01-24 14:42:07 +00:00
Shams Asari
61c7de22d6
Replaced KeyStoreWrapper with X509KeyStore, which is still a wrapper but assumes only X509 certs and has better APIs ( #2411 )
2018-01-24 07:51:55 +00:00
Joel Dudley
5df50c0e81
Fixes a bug in the deserialisation of UniqueIdentifiers in the CRaSH shell.
2018-01-23 17:28:24 +00:00
Michele Sollecito
142f52fa82
[CORDA:936]: Enable RPC layer to work with SSL
2018-01-23 16:23:37 +00:00
Anthony Keenan
70f1fdeb2b
CORDA-939 Make SerializationEnvironmentRule.env private so as not to expose internals. ( #2404 )
...
* Make SerializationEnvironment private so as not to expose internals.
* Only expose used parts of api
* Make properties lateinit
* Removing java calls to getEnv
* Initialise properties at declaration
* Tidy up imports
2018-01-23 14:42:30 +00:00
James Brown
8de2c78dd2
Remove jolokia war reference from webserver
2018-01-22 16:21:28 +00:00
Joel Dudley
443afb3515
Rethrows a clearer error message when a test tx in a test ledger does not create a valid tx.
2018-01-22 16:08:26 +00:00
josecoll
c8e55ae086
Backported fix. ( #2399 )
2018-01-22 14:32:04 +00:00
Austin Moothart
642b298d23
AWS marketplace getting started docs
2018-01-22 14:27:35 +00:00
Christian Sailer
8d5611853a
CORDA-929 Attachment caching ( #2372 )
...
* ENT-1403 Cache node attachments (and attachment content)
* ENT-1403 Make cache sizes configurable
* Update documentation with new config parameters
* Test that non-existence of attachments is not cached
* Remove unneeded defaults in interface
* It turned out we need the defaults on the interface in quite a few tests
* Codereview: typos, size in MB rather than bytes, charset in tests, move concurrencyLevel to a constant
* Codereview: Make the internal config value bytes again, but config file in MB
* Fix example config unit test
2018-01-22 13:41:06 +00:00
Michal Kit
4a3379ac8a
CORDA-937 adding node key pair to utility/testing methods ( #2405 )
2018-01-22 13:06:22 +00:00
Andrzej Cichocki
1fc646cfa8
CORDA-716 Move test-utils and node-driver to stable API section in docs ( #2335 )
...
* Move test-utils and node-driver to stable section.
* Move FlowStackSnapshotFactory to testing.services package & update docs
* Move SerializationTestHelpers to testing.core package
* Move TestConstants.kt to core namespace
* Move Expect.kt to core namespace
* Move CoreTestUtils to core.TestUtils - rename class and update imports
* Added some clarification to documents after re-reading them
* Added static imports
* Removing unused import
* Fix merge conflict
* Fixing merge conflict
2018-01-22 11:28:41 +00:00
Andrzej Cichocki
d00438b86f
Fix MockNetwork non-daemon thread leak. ( #2397 )
2018-01-22 11:00:40 +00:00
szymonsztuka
f59560bb06
Database schema changes. ( #2389 )
...
Changes compatible with R3.Corda (ENT-794):
1) Added Hibernate corda-wrapper-binary two to to columns.
2) Shorten names of tables in dummy schemas used in tests.
3) Undo removal of compound index of VaultTxnNote (b423fea
).
4) Assertions for 2 vault tests don't rely on order of rows.
2018-01-19 17:09:02 +00:00
Mike Hearn
ac7637e2b4
Revert "CORDA-599 RPCSecurityManager is no longer lateinit ( #2347 )"
...
This reverts commit 75e74e67a1
.
2018-01-19 17:52:59 +01:00
Joel Dudley
cfc5c6709a
Fixes formatting.
2018-01-19 13:43:17 +00:00
Joel Dudley
87b00fde7d
Better instructions for building against master.
2018-01-19 11:47:19 +00:00
Anthony Keenan
35f89e03ea
Abstract InMemoryMessaging behind an interface so as not expose net.corda.nodeapi.internal.persistence.CordaPersistence in public API ( #2390 )
2018-01-19 10:57:08 +00:00
cburlinchon
de4c062529
Node restarted with shutdown executor ( #2391 )
...
* Test for node restart
* Executor gets shutdown on stop, make sure we have one on start
* Reset shutdown otherwise AbstractNode.stop never gets called
2018-01-19 10:19:12 +00:00
Joel Dudley
7427d63bbc
Prevents checkSignatures from failing if tx also contains unrecognised sigs.
2018-01-18 18:08:22 +00:00