Skip to content

Commit 4fcc8a8

Browse files
committed
features samples upgrade
1 parent 2e2409e commit 4fcc8a8

File tree

11 files changed

+14
-15
lines changed

11 files changed

+14
-15
lines changed

Features/attachment-blacklist/workflows/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ tasks.withType(JavaCompile) {
7979
task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
8080
nodeDefaults {
8181
cordapp project(':contracts')
82+
runSchemaMigration = true
8283
}
8384
node {
8485
name "O=Notary,L=London,C=GB"

Features/attachment-sendfile/workflows/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
6464
deploy = true
6565
}
6666
cordapp project(':contracts')
67+
runSchemaMigration = true
6768
}
6869
node {
6970
name "O=Notary,L=London,C=GB"

Features/confidentialidentity-whistleblower/workflows/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
6868
nodeDefaults {
6969
cordapp "$corda_release_group:corda-confidential-identities:$corda_release_version"
7070
cordapp project(':contracts')
71+
runSchemaMigration = true
7172
}
7273
node {
7374
name "O=Notary,L=Nakuru,C=KE"
@@ -106,4 +107,4 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
106107
rpcUsers = [[user: "user1", "password": "test", "permissions": ["ALL"]]]
107108
}
108109

109-
}
110+
}

Features/cordaservice-autopayroll/workflows/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
6969
deploy = true
7070
}
7171
cordapp project(':contracts')
72+
runSchemaMigration = true
7273
}
7374
node {
7475
name "O=Notary,L=London,C=GB"

Features/notarychange-iou/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
107107
}
108108
cordapp project(':contracts')
109109
cordapp project(':workflows')
110+
runSchemaMigration = true
110111
}
111112
node {
112113
name "O=NotaryA,L=London,C=GB"

Features/observablestates-tradereporting/workflows/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
2121
deploy = true
2222
}
2323
cordapp project(':contracts')
24-
24+
runSchemaMigration = true
2525
rpcUsers = [[ user: "user1", "password": "test", "permissions": ["ALL"]]]
2626
}
2727
node {

Features/oracle-primenumber/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
7777
projectCordapp {
7878
deploy = false
7979
}
80+
runSchemaMigration = true
8081
}
8182
node {
8283
name "O=Notary,L=London,C=GB"

Features/queryablestate-carinsurance/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
119119
node {
120120
name "O=Insurer,L=London,C=GB"
121121
p2pPort 10005
122-
rpcSettings {
122+
rpcSettings {gh
123123
address("localhost:10006")
124124
adminAddress("localhost:10046")
125125
}

Features/queryablestate-carinsurance/workflows/src/main/resources/migration/claim-detail.changelog-v1.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
66
<changeSet author="R3.Corda" id="create_claim_detail_state">
77
<createTable tableName="claim_detail">
8-
<column name="output_index" type="INT">
9-
<constraints nullable="false"/>
10-
</column>
11-
<column name="transaction_id" type="NVARCHAR(64)">
12-
<constraints nullable="false"/>
13-
</column>
8+
<column name="output_index" type="INT"/>
9+
<column name="transaction_id" type="NVARCHAR(64)"/>
1410
<column name="claimAmount" type="int"/>
1511
<column name="claimNumber" type="NVARCHAR(64)"/>
1612
<column name="claimDescription" type="NVARCHAR(64)"/>

Features/queryablestate-carinsurance/workflows/src/main/resources/migration/insurance-detail.changelog-v1.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
66
<changeSet author="R3.Corda" id="create_insurance_detail_state">
77
<createTable tableName="insurance_detail">
8-
<column name="output_index" type="INT">
9-
<constraints nullable="false"/>
10-
</column>
11-
<column name="transaction_id" type="NVARCHAR(64)">
12-
<constraints nullable="false"/>
13-
</column>
8+
<column name="output_index" type="INT"/>
9+
<column name="transaction_id" type="NVARCHAR(64)"/>
1410
<column name="policyNumber" type="NVARCHAR(64)"/>
1511
<column name="duration" type="int"/>
1612
<column name="premium" type="int"/>

0 commit comments

Comments
 (0)