diff --git a/docs/build/html/_sources/creating-a-cordapp.txt b/docs/build/html/_sources/creating-a-cordapp.txt
index 8f67960851..f610ccdf81 100644
--- a/docs/build/html/_sources/creating-a-cordapp.txt
+++ b/docs/build/html/_sources/creating-a-cordapp.txt
@@ -106,10 +106,58 @@ root directory of Corda
This will publish corda-$version.jar, contracts-$version.jar, core-$version.jar and node-$version.jar to the
group com.r3corda. You can now depend on these as you normally would a Maven dependency.
-In Gradle you can depend on these by adding/modifying your build.gradle file to contain the following:
+Gradle Plugins for Cordapps
+===========================
+
+There are several Gradle plugins that reduce your build.gradle boilerplate and make development of Cordapps easier.
+The available plugins are in the gradle-plugins directory of the Corda repository.
+
+Building Gradle Plugins
+-----------------------
+
+To install to your local Maven repository the plugins that Cordapp gradle files require, run the following from the
+root of the Corda project:
+
+.. code-block:: text
+
+ ./gradlew publishToMavenLocal
+
+The plugins will now be installed to your local Maven repository in ~/.m2 on Unix and %HOMEPATH%\.m2 on Windows.
+
+Using Gradle Plugins
+--------------------
+
+To use the plugins, if you are not already using the Cordapp template project, you must modify your build.gradle. Add
+the following segments to the relevant part of your build.gradle.
+
+Template build.gradle
+=====================
+
+To build against Corda and the plugins that cordapps use, update your build.gradle to contain the following:
.. code-block:: groovy
+ buildscript {
+ ext.corda_version = ' Accepts binary streams, finds the right AcceptsFileUpload implementor and hands the stream off to it. File-based transaction storage, storing transactions per file. A first pass of a simple SchedulerService that works with MutableClocks for testing, demonstrations and simulations
that also encompasses the Vault observer for processing transactions. This will observe transactions as they are stored and schedule and unschedule activities based on the States consumed
diff --git a/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/index.html b/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/index.html
index 273964a83e..21cb39b552 100644
--- a/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/index.html
+++ b/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/index.html
@@ -38,7 +38,7 @@ activity. Only replace this for unit testing purposes. This is not the executo
A first pass of a simple SchedulerService that works with MutableClocks for testing, demonstrations and simulations
+ A first pass of a simple SchedulerService that works with MutableClocks for testing, demonstrations and simulations
that also encompasses the Vault observer for processing transactions. Add a new transaction to the store. If the store already has a transaction with the same id it will be
+overwritten. Return the transaction with the given id, or null if no such transaction exists. Get a synchronous Observable of updates. When observations are pushed to the Observer, the vault will already
+incorporate the update. Add a new transaction to the store. If the store already has a transaction with the same id it will be
+overwritten. Return the transaction with the given id, or null if no such transaction exists. Returns all currently stored transactions and further fresh ones. Returns all currently stored transactions and further fresh ones. Get a synchronous Observable of updates. When observations are pushed to the Observer, the vault will already
+incorporate the update. Getter Get a synchronous Observable of updates. When observations are pushed to the Observer, the vault will already
+incorporate the update.
+
+com.r3corda.node.services.persistence.DBTransactionStorage
+
+
+
+
com.r3corda.node.servlets.DataUploadServlet
+
+DBTransactionStorage
+
+
+class DBTransactionStorage : TransactionStorage
+
PerFileTransactionStorage
class PerFileTransactionStorage : TransactionStorage
sendAndReceive
-
+fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
-fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
+fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
diff --git a/docs/build/html/api/com.r3corda.demos.protocols/-exit-server-protocol/-broadcast/index.html b/docs/build/html/api/com.r3corda.demos.protocols/-exit-server-protocol/-broadcast/index.html
index b041d85261..2b5974fc94 100644
--- a/docs/build/html/api/com.r3corda.demos.protocols/-exit-server-protocol/-broadcast/index.html
+++ b/docs/build/html/api/com.r3corda.demos.protocols/-exit-server-protocol/-broadcast/index.html
@@ -102,8 +102,8 @@ will do as long as the other side registers with it.
receive
-
+fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
-fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
+fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
diff --git a/docs/build/html/api/com.r3corda.demos.protocols/-update-business-day-protocol/-broadcast/index.html b/docs/build/html/api/com.r3corda.demos.protocols/-update-business-day-protocol/-broadcast/index.html
index 130deb7391..acd210dceb 100644
--- a/docs/build/html/api/com.r3corda.demos.protocols/-update-business-day-protocol/-broadcast/index.html
+++ b/docs/build/html/api/com.r3corda.demos.protocols/-update-business-day-protocol/-broadcast/index.html
@@ -109,8 +109,8 @@ will do as long as the other side registers with it.
receive
-
+fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
-fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
+fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/-init-.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/-init-.html
new file mode 100644
index 0000000000..9bd4a656de
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/-init-.html
@@ -0,0 +1,14 @@
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/-init-.html b/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/-init-.html
index 3cf57d6f43..848fcb5d68 100644
--- a/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/-init-.html
+++ b/docs/build/html/api/com.r3corda.node.services.events/-node-scheduler-service/-init-.html
@@ -7,7 +7,7 @@
com.r3corda.node.services.events / NodeSchedulerService / <init>
<init>
-NodeSchedulerService(services: ServiceHubInternal, protocolLogicRefFactory: ProtocolLogicRefFactory = ProtocolLogicRefFactory(), schedulerTimerExecutor: Executor = Executors.newSingleThreadExecutor())
+NodeSchedulerService(database: <ERROR CLASS>, services: ServiceHubInternal, protocolLogicRefFactory: ProtocolLogicRefFactory = ProtocolLogicRefFactory(), schedulerTimerExecutor: Executor = Executors.newSingleThreadExecutor())
<init>
-
NodeSchedulerService(services: ServiceHubInternal, protocolLogicRefFactory: ProtocolLogicRefFactory = ProtocolLogicRefFactory(), schedulerTimerExecutor: Executor = Executors.newSingleThreadExecutor())
NodeSchedulerService(database: <ERROR CLASS>, services: ServiceHubInternal, protocolLogicRefFactory: ProtocolLogicRefFactory = ProtocolLogicRefFactory(), schedulerTimerExecutor: Executor = Executors.newSingleThreadExecutor())
+
+<init>
+DBTransactionStorage()
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/add-transaction.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/add-transaction.html
new file mode 100644
index 0000000000..018cb5ea59
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/add-transaction.html
@@ -0,0 +1,18 @@
+
+
+
+
+addTransaction
+
+fun addTransaction(transaction: SignedTransaction): Unit
+Overrides TransactionStorage.addTransaction
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/get-transaction.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/get-transaction.html
new file mode 100644
index 0000000000..823c9d7a66
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/get-transaction.html
@@ -0,0 +1,17 @@
+
+
+
+
+getTransaction
+
+fun getTransaction(id: SecureHash): SignedTransaction?
+Overrides ReadOnlyTransactionStorage.getTransaction
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/index.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/index.html
new file mode 100644
index 0000000000..57b19368bd
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/index.html
@@ -0,0 +1,77 @@
+
+
+
+
+DBTransactionStorage
+class DBTransactionStorage : TransactionStorage
+
+
+Constructors
+
+
+
+
+
+
+
+<init>
+
+
+DBTransactionStorage()
Properties
+
+
+
+
+
+
+transactions
+
+
+val transactions: Iterable<SignedTransaction>
+
+
+updates
+
+
+val updates: <ERROR CLASS><SignedTransaction>
+
+
+
+updatesPublisher
+
+
+val updatesPublisher: <ERROR CLASS>
Functions
+
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/track.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/track.html
new file mode 100644
index 0000000000..1a931dd818
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/track.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+addTransaction
+
+
+fun addTransaction(transaction: SignedTransaction): Unit
+
+
+getTransaction
+
+
+fun getTransaction(id: SecureHash): SignedTransaction?
+
+
+
+track
+
+
+fun track(): <ERROR CLASS><List<SignedTransaction>, <ERROR CLASS><SignedTransaction>>
+
+track
+
+fun track(): <ERROR CLASS><List<SignedTransaction>, <ERROR CLASS><SignedTransaction>>
+Overrides ReadOnlyTransactionStorage.track
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/transactions.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/transactions.html
new file mode 100644
index 0000000000..9012ae6e30
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/transactions.html
@@ -0,0 +1,15 @@
+
+
+
+
+transactions
+
+val transactions: Iterable<SignedTransaction>
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/updates-publisher.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/updates-publisher.html
new file mode 100644
index 0000000000..876e5b4305
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/updates-publisher.html
@@ -0,0 +1,15 @@
+
+
+
+
+updatesPublisher
+
+val updatesPublisher: <ERROR CLASS>
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/updates.html b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/updates.html
new file mode 100644
index 0000000000..c1de7bac76
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/-d-b-transaction-storage/updates.html
@@ -0,0 +1,22 @@
+
+
+
+
+updates
+
+val updates: <ERROR CLASS><SignedTransaction>
+Overrides ReadOnlyTransactionStorage.updates
+
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.node.services.persistence/index.html b/docs/build/html/api/com.r3corda.node.services.persistence/index.html
index 3e23bde613..dc8b7361fe 100644
--- a/docs/build/html/api/com.r3corda.node.services.persistence/index.html
+++ b/docs/build/html/api/com.r3corda.node.services.persistence/index.html
@@ -19,6 +19,12 @@
+
+DBTransactionStorage
+
+
+class DBTransactionStorage : TransactionStorage
+
DataVending
diff --git a/docs/build/html/api/com.r3corda.node.services.statemachine/-state-machine-manager/-session-init/-init-.html b/docs/build/html/api/com.r3corda.node.services.statemachine/-state-machine-manager/-session-init/-init-.html
index 41effcc4fb..dd195e0f73 100644
--- a/docs/build/html/api/com.r3corda.node.services.statemachine/-state-machine-manager/-session-init/-init-.html
+++ b/docs/build/html/api/com.r3corda.node.services.statemachine/-state-machine-manager/-session-init/-init-.html
@@ -7,7 +7,7 @@
com.r3corda.node.services.statemachine / StateMachineManager / SessionInit / <init>object DataVending
<init>
-SessionInit(initiatorSessionId: Long, initiatorParty: Party, protocolName: String)
+SessionInit(initiatorSessionId: Long, initiatorParty: Party, protocolName: String, firstPayload: Any?)
val firstPayload: Any?
diff --git a/docs/build/html/api/com.r3corda.node.services.statemachine/-state-machine-manager/-session-init/first-payload.html b/docs/build/html/api/com.r3corda.node.services.statemachine/-state-machine-manager/-session-init/first-payload.html new file mode 100644 index 0000000000..085d38808c --- /dev/null +++ b/docs/build/html/api/com.r3corda.node.services.statemachine/-state-machine-manager/-session-init/first-payload.html @@ -0,0 +1,15 @@ + +
+
+ + +
+