Skip to content

TOMEE-4593 - MicroProfile 7.1#2551

Merged
rzo1 merged 18 commits intomainfrom
mp7
Mar 20, 2026
Merged

TOMEE-4593 - MicroProfile 7.1#2551
rzo1 merged 18 commits intomainfrom
mp7

Conversation

@rzo1
Copy link
Copy Markdown
Contributor

@rzo1 rzo1 commented Mar 17, 2026

Upgrades to MP 7.1 - all MP TCKs are passing.

rzo1 added 6 commits March 17, 2026 16:11
…metry TCK

- Bump MP spec versions: Fault Tolerance 4.1, OpenAPI 4.1, Rest Client 4.0, Telemetry 2.1
- Bump SmallRye impls: Fault Tolerance 6.11.0, OpenAPI 4.2.4, OpenTelemetry 2.11.2
- Remove MicroProfile Metrics (dropped in MP 7.0): API, SmallRye impl, Micrometer,
  source code (VendorMetrics, MetricsFilterRegistration, MicroProfileMetricsEndpoint,
  MicroProfileMetricsRegistration), SPI registrations, TCK module, examples
- Remove LegacyMetricsExtension from SystemInstance CDI extensions
- Remove VendorMetrics from org.apache.openejb.extension SPI
- Restructure Telemetry TCK into tracing/metrics/logs sub-modules (all 47 tests pass)
- Update opentelemetry-semconv groupId and version (1.32.0)
- Fix OpenApiTest to remove @Timed/MetricUnits usage
- Exclude old MP Metrics-based tests (org.eclipse.microprofile.fault.tolerance.tck.metrics.**)
  replaced by *TelemetryTest variants in FT 4.1
- Add GlobalOpenTelemetryResetListener (ServletContainerInitializer) to reset
  GlobalOpenTelemetry before each deployment, enabling OTel SDK re-initialization
  with app-specific ServiceLoader providers (InMemoryMetricReader)
- Set reuseForks=false to ensure clean OTel state per test class
- Bump TestNG from 7.5.1 to 7.10.2 to fix NoSuchMethod for
  Assert.assertEquals(Boolean, Boolean, String) in ModelConstructionTest
- Upgrade WireMock from 2.27.2 to 3.13.1 (org.wiremock groupId)
- Upgrade WireMock Maven plugin from 3.0.0 to 7.3.0 with wiremock-standalone
- Remove manual Jetty 9.2 dependencies (WireMock 3.x bundles Jetty 11)
- Upgrade TestNG from 7.5.1 to 7.10.2
- Add httpcore5 dependency for SslContextTest
- Remove SSE test exclusion (javax servlet API issue fixed in 4.0)
  - Uses io.opentelemetry.api (provided by TomEE MicroProfile via MP Telemetry 2.1)
  - Counter (LongCounter) — counts endpoint invocations with attributes
  - Gauge (ObservableLongGauge) — reports current temperature via callback
  - Histogram (LongHistogram) — records distribution of temperature readings
  - Arquillian test verifying all endpoints work against TomEE microprofile distribution
  - Added to examples/pom.xml module list
@rzo1 rzo1 requested a review from jungm March 17, 2026 19:38
@rzo1 rzo1 marked this pull request as draft March 18, 2026 12:22
@rzo1
Copy link
Copy Markdown
Contributor Author

rzo1 commented Mar 18, 2026

Need to validate the CI/CD results, but passed locally (on OSX) yesterday, so most likely environment issues.

@rzo1 rzo1 marked this pull request as ready for review March 20, 2026 08:58
@rzo1 rzo1 merged commit fef4b78 into main Mar 20, 2026
1 check passed
@rzo1 rzo1 deleted the mp7 branch March 20, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants