THALES GROUP LIMITED DISTRIBUTION to email recipients 

Hello Richard,

Thanks a lot. But it seems that it is a kind of anything/nothing.

If tomee.mp.scan = none (nothing), then our application can't use any of the 
micro-profile spec, right ?
If tomee.mp.scan = all (everything), then our application can use any of the 
following specs: 
     - MPJWTCDIExtension (microprofile-jwt-auth-spec-2.0)
     - RestClientExtension (microprofile-rest-client-spec-3.0)
     - ConfigExtension (microprofile-config-spec-3.0.3)
     - MetricCdiInjectionExtension (microprofile-metrics-spec-4.0)
     - SmallRyeTracingDynamicFeature & OpenTracingInterceptor 
(microprofile-opentracing-spec-3.0)
     - FaultToleranceExtension (microprofile-fault-tolerance-spec-4.0.2)
right ?

Is it possible to specify that we only want to use microprofile-config-spec & 
microprofile-jwt-auth-spec ?

BTW OpenApi & Health aren't listed. Does it means they are activated by default 
?

Best Regards.

-----Original Message-----
From: Richard Zowalla <r...@apache.org> 
Sent: jeudi 7 mars 2024 15:16
To: users@tomee.apache.org
Subject: Re: TomEE system.properties : tomee.mp.scan doc/meaning

Hi,

looking into [1], a value != "none" will activate the MP extensions.
The default is "none" if the property is not present. "none" means, that the 
extensions listed in line 59 and below are disabled by default.

[1]
https://github.com/apache/tomee/blob/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/TomEEMicroProfileListener.java#L73

Am Mittwoch, dem 06.03.2024 um 15:29 +0000 schrieb COURTAULT Francois:
> THALES GROUP LIMITED DISTRIBUTION to email recipients
> 
> Hello everyone,
> 
> Is there somewhere a doc describing the system property tomee.mp.scan 
> ? any default value if missing ? what are the possible values with 
> their meanings ?
> What if the tomee.mp.scan is set to none ? what would happen in such 
> case ? Any good reason to set this entry to none ?
> 
> Best Regards.
> 
> 
> 

Reply via email to