Integraciones

YAML de ejemplo - Plugin Snowflake (API nativa)

Configuración preliminar sujeta a cambios

YAML
####################################################################################################
# Minimal deployment template for Tot Plugin Snowflake                                             #
#                                                                                                  #
# This profile only keeps the properties that normally change for an Anjana deployment.            #
# The common defaults stay in application.yaml.                                                    #
# Replace every CHANGE_ME value with the values of the target environment before deployment.       #
####################################################################################################

spring:
  cloud:
    config:
      enabled: false

server:
  port: CHANGE_ME_PLUGIN_PORT
  ssl:
    enabled: false

totplugin:
  server:
    urls:
      - https://CHANGE_ME_ANJANA_HOST:CHANGE_ME_ANJANA_PORT/tot/
  connection:
    - name: CHANGE_ME_CONNECTION_NAME
      aris:
        - ari: "anja:totplugin:extract:/CHANGE_ME_INFRASTRUCTURE/snowflake/CHANGE_ME_ZONE/"
        - ari: "anja:totplugin:sample:/CHANGE_ME_INFRASTRUCTURE/snowflake/CHANGE_ME_ZONE/"
        - ari: "anja:totplugin:edit:/CHANGE_ME_INFRASTRUCTURE/snowflake/CHANGE_ME_ZONE/"
        - ari: "anja:totplugin:im:/CHANGE_ME_INFRASTRUCTURE/snowflake/CHANGE_ME_ZONE/"
          imAri: "anja:totplugin:im:/CHANGE_ME_ENTRA_PATH/"
      technology:
        host: CHANGE_ME_ACCOUNT.snowflakecomputing.com
        warehouse: CHANGE_ME_WAREHOUSE
        role: CHANGE_ME_ROLE
        # Zona horaria usada por Snowflake SQL API al formatear DATE/TIME/TIMESTAMP.
        # Ejemplos: Europe/Madrid, UTC, America/Los_Angeles.
        timezone: CHANGE_ME_TIMEZONE
        path-separator: /
        attribute-separator: "_-"
        sample-rows: 25
        obfuscation-string: "*****"
        oauth:
          token-url: https://login.microsoftonline.com/CHANGE_ME_TENANT_ID/oauth2/v2.0/token
          client-id: CHANGE_ME_SNOWFLAKE_OAUTH_CLIENT_ID
          client-secret: CHANGE_ME_SNOWFLAKE_OAUTH_CLIENT_SECRET
          grant-type: client_credentials
          scope: api://CHANGE_ME_SNOWFLAKE_APP_ID/.default
        retry:
          max-attempts: 1
          backoff-ms: 1000
          http-statuses: 408,429,500,502,503,504
          status-check-max-attempts: 60
        scim:
          enabled: false
          tenant-id: CHANGE_ME_TENANT_ID
          client-id: CHANGE_ME_GRAPH_CLIENT_ID
          client-secret: CHANGE_ME_GRAPH_CLIENT_SECRET
          scope: https://graph.microsoft.com/.default
          graph-base-url: https://graph.microsoft.com/v1.0
          snowflake-app-name: CHANGE_ME_ENTERPRISE_APP_NAME
          service-principal-id: CHANGE_ME_ENTERPRISE_APP_SERVICE_PRINCIPAL_ID
          job-id: CHANGE_ME_PROVISIONING_JOB_ID
          user-rule-id: CHANGE_ME_USER_PROVISION_ON_DEMAND_RULE_ID
          group-rule-id: CHANGE_ME_GROUP_PROVISION_ON_DEMAND_RULE_ID
          role-sync-max-attempts: 60
          role-sync-backoff-ms: 5000
        imType: "ENTRA ID"

eureka:
  client:
    serviceUrl:
      defaultZone: https://CHANGE_ME_ANJANA_HOST:CHANGE_ME_ANJANA_PORT/tot/eureka