skipcheck

TM1 Spring Boot starter · Docs · The client

Tm1ServersProperties

import io.skipcheck.tm1.spring.boot.autoconfigure.Tm1ServersProperties;

The tm1.servers.<name>.* properties: several TM1 servers, each by a name of your choosing, with the same properties as tm1.*.

# src/main/resources/application.yml
tm1:
  servers:
    # Each server under a name of your choosing, with the same settings as tm1
    planning:
      address: http://localhost:8010
      user: admin
      password: ""
    reporting:
      address: http://localhost:8011
      user: admin
      password: ""

Each name gets its own beans (see Tm1AutoConfiguration), qualified by the name. tm1.* is the server named default: tm1.servers.default.* is the same server, and setting both is an error. The default server's beans are the ones a plain Tm1Client injection gets.

The starter binds these itself, server by server, when it creates their beans; there's no bean of this type.

Members

Tm1ServersProperties constructor
toString
hashCode
equals
servers

Tm1ServersProperties

constructor
Tm1ServersProperties(Map<String,Tm1Properties> servers)

toString

String toString()

hashCode

int hashCode()

equals

boolean equals(Object o)

servers

Map<String,Tm1Properties> servers()

Also in the Javadoc.