File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
core/src/main/java/io/temporal/samples/nexus/options Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ subprojects {
2828 ext {
2929 otelVersion = ' 1.30.1'
3030 otelVersionAlpha = " ${ otelVersion} -alpha"
31- javaSDKVersion = ' 1.28.0 '
31+ javaSDKVersion = ' 1.28.1 '
3232 camelVersion = ' 3.22.1'
3333 jarVersion = ' 1.0.0'
3434 }
Original file line number Diff line number Diff line change 1919
2020package io .temporal .samples .nexus .options ;
2121
22- import io .grpc .Metadata ;
2322import io .grpc .netty .shaded .io .grpc .netty .GrpcSslContexts ;
2423import io .grpc .netty .shaded .io .netty .handler .ssl .SslContextBuilder ;
2524import io .grpc .netty .shaded .io .netty .handler .ssl .util .InsecureTrustManagerFactory ;
26- import io .grpc .stub .MetadataUtils ;
2725import io .temporal .client .WorkflowClient ;
2826import io .temporal .client .WorkflowClientOptions ;
2927import io .temporal .serviceclient .WorkflowServiceStubs ;
@@ -137,14 +135,6 @@ public static WorkflowClient getWorkflowClient(String[] args) {
137135 if (!apiKey .isEmpty ()) {
138136 serviceStubOptionsBuilder .setEnableHttps (true );
139137 serviceStubOptionsBuilder .addApiKey (() -> apiKey );
140- Metadata .Key <String > TEMPORAL_NAMESPACE_HEADER_KEY =
141- Metadata .Key .of ("temporal-namespace" , Metadata .ASCII_STRING_MARSHALLER );
142- Metadata metadata = new Metadata ();
143- metadata .put (TEMPORAL_NAMESPACE_HEADER_KEY , namespace );
144- serviceStubOptionsBuilder .setChannelInitializer (
145- (channel ) -> {
146- channel .intercept (MetadataUtils .newAttachHeadersInterceptor (metadata ));
147- });
148138 }
149139
150140 WorkflowServiceStubs service =
You can’t perform that action at this time.
0 commit comments