You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ra...@apache.org on 2019/02/03 00:14:02 UTC
[tomee] 03/04: TOMEE-2408 - Fixed missing configuration for MP
OpenAPI.
This is an automated email from the ASF dual-hosted git repository.
radcortez pushed a commit to branch TOMEE-2408
in repository https://gitbox.apache.org/repos/asf/tomee.git
commit d3598981e0cd74199933bcddbbf1aaee2c1e8e19
Author: Roberto Cortez <ra...@yahoo.com>
AuthorDate: Sat Feb 2 23:23:39 2019 +0000
TOMEE-2408 - Fixed missing configuration for MP OpenAPI.
---
.../openapi/src/test/resources/arquillian.xml | 12 ------------
.../apache/tomee/microprofile/TomEEMicroProfileListener.java | 2 ++
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml b/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml
index e42da07..d299ed6 100644
--- a/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml
+++ b/tck/microprofile-tck/openapi/src/test/resources/arquillian.xml
@@ -31,10 +31,6 @@
<property name="dir">target/tomee</property>
<property name="appWorkingDir">target/workdir</property>
<property name="cleanOnStartUp">true</property>
- <property name="properties">
- <!-- TODO - The final dist should include this property -->
- openejb.cxf-rs.cache-application = false
- </property>
</configuration>
</container>
<container qualifier="tomee-plus">
@@ -47,10 +43,6 @@
<property name="dir">target/tomee</property>
<property name="appWorkingDir">target/workdir</property>
<property name="cleanOnStartUp">true</property>
- <property name="properties">
- <!-- TODO - The final dist should include this property -->
- openejb.cxf-rs.cache-application = false
- </property>
</configuration>
</container>
<container qualifier="tomee-plume">
@@ -63,10 +55,6 @@
<property name="dir">target/tomee</property>
<property name="appWorkingDir">target/workdir</property>
<property name="cleanOnStartUp">true</property>
- <property name="properties">
- <!-- TODO - The final dist should include this property -->
- openejb.cxf-rs.cache-application = false
- </property>
</configuration>
</container>
</arquillian>
diff --git a/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/TomEEMicroProfileListener.java b/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/TomEEMicroProfileListener.java
index c44989a..819b67c 100644
--- a/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/TomEEMicroProfileListener.java
+++ b/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/TomEEMicroProfileListener.java
@@ -85,6 +85,8 @@ public class TomEEMicroProfileListener {
}
}
}
+
+ SystemInstance.get().setProperty("openejb.cxf-rs.cache-application", "false");
}
public void processApplication(@Observes final BeforeEvent<AfterApplicationCreated> afterApplicationCreated) {