Commit Graph

10534 Commits

Author SHA1 Message Date
Viktor Kolomeyko
c2b10a1882 Business Network design document (#204)
* Design doc (unfinished).

* Design doc, requirements completed.

* Design doc, more content and the diagram.

* Design doc, more content.

* Design doc, minor changes.

* Changes following review from @davidleeuk

* Changes following review from @gendal

* Changes following review from @shamsasari
2017-12-20 12:07:42 +00:00
Viktor Kolomeyko
c0e997c1dd
Wave 3 of Business Network changes. (#193)
* R3NET-546: Re-arrange independent flows into separate packages. Functionally this is a NOP change.

* R3NET-546: Start BNO as a separate Corda node and improve GUI experience for IOU.

* R3NET-546: Move all the membership checks to the Business Network Owner node side, creating "InitiatedBy" flows as necessary.

* R3NET-546: Make MembershipViolationException AMQP serializable.

* R3NET-546: Improve GUI error reporting in case of membership violation.

* R3NET-546: Code changes following review by: @shamsasari

* R3NET-546: Code changes following review by: @shamsasari

* R3NET-546: Added a dedicated InvalidMembershipListNameException.
2017-12-20 12:01:32 +00:00
Viktor Kolomeyko
cc043d0aec R3NET-546: Changes following review from @josecoll. 2017-12-20 11:58:52 +00:00
Viktor Kolomeyko
f09de7aac3 R3NET-546: IOU/Business Network reference implementation documentation for Node Explorer. 2017-12-20 11:25:23 +00:00
Shams Asari
246142173d Shams os merge 191217 (#223)
* CORDA-876 MockNetwork no longer leaks serialization env if init fails (#2272)
* Removed all remaining special treatment of the X500 common name.
* Move unspecifiedCountry to internal. (#2274)
* Merge fixes, which includes fixing the doorman tests and updating the doorman to not set a CN in the CSR responses
2017-12-20 10:32:42 +00:00
Katarzyna Streich
8d48083ddf Fix startErrorFlowSimulation (#222) 2017-12-20 10:02:03 +00:00
Shams Asari
3c64e9feec Merge fixes, which includes fixing the doorman tests and updating the doorman to not set a CN in the CSR responses 2017-12-20 01:03:34 +00:00
Shams Asari
de9565b96a Merge remote-tracking branch 'open/master' into shams-os-merge-191217
# Conflicts:
#	core/src/main/kotlin/net/corda/core/node/services/NotaryService.kt
#	node/src/integration-test/kotlin/net/corda/node/services/BFTNotaryServiceTests.kt
#	node/src/integration-test/kotlin/net/corda/node/services/RaftNotaryServiceTests.kt
#	node/src/integration-test/kotlin/net/corda/services/messaging/P2PMessagingTest.kt
#	node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt
2017-12-19 23:44:07 +00:00
Andrzej Cichocki
762d7b7275
Merge pull request #217 from corda/andr3ej-ross-merge
Merge 22af527 from OS
2017-12-19 23:24:50 +00:00
Katarzyna Streich
4e80a33dea Fixes after os -> ent merge to networkManagement (#214)
* Quick fixes

* Fix SignedNodeInfo

Introduce network-management schema changes to reflect that NodeInfos
can have multiple signatures.

* Address Shams comments

Store SignedNodeInfo as a blob for network management tool.
2017-12-19 21:36:30 +00:00
Andrzej Cichocki
9447c51a7b
Merge pull request #221 from corda/rnicoll/andr3ej-ross-merge
Remove change address usage from CashTests
2017-12-19 20:58:25 +00:00
Tommy Lillehagen
c171237556
ENT-1248 - Node banner: R3 Corda (#219) 2017-12-19 19:33:00 +00:00
Tommy Lillehagen
0e8c7b0b87
ENT-1012 - Make sure bashrc is properly set for container (#218) 2017-12-19 19:22:09 +00:00
Ross Nicoll
4958d26048 Remove change address usage from CashTests 2017-12-19 18:43:18 +00:00
Andrzej Cichocki
a652c8b19f
Merge commit '22af527b7943c0c4376af582de6505893817111a' into andr3ej-ross-merge
# Conflicts:
#	docs/source/changelog.rst
2017-12-19 17:07:17 +00:00
Tudor Malene
dd59b06c62
Fix null migration resource (#210)
throw exception when migration not set for MappedSchema
2017-12-19 14:06:55 +00:00
Ross Nicoll
3ab1a06db6
Improve run instructions for the HSM doorman (#190)
* Add more detail to HSM doorman outputs
* Remove duplicate display of defaults, add default value where it was only set in text, and show the actual names of the authentication modes.
* Add instructions for getting command line help
* Change error display to use System.err
2017-12-19 12:47:54 +00:00
Andrzej Cichocki
313d21f068
Move unspecifiedCountry to internal. (#2274) 2017-12-19 12:09:31 +00:00
Tommy Lillehagen
fbcdc23434
ENT-1012 - Make SGX builds IntelliJ-friendly (#208)
* ENT-1012 - Use non-privileged user

* ENT-1012 - Build and run containerised tests from IntelliJ

* ENT-1012 - Remove trusty source in container

* ENT-1012 - Make debug target toggleable

* ENT-1012 - Inform when ready to attach debugger

* ENT-1012 - Update reference to user home folder
2017-12-19 10:19:35 +00:00
Shams Asari
e1e715ee81 Removed all remaining special treatment of the X500 common name.
With network parameters the CN is no longer needed to identify notaries. This frees it up to be used in the node's name alongside the other attributes.

Also, the identity generation logic has been simplified, removing the need to have magic string values for storing distributed identities in the keystore. Now there are just two alias prefixes: "identity" as it was previously, and "distributed-notary".
2017-12-18 21:39:11 +00:00
josecoll
0aa56f55b8
Merge pull request #205 from corda/colljos-os-merge-rc01
OS -> ENT merge for Enterprise Developer Preview RC01
2017-12-18 17:45:35 +00:00
Andrzej Cichocki
f7445a5e6a
CORDA-876 MockNetwork no longer leaks serialization env if init fails (#2272) 2017-12-18 17:09:24 +00:00
josecoll
f55e565a3d Re-instate previous commit fix removed by exfalso. 2017-12-18 17:01:05 +00:00
josecoll
cfd67f4e55 Merge branch 'colljos-os-merge-rc01' of https://github.com/corda/enterprise into colljos-os-merge-rc01 2017-12-18 16:58:32 +00:00
Ross Nicoll
22af527b79
CORDA-869: Clean up error reporting in node config/registration (#2268) 2017-12-18 16:54:49 +00:00
josecoll
b2ecb2e671 Ignore non-deterministic Bridge ack/nak test (failing on TC) 2017-12-18 16:53:44 +00:00
Andras Slemmer
344e005b30 ignore nack test 2017-12-18 16:53:14 +00:00
Andras Slemmer
4175593b18 remove :network-management 2017-12-18 16:40:54 +00:00
Andras Slemmer
38b0ed4a35 IntegrationTest() 2017-12-18 16:33:08 +00:00
Ross Nicoll
21f0892deb
CORDA-831: Add roles to X509 certificates (#2180)
* Add roles to X509 certificates so that the identity service can always determine which certificate in a hierarchy is the well known identity
* Rename CLIENT_CA certificate type to NODE_CA
* Rename DOORMAN role to INTERMEDIATE_CA
* Correct issue in CashTests where instead of providing a well known identity to generateSpend(), a confidential identity was passed in and a confidential identity generated from it.
* Enforce role hierarchy in PKI
* Enforce that party certificates must be well known or confidential identities
* Add network map certificate role
2017-12-18 16:23:34 +00:00
Andras Slemmer
8ef3f1a6a0 fix BFTNotoaryServiceTests 2017-12-18 16:14:36 +00:00
josecoll
9959359e92 Re-instate previous commit fix removed by exfalso. 2017-12-18 16:01:00 +00:00
josecoll
e6ad302ea3 Re-instate main gradle build configuration removed by exfalso. 2017-12-18 15:48:26 +00:00
josecoll
cd52351e72 Merge remote-tracking branch 'origin/colljos-os-merge-rc01' into colljos-os-merge-rc01 2017-12-18 15:39:29 +00:00
josecoll
de196aa5f0 Fix broken MySQLNotaryServiceTests tests. 2017-12-18 15:39:20 +00:00
Andras Slemmer
107fcf82e3 Fixing stuff 2017-12-18 15:39:08 +00:00
josecoll
da1b0b1f7b Merge branch 'master' into colljos-os-merge-rc01 2017-12-18 15:38:09 +00:00
josecoll
f3f06976d0 Fix failing perftestcordapp tests. 2017-12-18 15:23:16 +00:00
Ross Nicoll
166918c62c
CORDA-869: Stop silently dropping node configuration errors (#2267) 2017-12-18 15:17:18 +00:00
josecoll
9fbd936eeb Merge remote-tracking branch 'origin/colljos-os-merge-rc01' into colljos-os-merge-rc01 2017-12-18 14:31:00 +00:00
josecoll
79f288dcf6 Fix compilation errors on Tests following rebase from OS. 2017-12-18 14:30:46 +00:00
Tudor Malene
066bb767d1 fixing merge errors 2017-12-18 12:40:57 +00:00
josecoll
671e711dda Added missing Mock expectation. 2017-12-18 12:00:03 +00:00
josecoll
fc7445f714 Resolve compilation issues related to Network Map changes. 2017-12-18 11:30:32 +00:00
josecoll
e9fc6f7c8d Merge remote-tracking branch 'open/master' into colljos-os-merge-rc01 2017-12-18 10:24:38 +00:00
Andrius Dagys
e57dab6fcc
ENT-1232: Add MySQL notary service (#187)
* Add MySQL notary service. This is the first iteration of a HA notary service,
and is intended to replace the Raft notary. The backing database should
be a replicated MySQL implementation such as Percona XtraDB Cluster.

Handle MySQLTransactionRollbackException

Add the `mysql-connector-java` to the build file of the node package.

Add Hikari connection pool

* Store requesting party name & key in separate columns (for consistency
with existing uniqueness providers)

* Add idempotency test and additional counters
2017-12-18 09:47:07 +00:00
Christian Sailer
a44960da38
MSSQL dependency for JMeter plus SQL test plans (#203) 2017-12-18 09:44:38 +00:00
Shams Asari
00a5e3db6b CORDA-830 Introducing the network bootstrapper
Copying of the node-info files moved out of Cordform and into NetworkParametersGenerator (which is now called NetworkBootstrapper). This class becomes an external tool to enable deployment of nodes in a test setup on a single filesystem.
2017-12-17 23:49:57 +00:00
Shams Asari
e9cead9055 CORDA-833: SignedNodeInfo object for holding a list of signatures, one for each identity in the NodeInfo. This forms part of the network map. 2017-12-17 19:45:58 +00:00
Andrzej Cichocki
8114a20abd
CORDA-716 Move non-API things to internal (#2256) 2017-12-17 18:44:35 +00:00