Ben Abineri
ca06132c49
add upstart instructions ( #2171 )
...
* add upstart instructions
* Fixes formatting.
* slightly clearer wording
2017-12-04 14:32:47 +00:00
Shams Asari
6a1aa59e3e
Merge branch 'master' into shams-merge-master-041217
...
# Conflicts:
# node/src/integration-test/kotlin/net/corda/node/services/DistributedServiceTests.kt
# samples/bank-of-corda-demo/src/main/kotlin/net/corda/bank/BankOfCordaCordform.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/NodeTestUtils.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/internal/NodeBasedTest.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/MockNode.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/NotarySpec.kt
# verifier/src/integration-test/kotlin/net/corda/verifier/VerifierDriver.kt
2017-12-04 13:39:32 +00:00
Shams Asari
5264072752
Renamed n.c.nodeapi.config to n.c.nodeapi.internal.config as that config code is not public API. For the same reason, also moved User into the same internal package.
2017-12-03 17:20:30 +00:00
Shams Asari
d5e3f28303
Removed remaining references to networkMapService
2017-12-01 20:57:58 +00:00
szymonsztuka
709b3791a3
SQL Azure and SQL Server database integration tests ( #115 )
...
* Integration test are parameterised (extends IntegrationTest) to run against a remote database with 4 db scripts run @BeforeClass, @Before, @After and @AfterClass.
* SQL script for SQL Azure and SQL Server databases and templates of JDBC configuration.
2017-12-01 17:17:51 +00:00
Katelyn Baker
32ebd2cc8b
CORDA-553 - Review comments
2017-12-01 16:59:19 +00:00
Ben Abineri
9a9eb72179
Merge pull request #2153 from corda/bena-docs-enable-service
...
Docs update: instructions to enable service
2017-12-01 14:10:32 +00:00
szymonsztuka
2bdd8b681d
Merge OS to Enterprise.
...
Main differences preserved in Enterprise version:
* constants.properties: platform version 1 (OS has 2)
* gradle-wrapper.properties: higher Gradle version gradle-4.3.1 (OS has gradle-4.3)
* Driver.kt - setting system property "user.dir"
2017-11-30 23:54:12 +00:00
Andrzej Cichocki
a314a6a125
CORDA-654 Simplify TransactionDSL API ( #2152 )
2017-11-30 16:28:44 +00:00
Tudor Malene
5a6f2a19b3
[CORDA-824]: fix resource leak in Cash selection ( #2155 )
...
[CORDA-824]: fix resource leak in Cash selection and some example class
2017-11-30 16:17:18 +00:00
Katelyn Baker
541207738a
CORDA-553 - Documentation
2017-11-30 13:31:33 +00:00
joeldudleyr3
1e58aedb80
Fixes order of xmx commands.
2017-11-30 11:13:16 +00:00
joeldudleyr3
ada1fe2438
Documents increasing heap size when running nodes locally.
2017-11-30 10:38:06 +00:00
Ben Abineri
a88e7c9035
enable service instructions
2017-11-30 10:06:37 +00:00
Joel Dudley
2525fb52be
New docs on deploying a node. Makes it clear existing docs were only for local or dev deployments.
2017-11-29 17:07:13 +00:00
mkit
c40e8e4518
Overriding network parameters if they are specified in the deployment… ( #136 )
...
* Overriding network parameters if they are specified in the deployment configuration
* Addressing review comments
* Addressing review comments
* Changing the getCurrentNetworkMap return type to be nullable
2017-11-29 16:46:36 +00:00
szymonsztuka
5e901d4950
[ENT-1153] fix merge - database description was duplicated, adhere to OS version
2017-11-29 11:37:48 +00:00
Michele Sollecito
cb1fa2e017
Corda now works with H2 without the need to allow Hibernate to create the database automatically. ( #2124 )
...
[CORDA-815]: Corda now instructs Hibernate to either adjust or validate the schema based on `devMode` property.
Also renamed property `database.initDatabase` to `database.createSchemaAutomatically`.
* [CORDA-815]: Renamed database.initDatabase to database.adjustSchemas.
* Code review changes: removed property `database.initDatabase` altogether.
* Code review changes: removed property `database.initDatabase` altogether.
* Code review changes: removed property `database.initDatabase` altogether.
* Code review changes: removed property `database.initDatabase` altogether.
2017-11-28 17:33:02 +00:00
Andrzej Cichocki
4bd6fef0f9
StateMachineManager is no longer lateinit. ( #2123 )
2017-11-27 17:55:08 +00:00
Tudor Malene
e8d833c2fe
Merge remote-tracking branch 'open/master' into features/ENT-1153/merge_OS2ENT
...
# Conflicts:
# .idea/compiler.xml
# docs/source/changelog.rst
# node/src/test/kotlin/net/corda/node/services/transactions/DistributedImmutableMapTests.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/NodeTestUtils.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/MockServices.kt
2017-11-27 16:52:29 +00:00
Shams Asari
1705df4d1f
Made the database config option typesafe, rather than relying on String properties
2017-11-27 13:51:53 +00:00
Joel Dudley
c4b333c50c
Updates permissioning docs to address RGB review comments.
2017-11-27 13:36:52 +00:00
Patrick Kuo
20337aaa25
Network permissioning new doc
2017-11-24 18:06:01 +00:00
David Lee
71681e0e0a
Merge pull request #106 from corda/dl-float-design-doc
...
Current design doc baselined - please raise future updates via a separate PR
2017-11-24 14:02:05 +00:00
josecoll
1befa35055
Design Review Process ( #94 )
...
Design Review Process V1.0
2017-11-24 13:39:13 +00:00
Alberto Arri
ffd693719a
docs for additional-node-infos ( #2107 )
...
* docs for additional-node-infos
2017-11-24 13:27:30 +00:00
mkit
c5e17d90f2
Adding HSM signing service docs ( #122 )
...
* Adding HSM signing service docs
* Addressing review comments
* Addressing review comments - round 2
* Addressing review comments - round 3
* Fixing method comment
2017-11-24 11:32:12 +00:00
Maksymilian Pawlak
ce9b6c1f18
CORDA-311-post PR merged fixes ( #2106 )
...
* SSH server integration
2017-11-23 16:34:57 +00:00
Joel Dudley
5c18c57417
Fixes an error in the contract testing tutorial.
2017-11-23 11:27:34 +00:00
Ross Nicoll
22d29db54b
Add X500 name constraints for non-organisation attributes ( #2108 )
...
Enforce X500 name constraints consistently across all attributes
2017-11-22 18:00:43 +00:00
Joel Dudley
7bde9ecefd
Adds upgrade notes for v1 to v2. Minor tweaks (e.g. ToC).
2017-11-22 17:33:40 +00:00
Ross Nicoll
f314bf4849
Re-introduce demo docs ( #1981 )
...
Document the included samples in the docs again so there's some continuity from v1 docs, while making it clear they're not best practice examples but instead illustrate solutions to various use-cases.
2017-11-22 15:39:48 +00:00
szymonsztuka
175bceb5e8
SQL Azure database compatibility ( #113 )
...
* Coin selection for SQL Server/Azure
* Transaction isolation level change for updateInfoDB in PersistentNetworkMapCache from "repeatableRead" to "readCommitted"
* Configuration option to prefix all Hibernate generated SQL with a schema name via a configuration property `database.schema`
* Fix negative value in SELECT TOP query (fix for Oracle db)
2017-11-22 12:28:38 +00:00
Joel Dudley
43a8d21977
Removes outdated devmode cert info, links to existing docs to avoid duplication.
2017-11-22 12:07:53 +00:00
szymonsztuka
0f8baae962
Merge opensource into master
2017-11-21 18:53:14 +00:00
Katelyn Baker
426a47ce36
Merge pull request #2073 from corda/releaseNotesMergeFromV2
...
RELEASE: Merge release notes for V2 back into master
2017-11-21 11:24:17 +00:00
Maksymilian Pawlak
e63b6d1386
CORDA-311 Shell via SSH server ( #2087 )
...
* SSH server integration
2017-11-20 17:41:38 +00:00
Ross Nicoll
d3c7f90995
RELEASE: docs dropdown update ( #2092 )
2017-11-20 16:06:49 +00:00
Katelyn Baker
943fbd220b
RELEASE: Merge release notes for V2 back into master
2017-11-20 11:56:01 +00:00
Andrzej Cichocki
f26aa33553
Introduce contextLogger ( #2085 )
...
* Revert with comment, probably lazy for a reason.
2017-11-20 11:31:08 +00:00
josecoll
ea1cd0035a
Merge remote-tracking branch 'open/master' into colljos-merge-171117
2017-11-18 11:03:36 +00:00
Ross Nicoll
8e7165db41
CORDA-759: Enforce key checks on identity de-anonymisation ( #1993 )
...
Previously when de-anonymising a Party instance, the name of the Party was used rather than
the key, meaning a Party could be constructed with a random nonsense key and any name, and be treated as corresponding to the well known identity. This is not a security hole in itself as
in any real scenario a party shouldn't be trusted without having been registered, it creates
a significant risk of a security hole depending on how trusted the anonymous identity is, and
the returned identity is considered.
2017-11-17 18:13:35 +00:00
David Lee
d9dd6c9693
Updated
2017-11-17 15:18:36 +00:00
David Lee
218a432f89
Updated
2017-11-17 15:17:55 +00:00
josecoll
7a9364c8d5
Merge remote-tracking branch 'open/master' into colljos-merge-171117
...
# Conflicts:
# .idea/compiler.xml
# build.gradle
# client/rpc/src/integration-test/kotlin/net/corda/client/rpc/CordaRPCClientTest.kt
# docs/source/changelog.rst
# node/src/integration-test/kotlin/net/corda/node/services/AttachmentLoadingTests.kt
# node/src/main/kotlin/net/corda/node/internal/StartedNode.kt
# node/src/main/kotlin/net/corda/node/utilities/registration/HTTPNetworkRegistrationService.kt
# samples/network-visualiser/build.gradle
# samples/simm-valuation-demo/src/integration-test/kotlin/net/corda/vega/SimmValuationTest.kt
# testing/node-driver/src/integration-test/kotlin/net/corda/testing/driver/DriverTests.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/MockNode.kt
2017-11-17 15:11:24 +00:00
David Lee
9497f34698
Added meeting minutes
2017-11-17 14:10:21 +00:00
Joel Dudley
85071f227a
Reflects tutorial changes and CorDapp build docs changes from release-V1.
2017-11-16 15:31:52 +00:00
Joel Dudley
8e18e1ba2a
Updates flow cookbook to use freshKeyAndCert not freshKey.
2017-11-15 16:49:06 +00:00
Michele Sollecito
92c8861802
[CORDA-760]: Propagate invocation context across the codebase. ( #2016 )
2017-11-15 14:58:43 +00:00
Matthew Nesbit
4aa7247eda
Update pluggable-broker.md
2017-11-15 13:58:26 +00:00
Matthew Nesbit
ca30f22cfc
Update e2e-encryption.md
2017-11-15 13:57:41 +00:00
Matthew Nesbit
f15f57e83d
Update ssl-termination.md
2017-11-15 13:56:18 +00:00
Matthew Nesbit
1636a4bb0c
Update p2p-protocol.md
2017-11-15 13:53:03 +00:00
David Lee
829262c868
Update
2017-11-15 13:05:06 +00:00
Alberto Arri
233f1fb8e2
Move all the configuration for running doorman in its configuration f… ( #104 )
...
* Move all the configuration for running doorman in its configuration files
2017-11-15 13:04:16 +00:00
David Lee
f3ded28bef
Added extra design decision info
2017-11-15 12:49:27 +00:00
David Lee
f86b952c8a
Added link
2017-11-15 11:50:51 +00:00
David Lee
38352d5175
Added ssl-termination options doc
2017-11-15 11:50:19 +00:00
David Lee
cf22e22113
Added link
2017-11-15 10:06:15 +00:00
David Lee
5b4667ad9b
added decision doc on p2p protocol
2017-11-15 10:05:04 +00:00
Shams Asari
2fe41715cc
On exit, the driver will automaticallly shutdown any nodes which weren't waited for.
...
The motivation for this came with the recent change that a default notary is started by the driver, which if ignored will leak the notary process.
Also, waitForAllNodesToFinish() has been replaced by a driver parameter.
2017-11-14 20:20:00 +00:00
David Lee
5c62f9b243
Wording updates
2017-11-14 19:26:42 +00:00
David Lee
4e5a9e924e
Removed point
2017-11-14 16:48:35 +00:00
David Lee
4abe176af5
Update design.md
2017-11-14 16:45:48 +00:00
David Lee
414be6531d
Additional amendments based on restructuring with Mark O
2017-11-14 16:37:02 +00:00
David Lee
916add39b2
Structure & flow changes discussed with Mark Oldfield
2017-11-14 16:11:29 +00:00
Richard Green
b0af1c715c
From code review
2017-11-14 15:24:02 +00:00
Richard Green
4e67a979a0
Added some more details regarding setting log levels for individual modules
2017-11-14 15:24:02 +00:00
Thomas Schroeter
0d2382619b
Raft Notary: bootstrap command line flag
2017-11-14 13:51:21 +00:00
Patrick Kuo
64a9946f03
Replace artemis network map with http network map ( #1970 )
...
* Network map cache using Network map client instead of artemis. -- WIP
* fix up after rebase
* address PR issues, split network map update test, added todos to remove sleeps
* move jimfs and baseDir to field variable
2017-11-14 11:37:50 +00:00
Maksymilian Pawlak
1a02c9a74f
AttachmentCriteriaQuery class and infrastructure ( #2022 )
...
* Attachments metadata support
2017-11-14 10:22:02 +00:00
Matthew Nesbit
6d1dd7372a
Update design.md
2017-11-13 18:12:13 +00:00
Matthew Nesbit
ec72acc699
Update design.md
2017-11-13 17:59:21 +00:00
David Lee
17bc6a50c0
Indented
2017-11-13 17:44:14 +00:00
Matthew Nesbit
3960d16b74
Update design.md
2017-11-13 17:44:14 +00:00
David Lee
84a7be6664
Added pics and descriptions
2017-11-13 17:44:14 +00:00
David Lee
9c411e7dc2
Added challenges
2017-11-13 17:44:14 +00:00
David Lee
da05446a18
First draft
2017-11-13 17:44:13 +00:00
szymonsztuka
359610ff14
Ability to run integration tests against standalone databases
...
* Additional database confing and implied property ${nodeOrganizationName}.
* Integration tests extend from base class which allows to configure database connection (in-memory/remote db) and to run setup/tear down SQL scripts.
2017-11-13 17:29:57 +00:00
Alberto Arri
523a6db0b9
ENT-990 Make doorman read an initial set of Network parameters from d… ( #96 )
...
ENT-990 Make doorman read an initial set of Network parameters from disk at start-up time
2017-11-13 15:40:44 +00:00
Andrzej Cichocki
6b71c6cf75
Retire some initialiseSerialization booleans. ( #2019 )
2017-11-10 10:15:55 +00:00
Shams Asari
117261caa4
Retired getDefaultNotary test extension method.
...
Most uses where with MockNetwork which recently got a defaultNotaryIdentity property for dealing with the default single notary case. The remaining uses where in flows.
2017-11-07 21:20:43 +00:00
Shams Asari
e6feca2f03
Added verifySignaturesExcept which takes in a colleciton of PublicKeys
2017-11-07 13:00:16 +00:00
Katarzyna Streich
deaba2887d
Some cleanup after network map removal ( #2006 )
2017-11-07 12:16:49 +00:00
Shams Asari
a4be26a296
Removed unnecessary calls to MockNetwork.runNetwork (b/c there is no more P2P node registration) and removed redundant entries in cordappPackages
2017-11-06 21:28:20 +00:00
Christian Sailer
7765de0bf9
Merge branch 'master' of https://github.com/corda/corda into christians_os_merge_20171106
2017-11-06 17:27:13 +00:00
Shams Asari
3bb018a5ce
Removed the ability to manually start notary nodes from the driver and MockNetwork. Instead by default a single notary is automatically started. This can be customised at creation time of the driver and MockNetwork. This more accurately models the concept of network parameters in a CZ.
...
Also added helper methods to retrieve this default notary.
2017-11-05 22:55:33 +00:00
Alberto Arri
9be37c2b88
Remove useless call to waitUntilNetworkReady within driver started nodes ( #1998 )
...
Remove usages of waitUntilNetworkReady in conjunction with driver
2017-11-03 14:27:46 +00:00
Patrick Kuo
22453204ed
move node info schema to internal package ( #1976 )
2017-11-03 11:30:29 +00:00
Shams Asari
d04e48740b
Introducing network parameters.
...
network-parameters file read in by the node at startup, of which only the list of notaries is used. For now, the driver and MockNetwork have been updated to require notaries to be started first. This is so that the same set of network parameters can be defined for all the nodes.
CN in the legal name is not longer disallowed since it's no longer reserved for distributed notary names.
Single-node notaries now only have one identity, their main identity. Nodes part of a cluster continue to have two.
(Based off Kasia's work)
2017-11-03 09:46:10 +00:00
Michele Sollecito
d882f8871e
[CORDA-758]: Permissions are now checked for each RPC method. ( #1985 )
...
* Permissions are now checked for each RPC method.
* Fixed NodeMonitorModelTest
* Fixed IRSDemoTest
2017-11-02 15:09:49 +00:00
Christian Sailer
3e61d13ffe
Merge remote-tracking branch 'corda/master' into christians_os_merge_20171031
2017-11-02 14:41:18 +00:00
Alberto Arri
00e682a544
[CORDA-446] Clean up other mentions of network map node and logic ( #1974 )
...
* [CORDA-446] Clean up other mentions of network map node and logic
* Rename AbstractNetworkMapService to NetworkMapService and remove the empty NetworkMapService
* fix build
* fix artemismessaging tests
* pr comments
2017-11-01 14:25:48 +00:00
Clinton
dcaac91691
Cordformation now allows addresses to be used for non-database addresses. ( #1917 )
...
Cordformation now allows addresses to be used for non-database addresses.
2017-10-31 20:48:57 +00:00
Alberto Arri
9176fcb8e6
Remove for good network map service node ( #1942 )
...
* [CORDA-446] Kill network map registration and fix NodeBasedTest
2017-10-30 11:45:52 +00:00
Andrzej Cichocki
05d6fb91c7
Reinstate Simulation config overrides for notary. ( #1947 )
2017-10-30 11:41:53 +00:00
Joel Dudley
0d4c2d3526
Replaces links to Discourse with Stack Overflow links.
2017-10-30 10:09:08 +00:00
Alberto Arri
a0b9768be7
Retire FullNodeConfiguration ( #1954 )
...
* Retire FullNodeConfiguration
* Moved logic and tests for Artermis user names in RPCUserServiceImpl
2017-10-27 14:30:10 +01:00
Mike Hearn
428eb43abe
Minor: add a discussion to recordTransactions.
...
Discuss the interaction between coin selection and observer nodes and
why it's designed the way it is.
2017-10-26 18:05:24 +02:00
Mike Hearn
d7e4aa1783
Add more formal support for observer/regulator nodes. This is a simplistic
...
approach which assumes a dedicated node for observers: states that are
reported to the node will appear in the database and update feeds as
normal. Apps that expect all updates to be relevant to themselves may
need adjusting if they run on an observer node too, but this is likely
to be rare.
2017-10-26 18:05:24 +02:00