feat: modernize application — source, platform artifacts, CI/CD
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 57s
Build and Push to ACR / Build and Push (push) Successful in 5m1s

- chore: ingest source code

108 files from https://github.com/spring-projects/spring-petclinic
- feat: add platform deployment artifacts
- feat: add CI/CD workflow automation
This commit is contained in:
2026-05-28 14:27:13 +00:00
parent ccdaf88a4b
commit d5aad77336
14 changed files with 866 additions and 455 deletions

View File

@@ -1,23 +1,33 @@
apiVersion: score.dev/v1b1
metadata:
name: cloud-pe-test
labels:
app: cloud-pe-test
containers:
main:
cloud-pe-test:
image: .
variables:
DATABASE_URL: "postgresql://${resources.db.username}:${resources.db.password}@${resources.db.host}:${resources.db.port}/${resources.db.name}"
service:
ports:
web:
port: 80
targetPort: 8080
SPRING_DATASOURCE_PASSWORD: ${resources.db.password}
SPRING_DATASOURCE_URL: jdbc:postgresql://${resources.db.host}:${resources.db.port}/${resources.db.name}
SPRING_DATASOURCE_USERNAME: ${resources.db.username}
OTEL_SERVICE_NAME: cloud-pe-test
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
OTEL_RESOURCE_ATTRIBUTES: app=cloud-pe-test
metadata:
annotations:
prometheus.io/path: /actuator/prometheus
prometheus.io/port: '8080'
prometheus.io/scrape: 'true'
instrumentation.opentelemetry.io/inject-java: monitoring/otel-instrumentation
labels:
app: cloud-pe-test
backstage.io/kubernetes-id: cloud-pe-test
name: cloud-pe-test
resources:
env:
type: environment
db:
type: postgres
dns:
type: dns
env:
type: environment
service:
ports:
http:
port: 8080
targetPort: 8080