Skip to content

Commit a232a12

Browse files
committed
Update Advanced samples to Corda 4.10
1 parent 1f78fc9 commit a232a12

14 files changed

Lines changed: 29 additions & 27 deletions

File tree

Advanced/auction-cordapp/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
repositories {
2121
mavenLocal()
2222
mavenCentral()
23-
23+
jcenter()
2424
maven { url 'https://software.r3.com/artifactory/corda' }
2525
}
2626

@@ -37,7 +37,7 @@ allprojects {
3737

3838
repositories {
3939
mavenLocal()
40-
40+
jcenter()
4141
mavenCentral()
4242
maven { url 'https://software.r3.com/artifactory/corda' }
4343
maven { url 'https://jitpack.io' }
@@ -87,7 +87,8 @@ dependencies {
8787
cordaCompile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
8888
cordaCompile "org.apache.logging.log4j:log4j-web:${log4j_version}"
8989
cordaCompile "org.slf4j:jul-to-slf4j:$slf4j_version"
90-
cordaDriver "net.corda:corda-shell:4.9"
90+
cordaCompile "org.jetbrains.kotlinx:kotlinx-html-jvm-0.6.12"
91+
cordaDriver "net.corda:corda-shell:4.10"
9192

9293
}
9394

Advanced/constants.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
cordaReleaseGroup=net.corda
22
cordaCoreReleaseGroup=net.corda
3-
cordaVersion=4.9
4-
cordaCoreVersion=4.9
3+
cordaVersion=4.10
4+
cordaCoreVersion=4.10
55
gradlePluginsVersion=5.0.12
66
kotlinVersion=1.2.71
77
junitVersion=4.12
88
quasarVersion=0.7.10
99
log4jVersion =2.17.1
10-
platformVersion=10
10+
platformVersion=12
1111
slf4jVersion=1.7.25
1212
nettyVersion=4.1.22.Final

Advanced/duediligence-cordapp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ dependencies {
8383
cordaCompile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
8484
cordaCompile "org.apache.logging.log4j:log4j-web:${log4j_version}"
8585
cordaCompile "org.slf4j:jul-to-slf4j:$slf4j_version"
86-
cordaDriver "net.corda:corda-shell:4.9"
86+
cordaDriver "net.corda:corda-shell:4.10"
8787

8888
}
8989

Advanced/duediligence-cordapp/workflows/src/test/java/net/corda/samples/duediligence/FlowTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.UUID;
1919
import java.util.concurrent.ExecutionException;
2020
import java.util.concurrent.Future;
21-
import static org.jgroups.util.Util.assertEquals;
21+
import static org.junit.Assert.assertEquals;
2222

2323
public class FlowTests {
2424
private MockNetwork network;

Advanced/negotiation-cordapp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ dependencies {
9494
cordaCompile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
9595
cordaCompile "org.apache.logging.log4j:log4j-web:${log4j_version}"
9696
cordaCompile "org.slf4j:jul-to-slf4j:$slf4j_version"
97-
cordaDriver "net.corda:corda-shell:4.9"
97+
cordaDriver "net.corda:corda-shell:4.10"
9898

9999
}
100100

Advanced/obligation-cordapp/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Obligation Cordap
22

3-
This Cordapp is the complete implementation of our signature IOU (I-owe-you) demonstration.
3+
This CorDapp is the complete implementation of our signature IOU (I-owe-you) demonstration.
44

55
## Concepts
66

@@ -9,12 +9,12 @@ An IOU is someone who has cash that is paying it back to someone they owe it to.
99

1010
### Flows
1111

12-
The first flows are the ones that issue the original cash and assets. You can find that the cash flow at `SelfIssueCashFlow.java` and the IOU issurance in `IOUIssueFlow.java`.
12+
The first flows are the ones that issue the original cash and assets. You can find that the cash flow at `SelfIssueCashFlow.java` and the IOU issuance in `IOUIssueFlow.java`.
1313

1414
The next flow is the one that transfers ownership of that asset over to another party. That can be found in `IOUTransferFlow.java`.
1515

1616

17-
Finally, once we have the ability to transfer assets, we just need to settle up. That functiionality can be found here in `IOUSettleFlow.java`
17+
Finally, once we have the ability to transfer assets, we just need to settle up. That functionality can be found here in `IOUSettleFlow.java`
1818

1919

2020

Advanced/obligation-cordapp/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ buildscript {
2222
repositories {
2323
mavenLocal()
2424
mavenCentral()
25-
25+
jcenter()
2626
maven { url 'https://software.r3.com/artifactory/corda-releases' }
2727
}
2828

@@ -41,7 +41,7 @@ allprojects {
4141

4242
repositories {
4343
mavenLocal()
44-
44+
jcenter()
4545
mavenCentral()
4646
maven { url 'https://software.r3.com/artifactory/corda' }
4747
maven { url 'https://jitpack.io' }
@@ -92,7 +92,8 @@ dependencies {
9292
cordaCompile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
9393
cordaCompile "org.apache.logging.log4j:log4j-web:${log4j_version}"
9494
cordaCompile "org.slf4j:jul-to-slf4j:$slf4j_version"
95-
cordaDriver "net.corda:corda-shell:4.9"
95+
cordaCompile "org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.12"
96+
cordaDriver "net.corda:corda-shell:4.10"
9697

9798
}
9899

Advanced/secretsanta-cordapp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ dependencies {
105105
cordaCompile "org.slf4j:jul-to-slf4j:$slf4j_version"
106106
cordaCompile "org.apache.logging.log4j:log4j-web:${log4j_version}"
107107
cordaCompile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
108-
cordaDriver "net.corda:corda-shell:4.9"
108+
cordaDriver "net.corda:corda-shell:4.10"
109109

110110
}
111111

Advanced/secretsanta-cordapp/workflows/src/test/java/net/corda/samples/secretsanta/CheckAssignedSantaFlowTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.time.Instant;
1919
import java.util.*;
2020

21-
import static org.jgroups.util.Util.assertEquals;
21+
import static org.junit.Assert.assertEquals;
2222
import static org.junit.jupiter.api.Assertions.assertNotEquals;
2323

2424
public class CheckAssignedSantaFlowTests {

Advanced/secretsanta-cordapp/workflows/src/test/java/net/corda/samples/secretsanta/CreateSantaSessionFlowTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import java.util.Arrays;
2121
import java.util.LinkedHashMap;
2222

23-
import static org.jgroups.util.Util.assertEquals;
24-
import static org.jgroups.util.Util.assertTrue;
23+
import static org.junit.Assert.assertEquals;
24+
import static org.junit.Assert.assertTrue;
2525
import static org.junit.jupiter.api.Assertions.assertNull;
2626

2727
public class CreateSantaSessionFlowTests {

0 commit comments

Comments
 (0)