File tree Expand file tree Collapse file tree
src/main/java/io/temporal/samples/ssl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ subprojects {
2626 ext {
2727 otelVersion = ' 1.30.1'
2828 otelVersionAlpha = " ${ otelVersion} -alpha"
29- javaSDKVersion = ' 1.32.1 '
29+ javaSDKVersion = ' 1.34.0 '
3030 camelVersion = ' 3.22.1'
3131 jarVersion = ' 1.0.0'
3232 }
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ dependencies {
88 implementation " io.temporal:temporal-envconfig:$javaSDKVersion "
99
1010 // Needed for SDK related functionality
11+ implementation " io.grpc:grpc-util"
1112 implementation(platform(" com.fasterxml.jackson:jackson-bom:2.17.2" ))
1213 implementation " com.fasterxml.jackson.core:jackson-databind"
1314 implementation " com.fasterxml.jackson.core:jackson-core"
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ public static void main(String[] args) throws Exception {
5050 if (refreshPeriod > 0 ) {
5151 AdvancedTlsX509KeyManager clientKeyManager = new AdvancedTlsX509KeyManager ();
5252 // Reload credentials every minute
53- clientKeyManager .updateIdentityCredentialsFromFile (
54- clientKeyFile ,
53+ clientKeyManager .updateIdentityCredentials (
5554 clientCertFile ,
55+ clientKeyFile ,
5656 refreshPeriod ,
5757 TimeUnit .MINUTES ,
5858 Executors .newScheduledThreadPool (1 ));
You can’t perform that action at this time.
0 commit comments