# Copyright © 2017 Amdocs, Bell Canada
# Copyright (c) 2020 Nordix Foundation, Modifications
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#################################################################
# Global configuration overrides.
#
# These overrides will affect all helm charts (ie. applications)
# that are listed below and are 'enabled'.
#
#
# This is specifically for the environments which take time to
# deploy ONAP. This increase in timeouts prevents restarting of
# the pods thereby the components will be deployed without error.
#################################################################
aaf:
  aaf-cs:
    liveness:
      initialDelaySeconds: 240
    readiness:
      initialDelaySeconds: 240
  aaf-gui:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  aaf-oauth:
    liveness:
      initialDelaySeconds: 300
    readiness:
      initialDelaySeconds: 300
  aaf-service:
    liveness:
      initialDelaySeconds: 300
    readiness:
      initialDelaySeconds: 300
aai:
  aai-champ:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
cassandra:
  liveness:
    initialDelaySeconds: 120
  readiness:
    initialDelaySeconds: 120
clamp:
  liveness:
    initialDelaySeconds: 60
  readiness:
    initialDelaySeconds: 60
holmes:
  holmes-rule-mgmt:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  holmes-engine-mgmt:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
dmaap:
  dmaap-bus-controller:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  message-router:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  dmaap-dr-prov:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  dmaap-dr-node:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120

portal:
  portal-app:
    liveness:
      initialDelaySeconds: 60
    readiness:
      initialDelaySeconds: 60
sdc:
  sdc-fe:
    liveness:
      initialDelaySeconds: 120
      periodSeconds: 60
      timeoutSeconds: 15
    readiness:
      initialDelaySeconds: 120
      periodSeconds: 60
      timeoutSeconds: 15
  sdc-be:
    liveness:
      initialDelaySeconds: 120
      periodSeconds: 60
      timeoutSeconds: 15
    readiness:
      initialDelaySeconds: 120
      periodSeconds: 60
      timeoutSeconds: 15
  sdc-cs:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  sdc-es:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  sdc-onboarding-be:
    liveness:
      initialDelaySeconds: 120
      periodSeconds: 60
      timeoutSeconds: 15
    readiness:
      initialDelaySeconds: 120
      periodSeconds: 60
      timeoutSeconds: 15
sdnc:
  liveness:
    initialDelaySeconds: 60
  readiness:
    initialDelaySeconds: 60

  dmaap-listener:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  sdnc-ansible-server:
    readiness:
      initialDelaySeconds: 120
  ueb-listener:
    liveness:
      initialDelaySeconds: 60
    readiness:
      initialDelaySeconds: 60

so:
  liveness:
    initialDelaySeconds: 120
  so-mariadb:
    liveness:
      initialDelaySeconds: 900
    readiness:
      initialDelaySeconds: 900

uui:
  uui-server:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
mariadb-galera:
  mariadb-galera-server:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120

a1policymanagement:
  liveness:
    initialDelaySeconds: 60
    periodSeconds: 10
  readiness:
    initialDelaySeconds: 60
    periodSeconds: 10