Package io.skipcheck.tm1.spring.boot.autoconfigure
@NullMarked
package io.skipcheck.tm1.spring.boot.autoconfigure
Spring Boot auto-configuration for the TM1 client: for each TM1 server, named by
tm1.servers.<name>.* or, for the server named default, tm1.*,
Tm1ConnectionDetails (so
@ServiceConnection can supply the connection) and beans for the session, the
client and, when enabled, the session pool.
Everything here is non-null unless marked Nullable.
-
ClassDescriptionAuto-configures the TM1 client for each TM1 server the application names: a
Tm1ConnectionDetails, aTm1Session, aTm1Clientand, with the server'spool.enabled=true, aTm1SessionPool.How to connect to a TM1 server: the source of truth for the server's auto-configured session and pool.Tm1SessionPoolMetricsfor each server's pool, when Micrometer is on the classpath:<name>Tm1SessionPoolMetrics, taggedserverwith the server's name,defaultincluded.Thetm1.*properties: the server nameddefault, the one a plainTm1Clientinjection gets.TheTm1SessionPool, one session per identity, for applications acting on behalf of many users.HTTPS settings.Timeouts by kind of work; unset ones keep the client's defaults (seeTm1Timeouts).Thetm1.servers.<name>.*properties: several TM1 servers, each by a name of your choosing, with the same properties astm1.*.Metrics for aTm1SessionPool, from itsstats(): sessions held, evicted and closed, since every session counts against the TM1 server.