SeldonIO / seldon-java-wrapper

Wrap java code for use with seldon-core
Apache License 2.0
2 stars 4 forks source link

seldon-java-wrapper

A java library to be used with seldon-core to allow easy wrapping of java models. See the seldon-core docs on how to use.

Local Development Testing

Install to local repo

mvn install

Run your s2i build with your local MVN added as a volume with

--volume "$HOME/.m2":/root/.m2

An example s2i build would be:

s2i build --volume "$HOME/.m2":/root/.m2 model-template-app seldonio/seldon-core-s2i-java-build:0.1 myjavatest:0.1 --runtime-image seldonio/seldon-core-s2i-java-runtime:0.1

See the seldon-core docs for further information.