Integraciones
Breadcrumbs

YAML de ejemplo - Plugin Azure Storage

YAML
###################################################################################################
# Example YAML for Tot Plugin Azure Storage                                                       #
#                                                                                                 #
# 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: 15012

##########################
###  Logs properties   ###
##########################
logging:
  # Pattern to convert logs in the convenient format for the client
  pattern:
    console: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} [AZURE-STORAGE] %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 is the base for 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

##################################
### General Spring properties  ###
##################################
spring:
  application:
    # Application name to be as identifier
    name: tot-plugin-azure-storage
  loadbalancer:
    ribbon:
      # Disable the default Ribbon-backed load balancing strategy
      enabled: false

##################################
### Plugin properties          ###
##################################
totplugin:
  server:
    # Tot server URL. It is a list because Tot can have more than one instance running.
    urls:
      - http://totserver/totserver/
    # How often will send a hearbeat to tot in seconds
    keep-alive-seconds: 60
  # Character to be used between multi-value attributes
  attributeSeparator: "_-"
  connection:
    # Name of the instance
    - name: "instance_name"
      # List of aris to define the different plugin functionalities
      aris:
        - ari: "anja:totplugin:extract:/Azure Analytics/azureStorage/pro/"
        - ari: "anja:totplugin:sample:/Azure Analytics/azureStorage/pro/"
        - ari: "anja:totplugin:edit:/Azure Analytics/azureStorage/pro/"
        - ari: "anja:totplugin:edit:/Azure Analytics/azureStorage/devQA/"
        - ari: "anja:totplugin:im:/Azure Analytics/azureStorage/pro/"
          imAri: "anja:totplugin:im:/Azure Analytics/azureAD/pro/"
      technology:
        # The name of the storage account to connect
        storageAccount: "account"
        # Client id to connect to azure storage
        clientId: "client_id"
        # Tenant id to connect to azure storage
        tenantId: "tenant_id"
        # Secret id to connect to azure storage
        secret: "secret"
        # Number of sample rows returned
        sampleRows: 15
        # Character to be used to process the path into its parts
        pathSeparator: "/"
        # Character to be used to process the path into its parts
        obfuscation-string: "*****"