Andras Slemmer
d7751fcd78
build: Fix publishing list
2017-03-20 16:50:34 +00:00
Konstantinos Chalkias
0aecae6531
issuerNodeUSD fix
...
Small correction on issuerClientUSD = issuerNodeUSD.rpcClientToNode(), causing 'exiting more cash than exists' errors.
2017-03-20 14:47:52 +00:00
Mike Hearn
0d54832d88
FlowSessionException is sent over RPC so must be serializable and documented.
2017-03-20 15:17:31 +01:00
Mike Hearn
afbc8f9b5c
De-issuerify the cash payment flow. This makes it easier to use the payment flow from the shell.
2017-03-20 15:14:28 +01:00
Andras Slemmer
4f6b44ceff
Merge pull request #379 from corda/aslemmer-node-api
...
Add :node-api, factor out some artemis code
2017-03-20 13:31:21 +00:00
Chris Rankin
64fe92ce34
Upgrade to H2 1.4.194. ( #389 )
...
- Timezone related fixes.
- A Turkish case canonicalisation bug.
- Fixes for some scary threading related bugs.
2017-03-20 10:27:45 +00:00
Chris Rankin
4ce2d65964
Fix intermittent "Address already in use" test failures since RPC port split. ( #387 )
2017-03-20 09:36:34 +00:00
Ross Nicoll
a2db6d0f5d
Correct code paths in tutorial docs
2017-03-17 16:13:29 +00:00
Andras Slemmer
d3f956ab60
Address PR 379 comments
2017-03-17 15:09:04 +00:00
Rick Parker
1de1f9095f
Several tests were corrupting Kryo which was then returned to the common pool. ( #378 )
...
* We were leaving trailing attachmentStorage on pooled kryo instances after some tests. Changed attachment storage logic to make it impossible to leave it behind.
* Some low level tests corrupt the Kryo config, so do not return to pool when this is the case. Also, we discovered that Kryo is caching class name to class resolution. We don't want to do this where attachments are involved. The errors raised highlighted a class missing from the whitelist. Need to write a unit test to test the class loader issue.
* Unit test for attachment class loading with kryo.
2017-03-17 12:43:11 +00:00
Clinton Alexander
b4a5902faf
Test build now compiles correctly with kapt removed from the build tree.
2017-03-17 12:17:50 +00:00
Andras Slemmer
c3c1f3d801
Add :node-api, factor out some artemis code
2017-03-17 11:47:05 +00:00
Ross Nicoll
486368d926
Clean up messaging/RPC port configuration and docs ( #296 )
...
* Non-ssl artemis acceptor for RPC connection. (#271 )
* New non-ssl acceptor in artemis server for RPC connection.
* Rename artemisAddress with messagingAddress
Rename artemisAddress with messagingAddress so that the node configuration file properties match
the code variable names.
Rename artemisPort to messagingPort in Gradle configuration to match node configuration naming.
* Add rpcPort configuration option for Gradle
* Update docs to reflect changes to RPC port configuration
* Renumber ports in example CorDapp to match numbering used elsewhere
* Restructure upgrade guide
* added config file checks on corda startup to make the upgrade path a bit smoother.
2017-03-17 10:32:14 +00:00
Mike Hearn
eb21458885
Some fixes to emoji/ANSI renderer
2017-03-17 10:54:25 +01:00
Shams Asari
f079c05e6a
Merge pull request #361 from corda/shams-nms-reg-error-response
...
Clean up of network map service and its tests, and added error msg t…
2017-03-16 17:03:42 +00:00
Shams Asari
2af04aeb40
Merge pull request #366 from corda/shams-suspendable-unwrap
...
Added @Suspendable to UntrustworthyData.unwrap to allow Java flows to do I/O inside unwrap
2017-03-16 17:00:27 +00:00
Konstantinos Chalkias
5966610a6e
DEFAULT_MAX_BUCKETS based on max heap size
...
MAX_DEFAULT_BUCKETS is linearly correlated to max heap size with a minimum of 256 buckets.
2017-03-16 16:40:34 +00:00
Shams Asari
5e3e7f6c1c
Clean up of network map service and its tests, and added error msg to registration response
2017-03-16 16:37:21 +00:00
Shams Asari
51a5eb77a0
Added @Suspendable to UntrustworthyData.unwrap to allow Java flows to do I/O inside unwrap
2017-03-16 16:30:28 +00:00
josecoll
391270ed71
RequeryConfiguration setting for table creation is now CREATE_NOT_EXISTS (was DROP_CREATE) ( #374 )
2017-03-16 16:23:37 +00:00
Konstantinos Chalkias
6844ab32f8
Custom Logger serializer and its related unit-test.
...
Custom Logger serialiser using only its name when serialising and deserialising using LoggerFactory.getLogger(name).
2017-03-16 15:38:37 +00:00
Clinton Alexander
4775756fb0
Entirely separated the generation step from the jar step allowing for separate running of kapt and packaging.
2017-03-16 14:05:53 +00:00
David Lee
525607441b
Merge pull request #365 from corda/intro-whitepaper-jp
...
Added Japanese translation of intro white paper, by Munetoshi Yamada
2017-03-16 12:04:20 +00:00
Clinton Alexander
03c0460844
Fixed an issue with subprojects not correctly compiling due to incorrect sourceSet definition in build.gradle.
2017-03-16 10:23:51 +00:00
Clinton Alexander
d69a12dc15
Added all generated files and added a buildKapt task to actually build kapt.
2017-03-16 10:23:51 +00:00
Clinton Alexander
4c74de5237
Moved generated code out of directories that get cleaned.
2017-03-16 10:23:51 +00:00
Clinton Alexander
f7b38f77d0
Kapt is no longer run automatically when build is run.
2017-03-16 10:23:16 +00:00
Rick Parker
f3a5f8e659
Pool Kryo instances for efficiency. ( #352 )
...
Pooled Kryo
2017-03-16 08:24:06 +00:00
Mike Hearn
b8a4c7bea3
Add a general string to method call parsing utility class to the Jackson module. It is useful for the shell work.
2017-03-15 19:01:22 +01:00
Mike Hearn
d576468a93
Minor: take out unused variable from Jackson party mapper.
2017-03-15 19:01:22 +01:00
Mike Hearn
2634e1673f
JacksonSupport: add support for Amount<Currency> and OpaqueBytes
2017-03-15 19:01:22 +01:00
Mike Hearn
6d8ce50a41
Make Jackson module use the official java.time module instead of our own, add the Yaml dependency in prep for a future commit, remove the unnecessary dependency on node and the SecureHash hack no longer seems to be needed.
2017-03-15 19:01:22 +01:00
Shams Asari
69a99b2f42
Merge pull request #364 from corda/shams-register-class
...
Flow registration takes in a Class object rather than a KClass
2017-03-15 17:14:03 +00:00
Konstantinos Chalkias
9db773d17c
Remove unused vars + and change set/get with indexing operator. ( #358 )
2017-03-15 17:10:55 +00:00
Shams Asari
f581844f3f
Flow registration takes in a Class object rather than a KClass
2017-03-15 16:32:13 +00:00
Andras Slemmer
6a6698b598
Merge pull request #339 from corda/aslemmer-fix-rpc-close-deliver-deadlock
...
rpc: Fix deadlock caused by deliver() and close()
2017-03-15 16:20:11 +00:00
Konstantinos Chalkias
195d69d0dc
Print to screen and log basic info ( #356 )
...
Adding an extra logger to printBasicNodeInfo in both console and log file, respectively. Also, node's legal name is now printed to console as well.
2017-03-15 16:18:24 +00:00
David Lee
40a5955ad0
Added Japanese translation of intro white paper, by Munetoshi Yamada
...
Signed-off-by: David Lee <david.lee@r3cev.com>
David.
2017-03-15 13:50:37 +00:00
Clinton
c2c9df2145
Merge pull request #289 from corda/clint-builddependenciesjar
...
Added a gradle task to build a zip of Corda dependencies
2017-03-14 17:10:25 +00:00
Clinton
3b027345b0
Merge pull request #362 from corda/clint-webcapsulefix
...
Webserver capsule now contains the correct caplet
2017-03-14 16:39:16 +00:00
Clinton Alexander
c972753bb9
Added documentation to the cordapp dependency builder and expanded the included dependencies.
2017-03-14 16:09:31 +00:00
Clinton Alexander
c2b401682b
Added CDDL notice to zip.
2017-03-14 16:08:30 +00:00
Clinton Alexander
f091659b7c
Updated JAX RS to the actual version that is downloaded to avoid mismatches with the dependencies zip.
2017-03-14 16:08:30 +00:00
Clinton Alexander
b2a78c7943
Changed from a JAR to a ZIP.
2017-03-14 16:08:30 +00:00
Clinton Alexander
7befc3ba7a
Added a new gradle task to output a JAR with all runtime and compile dependencies in it.
2017-03-14 16:08:30 +00:00
Clinton Alexander
e0773ff737
Webserver capsule now contains the correct caplet which was missing due to an incorrect path.
2017-03-14 16:02:33 +00:00
josecoll
18e4620928
ArrayDeque FlowLogic references were not being removed on flow termination. ( #353 )
2017-03-14 15:25:34 +00:00
Clinton
81dcec579e
Merge pull request #346 from corda/rnicoll-capsule-web-server
...
Add webserver Capsule configuration
2017-03-14 15:22:41 +00:00
Andras Slemmer
389685a31e
PR 339 Address comments
2017-03-14 15:17:15 +00:00
Andras Slemmer
60520412c8
rpc: Fix deadlock caused by deliver() and close()
2017-03-14 15:17:15 +00:00