GeezerVison is showing github.com — helpdev-ops-stack/samples/backstage/skeleton/code at main · helpdeveloper/helpdev-ops-stack
Directory actions
More options
More optionsDirectory actions
More options
More optionsFolders and files
| Name | Name | Last commit message | Last commit date |
|---|
parent directory.. |
| | | |
| | | |
| | | |
|
${{ values.name }} - Service Code Skeleton
Generated by Backstage on ${{ values.timestamp }}
| Property |
Value |
| Name |
${{ values.name }} |
| Owner |
${{ values.owner }} |
| Domain |
${{ values.domain }} |
| Description |
${{ values.description }} |
- JDK 21+
- Docker
- kubectl (for local k8s testing)
# Build
./gradlew build
# Run tests
./gradlew test
# Run locally
./gradlew bootRun
# Build image
docker build -t ${{ values.name }}:local .
# Run container
docker run -p 8080:8080 ${{ values.name }}:local
src/
├── main/
│ ├── java/io/helpdev/${{ values.name | replace("-", "") }}/
│ │ ├── Application.java
│ │ ├── config/
│ │ ├── controller/
│ │ ├── service/
│ │ ├── repository/
│ │ └── model/
│ └── resources/
│ ├── application.yaml
│ └── application-local.yaml
└── test/
└── java/io/helpdev/${{ values.name | replace("-", "") }}/
| Method |
Path |
Description |
| GET |
/actuator/health |
Health check |
| GET |
/actuator/info |
Application info |
| GET |
/actuator/prometheus |
Metrics |
| Variable |
Description |
Required |
SPRING_PROFILES_ACTIVE |
Active profile |
No (default: default) |
SERVER_PORT |
Server port |
No (default: 8080) |
This service is deployed via GitOps using Argo CD.
- Repository:
${{ values.name }}-infra
- HML: Triggered by
deploy-hml label on PR
- PROD: Triggered by GitHub Release