Deploy Friday EP 15 Example
This project provides a starter kit for Helidon Eclipse MicroProfile projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.
Helidon is a collection of Java libraries for writing microservices that run on a fast web core powered by Netty.
Helidon is designed to be simple to use, with tooling and examples to get you going quickly. Since Helidon is just a collection of libraries running on a fast Netty core, there is no extra overhead or bloat.
Features
- Java 11
- Automatic TLS certificates
- Maven-based build
Customizations
The following files and additions make the framework work. If using this project as a reference for your own existing project, replicate the changes below to your project.
.platform/routes.yaml
: Platform.sh allows you to define the routes..platform/services.yaml
: Platform.sh allows you to completely define and configure the topology and services you want to use on your project..platform.app.yaml
: You control your application and the way it will be built and deployed on Platform.sh via a single configuration file.- An additional library dependency,
platformsh/config-reader-java
, has been added. It provides convenience wrappers for accessing the Platform.sh environment variables.