Commit Graph
3 Commits
Author SHA1 Message Date
darroyo 5b4bbce5c8 cambios en script y version 2026-09-24 16:41:36 -03:00
darroyo 57af30fdd2 fix: read_pom fallback returned both artifactId and version
When xmllint is not in PATH, the grep fallback in read_pom() captured
both <artifactId> and <version> in a single multi-line string and
returned it for every call. Concatenating it with ':' produced an
invalid Docker tag like:

    test-quarkus\n1.0.0-SNAPSHOT:test-quarkus\n1.0.0-SNAPSHOT

causing 'docker build' to fail with 'invalid reference format'.

Add a third 'tag' argument to read_pom() so the fallback extracts
only the requested element, and pass 'artifactId' / 'version' from
the call sites.

Also enrich pom.xml with <name> and <description> for Maven/IDE
metadata, without changing the image identity.

Tests cover the no-xmllint path explicitly (PATH stripped to
reproduce the vm-compilador environment) and the override path.
2026-09-09 12:10:17 -03:00
darroyo e5c382fe0a feat: bootstrap Quarkus app with status endpoint and MicroProfile Health
- Scaffold Quarkus 3.39.2 (Java 21, Maven) with rest-jackson and smallrye-health
- Add GET /status returning application uptime, version and JVM metrics
- Add ApplicationHealthCheck (@Readiness) exposing /q/health/ready
- Configure application name, version and health root path
- Cover endpoints with StatusResourceTest (@QuarkusTest + rest-assured)
2026-09-07 16:45:01 -03:00