{
  "AppPort": 5116,
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "Gb5SystemDTO": {
    "DataBaseType": 0, // 0 - sql, 2 - pg
    //"Gb5System": "Data Source=192.168.0.112;Initial Catalog=Gb5System;Pooling=true;User Id=Unisoft;Password=UhMngmGbWC4kFU8qiu4uCEj2JqsyuJDHks16GdxN/R+v1HLaQPTXxg==;Encrypt=False;TrustServerCertificate=True",
   
    "reaction.": null,
    //"Gb5System": "Data Source=192.168.0.2;Initial Catalog=GB5SYSTEM;Pooling=true;User Id=Developer;Password=MMtnHE5Btr39ZKjs045SQiVqDxqKLyDr96LPTEPeBCDKo/BTxRQY",
    "Gb5System": "Data Source=217.216.78.142;Initial Catalog=Gb5System;Pooling=true;User Id=Developer;Password=MMtnHE5Btr39ZKjs045SQiVqDxqKLyDr96LPTEPeBCDKo/BTxRQY;Encrypt=False;TrustServerCertificate=True",
    "Gb5ServiceCache": "Data Source=192.168.0.2;Initial Catalog=USCDevsys;Pooling=true;User Id=sa;Password=vLJTRnd+iE8IeeuO2SjiR3FhcH3Nxexi",
    "JasperServer": "http://192.168.0.2:8090/jasperserver/rest_v2/reports",
    "JasperNewVersion": "YES"
  },
  "AllowedHosts": "*",

  "SysJobSettings": {
    "Gb4ServiceBaseUrl": "43.252.94.60:98"
  },

  // Local dev Vault (e.g. `vault server -dev`) — matches PAYSL/appsettings.json's identical
  // local pattern. Required by IceImportModule.Register's AddGB5Vault call and its own
  // IVaultClient singleton (both read Vault:Address/Vault:Token).
  "Vault": {
    "Address": "http://127.0.0.1:8200",
    "Token": "root"
  },

  // Backing store for IIceImportUploadStagingService's IStorageProvider (UploadImportFile ->
  // CommitImport). Local dev placeholder — point NetworkBasePath at a real folder on this
  // machine; NetworkStorageProvider creates it on first write if it doesn't exist.
  "StorageConfiguration": {
    "Provider": "Network",
    "NetworkBasePath": "C:\\GB5\\IceImportStorage"
  },

  // SAP IT Declaration OData integration (infotypes 580–586)
  // Credentials are used for both the CSRF token fetch (GET) and the payload POST.
  // In production, supply Username and Password via environment variables or a secrets vault.
  "SapItDeclaration": {
    "BaseUrl": "https://TS4QDSVR.tafe.com:5284",
    "Username": "PAY-TAFE",
    "Password": "Tafesap@26",
    "AuditLogDirectory": "/a01/ess/PayRollSL/Logs/SAP"
  },

  // SAP PaySlip OData integration (ZPY_PAYSLIP_SRV)
  // SapClient (mandt) is resolved at runtime from morganizationunit by LoginDTO.ClientId.
  // In production, supply Username and Password via environment variables or a secrets vault.
  "SapPaySlip": {
    "BaseUrl": "https://TS4QDSVR.tafe.com:5284",
    "Username": "PAY-TAFE",
    "Password": "Tafesap@26"
  },
  "DefaultLanguage": {
    "DefaultLanguageId": "EN"
  },
  "OpenTelemetry": {
    "Enabled": true,
    "Exporter": "ZIPKIN",
    "ZipkinEndpoint": "http://localhost:9411/api/v2/spans",
    "OtlpEndpoint": "http://localhost:4317",
    "SamplingRatio": 1.0,
    "EnableMetrics": true,
    "EnableConsoleExporter": false,
    "ServiceVersion": "1.0.0",
    "Environment": "Development",
    "RecordExceptions": true
  }
}