<commit_before>serviceName: Outland Feature Service Docker
environment: docker

baseURI: http://localhost:8180

server:
  registerDefaultExceptionMappers: false
  applicationConnectors:
    - type: http
      port: 8180
      idleTimeout: 10 seconds
  adminConnectors:
    - type: http
      port: 8181

redis:
  servers:
    - name: outland_feature_cache_redis
      host: redis
      port: 6379
      maxConnections: 8
    - name: outland_feature_idempotency_check_redis
      host: redis
      port: 6379
      maxConnections: 8

logging:
  level: INFO
  loggers:
    "outland.feature.service.DefaultFeatureStorage": DEBUG
  appenders:
    - type: console
      timeZone: UTC
      threshold: INFO
      target: stderr
    - type: file
      currentLogFilename: application.log
      archive: true
      archivedFileCount: 6
      archivedLogFilenamePattern: myapplication-%d.log.gz
      timeZone: UTC

aws:
  environment: docker
  accessKey: AWS_KEY
  secretKey: AWS_SECRET
  dynamoDbUrl: http://dynamodb:8000
  signingRegion: eu-central-1

featureTable:
  outlandFeaturesTable: dev_outland_features
  outlandAppsTable: dev_outland_apps
  outlandAppGraphTable: dev_outland_app_graph

auth:
  basicEnabled: true
  basicAuthenticationPolicy: basic_app_username_password_keys
  basicAuthenticationKeys: ${FEATURE_API_KEYS}
  basicScopePolicy: basic_disable_scope_check

  oauthEnabled: false
  # oauth_bearer_reflect: return the bearer token as the app id (for local testing with token services)
  oauthAuthenticationPolicy: oauth_bearer_reflect
  # oauth_disable_scope_check: don't check scopes
  oauthScopePolicy: oauth_disable_scope_check
  remoteOAuthServer:
    tokenLookupURI: "https://info.services.auth.zalando.com/oauth2/tokeninfo"<commit_msg>Enables caching authenticator.<commit_after>serviceName: Outland Feature Service Docker
environment: docker

baseURI: http://localhost:8180

server:
  registerDefaultExceptionMappers: false
  applicationConnectors:
    - type: http
      port: 8180
      idleTimeout: 10 seconds
  adminConnectors:
    - type: http
      port: 8181

redis:
  servers:
    - name: outland_feature_cache_redis
      host: redis
      port: 6379
      maxConnections: 8
    - name: outland_feature_idempotency_check_redis
      host: redis
      port: 6379
      maxConnections: 8

logging:
  level: INFO
  loggers:
    "outland.feature.service.DefaultFeatureStorage": DEBUG
  appenders:
    - type: console
      timeZone: UTC
      threshold: INFO
      target: stderr
    - type: file
      currentLogFilename: application.log
      archive: true
      archivedFileCount: 6
      archivedLogFilenamePattern: myapplication-%d.log.gz
      timeZone: UTC

aws:
  environment: docker
  accessKey: AWS_KEY
  secretKey: AWS_SECRET
  dynamoDbUrl: http://dynamodb:8000
  signingRegion: eu-central-1

featureTable:
  outlandFeaturesTable: dev_outland_features
  outlandAppsTable: dev_outland_apps
  outlandAppGraphTable: dev_outland_app_graph

auth:
  basicEnabled: true
  basicAuthenticationPolicy: basic_app_username_password_keys
  basicAuthenticationKeys: ${FEATURE_API_KEYS}
  basicScopePolicy: basic_disable_scope_check
  basicCacheCredentialSeconds: 30

  oauthEnabled: false
  # oauth_bearer_reflect: return the bearer token as the app id (for local testing with token services)
  oauthAuthenticationPolicy: oauth_bearer_reflect
  # oauth_disable_scope_check: don't check scopes
  oauthScopePolicy: oauth_disable_scope_check
  oauthCacheTokenSeconds: 30
  remoteOAuthServer:
    tokenLookupURI: "https://localhost/oauth2/tokeninfo"
{'fraction_non_alphanumeric': 0.05971404541631623, 'fraction_numerical': 0.018502943650126155, 'mean_word_length': 4.025352112676057, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6616625', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1104, 'n_words': 255}