This repository serves as an example template to kick-start your projects with pre-configured files and folders for OpenAPI, Helm, Gradle, Java, and JUnit testing. It is designed to streamline the initial setup of new projects and ensure consistency in project structure.
Here is a quick overview of the files and directories included in this repository:
.
├── .devops/ # DevOps pipelines
├── .github/ # GitHub configuration files
├── gradle/ # Gradle wrapper files
├── helm/ # Helm charts for Kubernetes deployments
├── openapi/ # OpenAPI specification files
├── src/ # Source code for the Java application
│ ├── main/
│ └── test/
├── build.gradle.kts # Gradle build file
├── Dockerfile # Docker build file
├── README.md # Project documentation
├── settings.gradle.kts # Gradle settings file
└── .gitignore # Git ignore rules
- Example OpenAPI specification file (
template-payments-java-repository.openapi.yaml
) to document your RESTful APIs. - Compatible with tools like Swagger and Postman.
- Template Helm charts for deploying your Java application on Kubernetes.
- Includes
values.yaml
for parameter configuration and pre-defined deployment manifests.
build.gradle
file with dependencies and plugins for building, testing, and running your Java application.- Compatible with Java 21+.
- Example Java application structure with a simple
HelloWorld
class.
- Example JUnit test cases under the
test/
directory to help you get started with unit testing.
Ensure the following tools are installed on your machine:
- Java 21+
- Gradle (or use the Gradle wrapper included in the repository)
- Docker (for Helm-related tasks, optional)