summaryrefslogtreecommitdiffstats
path: root/examples/examples-grpc/src
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2023-03-14 17:20:20 +0000
committerliamfallon <liam.fallon@est.tech>2023-03-14 17:22:51 +0000
commite740b7c33217f8564849c523a3607c53bab6e3a8 (patch)
treed531e86a318c087d150fa947c077f12a7dbfd5f0 /examples/examples-grpc/src
parent91ef7bf5e5e5d0d7e9555994a21de1c79fdccc13 (diff)
Update for SNI Chcecking
SNI checking is now supported in Jersey Issue-ID: POLICY-4474 Change-Id: I6afc2d577493485f151887180ef152303c456f3a Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'examples/examples-grpc/src')
-rw-r--r--examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/GrpcTestServerSim.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/GrpcTestServerSim.java b/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/GrpcTestServerSim.java
index cd9f11c41..46e0ea254 100644
--- a/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/GrpcTestServerSim.java
+++ b/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/GrpcTestServerSim.java
@@ -1,6 +1,6 @@
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2020 Nordix Foundation.
+ * Copyright (C) 2020,2023 Nordix Foundation.
* Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -45,7 +45,7 @@ public class GrpcTestServerSim {
public GrpcTestServerSim() throws InterruptedException, IOException {
int restServerPort = 54321;
restServer = HttpServletServerFactoryInstance.getServerFactory().build("GrpcTestRestSimEndpoint", false, HOST,
- restServerPort, "/GrpcTestRestSim", false, false);
+ restServerPort, false, "/GrpcTestRestSim", false, false);
restServer.addServletClass(null, GrpcTestRestSimEndpoint.class.getName());
restServer.setSerializationProvider(GsonMessageBodyHandler.class.getName());
restServer.start();