From 224f99d56c7212e9d6426d7310ad1f714f6247b5 Mon Sep 17 00:00:00 2001 From: Laird Nelson Date: Sat, 13 Jan 2024 16:26:58 -0800 Subject: [PATCH] Ensures that the enabled flag is honored in JpaExtension's observer methods (#8235) * Ensures that the enabled flag is honored in JpaExtension's observer methods Signed-off-by: Laird Nelson * Squashable commit; repairs common archetype to call closeAll() on MetricsFactory in an @AfterAll rule Signed-off-by: Laird Nelson * Squashable commit; works around what is likely a Weld bug related to Bean metadata creation in certain codepaths Signed-off-by: Laird Nelson --------- Signed-off-by: Laird Nelson --- .../main/archetype/common/observability.xml | 10 ++-- .../integrations/cdi/jpa/JpaExtension.java | 4 +- .../cdi/jpa/PersistenceExtension.java | 55 ++++++++++++++++++- .../cdi/jpa/TestAnnotationRewriting.java | 3 +- 4 files changed, 60 insertions(+), 12 deletions(-) diff --git a/archetypes/helidon/src/main/archetype/common/observability.xml b/archetypes/helidon/src/main/archetype/common/observability.xml index 6f9c7ea6104..1fc63fc5449 100644 --- a/archetypes/helidon/src/main/archetype/common/observability.xml +++ b/archetypes/helidon/src/main/archetype/common/observability.xml @@ -1,7 +1,7 @@