<commit_before># NOTE: This is generated code
# The following operations file has been generated by the
# scripts/generate_deploy_in_cf_ops script.
# It is generated from the standalone manifest (manifests/log-cache.yml) and
# altered to fit into the CF-Deployment manifest.

- type: replace
  path: /releases/-
  value:
    name: log-cache
    sha: 87134510c23ce5facca665ac025f41a19340f5e9
    version: "0.2"
    url: https://bosh.io/d/github.com/cloudfoundry/log-cache-release?v=0.2
- type: replace
  path: /instance_groups/-
  value:
    azs:
    - z1
    - z2
    instances: 1
    jobs:
    - name: log-cache
      properties:
        egress_port: 8080
        health_port: 6060
        tls:
          ca_cert: ((log_cache.ca))
          cert: ((log_cache.certificate))
          key: ((log_cache.private_key))
      release: log-cache
    - name: log-cache-gateway
      properties:
        gateway_addr: localhost:8081
      release: log-cache
    - name: log-cache-group-reader
      properties:
        port: 8084
      release: log-cache
    - consumes:
        reverse_log_proxy:
          from: reverse_log_proxy
      name: log-cache-nozzle
      properties:
        logs_provider:
          tls:
            ca_cert: ((logs_provider.ca))
            cert: ((logs_provider.certificate))
            key: ((logs_provider.private_key))
      release: log-cache
    - name: log-cache-expvar-forwarder
      properties:
        counters:
        - addr: http://localhost:6060/debug/vars
          name: egress
          source_id: log-cache
          template: '{{.LogCache.Egress}}'
        - addr: http://localhost:6060/debug/vars
          name: ingress
          source_id: log-cache
          template: '{{.LogCache.Ingress}}'
        - addr: http://localhost:6060/debug/vars
          name: expired
          source_id: log-cache
          template: '{{.LogCache.Expired}}'
        - addr: http://localhost:6061/debug/vars
          name: egress
          source_id: log-cache-nozzle
          template: '{{.Nozzle.Egress}}'
        - addr: http://localhost:6061/debug/vars
          name: ingress
          source_id: log-cache-nozzle
          template: '{{.Nozzle.Ingress}}'
        - addr: http://localhost:6061/debug/vars
          name: err
          source_id: log-cache-nozzle
          template: '{{.Nozzle.Err}}'
        gauges:
        - addr: http://localhost:6060/debug/vars
          name: cache-period
          source_id: log-cache
          template: '{{.LogCache.CachePeriod}}'
        - addr: http://localhost:6060/debug/vars
          name: store-size
          source_id: log-cache
          template: '{{.LogCache.StoreSize}}'
        - addr: http://localhost:6060/debug/vars
          name: total-system-memory
          source_id: log-cache
          template: '{{.LogCache.TotalSystemMemory}}'
        - addr: http://localhost:6060/debug/vars
          name: available-system-memory
          source_id: log-cache
          template: '{{.LogCache.AvailableSystemMemory}}'
      release: log-cache
    - name: route_registrar
      properties:
        route_registrar:
          routes:
          - name: log-cache-reverse-proxy
            port: 8083
            registration_interval: 20s
            uris:
            - log-cache.((system_domain))
            - '*.log-cache.((system_domain))'
      release: routing
    - name: log-cache-cf-auth-proxy
      properties:
        cc:
          ca_cert: ((log_cache_tls_cc_auth_proxy.ca))
          capi_internal_addr: https://cloud-controller-ng.service.cf.internal:9023
          cert: ((log_cache_tls_cc_auth_proxy.certificate))
          common_name: cloud-controller-ng.service.cf.internal
          key: ((log_cache_tls_cc_auth_proxy.private_key))
        proxy_port: 8083
        uaa:
          ca_cert: ((uaa_ca.certificate))
          client_id: doppler
          client_secret: ((uaa_clients_doppler_secret))
          internal_addr: https://uaa.service.cf.internal:8443
      release: log-cache
    name: log-cache
    networks:
    - name: default
    persistent_disk_type: 5GB
    stemcell: default
    vm_type: minimal

- type: replace
  path: /instance_groups/name=scheduler/jobs/name=log-cache-scheduler?
  value:
    name: log-cache-scheduler
    release: log-cache
- type: replace
  path: /variables/-
  value:
    name: logs_provider
    options:
      ca: loggregator_ca
      common_name: log-cache
      extended_key_usage:
      - client_auth
      - server_auth
    type: certificate
- type: replace
  path: /variables/-<commit_msg>Updated opsfile with log-cache-release 0.2<commit_after>- type: replace
  path: /releases/-
  value:
    name: log-cache
    sha: 87134510c23ce5facca665ac025f41a19340f5e9
    url: https://bosh.io/d/github.com/cloudfoundry/log-cache-release?v=0.2
    version: "0.2"
- type: replace
  path: /instance_groups/-
  value:
    azs:
    - z1
    - z2
    instances: 1
    jobs:
    - name: log-cache
      properties:
        egress_port: 8080
        health_port: 6060
        tls:
          ca_cert: ((log_cache.ca))
          cert: ((log_cache.certificate))
          key: ((log_cache.private_key))
      release: log-cache
    - name: log-cache-gateway
      properties:
        gateway_addr: localhost:8081
      release: log-cache
    - name: log-cache-group-reader
      properties:
        port: 8084
      release: log-cache
    - consumes:
        reverse_log_proxy:
          from: reverse_log_proxy
      name: log-cache-nozzle
      properties:
        logs_provider:
          tls:
            ca_cert: ((logs_provider.ca))
            cert: ((logs_provider.certificate))
            key: ((logs_provider.private_key))
      release: log-cache
    - name: log-cache-expvar-forwarder
      properties:
        counters:
        - addr: http://localhost:6060/debug/vars
          name: egress
          source_id: log-cache
          template: '{{.LogCache.Egress}}'
        - addr: http://localhost:6060/debug/vars
          name: ingress
          source_id: log-cache
          template: '{{.LogCache.Ingress}}'
        - addr: http://localhost:6060/debug/vars
          name: expired
          source_id: log-cache
          template: '{{.LogCache.Expired}}'
        - addr: http://localhost:6061/debug/vars
          name: egress
          source_id: log-cache-nozzle
          template: '{{.Nozzle.Egress}}'
        - addr: http://localhost:6061/debug/vars
          name: ingress
          source_id: log-cache-nozzle
          template: '{{.Nozzle.Ingress}}'
        - addr: http://localhost:6061/debug/vars
          name: err
          source_id: log-cache-nozzle
          template: '{{.Nozzle.Err}}'
        gauges:
        - addr: http://localhost:6060/debug/vars
          name: cache-period
          source_id: log-cache
          template: '{{.LogCache.CachePeriod}}'
        - addr: http://localhost:6060/debug/vars
          name: store-size
          source_id: log-cache
          template: '{{.LogCache.StoreSize}}'
        - addr: http://localhost:6060/debug/vars
          name: total-system-memory
          source_id: log-cache
          template: '{{.LogCache.TotalSystemMemory}}'
        - addr: http://localhost:6060/debug/vars
          name: available-system-memory
          source_id: log-cache
          template: '{{.LogCache.AvailableSystemMemory}}'
      release: log-cache
    - name: route_registrar
      properties:
        route_registrar:
          routes:
          - name: log-cache-reverse-proxy
            port: 8083
            registration_interval: 20s
            uris:
            - log-cache.((system_domain))
            - '*.log-cache.((system_domain))'
      release: routing
    - name: log-cache-cf-auth-proxy
      properties:
        cc:
          ca_cert: ((log_cache_tls_cc_auth_proxy.ca))
          capi_internal_addr: https://cloud-controller-ng.service.cf.internal:9023
          cert: ((log_cache_tls_cc_auth_proxy.certificate))
          common_name: cloud-controller-ng.service.cf.internal
          key: ((log_cache_tls_cc_auth_proxy.private_key))
        proxy_port: 8083
        uaa:
          ca_cert: ((uaa_ca.certificate))
          client_id: doppler
          client_secret: ((uaa_clients_doppler_secret))
          internal_addr: https://uaa.service.cf.internal:8443
      release: log-cache
    name: log-cache
    networks:
    - name: default
    persistent_disk_type: 5GB
    stemcell: default
    vm_type: minimal
- type: replace
  path: /instance_groups/name=scheduler/jobs/name=log-cache-scheduler?
  value:
    name: log-cache-scheduler
    release: log-cache
- type: replace
  path: /variables/-
  value:
    name: logs_provider
    options:
      ca: loggregator_ca
      common_name: log-cache
      extended_key_usage:
      - client_auth
      - server_auth
    type: certificate
- type: replace
  path: /variables/-
{'fraction_non_alphanumeric': 0.11132437619961612, 'fraction_numerical': 0.02461330021451959, 'mean_word_length': 1.9824915824915825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3300789', 'n_tokens_mistral': 2904, 'n_tokens_neox': 2731, 'n_words': 521}