Commit Graph

5430 Commits

Author SHA1 Message Date
Joel Dudley
9e9dda6693
Removes old Corda Zone reference (#3781) 2018-08-14 13:03:56 +01:00
Joel Dudley
5fcabfec57
Update index.rst 2018-08-14 10:09:40 +01:00
joeldudleyr3
5e46032f2c RELEASE - Backport fixes
* Rolls back dirty change.
 * Rolls back unneeded import.
2018-08-08 11:30:57 +01:00
Dan Newton
599aa709dd CORDA-1837 - Reject nodes that have the same organisation name in driver tests (#3740)
* Reject nodes that have the same organisation name as a previously registered node rather than the same X500 name

DriverDSLImpl -> NetworkVisibilityController -> register check organisation name rather than X500 name and throw IllegalStateException if already exists
Added test to DriverTests to test multiple organisation names end exceptionally

* Remove redundant test and store the organisation names rather than X500 names for driver tests
2018-08-08 11:30:57 +01:00
Jiachuan Li
83a0988517 DOCS - 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-08-08 11:30:57 +01:00
Jiachuan
f23f2ee696 CORDA-1201 - Remove duplicated doc section. (#2924) 2018-08-08 11:30:57 +01:00
PyPie
07e3ff502f DOCS - A typo fix.
Line 108
Was: We want to create an IOU of 100 with PartyB. We start the ``IOUFlow`` by typing:
Should be We want to create an IOU of 99 with PartyB. We start the ``IOUFlow`` by typing:
2018-08-08 11:30:57 +01:00
Roman Plášil
ec1e40109d CONTRIBUTION - Configure NetworkMapUpdater executor so that it doesn't block node shutdown (#3530) 2018-08-08 11:30:57 +01:00
renlulu
cda7c29243 CONTRIBUTION - Optimize imports (#2872) 2018-08-08 11:30:57 +01:00
cxyzhang0
a86c79e40c CONTRIBUTION - IdentitySyncFlow - loadStates of an input only if it is in local storage (#3701) 2018-08-08 11:30:57 +01:00
Tushar Singh Bora
279b8deaa6 DOCS - Update Shell.rst with CashIssueFlow (#3546)
* Updated for issue: 3120

https://github.com/corda/corda/issues/3120- for details

* Updated shell.rst

Correct Shell Flow usaged for CashIssueFlow

* Updated Shell.rst as per latest CashIssueFlow
2018-08-08 11:30:57 +01:00
Venelin Stoykov
4def8395b3 DOCS - flowTracker to progressTracker (#3316)
Resolve #3291
2018-08-08 11:30:57 +01:00
Mohamed Amine LEGHERABA
14e9bf100d DOCS - update azure documentation (#2950)
add yo!app deployment for Corda V2
2018-08-08 11:30:57 +01:00
kid101
37656a58f5 CONTRIBUTION - Update tut-two-party-flow.rst (#3133)
Bug: https://github.com/corda/corda/issues/3120
Updated line 55: From: IOUContract.Commands.Create -> IOUContract.Create
2018-08-08 11:30:57 +01:00
Stanly Johnson
f9a9bb19a7 CONTRIBUTION - Network bootstrapper check for duplicate node names (#3182) 2018-08-08 11:30:57 +01:00
Tittu Varghese
cd89888655 CONTRIBUTION - Added favicon to docs.corda.net (#3199)
* Added favicon to docs.corda.net

* docs.corda.net favicon path fix
2018-08-08 11:30:57 +01:00
Tudor Malene
11d59cf86a CORDA-1847 - Backport hibernate observer fix (#3726)
* CORDA-1847 Backport hibernate observer fix

* CORDA-1847 Fix tests
2018-08-06 11:51:01 +01:00
Joel Dudley
617a96036c
Backports network bootstrapper docs. (#3718) 2018-07-30 13:05:24 +01:00
joeldudleyr3
bce45149a4 Reflects network builder docs. 2018-07-27 15:51:36 +01:00
Anthony Keenan
53b33f138b CORDA-1585 - Tidy up participate docs (#3682)
* 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

# Conflicts:
#	docs/source/building-container-images.rst
#	docs/source/conf.py
#	docs/source/contributing.rst
#	docs/source/getting-set-up.rst
#	docs/source/index.rst
#	docs/source/release-process-index.rst

* Fixing merge issue

* Add release process changes into index
2018-07-27 10:54:18 +01:00
Katelyn Baker
143e6d3265 RELEASE - Align main V3 release branch with 3.2 release
Should 3.3 occur then this won't break the upgrade or release note
flow
2018-07-24 15:20:22 +01:00
Katelyn Baker
1c5ae15fa4 RELEASE - Bump potential build number
Given we released 3.2-corda from the release-V3.X branch bump
the version number here for the next release.
2018-07-24 14:23:31 +01:00
Joel Dudley
521c1e3e08
Improves docs on running Example CorDapp. Debugging info. (#3670)
* Updates instructions for running example CorDapp.

* Readds debugging information.
2018-07-23 14:49:19 +01:00
Clinton Alexander
2303cdc39e RELEASE - Fixed build.gradle issues that break maven central publishing and standardised dependency specification. 2018-07-20 14:45:35 +01:00
Katelyn Baker
f44cec5321
CORDA-1789 - Split Doorman / NM config - fix for CORDA-1510 (#3605) 2018-07-17 15:11:31 +01:00
Katelyn Baker
729d1b29a6
CORDA-1790 - Roll back flow transaction on exception (#3597) (#3616)
* CORDA-1790 Roll back flow transaction on exception

* CORDA-1790 Roll back flow transaction on exception

* CORDA-1790 Roll back flow transaction on exception
2018-07-16 17:44:34 +01:00
Viktor Kolomeyko
ac6cbeca0c CORDA-1686 - Make "rpc-client-sender" daemon (#3455) (#3611)
Such that they do not prevent application that started them from exiting.

(cherry picked from commit 3492350)
2018-07-16 11:26:13 +01:00
Michele Sollecito
3da07a1105
Merge pull request #3613 from corda/kat/bakport/corda-1804
CORDA-1499, CORDA-1804  (#3607)
2018-07-16 10:39:30 +01:00
szymonsztuka
5f0c8e0707 Backport CORDA-1499 CORDA-1804 - remove unused code. 2018-07-16 10:35:53 +01:00
Katelyn Baker
9865170233 CORDA-1808 - Refactor serialization test infrastructure backport 2018-07-16 10:16:38 +01:00
Katelyn Baker
a47348d52a CORDA-1662 - Post backport fixes 2018-07-16 10:16:38 +01:00
Katelyn Baker
61b8bb4c6b CORDA-1662 - Corda Serialization Evolution breaksdown with Java classes (#3427)
Nullability logic was relying on annotations that Kotlin applies by
default but is left to the developer in Javaland. Change this around
so it works for both.

In Kotlin, the property must be nullable, in Java, it can't be a
primitive.
2018-07-16 10:16:38 +01:00
szymonsztuka
fad90eee8b CORDA-1499, CORDA-1804 (#3607)
* Fix a typo in node_attchments_contracts table name. (#3202)

(cherry picked from commit 57d379597b)

* 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.

(cherry picked from commit 208ac49da0)

* Fixes after cherry-pick of 208ac49da0.
2018-07-16 10:06:34 +01:00
Katelyn Baker
a7e1381086
CORDA-1634 - Destroy child processes when parent exits. (#3368) (#3604)
* [CORDA-1634] Destroy child processes when parent exits.

* Add comment.

* Register Shutdownhook for processes regardless of whether the Driver was initialized with

* Add comment.

* Revert "Add comment."

This reverts commit a5e78c379f.

* Add comment.

* Add shutdown hook in ShutdownManager.registerProcessShutdown.

* Initialize the ShutdownManager with a shutdown hook to ensure that  is called.

* Add comment.
2018-07-13 18:15:05 +01:00
Katelyn Baker
143379dad7
CORDA-1588 - Add an extra check in the attachment resolution flow to prevent duplicate attachment import if multiple transactions with the same attachment are being resolved at the same time. (#3599) 2018-07-13 18:14:34 +01:00
Katelyn Baker
c73647b4fe
CORDA-1628 - Increase max restart count for notary client flows. (#3357) (#3603)
This will ensure that the notary client flow will retry over a sufficient
period of time for the notary to update its network map.

With a backoff base of 1.8 and 5 retries the last retry will fire after
about 20 min 8 sec of the initial flow start:

0	30
1	54
2	97.2
3	174.96
4	314.928
5	566.8704

Total 1207.9584	= 20.13264 min
2018-07-13 18:13:41 +01:00
Katelyn Baker
5772208c7c
CORDA-1717 - backport bootstrapper to 3.2 (#3496) (#3602) 2018-07-13 18:13:24 +01:00
Katelyn Baker
9259c9ec45 Serialization documentation backport (#3594) 2018-07-13 14:44:03 +01:00
Katelyn Baker
b36cfab871
CORDA-1727 - Document more clearly the supported version of IntelliJ and the IntelliJ Kotlin Plugins. (#3550) (#3588) 2018-07-13 13:52:06 +01:00
James Brown
2b78b3f724 CORDA-1744 - update jolokia to latest version (#3564) 2018-07-13 13:33:54 +01:00
Michal Kit
3541a00343 remove CRL url from dev doorman cert (#3555) (#3560) 2018-07-13 12:38:23 +01:00
Shams Asari
9fc108aa1e CORDA-1709 - The MVP blob inspector, able to inspect network service blobs (#3503)
* Cleanup and improvements to the serialisation format of JacksonSupport (needed for CORDA-1238) (#3102)

Also deprecated all the public members that shouldn't have leaked into the public API.

(cherry picked from commit 3bb95c3)

* CORDA-1238: Updated JacksonSupport to support SerializedBytes, CertPath, X509Certificate and the signature classes (#3145)

SerializedBytes are first converted to the object it represents before being serialised as a pojo.

These changes will be needed to support the the blob inspector when it will output to YAML/JSON.

(cherry picked from commit b031e66)

* Cherry picked part of commit 824adca to port over *only* the JackSupport refactoring.

* CORDA-1238: Moved the blob inspector out of experimental and wired it to JackonSupport (#3224)

The existing output format was not complete and so was deleted to avoid it becoming a tech debt. We can always resurrect it at a later point.

(cherry picked from commit 4e0378d)

* Added back support for parsing OpaqueBytes as UTF-8 strings in JacksonSupport (#3240)

(cherry picked from commit d772bc8)

* Cleaned up blob inspector doc (#3284)

(cherry picked from commit b7fbebb)

* Blobinspector: trace level logging with --verbose (#3313)

(cherry picked from commit 6a2e50b)

* Cherry picked part of commit 3046843 to fix issue with --version

* Fixes to the api file
2018-07-03 19:58:13 +01:00
Tommy Lillehagen
00c9b8ce49 CORDA-1711 - Remove dependency on PathUtilsKt in net.corda.core.internal (#3495) 2018-07-03 13:05:10 +01:00
Katelyn Baker
f86aaa2866
CORDA-1510 - Allow Doorman and NetworkMap to be configured independently (#3494)
* CORDA-1510 - Allow Doorman and NetworkMap to be configured independently  (#3485)

Currently only one compatabilityZoneURL can be specified, however the
two services can be run on as separate servers. Allow nodes to be
configured in this manner

* Fix cherry-pick
2018-07-03 12:57:03 +01:00
Michal Kit
d1409656bc CORDA-1661 - Reverting DEV certificates keys (#3466) 2018-06-29 13:41:03 +01:00
Anthony Keenan
5be8c9a102 CORDA-1498 - serialization multiple transform bug (#3391)
* CORDA-1498: serialization multiple transform bug (#3216)

* Fix issue when evolving enums with transformation chains

* Regenerate test data for deserializeWithRename test and unignore

* Further tweaks / remove debugging

* Formatting tweaks

* Address review comments

* Remove debug

* Add classname to serialization tranform exceptions

* Use direct node links instead of indexes to improve readability

* More readability tweaks

* More readability improvements

* rename require to requireThat to resolve conflict with kotlin libraries

* Add logging of error message

* Change requireThat helper to inline function

* remove unneeded toString

* Further tweaks

* Change NotSerializableException to more generic IOException

* Make exception context clearer

# Conflicts:
#	node-api/src/test/kotlin/net/corda/nodeapi/internal/serialization/amqp/EnumEvolvabilityTests.kt
#	serialization/src/test/resources/net/corda/serialization/internal/amqp/EnumEvolveTests.deserializeWithRename.1.C
#	serialization/src/test/resources/net/corda/serialization/internal/amqp/EnumEvolveTests.deserializeWithRename.2.C
#	serialization/src/test/resources/net/corda/serialization/internal/amqp/EnumEvolveTests.deserializeWithRename.3.C

* Fix merge conflicts

* Fix broken test

* Revert changes to serialized classes
2018-06-22 15:53:18 +01:00
Ivan Schasny
371031dd3b CORDA-1459 - Buggy CommodityContract issuance logic (#3338) 2018-06-12 17:24:03 +01:00
Michele Sollecito
b6339a7fc6 CORDA-1575, CORDA-1341 - Fix logfiles for out of process nodes, Ensure API can be called concurrently wrt transactions.(#3312)
* [CORDA-1575]: Out of process nodes started by the driver do not log to file (fix).

* [CORDA-1341]: Ensure API can be called concurrently wrt transactions.

* [CORDA-1575]: Fixed unstable test.
2018-06-07 11:26:19 +01:00
szymonsztuka
588c480bcd CORDA-1499 - Fix a typo in node_attchments_contracts table name. (#3310)
(cherry picked from commit fc54263)
2018-06-06 16:03:25 +01:00
szymonsztuka
cdce596acd CORDA-1266 - When a cash output is identical only the fist output is saved. (#3244) (#3311)
(cherry picked from commit 0a4d981)
2018-06-06 16:02:50 +01:00