Once the application is running, the available rest calls are listed at
http://localhost:8080/swagger-ui.html
FROM registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift as build
USER root
WORKDIR /app COPY ./ .
RUN /etc/alternatives/mvn clean install
EXPOSE 8080
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "target/reactive-web-1.0.jar"]
docker build -t mywebfluxapp -f Dockerfile .
docker run -d -p 8080:8080 --name mywebflux mywebfluxapp
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker image rm $(docker image ls -aq)
oc new-app registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift~. --name=myapp
oc start-build myapp --from-dir=. --follow
oc expose svc/myapp --port 8080
oc import-image java:8 --from=registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift --confirm
oc new-app --name reactive-web "java:8~https://github.com/tradercentric/reactive-web.git"
oc expose svc/reactive-web --port 8080
oc logs -f bc/reactive-web
oc rollout status -w dc/reactive-web
echo http://$(oc get route reactive-web -o jsonpath='{.spec.host}{"\n"}')
oc get all --selector app=reactive-web -o name
oc delete all --selector app=reactive-web
minishift delete --clear-cache
delete %USERPROFILE%/.minishift
minishift start --show-libmachine-logs