Commit Graph

1445 Commits

Author SHA1 Message Date
Shams Asari
dfafdbcb9f
Added checks against the use of the special uploader tokens (#3724)
"app", "rpc", "p2p" and "unknown" have security implications (see isUploaderTrusted method) and thus they are not allowed to be used in the uploader field when importing attachments via the public API.
2018-07-31 17:01:39 +01:00
Shams Asari
994fe0dbdc
CORDA-1845: Check for min plaform version of 4 when building transactions with reference states (#3705)
Also includes some minor cleanup brought up in a previous PR.
2018-07-31 16:07:35 +01:00
Jiachuan Li
d42b9f51ac Miner change to mention notary node dosen't need web server, and also change the total terminal windows number from 8 to 5 (#3012)
* There is a duplication of the kotlin introduce part, which is the same as the description of the "Note" section right below. So remove this duplicated part but keep the "Note".

* A miner change about the build node folder structure, first is Notary node doesn't need one web server, second is in V3.0, there are 5 windows totally but not 8.

* Miner updates for the format of changes, as instructed by Joel on https://github.com/corda/corda/pull/3012
2018-07-31 15:36:25 +01:00
Tudor Malene
85caa9ee9d
Feature/corda 1847/remove hibernate observers (#3696)
* CORDA-1847 Fix hibernate observer issue

* CORDA-1847 Fix hibernate observer issue

* CORDA-1847 Fix hibernate observer issue

* CORDA-1847 Fix tests

* CORDA-1847 Fix tests

* CORDA-1847 Fix tests
2018-07-31 13:52:13 +01:00
Dominic Fox
4542e0cd06
CORDA-916: Add registerFlowFactory method to public test API (#3720)
* Add registerFlowFactory method to public test API

* Return CordaFuture rather than a plain Future

* Rename method

* Improve KDoc

* Hide internal interface with public wrapper

* Modify API current to include ResponderFlowFactory interface

* Take API definition change from generated file

* Note API change in changelog
2018-07-31 13:33:18 +01:00
Joel Dudley
666b1d0faf
Reflects network builder docs on Master. (#3709) 2018-07-27 16:50:53 +01:00
Joel Dudley
4075e29120
Fixes formatting. Fixes link. (#3693) 2018-07-26 10:09:35 +01:00
Shams Asari
cdddd84e6b
Fix link to blob inspector download page (#3691) 2018-07-25 18:38:13 +01:00
Katelyn Baker
333b8d0658
RELEASE - Update upgrade and release notes on master post V3.2 (#3683) 2018-07-25 18:04:02 +01:00
Roger Willis
8207ac3222
CORDA-1332 Reference input states (#3525)
* * First commit for reference input states feature.

* Added docs.
* Added additional test.

* Fixed whitespace.

* Rebased to master.
* Updated Raft and persistent notary implementations.

* Updated changelog.

* Updated topo sort to handle reference states.
* Stubbed out with referenced states flow.

* Added WithReferencedStatesFlow.
* Added Tests for WithReferencedStatesFlow.
* Added ReferenceState type.
* Rebased to latest version of master.

* Added better comments.
* Updated unit test.

* Added comment to explain a little hack.
* Fixed broken contract upgrade RPC test.

* Added minimum platform version check.
* Updated mock network so that notary nodes inherit the platform version set by the network's minimum platform version.
* References states can now only be used when minimum platform version >= 4.

* Created a new file to hold async operations as "WaitForStatesToUpdate" is broadly reusable.
* Refactored WithReferenceStatesFlow

* Updated javadoc for WaitForStatesToUpdate aysnc operation.

* Added network parameters property to InternalMockNetwork.

* Added min platform version capability to mock services.

* Removed erroneous chars from file.

* Made async operation internal and now call it from FlowLogic.
* Moved some transaction checking code around.

* Removed serializable annotation from referenced state and ref.
* Added reference states design doc.
* Added missing KDocs.
* Updated with reference states flow to handle consecutive update races.
* Made platform version info an inheritable thread local.
* Fixed various typos.
* Updated docs.

* Fixed race.

* Removed min platform version checks as API needs more thought.

* Added deprecation to method and supressed warnings.

* Renamed WaitForStatesToUpdate to WaitForStateConsumption.
* Fixed race in WaitForStateConsumption.

* Addressed PR comments and updated comments / KDocs.

* Reverse vault bugfixes.

* * Vault bug fixes.

* * Fixed broken test.
* Moved WaitForStateConsumption to internal package.
2018-07-25 14:06:56 +01:00
Joel Dudley
9571f7d905
Removes Identity page. Reworks it into the Network page. (#3687)
* Removes Identity page. Reworks it into the Network page.

* Removes stray doorman reference.

* Addresses review feedback.
2018-07-25 13:13:10 +01:00
Eric McEvoy
121dbec877
Merge pull request #3684 from EricMcEvoyR3/master
Docs added MacOSX version of Intellij Project Structure JDK Set-Up
2018-07-25 10:00:52 +01:00
Tudor Malene
40fc56f2ea
Feature/corda 1813/change postgres column type (#3631)
* CORDA-1813 fix Postgres db bloat issue

* CORDA-1813 merge fixes

* CORDA-1813 change column type and size to a standard corda type

* CORDA-1813 docs

* CORDA-1813 create custom hibernate type for the checkpoint blob and align with enterprise

* CORDA-1813 Remove max col size

* CORDA-1813 Remove max col size

* CORDA-1813 Fix merge

* CORDA-1813 Remove buggy :serverNameTablePrefix: configuration
2018-07-25 09:52:57 +01:00
EricMcEvoyR3
73ec84a0bc Docs added MacOSX version of Intellij Project Structure JDK Set-Up 2018-07-24 17:33:55 +01:00
Joel Dudley
757181e26d
Docs don't make it clear that folder should be selected, not parent folder. (#3678) 2018-07-24 16:42:34 +01:00
Anthony Keenan
b9efbaa228
CORDA-1585 - Tidy up participate docs + pdf toctree backport (#3674)
* Fix TOC for HTML and PDF (Backport from Enterprise docs)

* Tidy up participate section

* Address review comments
2018-07-24 10:05:57 +01:00
Joel Dudley
a7b1175833
Extended docs on h2settings (#3669)
* Extended docs on h2settings

* Documents h2port being deprecated in favour of h2settings.

* Fixes link.

* Capitalisation
2018-07-23 14:15:09 +01:00
Joel Dudley
403a165ab6
Make it clear that must restart node after installing CorDapp. (#3666) 2018-07-23 11:37:44 +01:00
Michele Sollecito
abc1d99eaa
[CORDA-1799]: Avoid generating test CorDapp JARs from each out of process node started by the driver (#3641) 2018-07-23 11:18:11 +01:00
Tommy Lillehagen
6427eb3937 ENT-2296 - Fix typo in docs (#3665) 2018-07-23 08:51:52 +01:00
cxyzhang0
d2446be69e MSSQL support (#3382)
* MSSQL support

* changes per reviewer's comments; doc

* clean up

* CONTRIBUTORS.md

* minor change in comment

* another minor change in comment

* minor formatting

* Comments formatting per recommend style; contributors in alphabet order

* more comment formatting per coding style

* Change MSSQL to SQLServer in codes and comments

* Change MSSQL to SQLServer in doc

* Use generateSequence to build repeats of ?,?,...?
2018-07-20 16:25:15 +01:00
Nick Arini
e5d82cc9b4
Na testnet explorer docs (#3660)
* added doc on testing deployment with node explorer
2018-07-20 16:21:24 +01:00
Jonathan Sphar
cad684fbd3 Add Ubuntu environment setup instructions to docs/getting-set-up (#3608)
* remove network simulator references in docs

* Added environment setup instructions for Ubuntu

* Revert "Upstream merge"

This reverts commit db4920fa68, reversing
changes made to 208ac49da0.

* Address review comments
2018-07-20 11:55:32 +01:00
Konstantinos Chalkias
a94dbc9c9a
Change SZ to CZ in the cert hierarchy diagram (#3655) 2018-07-19 16:07:50 +01:00
Nick Arini
82d7ec0729
Na testnet screenshots (#3647)
* update docs/screenshots
2018-07-18 16:38:30 +01:00
Joel Dudley
08b5cb6d5f
Remove old future to event horizon not being implemented. (#3642) 2018-07-18 11:05:30 +01:00
James Brown
dafd979bde CORDA-1818 - fix markup in h2 docs (#3629) 2018-07-17 17:47:46 +01:00
Konstantinos Chalkias
8a54badc6a
CORDA-1514 Add our patented nested Merkle trees protocol to documentation 2018-07-17 15:36:10 +01:00
Shams Asari
921b132658
Deprecated freeLocalHostAndPort, freePort and getFreeLocalPorts of TestUtils (#3630)
They're prone to cause flaky tests due to the "allocated" ports already being taken by the system when eventually needed. Replaced usages with PortAllocation.Incremental.

Affected unit tests made into integration tests to avoid any issues in the future when unit tests are made to run in parallel.
2018-07-17 14:42:30 +01:00
Konstantinos Chalkias
a8fa232301
CORDA-1516 - Adding notary to key-concepts-transactions (#3502)
also decided not to include info about privacy salt (as too complex)
2018-07-17 11:53:53 +01:00
Nick Arini
aee2377f4f Add a doc on local configuration for a Corda testnet node. (#3623)
* Add a page on local deployment

* Add a page on local deployment

* Fix typos

* add image

* Added warning on copying nodes.

* Added warning

* Fix reviewer comments

* Update index

* broken note

* typo
2018-07-17 10:45:46 +01:00
Andrius Dagys
1cffe1b080 Docs: update notary setup page 2018-07-17 11:26:55 +02:00
Florian Friemel
1ca2059863
[CORDA-1635] Update docs (node naming constraints). (#3595)
* Update docs (node naming constraints).

* Update CordaX500NameTest to ensure consistency with the docs.

* Respond to feedback.
2018-07-16 17:29:29 +01:00
Andrius Dagys
a1cb184a1d ENT-2168: Node internal docs tweaks (#3624) 2018-07-16 17:13:43 +01:00
Shams Asari
ca56f6bd33
Fixed out-of-date integration testing tutorial and added Java example (#3596) 2018-07-16 13:14:57 +01:00
szymonsztuka
9f905da036
Missing upgrade notes for table change in v3.1 - related to CORDA-1804 (#3567)
Document different upgrade notes for table name change from v3.0 or from v3.1/v3.2 to the current version (a table change introduced in v3.1 was not documented in upgrade notes).
2018-07-16 11:43:24 +01:00
Andras Slemmer
382d65fbb1
Merge pull request #3289 from corda/CORDA-1578/aslemmer-smm-extension-docs
CORDA-1578: Add flow state machine extension tutorial
2018-07-16 11:16:10 +01:00
Anthony Keenan
a4ad4c7563
CORDA-1725 Add documentation on building Corda for Win/*nix and clean up doc bui… (#3578)
* Add documentation on building Corda for Win/*nix and clean up doc building documentation

* Split up building corda instructions from building docs instructions

* Address review comments
2018-07-13 22:12:20 +01:00
szymonsztuka
208ac49da0
CORDA-1804 Corda node stops when detecting not migrated node_attachments_contracts table name (#3593)
Database table NODE_ATTACHMENTS_CONTRACT_CLASS_NAME in v3.0 was changed to NODE_ATTCHMENTS_CONTRACTS in v3.1 and then finally NODE_ATTACHMENTS_CONTRACTS on current master. Users may omit the upgrade note and run into errors. After the change the node will not start if the new table name is not found and any other older ones is found.
2018-07-13 16:23:20 +01:00
Rick Parker
ed25d8f1be
ENT-1565 Upgrade Artemis version to latest. (#3557)
* ENT-1565 Upgrade Artemis version to latest.

* Fix compiler errors.

* Add to changelog

* Additional commentary on Proton-J version
2018-07-13 10:10:26 +01:00
Thomas Schroeter
e90d7c69c5
Minor: doc fixes (#3584) 2018-07-13 09:58:05 +01:00
Tommy Lillehagen
f7a4c19656 CORDA-1803 - Fix variable replacement (#3585) 2018-07-13 09:40:02 +01:00
Joel Dudley
98117392db
Stray full-stop 2018-07-12 17:52:16 +01:00
Mike Hearn
db1e33c820 Docs: clean up the toctree a little bit w.r.t. serialisation and tools 2018-07-12 18:42:19 +02:00
Mike Hearn
20c03d2196 Blob inspector: add support for hex and base64 inputs.
Also rename the file to make it easier to navigate to it in IntelliJ
by keyboard.
2018-07-12 18:42:19 +02:00
Joel Dudley
21754e4323
Removes reference to Discourse. (#3581) 2018-07-12 17:40:10 +01:00
Joel Dudley
d8cd83bf4f
Removes duplicated instructions for running example CorDapp. (#3579) 2018-07-12 17:34:13 +01:00
Andras Slemmer
18a9155e89 Add java samples 2018-07-12 15:30:23 +01:00
Andras Slemmer
8c1ea4a61d Fix test 2018-07-12 15:30:23 +01:00
Andras Slemmer
d375875054 Address comments 2018-07-12 15:30:23 +01:00