Hi Roberto! 
The CXF part is a non-issue as we target TomEE8. So it's just a drop-in and it 
will work fine as well.
And thanks for looking at this!
I suggest we start with adding the APIs and libs and also add the TCKs for 
those under ./tck/microprofile/config, ...

LieGrue,strub

    On Wednesday, 21 February 2018, 19:49:20 CET, Roberto Cortez 
<radcor...@yahoo.com.INVALID> wrote:  
 
 Hi guys,
I've been looking a little bit in how to use some of the existent Apache MP 
implementations with TomEE and here are some ideas / conclusions.
MicroProfile Configuration:Using https://github.com/apache/geronimo-config. 
Just adding the jar, plus API to TomEE libs seems to be enough.
MicroProfile Fault Tolerance:Using 
https://github.com/apache/geronimo-safeguard. Added the jars and the API to 
TomEE libs and also required to set TomEE configuration 
tomee.webapp.classloader.enrichment.prefixes to safeguard-impl. This is to add 
the required CDI Beans that are part of safeguards into the webapp context. 
With this, it seems to work just fine. If this would be part of the dist, I 
guess we would need to add the required CDI Beans into 
org.apache.openejb.cdi.CdiScanner. 
MicroProfile Rest Client:Apache CXF added a MP Rest Client module. The issue is 
that it is added into the 3.2.x line, which is JAX-RS 2.1. If we look into the 
MP spec, the Rest Client should be compatible with JAX-RS 2.0, which is 
implemented in CFX 3.1.x line. Upgrading TomEE to CFX 3.2.x doesn't really work 
due to the JAX-RS 2.1 dependency. As a workaround, I've also tried to use just 
the CFX 3.2.x module lib MP Rest Client, but there is some dependent code. Made 
a few local changed and got it to work, but ideally, the MP Rest client should 
be ported back to CFX 3.1.x to support MP 1.3.
Couldn't find any other Apache implementations for the other MP specs.
I've also think that it could be interesting to distribute a TomEE flavour with 
just the MP stuff, to slim down the binary.
Any thoughts?
Cheers,Roberto  

Reply via email to