IBM Cloud Microservice Starter for Spring
The IBM Cloud Microservice Starter in Java provides a starting point for creating Java microservice applications running on Spring.
- Maven
- Java 8: Any compliant JVM should work.
Capabilities are provided through dependencies in the pom.xml file.
The ports are set to the defaults of 8080 for http and 8443 for https and are exposed to the CLI in the cli-config.yml file.
To build and run the application:
mvn install
java -jar ./target/[microclimate-project-name]-1.0-SNAPSHOT.jar
To run the application in Docker use the Docker file called Dockerfile
. If you do not want to install Maven locally you can use Dockerfile-tools
to build a container with Maven installed.
The application exposes the following endpoints:
The ports are set in the pom.xml file and exposed to the CLI in the cli-config.yml file.
This project was generated using:
- generator-ibm-java v5.13.7
- generator-ibm-service-enablement v3.1.2
- generator-ibm-cloud-enablement v1.5.4
- generator-ibm-java-spring v