Chapter 9. Reference
9.1. MicroProfile Config reference
9.1.1. Default MicroProfile Config attributes
The MicroProfile Config specification defines three ConfigSources
by default.
ConfigSources
are sorted according to their ordinal number. If a configuration must be overwritten for a later deployment, the lower ordinal ConfigSource
is overwritten before a higher ordinal ConfigSource
.
ConfigSource | Ordinal |
---|---|
System properties |
|
Environment variables |
|
Property files |
|
9.1.2. MicroProfile Config SmallRye ConfigSources
The microprofile-config-smallrye
project defines more ConfigSources
you can use in addition to the default MicroProfile Config ConfigSources
.
ConfigSource | Ordinal |
---|---|
|
|
|
|
|
|
An explicit ordinal is not specified for these ConfigSources
. They inherit the default ordinal value found in the MicroProfile Config specification.
9.2. MicroProfile Fault Tolerance reference
9.2.1. MicroProfile Fault Tolerance configuration properties
SmallRye Fault Tolerance specification defines the following properties in addition to the properties defined in the MicroProfile Fault Tolerance specification.
Property | Default value | Description |
---|---|---|
|
| Number of threads used by the fault tolerance mechanisms. This does not include bulkhead thread pools. |
|
| Size of the thread pool used for scheduling timeouts. |
9.3. MicroProfile JWT reference
9.3.1. MicroProfile Config JWT standard properties
The microprofile-jwt-smallrye
subsystem supports the following MicroProfile Config standard properties.
Property | Default | Description |
---|---|---|
mp.jwt.verify.publickey | NONE |
String representation of the public key encoded using one of the supported formats. Do not set if you have set |
mp.jwt.verify.publickey.location | NONE |
The location of the public key, may be a relative path or URL. Do not be set if you have set |
mp.jwt.verify.issuer | NONE |
The expected value of any |
Example microprofile-config.properties
configuration:
mp.jwt.verify.publickey.location=META-INF/public.pem mp.jwt.verify.issuer=jwt-issuer
9.4. MicroProfile OpenAPI reference
9.4.1. MicroProfile OpenAPI configuration properties
In addition to the standard MicroProfile OpenAPI configuration properties, JBoss EAP supports the following additional MicroProfile OpenAPI properties. These properties can be applied in both the global and the application scope.
Property | Default value | Description |
---|---|---|
|
| Enables or disables registration of an OpenAPI endpoint.
When set to
You can parameterize this property to selectively enable or disable You can use this property to control which application associated with a given virtual host should generate a MicroProfile OpenAPI model. |
|
| You can use this property for generating OpenAPI documentation for multiple applications associated with a virtual host.
Set a distinct |
|
| Indicates whether auto-generated server records are absolute or relative to the location of the OpenAPI endpoint. Server records are necessary to ensure, in the presence of a non-root context path, that consumers of an OpenAPI document can construct valid URLs to REST services relative to the host of the OpenAPI endpoint.
The value
When set to |