Mike Hearn
409b4e2a42
Minor: make the trace logging for the RPC server a bit more helpful.
2018-08-23 13:12:18 +02:00
Mike Hearn
785bae9e48
Minor: add a missing kdoc for InsufficientBalanceException
2018-08-23 13:12:18 +02:00
Mike Hearn
626b3e6bd3
Minor: make the :node:capsule:build task depend on buildCordaJAR
2018-08-23 13:12:18 +02:00
Mike Hearn
8ed600a2c3
Minor: fix visual regression during startup.
2018-08-23 13:12:18 +02:00
Mike Hearn
b3433c2a46
Minor: reformat SerializerFactory.kt
2018-08-23 13:12:18 +02:00
Chris Rankin
040de41e27
CORDA-1925: Include Requirements object in core-deterministic. ( #3841 )
2018-08-23 10:08:20 +01:00
Michele Sollecito
57e188a5a8
Disabled allWarningsAsErrors
for compilation and failFast
for tests locally, after TC was updated to override them to enabled. ( #3838 )
2018-08-23 09:57:05 +01:00
Anthony Keenan
bcfadfeebf
CORDA-1833: Create a picocli base class ( #3826 )
...
* Add shell extensions to CLI utils class and move into its own module
* Fix issue with completion script generation and slight refactor
* Fix autocompletion for logging level
* Delete uneeded comment
* More tidying up
* Make run function final
* Fixed an issue with the program being run twice.
* Address review comments
2018-08-22 21:51:25 +01:00
PokeyBot
98eef2f960
Merge pull request #3840 from corda/feature/vkolomeyko/CORDA-1878
...
CORDA-1878: Improve exception handling when base directory is not readable or writable by the application user.
2018-08-22 17:31:52 +01:00
PokeyBot
d9ab141c47
Merge pull request #3837 from corda/feature/fix-is-relevant-in-cash-selection
...
Fix "isRelevant" functionality - fix is_modifiable column condition in cash selection.
2018-08-22 16:30:50 +01:00
Tommy Lillehagen
d2ef16cbfd
Deterministic JVM ( #3386 )
...
* CID-251 - Deterministic JVM
* CID-251 - Add DJVM documentation
* CID-251 - Address review comments from @chrisr3
* CID-251 - Address further review comments from @chrisr3
* CID-251 - Use shadowJar to generate fat JAR
* CID-251 - Address review comments from @exFalso
* CID-251 - Improve naming in ReferenceMap
* CID-251 - Add test for Kotlin meta-class behaviour
* CID-251 - Address review comments from @shamsasari
* CID-251 - Add description of high-level flow
* CID-251 - Refactoring
* CID-251 - Rename package to net.corda.djvm
* CID-251 - Include deterministic-rt.jar as runtime dependency
* CID-251 - Add Gradle task for generating whitelist from deterministic rt.jar
* CID-251 - Error messages for StackOverflow/OutOfMemory, update whitelist
* CID-251 - Reduce set definition of pinned classes
* CID-251 - Tidy up logic around pinned classes
* CID-251 - Shade ASM dependency and split out CLI tool
* CID-251 - Address review comments from @mikehearn (part 1)
* CID-251 - Address review comments from @mikehearn (part 2)
* CID-251 - Address review comments from @mikehearn (part 3)
* CID-251 - Address review comments from @exFalso
* CID-251 - Address review comments from @mikehearn (part 4)
* CID-251 - Address review comments from @exFalso and @mikehearn
* CID-251 - Address review comments from @mikehearn (part 5)
2018-08-22 16:01:39 +01:00
Viktor Kolomeyko
feaf6aa03c
CORDA-1878: Improve exception handling when base directory is not readable or writable by the application user.
2018-08-22 15:55:52 +01:00
Rick Parker
30d07bc998
ENT-2202 Fold transaction mapping column into transactions table ( #3836 )
...
* ENT-2202 Fold transaction mapping column into transactions table
* Remove from node schema.
* Fix bug.
2018-08-22 14:14:55 +01:00
szymonsztuka
32a4a8712a
Fix "isRelevant" functionality - fix is_modifiable column condition in cash selection.
2018-08-22 13:38:17 +01:00
Florian Friemel
2fae95c58f
[CORDA-1917] Fix smoke test ( #3823 )
2018-08-22 13:16:07 +01:00
Chris Rankin
004ea45a05
Ensure that every CheatingSecurityProvider has a unique name. ( #3835 )
2018-08-22 11:09:52 +01:00
Rick Parker
1d05c16942
ENT-2439 Fix compression in serialization ( #3825 )
...
* ENT-2439 Fix compression in serialization
2018-08-22 10:37:18 +01:00
Matthew Layton
96d645c316
series0ne/corda-demobench-node-config-fix
...
Fixes an issue where profiles don't load because the node.conf format has changed between V1 and V3
2018-08-22 11:03:45 +02:00
Michele Sollecito
f94abf726b
Fixing exception messages not showing up in the console because of log4j2.xml setup. ( #3830 )
2018-08-21 21:28:13 +01:00
Florian Friemel
41fc8d6c55
Remove BFTSMaRtTests. ( #3822 )
2018-08-21 13:02:18 +01:00
PokeyBot
f299305e8d
Merge pull request #3809 from corda/mike-sig-constraints-dd
...
Add a design doc for signature constraints.
2018-08-20 17:13:17 +01:00
PokeyBot
c8a9395426
Merge pull request #3814 from corda/thomas/fix-jib-build
...
Cleanup Jib build task
2018-08-20 16:33:34 +01:00
Thomas Schroeter
7082e68409
Cleanup the Jib build task
2018-08-20 15:13:55 +01:00
Rick Parker
2f76651d00
ENT-2378 ENT-2377 Minimise database access during transaction creation and recording for public key handling ( #3812 )
...
* ENT-2378 ENT-2377 minimise database access by making more use of caches for filterMyKeys, and don't make a redundant database check for existence of new random keys.
* ENT-2378 Unit test for new method in PersistentIdentityService.
2018-08-20 15:01:51 +01:00
Chris Rankin
ff62df8d5a
CORDA-1907: Allow Corda's shell to deserialise using generic type information. ( #3810 )
2018-08-20 13:22:07 +01:00
Ivan Schasny
9bb9c6ae30
Merge pull request #3727 from corda/improved-error-message-for-missing-suspendable-cases
...
Added more descriptive error message for the cases when a transaction…
2018-08-20 13:18:26 +01:00
Thomas Schroeter
88dd6a2888
Fix Jib build ( #3811 )
2018-08-20 13:08:58 +01:00
Ivan Schasny
d0ecab0781
Added more descriptive error message for the cases when a transaction context is missing from the flow state machine
2018-08-20 08:31:35 +01:00
Chris Rankin
494661cc0c
CORDA-1905: Extend JSON deserialisation to handle Amount<T> for any T. ( #3790 )
...
* Extend JSON deserialisation to handle Amount<T> for any T.
* Rewrite message for @Deprecated.
2018-08-17 17:20:26 +01:00
Joel Dudley
4634283665
Azure OS testnet instructions - minor changes ( #3777 )
...
* Formatting.
* Further formatting.
* Updates Azure instructions for OS testnet nodes.
2018-08-17 16:59:52 +01:00
Joel Dudley
5d39f2bb46
Better docs of CorDapp structure and node interaction ( #3761 )
...
* Clean-up. Instructions on how template would be modified for production.
* Change page titles to make it clearer make they contain.
* Simple example of how to connect to node via RPC. Explanation of how to interact with node via RPC.
* Bigger warning about deprecated webserver. Makes it clear that CordaRPCClient is THE way to interact with a node.
* Review from Clinton.
* Separating template info from general info.
2018-08-17 16:52:56 +01:00
Mike Hearn
e8a1564429
Add a design doc for signature constraints.
2018-08-17 16:09:46 +02:00
Chris Rankin
911aa1381b
CORDA-1906: Add Servlet 3.1 implementation into the WebServer. ( #3794 )
2018-08-17 14:08:48 +01:00
Roger Willis
b7867c3bcb
* Added "isRelevant" functionality to the vault. ( #3789 )
...
* * Added "isRelevant" functionality to the vault.
* * Changed "isRelevant" to "isParticipant" as this makes more sense in the context of Corda.
* Minor tweak to "isParticipant" method in NodeVaultService.
* Fixed API break and broken JAva tests.
* * Addressed PR comments from Jose.
* Changed all mentions of "relevant" and "participant" to "modifiable".
* Made the default behaviour of vault queries to return ALL states instead of just MODIFIABLE states as this is what always previously happened.
* Updated cash balance queries to only return MODIFIABLE states.
* * Updated cash selection and tryLockFungfibleStatesForSpending.
2018-08-17 13:39:05 +01:00
Joel Dudley
f3392e31d2
Documents waitQuiescent. Explains why it is important. ( #3787 )
...
* Update api-testing.rst
* Warning regarding using threadPerNode
* Corrects JavaDocs. Adds message to .
2018-08-16 17:34:50 +01:00
Stefano Franz
fffa063803
Cli backwards compatibility testing ( #3733 )
...
* first pass at infrastructure around cli compatibility
* add example unit test
* inspect enum types
* add a basic unit test to verify behaviour of the cli checker
* revert root build.gradle
2018-08-16 15:44:40 +01:00
Joel Dudley
9c9e8dab40
Fixes formatting. ( #3793 )
2018-08-16 10:01:26 +01:00
Michele Sollecito
e5e4596461
[CORDA-1681]: It is not possible to run stateMachinesSnapshot from the shell (fixed). ( #3791 )
2018-08-15 17:02:25 +01:00
josecoll
2b69789a30
Fix Vault contractStateType's bootstrapping bug, and add integration test. ( #3785 )
2018-08-15 15:15:11 +01:00
Michele Sollecito
7a1b75ef35
[CORDA-1822]: Derive error code from exception signature ( #3774 )
2018-08-15 10:22:09 +01:00
Chris Rankin
f979d9d3cf
Include the deterministic test-data.jar in the build's assembly. ( #3784 )
2018-08-14 18:33:12 +01:00
Thomas Schroeter
7ec41fba43
Config file and base dir can be specified together ( #3783 )
2018-08-14 12:13:22 +01:00
Joel Dudley
753d67a519
Reword index page ( #3782 )
2018-08-14 10:06:30 +01:00
josecoll
f684cb29bd
CORDA-1888 Fix Vault Query composite queries ( #3775 )
...
* Reproduce composite query failures.
* Fixes to OR querying and composite queries that use the same QueryCriteria (Linear, Fungible, Custom) more than once.
* Revert debug logging for Hibernate SQL.
* Cleanup and remove redundant joinPredicates global var.
* Fix failing Java Unit test.
* Fix Java compilation error in example-code section of docs.
* Include copy() function for original constructor to maintain backwards API compatibility.
2018-08-13 18:11:29 +01:00
josecoll
166554a558
Fix duplicate index declaration. ( #3779 )
2018-08-13 17:31:35 +01:00
Michele Sollecito
3b63723934
[CORDA-1822]: Improved error message when too many results are asked with default pagination. ( #3776 )
2018-08-13 16:50:29 +01:00
Michele Sollecito
7607244557
[CORDA-1841]: Made paths in tutorial-cordapp consistent. ( #3778 )
2018-08-13 16:21:16 +01:00
Rick Parker
0a18979307
CORDA-1894 Remove if condition from service hub that prevents vault logic executing. ( #3773 )
2018-08-13 14:17:03 +01:00
Andrius Dagys
0746b1f927
CORDA-1850: Minor: improve flow timeout error message ( #3764 )
2018-08-13 10:05:55 +01:00
Chris Rankin
dfea9b6940
CORDA-1889: Update some CordFormation samples to use nodeDefaults{}. ( #3771 )
2018-08-11 12:57:04 +01:00