Stream: hapi
Topic: OpenJDK
Gaston Fiore (Jun 30 2016 at 20:33):
Does hapi-fhir-cli work with the OpenJDK implementation of Java?
Josh Mandel (Jun 30 2016 at 21:03):
We use java-8 (openjdk) -- see https://github.com/sync-for-science/reference-stack-docker/blob/master/docker-builds/reference-api/Dockerfile for example
Josh Mandel (Jun 30 2016 at 21:04):
java -version openjdk version "1.8.0_66-internal" OpenJDK Runtime Environment (build 1.8.0_66-internal-b17) OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)
Josh Mandel (Jun 30 2016 at 21:05):
And for any docker fans out there (maybe someone already has created this functionality?) you can do:
$ docker run --rm -it syncforscience/reference-api
To spin up a HAPI CLI server on localhost:8080
James Agnew (Jun 30 2016 at 21:10):
It does require a minimum of Java 8 though FYI, unlike the rest of HAPI (which only requires Java 6)
Erich Schulz (Jul 01 2016 at 07:57):
i'm ignorant... how do you run a CLI on port 8080?
Erich Schulz (Jul 01 2016 at 08:02):
ssh localhost:8080
?
James Agnew (Jul 04 2016 at 22:16):
There is an argument: -p 8080
Erich Schulz (Jul 05 2016 at 08:05):
i love a good cli
Erich Schulz (Jul 05 2016 at 08:05):
bit curious about your https://github.com/jamesagnew/hapi-fhir/tree/master/hapi-tinder-plugin ?
Erich Schulz (Jul 05 2016 at 08:05):
that's a dimension I hadn't considered!
James Agnew (Jul 05 2016 at 13:39):
That plugin isn't much.. yet...it's used by HAPI's own build process to generate the model classes, but I'm hoping in the future it will become the way that you generate custom model classes based on profiles. We're not there yet though. :)
Last updated: Apr 12 2022 at 19:14 UTC