YAML
####################################################################################################
# Example YAML for Tot Plugin Azure AD #
# #
# 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:
# Port where service will be listening
port: 15009
##############################
### Tot Plugin properties ###
#############################
totplugin:
server:
# Tot server URL. It is a list because Tot can have more than one instance running.
urls:
- https://tot1server.anjanadata.local/totserver/
connection:
# Name of the instance, multiples instance can be configured
- name: {instance-name}
# To define the different ARIs of instance functionalities
aris:
- ari: "anja:totplugin:im:/Azure Analytics/azureAD/devQA/"
# Azure properties
technology:
clientId: {clientId}
tenantId: {tenantId}
secret: {secret}
scopes: {scopes}
groupPrefix: {groupPrefix}
azureCountRetry: {azureCountRetry}
azureWaitRetry: {azureWaitRetry}
################################
## Azure AD properties
## clientId: the client id
## tenantId: the tenant id
## secret: the secret key
## scopes: the scope permissions to connect the API. They must be defined in Azure AD.
## groupPrefix: Prefix group to concat the group name
## azureCountRetry: how many retries for the azure API
## azureWaitRetry: wait in seconds between retries for the azure API
################################
#########################
## 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} [TOT-PLUGIN-AZURE-AD] %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:
# Url where Tot is listening
defaultZone: https://tot1server.anjanadata.local/totserver/eureka