Commit Graph

11045 Commits

Author SHA1 Message Date
7244f2eeea Temp hack to fix DemoBench in master: leak the RPC connections when a node shuts down to avoid a hang. 2017-05-19 16:45:22 +02:00
77043e622d Minor: tweaks to the changelog entry for private key signing changes. 2017-05-19 16:45:22 +02:00
9a651906bc Publish cordform-common module to bintray and Maven Local. 2017-05-19 16:45:22 +02:00
207d3b0b8f Vault: any state that has us as a participant is relevant. 2017-05-19 16:45:22 +02:00
c7b751d6a5 Minor: add another convenience c'tor to FinalityFlow 2017-05-19 16:45:22 +02:00
839cc04844 Minor: MappedSchema is now open rather than abstract (it had no abstract members) 2017-05-19 16:45:22 +02:00
8d538e14a0 Minor: add a doc for the "using" infix function. 2017-05-19 16:45:22 +02:00
8dde7757f1 Minor: downgrade another spammy error to warning. 2017-05-19 16:45:22 +02:00
b461a89ac1 Whitelist some more java.time types for serialisation. 2017-05-19 16:45:22 +02:00
c79f369c83 Minor: degrade a log.error to a log.warn as errors get written to the console. 2017-05-19 16:45:22 +02:00
3f7acd3c68 Minor: just print the X.500 name in Party toString not base58 key too.
It's kind of annoying to have the big binary blog in the toString, which is often used for UI/debug purposes.
2017-05-19 16:45:22 +02:00
1c92d554e0 Minor: print a more useful error if you mess up your cordform config. 2017-05-19 16:45:22 +02:00
980d3455bd Minor: extra javadocs for Timestamp 2017-05-19 16:45:22 +02:00
e141fc1549 Minor: suppress some warnings and wrap an exception in the Jackson code. 2017-05-19 16:45:22 +02:00
07e01388d2 Minor: add more javadoc 2017-05-19 16:45:22 +02:00
3636f137b0 Minor: add a unit test for the StringToMethodParser code as used with c'tors. 2017-05-19 16:45:22 +02:00
e67521796f NodeRunner/Mac: java_home does not expect to be given a full path to the Java binary, and at the point we get here, we know the full JVM path anyway so we don't need the wrapper. 2017-05-19 16:45:22 +02:00
a5be12a81b Minor: print org name at startup instead of full X.500 name. 2017-05-19 16:45:22 +02:00
1e1ebf1370 In CollectSignaturesFlow wrap ISE/IAE/AE in FlowException so the other side can find out the details of what check failed. 2017-05-19 16:45:22 +02:00
794ce03958 Remove mock identity service
Remove mock identity service and merge it with the in memory identity service. The two services
provide extremely similar functionality, and having two different version for production/test
risks subtle implementation differences. On that note, this patch includes changes to a number
of tests which worked only with mock identity service.
2017-05-19 11:22:47 +01:00
d288fcc979 Merge pull request #699 from corda/mnesbit-keymanagementservice-improvements
Do not expose PrivateKeys from KeyManagementService
2017-05-19 09:52:09 +01:00
05a97b11f3 First cut at removing PrivateKey leakage from KeyManagementService
Fixup after rebase

Restore original key property names

Fixup after rebase

Undo extra import that IntelliJ keeps erroneously adding.

Add comments and fix docs for transaction signing.

Fixes after rebase

More fixes after rebase

Address PR requests

Address PR requests
2017-05-18 17:34:04 +01:00
ccbe76eb84 Chinese whitepapers added to the docsite. 2017-05-18 16:12:26 +01:00
c8d71a96f5 One demo definition for both IntelliJ and gradle (#697)
* Raft notary demo now defined in one place that both IntelliJ/driver and gradle/runnodes can run
* New module cordform-common for code common to cordformation and corda
* Add single notary demo
2017-05-18 15:58:35 +01:00
edf269dbe5 Wrap any checked exception inside an unchecked RPCException. (#700) 2017-05-18 14:11:22 +01:00
fe03680fdd Cleanup of the irs demo 2017-05-18 12:16:35 +01:00
30fc56b9b1 Merge pull request #708 from corda/clint-removereleaseprocessdoc
Removed the now redundant release process document.
2017-05-17 23:43:09 +01:00
4b9052d11a Removed the now redundant release process document. 2017-05-17 17:49:18 +01:00
cca30ade1e Fix issue with automatic shutdown if the app is paused for longer than 30 seconds. This can happen on Mac laptops that put the node to sleep to save energy. 2017-05-17 09:45:37 +02:00
5cf304e8c4 Disable the DemoBench tab if the node exits abnormally. (#692)
* Log a message when the CRaSH shell exits.
* Disable the DemoBench tab if the node exits abnormally.
2017-05-17 00:19:48 +01:00
68f0e5d683 Fix JPA annotations in test so that columns are correctly named. (#694) 2017-05-16 14:19:19 +01:00
6c6ad2fcf6 Merge pull request #695 from corda/chrisr3-docs-fix
Update warning to release M11.1.
2017-05-16 13:39:36 +01:00
ef0dafaedb Update warning to release M11.1. 2017-05-16 13:37:40 +01:00
81501150aa Add Cash flows to default RPC flow list, so they can be invoked by shell commands. (#690)
Add Cash flows to default RPC flow list, so they can be invoked by shell commands.
It should be removed once we separate cash flows into cordapp.
2017-05-16 13:29:57 +01:00
9aa1ac7009 Remove net.corda.core.crypto.Party
Remove net.corda.core.crypto.Party rather than deprecate, as it makes it a lot easier to
understand the change that's happened.
2017-05-16 12:07:14 +01:00
c13a99a2f9 Replaces keys and parties in states with AbstractParty
Switch to using AbstractParty as the standard identifier for parties in
states, so that full parties can be used during construction of
transactions and anonymised parties when the transaction is being added
to the ledger.
2017-05-16 12:07:14 +01:00
d3bb040355 Refactoring related to BFT notary demo (#680)
* Fix: Add missing @StartableByRPC to fix the Raft notary demo
* Make loadConfig take a Config object, for cordformation Node
* Unduplicate User.toMap
* Unduplicate WHITESPACE regex, choose possessive form
* Use slash to make a Path
* Remove Companion where redundant
* Remove unused code
2017-05-16 11:30:50 +01:00
42d0a3c638 Don't keep xterm open if java was killed by user. (#678) 2017-05-16 10:56:17 +01:00
63d5aa03e9 Merge pull request #665 from corda/aslemmer-cleanup-rpc-resources-on-startup-failure
RPC: call close() on startup failure, add thread leak tests
2017-05-15 19:18:37 +01:00
e14f5920c3 Fix name in Bank Of Corda demo config. 2017-05-15 18:11:30 +01:00
b7fe8d6b3c Update documentation for M11.1. (#685) 2017-05-15 17:23:07 +01:00
f445590cff Address #665, add more leak tests 2017-05-15 15:20:00 +01:00
eb6e5b15cb Merged in andrius-merge-fix (pull request #28)
Post merge fixes
2017-05-15 13:38:00 +00:00
e995eac5d0 Update smoke tests to run correctly on Windows. (#684) 2017-05-15 13:48:40 +01:00
e61a8a7b09 Add missing StartableByRPC annotation. 2017-05-15 13:37:38 +01:00
b192a86a30 Address comments #665 2017-05-15 13:18:45 +01:00
8a17406246 Address comments #665 2017-05-15 13:18:45 +01:00
7c3a566197 RPC: call close() on startup failure, add thread leak tests 2017-05-15 13:18:45 +01:00
5f5f51bf51 Updates Key Concepts page to point to the videos. (#677) 2017-05-15 07:08:57 -04:00
9307e720be Adds video links to the Getting Set Up page. (#683) 2017-05-15 06:18:26 -04:00