Ejemplo de configuración con todas las propiedades posibles, las propiedades que son necesarias revisar siempre son las que se encuentran bajo ‘totplugin' o 'eureka’, el resto solo para instalaciones con una personalización muy avanzada
YAML
####################################################################################################
# Example YAML for Tot Plugin PowerBI #
# #
# This file has all the technical properties that can be edited for the client. #
# These properties have a default value in the application, #
# so there is no necessity to configure them. #
# Only configure these properties if they are going to be different to the value of this file, #
# this will make your files more clean and readable. #
####################################################################################################
#########################
### Server properties ###
#########################
server:
# the port where the service will be listening
port: 15016
#############################
### Tot Plugin properties ###
#############################
totplugin:
server:
# the tot server list of URLs, tot can have more than one instance running.
urls:
- https://tot1server.anjanadata.local/totserver/
# Character used to separate the path for extraction
pathSeparator: "/"
connection:
- name: PI-1
# list of aris to define the different plugin functionalities
aris:
- ari: "anja:totplugin:extract:/Azure Analytics/azurePowerBI/devQA-1/"
## Connection properties
## clientId: the client id
## tenantId: the tenant id
## secret: the secret key
technology:
credential:
tenant: {tenant}
clientId: {clientId}
clientSecret: {clientSecret}
## Conversion to Anjana objects from the imported PowerBI objects
## must be the same as the name in the object_subtype table in the Anjana schema
mapping:
app: <APP_SUBTYPE>
dashboard: <DASHBOARD_SUBTYPE>
report: <REPORT_SUBTYPE>
semantic-model: <MODEL_SUBTYPE>
workspace: <WORKSPACE_SUBTYPE>
########################
## Logs properties ###
########################
logging:
pattern:
# Pattern to convert logs in the convenient format for the client
console: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} [POWERBI] %clr(${LOG_LEVEL_PATTERN:%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"
# Mark the level of log to show for every package. ERROR > WARN > INFO > DEBUG > TRACE
level:
# The main log level this is the base fot all logs
root: info
# Every package of code can be marked with a different log level, every package of code printed on log is selectable to have a record here and mark a log level
com.anjana: DEBUG
#################################
### Hecate(Eureka) properties ###
#################################
eureka:
client:
serviceUrl:
# the url where Tot is listening
defaultZone: https://tot1server.anjanadata.local/totserver/eureka