Repository navigation
Configuration options per area (SPI) #13623
Replies: 2 comments 1 reply
|
So, for some SPIs we have configuration options that are not provider-specific, and instead of having a property variant for every provider we would have a single property at the SPI level, right? Using your example, we would have something like As these would be considered SPI-level properties, each provider implementation basically re-uses the same property when it's defined instead of having its own version, which would also eliminate the need to translate the generic property into provider-specific ones. |
|
I would say that the situation is temporary and should not be a problem once we drop the legacy store. For options that we are sure we want to expose to users, we should have them mapped accordingly like From a wider perspective, provider options (
|
Uh oh!
There was an error while loading. Please reload this page.
Currently, when we want to configure a factory property, we specify it in
--<spi>-<provider>-<property>=valueformat i.e--spi-authentication-sessions-infinispan-auth-sessions-limit=100. For the new storage this will become--spi-authentication-sessions-map-auth-sessions-limit=100Would it make sense to introduce a configuration option per area (SPI) that will apply to whatever implementation the given area is implemented by? This would simplify configuration because users won't have to think about what implementation is used for the given area. They will focus just on the property itself. Also this would simplify documentation where we can provide just generic way how to configure a property independent of used provider.
All reactions