File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
src/main/scala/water/webserver/jetty9 Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,13 @@ dependencies {
79
79
api(" ai.h2o:h2o-persist-gcs:${ h2oVersion} " )
80
80
api(" ai.h2o:h2o-jetty-9:${ h2oVersion} " )
81
81
api(" ai.h2o:h2o-webserver-iface:${ h2oVersion} " )
82
+ api " org.eclipse.jetty:jetty-server:${ jettyVersion} "
83
+ api " org.eclipse.jetty:jetty-servlets:${ jettyVersion} "
84
+ api " org.eclipse.jetty:jetty-jaas:${ jettyVersion} "
85
+ api " org.eclipse.jetty:jetty-proxy:${ jettyVersion} "
86
+ api " org.eclipse.jetty:jetty-servlet:${ jettyVersion} "
87
+ api " org.eclipse.jetty.websocket:websocket-api:${ jettyVersion} "
88
+ api " org.eclipse.jetty.websocket:websocket-server:${ jettyVersion} "
82
89
api(" ai.h2o:h2o-automl:${ h2oVersion} " )
83
90
api(" ai.h2o:h2o-ext-mojo-pipeline:${ h2oVersion} " )
84
91
Original file line number Diff line number Diff line change @@ -100,8 +100,9 @@ class SparklingWaterJettyHelper(
100
100
if (conf.jksPass.isEmpty) {
101
101
throw new RuntimeException (" JKS is specified but JKS password is missing!" )
102
102
}
103
- val sslFactory = new SslContextFactory (conf.jks.get )
103
+ val sslFactory = new SslContextFactory . Server ( )
104
104
sslFactory.setKeyStorePassword(conf.jksPass.get)
105
+ sslFactory.setKeyStorePath(conf.jks.get)
105
106
if (conf.jksAlias.isDefined) {
106
107
sslFactory.setCertAlias(conf.jksAlias.get)
107
108
}
Original file line number Diff line number Diff line change @@ -37,3 +37,4 @@ spotlessModern=true
37
37
testH2OBranch =rel-3.44.0
38
38
makeBooklet =false
39
39
testingBaseImage =harbor.h2o.ai/opsh2oai/h2o-3-hadoop-cdh-6.3:84
40
+ jettyVersion =9.4.53.v20231009
You can’t perform that action at this time.
0 commit comments