aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-policy/src/test
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2023-03-14 17:23:26 +0000
committerliamfallon <liam.fallon@est.tech>2023-03-14 17:24:41 +0000
commit8e63ca72e8ed6d574366334a7d829802a4c504ec (patch)
tree38a901076f28f3a9f5aa190a1df7dc2ec13e4097 /participant/participant-impl/participant-impl-policy/src/test
parent4f15b44c04a6f328f1a3357b859482c147fba0cd (diff)
Add SNI support
SNI is now supported in Jersey. Issue-ID: POLICY-4474 Change-Id: I7e52aa5c632409422c11ad875cb70ce1324ab655 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-policy/src/test')
-rw-r--r--participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockServer.java b/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockServer.java
index 7894b66a6..b45f1ea70 100644
--- a/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockServer.java
+++ b/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/acm/participant/policy/main/utils/MockServer.java
@@ -1,6 +1,6 @@
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2022 Nordix Foundation.
+ * Copyright (C) 2022-2023 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ public class MockServer implements AutoCloseable {
public MockServer(int restServerPort) {
this.restServerPort = restServerPort;
restServer = HttpServletServerFactoryInstance.getServerFactory().build("MockRestEndpoint", false, HOST,
- restServerPort, "/", false, false);
+ restServerPort, false, "/", false, false);
restServer.addServletClass(null, MockRestEndpoint.class.getName());
restServer.setSerializationProvider(GsonMessageBodyHandler.class.getName());
restServer.start();