Spring Boot CXF Client Application with JAX-RS
- Java
1.8
(Port8080
) - Maven
3.3.3
minimum
To run application from Integrated Development Environment (IDE):
- Build the application through your IDE
- For IntelliJ IDEA Lombok plugin must be installed
- Run
com.samovich.service.blueprint.App
as a Java Application
To run application from Command-Line Interface (CLI):
- Build the application through your CLI:
mvn clean package
- Run application as a
java -jar target/webservice_dataconsistency-*.jar
When service is up, visit http://localhost:8080/blueprint to see:
{
"Description": "Spring Boot CXF Client Application with JAX-RS"
}
Application support docker and deployed via Dockerfile:
FROM openjdk-8-jre
VOLUME /tmp
ARG APP_VERSION
ADD blueprint-${APP_VERSION}.jar app.jar
ADD ${APP_FILE} app.jar
ENTRYPOINT ["java","-Djava.security.historyegd=file:/dev/./urandom","-jar","/app.jar"]