CORE:
  PARTITION:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "partition"
      REDIS_DATABASE: "1"
      PARTITION_SPRING_LOGGING_LEVEL: "INFO"
      AZURE_ISTIO_AUTH_ENABLED: "false"
      AZURE_ACTIVEDIRECTORY_APP_ID_URI: "api://%AZURE_CLIENT_ID%"
      AZURE_ACTIVEDIRECTORY_SESSION_STATELESS: "true"
    TEST:
      AZURE_AD_TENANT_ID: "%AZURE_TENANT_ID%"
      INTEGRATION_TESTER: "%AZURE_CLIENT_ID%"
      AZURE_TESTER_SERVICEPRINCIPAL_SECRET: "%AZURE_CLIENT_SECRET%"
      AZURE_AD_APP_RESOURCE_ID: "%AZURE_CLIENT_ID%"
      PARTITION_BASE_URL: "http://%AUTH_INGRESS%/"
      ENVIRONMENT: "CLOUD"
  ENTITLEMENTS:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "entitlements"
      LOGGING_LEVEL: "INFO"
      SERVICE_DOMAIN_NAME: "dataservices.energy"
      ROOT_DATA_GROUP_QUOTA: "5000"
      REDIS_TTL_SECONDS: "1"
      AZURE_ISTIOAUTH_ENABLED: "true"
      AZURE_MSI_ISENABLED: "false"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
    TEST:
      AZURE_AD_TENANT_ID: "%AZURE_TENANT_ID%"
      INTEGRATION_TESTER: "%AZURE_CLIENT_ID%"
      AZURE_TESTER_SERVICEPRINCIPAL_SECRET: "%AZURE_CLIENT_SECRET%"
      AZURE_AD_APP_RESOURCE_ID: "%AZURE_CLIENT_ID%"
      HOST_URL: "http://%AUTH_INGRESS%/api/partition/v1/"
      ENTITLEMENT_V2_URL: "https://%AUTH_INGRESS%/api/entitlements/v2/"
      TENANT_NAME: "opendes"
      DOMAIN: "dataservices.energy"
  LEGAL:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      ENTITLEMENTS_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/entitlements/v2"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "legal"
      LOG_PREFIX: "legal"
      SPRING_CONFIG_NAME: "common,application"
      COSMOSDB_DATABASE: "osdu-db"
      REDIS_DATABASE: "2"
      LEGAL_SERVICE_REGION: "us"
      AZURE_STORAGE_ENABLE_HTTPS: "true"
      AZURE_STORAGE_CONTAINER_NAME: "legal-service-azure-configuration"
      SERVICEBUS_TOPIC_NAME: "legaltags"
      ENTITLEMENTS_SERVICE_API_KEY: "OBSOLETE"
      AZURE_PAAS_PODIDENTITY: "false"
      AZURE_ISTIOAUTH_ENABLED: "true"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
    TEST:
      AZURE_AD_TENANT_ID: "%AZURE_TENANT_ID%"
      INTEGRATION_TESTER: "%AZURE_CLIENT_ID%"
      AZURE_TESTER_SERVICEPRINCIPAL_SECRET: "%AZURE_CLIENT_SECRET%"
      AZURE_AD_APP_RESOURCE_ID: "%AZURE_CLIENT_ID%"
      LEGAL_BASE_URL: "http://%AUTH_INGRESS%/api/legal/v1/"
      MY_TENANT: "opendes"
      AZURE_LEGAL_TOPICNAME: "legaltags"
      HOST_URL: "http://%AUTH_INGRESS%/api/legal/v1/"
      ENTITLEMENT_URL: "http://%AUTH_INGRESS%/api/entitlements/v2/"
      AZURE_LEGAL_STORAGE_ACCOUNT: "%DATA_NAME%"
      AZURE_LEGAL_STORAGE_KEY: "%DATA_STORAGE_KEY%"
      AZURE_LEGAL_SERVICEBUS: "%DATA_SERVICEBUS_CONNECTION%"
  SCHEMA-SERVICE:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      ENTITLEMENTS_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/entitlements/v2"
      STORAGE_ACCOUNT: "%COMMON_NAME%"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "schema"
      LOG_PREFIX: "schema"
      COSMOSDB_DATABASE: "osdu-db"
      AZURE_STORAGE_ENABLE_HTTPS: "true"
      EVENT_GRID_ENABLED: "false"
      EVENT_GRID_TOPIC: "schemachangedtopic"
      SERVICE_BUS_ENABLED: "true"
      SERVICEBUS_TOPIC_NAME: "schemachangedtopic"
      ENTITLEMENTS_SERVICE_API_KEY: "OBSOLETE"
      AZURE_PAAS_PODIDENTITY: "false"
      AZURE_ISTIOAUTH_ENABLED: "false"
      AZURE_ACTIVEDIRECTORY_SESSION_STATELESS: "true"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
  STORAGE:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      ENTITLEMENTS_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/entitlements/v2"
      LEGAL_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/legal/v1/"
      CRS_CONVERSION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/crs/converter/v2"
      POLICY_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/policy/v1"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "storage"
      LOG_PREFIX: "storage"
      AZURE_STORAGE_ENABLE_HTTPS: "true"
      COSMOSDB_DATABASE: "osdu-db"
      SERVICEBUS_TOPIC_NAME: "recordstopic"
      SERVICEBUS_V2_TOPIC_NAME: "recordstopic-v2"
      REDIS_DATABASE: "4"
      ENTITLEMENTS_SERVICE_API_KEY: "OBSOLETE"
      LEGAL_SERVICE_REGION: "southcentralus"
      LEGAL_SERVICEBUS_TOPIC_NAME: "legaltagschangedtopiceg"
      LEGAL_SERVICEBUS_TOPIC_SUBSCRIPTION: "eg_sb_legaltagchangedsubscription"
      OPA_ENABLED: "false"
      AZURE_PAAS_PODIDENTITY: "false"
      AZURE_ISTIOAUTH_ENABLED: "true"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
  INDEXER-SERVICE:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      ENTITLEMENTS_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/entitlements/v2"
      SCHEMA_SERVICE_URL: "http://%AUTH_INGRESS%/api/schema-service/v1"
      STORAGE_SERVICE_URL: "http://%AUTH_INGRESS%/api/storage/v2"
      STORAGE_SCHEMA_HOST: "http://%AUTH_INGRESS%/api/storage/v2/schemas"
      STORAGE_QUERY_RECORD_FOR_CONVERSION_HOST: "http://%AUTH_INGRESS%/api/storage/v2/query/records:batch"
      STORAGE_QUERY_RECORD_HOST: "http://%AUTH_INGRESS%/api/storage/v2/query/records"
      SEARCH_SERVICE_URL: "http://%AUTH_INGRESS%/api/search/v2"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "indexer"
      LOG_PREFIX: "indexer"
      LOG_LEVEL: "TRACE"
      COSMOSDB_DATABASE: "osdu-db"
      SERVICEBUS_TOPIC_NAME: "indexing-progress"
      REINDEX_TOPIC_NAME: "recordstopic"
      ENTITLEMENTS_SERVICE_API_KEY: "OBSOLETE"
      REDIS_DATABASE: "4"
      runtime.env.local: "true"
      AZURE_PAAS_PODIDENTITY: "false"
      AZURE_ISTIOAUTH_ENABLED: "true"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
  INDEXER-QUEUE:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      AZURE_APP_RESOURCE_ID: "%AZURE_CLIENT_ID%"
      AZURE_TENANT_ID: "%AZURE_TENANT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "indexer-queue"
      APPLICATIONINSIGHTS_ROLE_NAME: "indexer-queue"
      AZURE_SERVICEBUS_TOPIC_NAME: "recordstopic"
      AZURE_SERVICEBUS_TOPIC_SUBSCRIPTION: "recordstopicsubscription"
      AZURE_REINDEX_TOPIC_NAME: "reindextopic"
      AZURE_REINDEX_TOPIC_SUBSCRIPTION: "reindextopicsubscription"
      AZURE_SCHEMACHANGED_TOPIC_NAME: "schemachangedtopiceg"
      AZURE_SCHEMACHANGED_TOPIC_SUBSCRIPTION: "schemachangedtopicsubscription"
      INDEXER_WORKER_URL: "http://indexer/api/indexer/v2/_dps/task-handlers/index-worker"
      SCHEMA_WORKER_URL: "http://indexer/api/indexer/v2/_dps/task-handlers/schema-worker"
      PARTITION_API: "http://%AUTH_INGRESS%/api/partition/v1"
      MAX_CONCURRENT_CALLS: "32"
      EXECUTOR_N_THREADS: "32"
      MAX_LOCK_RENEW_DURATION_SECONDS: "600"
      MAX_DELIVERY_COUNT: "5"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
  SEARCH-SERVICE:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      APPLICATIONINSIGHTS_CONNECTION_STRING: "%APPLICATIONINSIGHTS_CONNECTION_STRING%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      ENTITLEMENTS_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/entitlements/v2"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "search"
      SERVER_SERVLET_CONTEXTPATH: "/api/search/v2/"
      LOG_PREFIX: "search"
      SEARCH_SERVICE_SPRING_LOGGING_LEVEL: "DEBUG"
      COSMOSDB_DATABASE: "osdu-db"
      REDIS_DATABASE: "5"
      ENVIRONMENT: "evt"
      ELASTIC_CACHE_EXPIRATION: "1"
      MAX_CACHE_VALUE_SIZE: "60"
      SERVICE_POLICY_ENABLED: "false"
      ENTITLEMENTS_SERVICE_API_KEY: "OBSOLETE"
      AZURE_ISTIOAUTH_ENABLED: "true"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
  FILE:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      KEYVAULT_URL: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      OSDU_ENTITLEMENTS_URL: "http://%AUTH_INGRESS%/api/entitlements/v2"
      OSDU_STORAGE_URL: "http://%AUTH_INGRESS%/storage/api/storage/v2"
      AUTHORIZEAPI: "http://%AUTH_INGRESS%/api/entitlements/v2"
      SEARCH_HOST: "http://%AUTH_INGRESS%/api/search/v2"
      AZURE_TENANT_ID: "%AZURE_TENANT_ID%"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "file"
      LOG_PREFIX: "file"
      COSMOSDB_DATABASE: "osdu-db"
      OSDU_ENTITLEMENTS_APP_KEY: "OBSOLETE"
      SERVICE_BUS_ENABLED_STATUS: "true"
      SERVICE_BUS_TOPIC_STATUS: "statuschangedtopic"
      FILE_CHECKSUM_CALCULATION_LIMIT: "5368709120L"
      SEARCH_QUERY_LIMIT: "1000"
      BATCH_SIZE: "100"
      AZURE_PUBSUB_PUBLISH: "true"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
      AZURE_ISTIOAUTH_ENABLED: "true"
  INGESTION-WORKFLOW:
    RUN:
      APPINSIGHTS_KEY: "%INSTRUMENTATION_KEY%"
      APPLICATIONINSIGHTS_CONNECTION_STRING: "InstrumentationKey=%INSTRUMENTATION_KEY%;IngestionEndpoint=https://%AZURE_LOCATION%-3.in.applicationinsights.azure.com/;LiveEndpoint=https://%AZURE_LOCATION%.livediagnostics.monitor.azure.com/;ApplicationId=%AZURE_CLIENT_ID%"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      PARTITION_SERVICE_ENDPOINT: "http://%AUTH_INGRESS%/api/partition/v1/"
      OSDU_ENTITLEMENTS_URL: "http://%AUTH_INGRESS%/api/entitlements/v2"
      OSDU_ENTITLEMENTS_APPKEY: "OBSOLETE"
      AUTHORIZEAPI: "https://%AUTH_INGRESS%/entitlements/api/entitlements/v2"
      AUTHORIZEAPIKEY: "OBSOLETE"
      OSDU_AIRFLOW_URL: https://%AUTH_INGRESS%/airflow
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      SERVER_PORT: "8080"
      SPRING_APPLICATION_NAME: "workflow"
      LOG_PREFIX: "workflow"
      SPRING_CONFIG_NAME: "common,application"
      COSMOSDB_DATABASE: "osdu-db"
      COSMOSDB_SYSTEM_DATABASE: "osdu-system-db"
      AIRFLOW_STORAGE_ACCOUNT_NAME: "%COMMON_NAME%"
      AIRFLOW_STORAGE_ACCOUNT_KEY: "%STORAGE_ACCOUNT_KEY%"
      AZURE_PAAS_PODIDENTITY: "false"
      AZURE_ISTIOAUTH_ENABLED: "true"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
      OSDU_AIRFLOW_USERNAME: "admin"
      OSDU_AIRFLOW_PASSWORD: "%AIRFLOW_PASSWORD%"
      OSDU_AIRFLOW_VERSION2_ENABLED: true
      DP_AIRFLOW_FOR_SYSTEM_DAG: false
      IGNORE_DAGCONTENT: true
      IGNORE_CUSTOMOPERATORCONTENT: true
  INDEXER-QUEUE:
    RUN:
      SPRING_APPLICATION_NAME: "indexer-queue"
      SERVER_PORT: "8080"
      AZURE_SERVICEBUS_TOPIC_NAME: "recordstopic"
      AZURE_SERVICEBUS_TOPIC_SUBSCRIPTION: "recordstopicsubscription"
      AZURE_REINDEX_TOPIC_NAME: "reindextopic"
      AZURE_REINDEX_TOPIC_SUBSCRIPTION: "reindextopicsubscription"
      AZURE_SCHEMACHANGED_TOPIC_NAME: "schemachangedtopiceg"
      AZURE_SCHEMACHANGED_TOPIC_SUBSCRIPTION: "schemachangedtopicsubscription"
      INDEXER_WORKER_URL: "http://indexer/api/indexer/v2/_dps/task-handlers/index-worker"
      SCHEMA_WORKER_URL: "http://indexer/api/indexer/v2/_dps/task-handlers/schema-worker"
      PARTITION_API: "http://%AUTH_INGRESS%/api/partition/v1"
      MAX_CONCURRENT_CALLS: "32"
      EXECUTOR_N_THREADS: "32"
      MAX_LOCK_RENEW_DURATION_SECONDS: "600"
      MAX_DELIVERY_COUNT: "5"
      AZURE_PAAS_PODIDENTITY_ISENABLED: "false"
      KEYVAULT_URI: "https://%COMMON_NAME%.vault.azure.net"
      AAD_CLIENT_ID: "%AZURE_CLIENT_ID%"
      AZURE_APP_RESOURCE_ID: "%AZURE_CLIENT_ID%"
      AZURE_CLIENT_ID: "%AZURE_CLIENT_ID%"
      AZURE_TENANT_ID: "%AZURE_TENANT_ID%"
      APPLICATIONINSIGHTS_ROLE_NAME: "indexer-queue"
    TEST:
      AZURE_AD_TENANT_ID: "%AZURE_TENANT_ID%"
      INTEGRATION_TESTER: "%AZURE_CLIENT_ID%"
      AZURE_TESTER_SERVICEPRINCIPAL_SECRET: "%AZURE_CLIENT_SECRET%"
      AZURE_AD_APP_RESOURCE_ID: "%AZURE_CLIENT_ID%"
      INDEXER_QUEUE_BASE_URL: "http://%AUTH_INGRESS%/api/indexer-queue/v1/"
      ENVIRONMENT: "CLOUD"