[AAI] Add logs to STDOUT
[aai/oom.git] / components / aai-traversal / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # Default values for traversal.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
19   nodePortPrefix: 302
20   legacyReadinessRepository: oomk8s
21   legacyReadinessImage: readiness-check:2.2.2
22
23
24 # application image
25 repository: nexus3.onap.org:10001
26 image: onap/aai-traversal:1.6.3
27 pullPolicy: Always
28 restartPolicy: Always
29 flavor: small
30 # application configuration
31 config:
32
33   # Specifies timeout information such as application specific and limits
34   timeout:
35     # If set to true application will timeout for queries taking longer than limit
36     enabled: true
37     # Specifies which apps (X-FromAppId) header should get overridden and (-1) no timeout
38     appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAI-FILEGEN-GFPIP,-1
39     # Specifies how long should it wait before timing out the REST request
40     limit: 180000
41
42   # Disables the updateQueryData script to run as part of traversal
43   disableUpdateQuery: true
44
45   # Override of the DSL Timeout Limit
46   dslOverride: 'ZV4V7E3N77SKIB6MR9MHQ6M4P6Q99Z7M76RBODA'
47
48   dsl:
49     # Dsl timeout configuration
50     timeout:
51       # Whether or not the dsl is enabled
52       enabled: true
53       # Default time limit of the DSL query
54       limit: 150000
55       # App Specific Timeout Limit for each of the X-FromAppId
56       appspecific:
57         - JUNITTESTAPP1,1
58         - JUNITTESTAPP2,-1
59         - AAI-TOOLS,-1
60         - DCAE-CCS,1200000
61         - DCAES,1200000
62         - VPESAT,-1
63         - AAI-CACHER,-1
64         - VidAaiController,300000
65         - AAI-UI,180000
66
67 persistence:
68   mountPath: /dockerdata-nfs
69   mountSubPath: aai/aai-traversal
70
71 # default number of instances
72 replicaCount: 1
73
74 nodeSelector: {}
75
76 affinity: {}
77
78 # probe configuration parameters
79 liveness:
80   initialDelaySeconds: 60
81   periodSeconds: 60
82   # necessary to disable liveness probe when setting breakpoints
83   # in debugger so K8s doesn't restart unresponsive container
84   enabled: false
85
86 readiness:
87   initialDelaySeconds: 10
88   periodSeconds: 10
89
90 service:
91   type: ClusterIP
92   portName: aai-traversal-8446
93   internalPort: 8446
94   portName2: aai-traversal-5005
95   internalPort2: 5005
96
97 ingress:
98   enabled: false
99
100 log:
101   logDir: {{ .Values.log.logDir }}
102   root:
103     level: {{ .Values.log.root.level.traversal }}
104   consolePattern: {{ .Values.log.consolePattern.traversal }}
105   logger:
106     apache: {{ .Values.log.logger.apache }}
107     attAftDme2: {{ .Values.log.logger.attAftDme2 }}
108     attEelf: {{ .Values.log.logger.attEelf }}
109     blogSpringJms: {{ .Values.log.logger.blogSpringJms }}
110     eclipseJetty: {{ .Values.log.logger.eclipseJetty }}
111     jaywayJsonpath: {{ .Values.log.logger.jaywayJsonpath }}
112     qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }}
113     qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }}
114     springframework: {{ .Values.log.logger.springframework }}
115     springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }}
116     springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }}
117     thinkaurelius: {{ .Values.log.logger.thinkaurelius }}
118     zookeeper: {{ .Values.log.logger.zookeeper }}
119
120 # Configure resource requests and limits
121 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
122 resources:
123   small:
124     limits:
125       cpu: 2
126       memory: 4Gi
127     requests:
128       cpu: 1
129       memory: 3Gi
130   large:
131     limits:
132       cpu: 4
133       memory: 8Gi
134     requests:
135       cpu: 2
136       memory: 4Gi
137   unlimited: {}