Andrzej Cichocki
ce5b7de718
CORDA-530 Unduplicate code ( #1791 )
2017-10-13 12:15:52 +01:00
Andrius Dagys
7b10e92819
Fixed AbstractNode to load custom notary services properly ( #1720 )
...
* Fixed AbstractNode to load custom notary services properly.
Added a custom notary sample.
* Prevent multiple custom notaries from being loaded
* Throw if more than once custom notary service is loaded
2017-10-13 10:36:25 +01:00
Joel Dudley
544b761682
Remove broken link.
2017-10-12 13:21:00 +01:00
Chris Rankin
d1c5111567
Remove the two header lines from the diff output to simplify the +/- … ( #1875 )
...
* Remove the two header lines from the diff output to simplify the +/- check.
* Revert Kt class changes as they alter the public API.
2017-10-12 11:39:22 +01:00
Ross Nicoll
327f0ebd73
CORDA-654: Migrate test APIs to match identity changes ( #1744 )
...
Rework identity usage in tests to extract identity from nodes by name, rather than just arbitrarily choosing the first identity. This better models the intended design for production (future work).
2017-10-11 18:26:09 +01:00
Konstantinos Chalkias
ed79db6864
Clean up Crypto ( #1866 )
...
clean up Crypto comments + PublicKey.toSHA256Bytes() uses .encoded
2017-10-11 17:47:48 +01:00
Joel Dudley
de391dc9f0
Adds a length method to calculate a time-window's length.
2017-10-11 16:15:24 +01:00
Matthew Nesbit
692b57d845
Merge pull request #1853 from corda/mnesbit-protect-sessionmessage
...
Protect the serialization/deserialization code of SessionMessage data
2017-10-11 15:53:03 +01:00
Matthew Nesbit
899f7f9d0d
Change the serialization/deserialization code of SessionMessage data to add more validation.
...
Address PR comments
As pointed out by Shams the SessionInit must be well formed at this point.
2017-10-11 15:17:48 +01:00
Joel Dudley
e232d111ea
Applies release-V1 vault docs fixes to master.
2017-10-11 14:46:04 +01:00
Rick Parker
3fdc69e541
Fix coin selection with Flow-friendly sleep ( #1847 )
2017-10-11 14:33:20 +01:00
Alberto Arri
d0d0f132df
Create nodeInfoDirectory in NodeInfoWatcher initialization, and make NodeInfoWatcher logging less verbose and less frequent ( #1857 )
...
Let NodeInfoWatcher create the directory it wants to poll at startup.
Also log failure in creating the directory, but don't log anything if it can be found at poll time.
2017-10-11 12:54:30 +01:00
Andras Slemmer
af44c96c14
Merge pull request #1863 from corda/aslemmer-kryo-hook
...
Aslemmer kryo hook
2017-10-11 12:42:18 +01:00
Clinton
15d29d7982
Fixed the dozens of artifactory warnings at gradle initialisation. ( #1862 )
...
* Fixed the dozens of artifactory warnings at gradle initialisation.
2017-10-11 12:41:11 +01:00
Chris Rankin
9cec137a31
CORDA-702: Don't whitelist certain non-annotated types ( #1864 )
...
* Don't whitelist arrays of non-serialisable types for RPC.
* Don't whitelist enums which have not been annotated as serialisable.
2017-10-11 11:17:14 +01:00
Viktor Kolomeyko
ef0f0acc4a
Make integration tests pass in AMQP mode, part 1 ( #1855 )
2017-10-11 11:13:46 +01:00
Andrzej Cichocki
4ee250a19b
Retire setCordappPackages. ( #1860 )
2017-10-11 10:35:21 +01:00
Andras Slemmer
b354d335a3
Remove extra blank line
2017-10-11 10:35:11 +01:00
Andras Slemmer
c2cda569e1
Add kryo-hook to settings.gradle
2017-10-11 10:06:52 +01:00
Andras Slemmer
c56c9fd455
Add README.md, some docs
2017-10-11 10:06:27 +01:00
Andras Slemmer
16b26970a9
Add kryo-hook javaagent
2017-10-11 09:54:19 +01:00
Matthew Nesbit
c96031d311
Merge pull request #1846 from corda/mnesbit-upgrade-cordaservices
...
Update code to use AppServiceHub in services
2017-10-11 09:11:35 +01:00
Matthew Nesbit
f19ff141dd
Update code to use AppServiceHub in services and support for services when using MockServices hub.
2017-10-10 17:11:32 +01:00
Clinton Alexander
daa6caeee2
Bumped gradle plugins to 2.0.2 to publish latest changes.
2017-10-10 15:50:23 +01:00
Alberto Arri
3bee830604
[CORDA-442] Removed the NetworkMap option from Cordform, changed all the examples… ( #1827 )
...
[CORDA-442]
Removed the option for Cordformation to specify a networkMap.
All the samples have been migrated to not specify a networkMap.
2017-10-10 15:45:42 +01:00
Maksymilian Pawlak
32e7272642
Review fixes
2017-10-10 15:27:29 +01:00
Maksymilian Pawlak
e7e8bff3dd
Merge branch 'master' into m4ksio_gradle_no_o_fix
...
# Conflicts:
# constants.properties
2017-10-10 15:26:36 +01:00
szymonsztuka
8c9045bd73
deployNodes Gradle task appends properties from an optional file to node.conf ( #1444 )
...
* deployNodes Gradle task appends properties from an optional file to node.conf
2017-10-10 15:03:05 +01:00
Shams Asari
bd53a22efa
Removed extraAdvertisedServiceIds config
...
The remaining use for it was the finance CorDapp for permissioning CCY issuers. Instead this is now taken from a custom config in node.conf.
2017-10-10 13:47:37 +01:00
Ross Nicoll
34dbbe626b
Add confidential identity support to cash exit logic ( #1849 )
...
generateExit() previously required all states to have a single owner, which was used as the change output's owner. This deprecates that function but enables it to work as expected using `firstOrNull()` instead of `singleOrNull()`, and adds new functions which take in the change output's owner.
2017-10-10 13:46:25 +01:00
Ross Nicoll
242b019dc2
CORDA-641: Remove special case handling of notary transactions ( #1675 )
...
Move special case handling of notary transactions into `SignedTransaction`
2017-10-10 13:23:31 +01:00
Viktor Kolomeyko
0e47e53b60
Make AttachmentLoadingTests more stable ( #1810 )
2017-10-10 12:28:19 +01:00
Alberto Arri
7af1f02a2d
Add a configuration option to set how often should a node check for new nodeinfos on disk ( #1851 )
...
* Add a configuration option to set how often should a node check for new NodeInfo files in additional-node-infos
2017-10-10 09:55:20 +01:00
cburlinchon
6166fa8358
Don't generate Kt classes ( #1798 )
2017-10-10 09:51:01 +01:00
Alberto Arri
22b1dead32
Remove functions with spaces in their name ( #1850 )
...
Remove all the Kotlin functions with spaces in them since the Android doesn't support them.
See https://github.com/corda/corda/issues/1730 for a more in-depth discussion.
2017-10-10 09:32:43 +01:00
Joel Dudley
d1db35c344
Removes unnecessary @JVMOverloads annotation.
2017-10-10 09:25:45 +01:00
Clinton
484cf75420
CORDA-686 - Split Cordapp gradle plugin from cordformation ( #1817 )
...
Added CorDapp gradle plugin written in Kotlin and bumped the version of gradle plugins to 2.0.0 to reflect that this backwards incompatible change is a part of the on going stabilisation of the Corda gradle plugin suite.
2017-10-09 20:08:08 +01:00
Chris Rankin
747830ff90
Scan API for addition of new abstract methods. ( #1854 )
...
* Scan API for addition of new abstract methods.
* Make sure we ignore blank lines when counting API changes.
* Add 6 new abstract APIs to our API definition.
2017-10-09 17:38:45 +01:00
Ross Nicoll
70f3d02ce4
Update docs on how IdentitySyncFlow works ( #1816 )
2017-10-09 17:14:55 +01:00
Ross Nicoll
7ad754fe78
Add signature exchange to transaction key flow ( #1417 )
...
Require a signature on a deterministic data blob (which includes X.500 name and public key) when exchanging new confidential identities, in order to ensure that the owner of the key pair wants it to represent the specified name, not just that the certificate owner states the key represents the given identity.
2017-10-09 17:03:04 +01:00
Ross Nicoll
7340a2e32f
CORDA-654: Handle non-standard file systems in NodeInfoWatcher ( #1818 )
...
Handle non-standard file systems such as JimFs, in NodeInfoWatcher. Instead of using `toFile()` to convert a Path to a File, open the Path for writing to directly.
2017-10-09 16:15:27 +01:00
Tommy Lillehagen
0d15e70d51
Merge pull request #1842 from corda/tlil/reformat-2017-oct
...
Reformat Oct 2017
2017-10-09 15:57:43 +01:00
Tommy Lillehagen
e1458a40cb
Revert code transformation; use of deprecated method
2017-10-09 15:26:40 +01:00
Tommy Lillehagen
14f959b4af
Code clean-up run
2017-10-09 15:26:40 +01:00
Tommy Lillehagen
f9dc331551
Reformat files in webserver
2017-10-09 15:26:40 +01:00
Tommy Lillehagen
3f3ffd50e1
Reformat files in verifier
2017-10-09 15:26:40 +01:00
Tommy Lillehagen
b053449b74
Reformat files in tools
2017-10-09 15:26:40 +01:00
Tommy Lillehagen
fcc4bdae7e
Reformat files in testing
2017-10-09 15:26:40 +01:00
Tommy Lillehagen
f98942d7ad
Reformat files in node-api
2017-10-09 15:26:39 +01:00
Tommy Lillehagen
cb9e27a84a
Reformat files in node
2017-10-09 15:26:39 +01:00