[AAI] Add logs to STDOUT
[aai/oom.git] / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 # Default values for aai.
17 # This is a YAML-formatted file.
18 # Declare variables to be passed into your templates.
19 global: # global defaults
20   nodePortPrefix: 302
21   repository: nexus3.onap.org:10001
22   dockerhubRepository: docker.io
23   busyboxImage: busybox
24
25   legacyReadinessRepository: oomk8s
26   legacyReadinessImage: readiness-check:2.2.2
27
28   loggingRepository: docker.elastic.co
29   loggingImage: beats/filebeat:5.5.0
30
31   restartPolicy: Always
32
33   installSidecarSecurity: false
34   aafEnabled: true
35
36 log:
37   logDir: /var/log/onap
38   queueSize: 256
39   root:
40     level:
41       babel: INFO
42       graphadmin: INFO
43       resources:
44         config: INFO
45         froxy: INFO
46         rproxy: INFO
47       schemaService: INFO
48       searchData:
49         config: INFO
50         fproxy: INFO
51         rproxy: INFO
52       traversal: INFO
53   consolePattern:
54     babel:
55       config: "%nopexception${p_log}\t${p_tim}\t${p_lvl}\t%message\t${p_mdc}\t%rootException\t${p_mak}\t${p_thr}%n"
56       froxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable"
57       rproxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable"
58     graphadmin: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
59     resources: 
60       config: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
61       froxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable"
62       rproxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable"
63     schemaService: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
64     searchData: "%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%mdc{RequestId}|%thread|SearchDataService|%mdc{PartnerName}|%logger||%.-5level|%msg%n"
65     traversal: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"
66   logger:
67     ajsc: WARN
68     ajscBeansInterceptors: WARN
69     ajscComputeService: WARN
70     ajscFilePersistenceService: WARN
71     ajscFilters: WARN
72     ajscLoggingConfigurationService: WARN
73     ajscRestlet: WARN
74     ajscRouteMgmtService: WARN
75     ajscServlet: WARN
76     ajscUserDefinedBeansDefService: WARN
77     ajscUserDefinedJarService: WARN
78     ajscUtils: WARN
79     ajscUtilsDME2Helper: WARN
80     ajscVandelayService: WARN
81     apache: WARN
82     apacheCamel: WARN
83     apacheCamelComponentRestlet: WARN
84     apacheCamelProcessorInterceptor: WARN
85     apacheCommons: WARN
86     apacheCommonsHttpclient: WARN
87     apacheCoyote: WARN
88     apacheCxf: WARN
89     apacheCxfJaxrsInterceptor: WARN
90     apacheCxfService: WARN
91     apacheJasper: WARN
92     apacheZookeeper: WARN
93     att: INFO
94     attAftDme2: WARN
95     attAjsc: WARN
96     attAjscCsiLogging: WARN
97     attAjscFilemonitor: WARN
98     attScamper: WARN
99     blogSpringJms: WARN
100     codehausGroovy: WARN
101     eclipseJetty: WARN
102     hibernate: WARN
103     hibernateEjb: OFF
104     hibernateValidator: WARN
105     janusgraph: WARN
106     jaywayJsonpath: WARN
107     netflix: WARN
108     netflixLoadbalancer: WARN
109     qosLogbackClassic: WARN
110     qosLogbackCore: WARN
111     restlet: WARN
112     sf: WARN
113     springframework: WARN
114     springframeworkBeans: WARN
115     springframeworkWeb: WARN
116     thinkaurelius: WARN
117     zookeeper: OFF
118
119   fproxy:
120     name: forward-proxy
121     activeSpringProfiles: noHostVerification,cadi
122     image: onap/fproxy:2.1.13
123     port: 10680
124
125   rproxy:
126     name: reverse-proxy
127     activeSpringProfiles: noHostVerification,cadi
128     image: onap/rproxy:2.1.13
129     port: 10692
130
131   tproxyConfig:
132     name: init-tproxy-config
133     image: onap/tproxy-config:2.1.13
134
135   # AAF server details. Only needed if the AAF DNS does not resolve from the pod
136   aaf:
137     serverIp: 10.12.6.214
138     serverHostname: aaf.osaaf.org
139     serverPort: 30247
140
141   cassandra:
142     #This will instantiate AAI cassandra cluster, default:shared cassandra.
143     localCluster: false
144
145     #Service Name of the cassandra cluster to connect to.
146     #Override it to aai-cassandra if localCluster is enabled.
147     serviceName: cassandra
148
149     #This should be same as shared cassandra instance or if localCluster is enabled
150     #then it should be same as aai-cassandra replicaCount
151     replicas: 3
152
153     #Cassanara login details
154     username: cassandra
155     password: cassandra
156
157   aai:
158     serviceName: aai
159   babel:
160     serviceName: aai-babel
161   aaiElasticsearch:
162     serviceName: aai-elasticsearch
163   resources:
164     serviceName: aai-resources
165   sparkyBe:
166     serviceName: aai-sparky-be
167   dataRouter:
168     serviceName: aai-data-router
169   gizmo:
170     serviceName: aai-gizmo
171   modelloader:
172     serviceName: aai-modelloader
173   searchData:
174     serviceName: aai-search-data
175   traversal:
176     serviceName: aai-traversal
177   graphadmin:
178     serviceName: aai-graphadmin
179   spike:
180     serviceName: aai-spike
181
182   initContainers:
183     enabled: true
184   # Specifies a list of jobs to be run
185   jobs:
186     # When enabled, it will create the schema based on oxm and edge rules
187     createSchema:
188       enabled: true
189     # When enabled, it will create the widget models via REST API to haproxy
190     updateQueryData:
191       enabled: true
192     #migration using helm hooks
193     migration:
194       enabled: false
195       remoteCassandra:
196         enabled: false
197         storage:
198           backend: cassandra
199           hostname: 10.10.10.10
200           connectionTimeout: 100000
201           cacheSize: 1000000
202           keyConsistent: true
203
204           #If backend is cql or cassandra it should be keyspace name
205           #else backend is hbase it should be hbase table name
206           name: aaigraph
207
208        ## CQL driver specific properties for janusgraph
209        #  cql:
210        #    #Name of the Cassandra Cluster
211        #    cluster: someclustername
212        #    readConsistency: QUORUM
213        #    writeConsistency: QUORUM
214        #    replicationFactor: 3
215        #    localConsistencyForSysOps: true
216
217        ## Cassandra driver specific properties for janusgraph
218           cassandra:
219             #Name of the Cassandra Cluster
220             clusterName: aai-cluster
221             localDataCenter: Pod lab
222             readConsistency: LOCAL_QUORUM
223             writeConsistency: LOCAL_QUORUM
224             replicationFactor: 3
225
226         #storage:
227         #  backend: cassandra
228         #  hostname: somehost1,somehost2,somehost3
229         #  connectionTimeout: 100000
230         #  cacheSize: 1000000
231         #  clusterName: someClusterName
232         #  localDataCenter: someDataCenter
233         #  keyConsistent: true
234         #  #If backend is cql or cassandra it should be keyspace name
235         #  #else backend is hbase it should be hbase table name
236         #  name: your_hbase_table_or_keyspace_name
237
238         ## CQL driver specific properties for janusgraph
239         #  cql:
240         #    #Name of the Cassandra Cluster
241         #    cluster: someclustername
242         #    readConsistency: QUORUM
243         #    writeConsistency: QUORUM
244         #    replicationFactor: 3
245         #    localConsistencyForSysOps: true
246
247         ## Cassandra driver specific properties for janusgraph
248         #  cassandra:
249         #    #Name of the Cassandra Cluster
250         #    cluster: someclustername
251         #    readConsistency: LOCAL_QUORUM
252         #    writeConsistency: LOCAL_QUORUM
253         #    replicationFactor: 3
254
255
256   # Common configuration for resources traversal and graphadmin
257   config:
258     # User information for the admin user in container
259     userId: 1000
260     groupId: 1000
261
262     # Specifies that the cluster connected to a dynamic
263     # cluster being spinned up by kubernetes deployment
264     cluster:
265       cassandra:
266         dynamic: true
267
268     # If cluster.cassandra.dynamic is set to false
269     # Then the following configuration should be uncommented
270     # This is if you are planning to connect to a existing
271     # Cassandra cluster instead of doing the deployment
272     #storage:
273     #  backend: cassandra
274     #  hostname: somehost1,somehost2,somehost3
275     #  connectionTimeout: 100000
276     #  cacheSize: 1000000
277     #  clusterName: someClusterName
278     #  localDataCenter: someDataCenter
279     #  keyConsistent: true
280     #  # If backend is cql or cassandra it should be keyspace name
281     #  # else backend is hbase it should be hbase table name
282     #  name: your_hbase_table_or_keyspace_name
283
284     #  # CQL driver specific properties for janusgraph
285     #  cql:
286     #    # Name of the Cassandra Cluster
287     #    cluster: someclustername
288     #    readConsistency: QUORUM
289     #    writeConsistency: QUORUM
290     #    replicationFactor: 3
291     #    localConsistencyForSysOps: true
292
293     #  # Cassandra driver specific properties for janusgraph
294     #  cassandra:
295     #    # Name of the Cassandra Cluster
296     #    cluster: someclustername
297     #    readConsistency: LOCAL_QUORUM
298     #    writeConsistency: LOCAL_QUORUM
299     #    replicationFactor: 3
300
301     # Specifies if the basic authorization is enabled
302     basic:
303       auth:
304         enabled: true
305         username: AAI
306         passwd: AAI
307
308     # Active spring profiles for the resources microservice
309     profiles:
310       active: production,dmaap,aaf-auth
311
312     # Notification event specific properties
313     notification:
314       eventType: AAI-EVENT
315       domain: dev
316
317     # Schema specific properties that include supported versions of api
318     schema:
319       # Specifies if the connection should be one way ssl, two way ssl or no auth
320       service:
321         client: one-way-ssl
322       # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
323       translator:
324         list: schema-service
325       source:
326         # Specifies which folder to take a look at
327         name: onap
328       uri:
329         # Base URI Path of the application
330         base:
331           path: /aai
332       version:
333         # Current version of the REST API
334         api:
335           default: v20
336         # Specifies which version the depth parameter is configurable
337         depth: v11
338         # List of all the supported versions of the API
339         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20
340         # Specifies from which version related link should appear
341         related:
342           link: v11
343         # Specifies from which version the app root change happened
344         app:
345           root: v11
346         # Specifies from which version the xml namespace changed
347         namespace:
348           change: v12
349         # Specifies from which version the edge label appeared in API
350         edge:
351           label: v12
352
353     # Keystore configuration password and filename
354     keystore:
355       filename: aai_keystore
356       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
357
358     # Truststore configuration password and filename
359     truststore:
360       filename: aai_keystore
361       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
362
363     # Specifies a list of files to be included in auth volume
364     auth:
365       files:
366         - aai_keystore
367
368     # Specifies which clients should always default to realtime graph connection
369     realtime:
370       clients: SDNC,MSO,SO,robot-ete
371
372     # Logback debug enabled
373     logback:
374       console:
375         # If enabled, container will print all logback to standard output
376         # This will make debugging much easier but it should only be done
377         # when debugging the issue and changed back as it can affect performance
378         # since when this is enabled, it prints a lot of information to console
379         enabled: false
380
381 # application image
382 dockerhubRepository: registry.hub.docker.com
383 image: aaionap/haproxy:1.4.2
384 pullPolicy: Always
385
386 flavor: small
387
388 # flag to enable debugging - application support required
389 debugEnabled: false
390
391 # application configuration
392 config:
393   logstashServiceName: log-ls
394   logstashPort: 5044
395
396 # default number of instances
397 replicaCount: 1
398
399 nodeSelector: {}
400
401 affinity: {}
402
403 # probe configuration parameters
404 liveness:
405   initialDelaySeconds: 10
406   periodSeconds: 10
407   # necessary to disable liveness probe when setting breakpoints
408   # in debugger so K8s doesn't restart unresponsive container
409   enabled: true
410
411 #This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use.
412 #Below command will instantiate the aai cassandra instances:
413 #helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \
414 #                            --set aai.global.cassandra.localCluster=true \
415 #                            --set aai.global.cassandra.serviceName=aai-cassandra
416 cassandra:
417   nameOverride: aai-cassandra
418   replicaCount: 3
419   service:
420     name: aai-cassandra
421   persistence:
422     mountSubPath: aai/cassandra
423     enabled: true
424
425 readiness:
426   initialDelaySeconds: 10
427   periodSeconds: 10
428
429 service:
430   type: NodePort
431   portName: aai-ssl
432   externalPort: 8443
433   internalPort: 8443
434   nodePort: 33
435   # POLICY hotfix - Note this must be temporary
436   # See https://jira.onap.org/browse/POLICY-510
437   aaiServiceClusterIp:
438
439 ingress:
440   enabled: false
441   service:
442     - baseaddr: "aai.api"
443       name: "aai"
444       port: 8443
445   config:
446     ssl: "redirect"
447
448 resources:
449   small:
450     limits:
451       cpu: 2
452       memory: 4Gi
453     requests:
454       cpu: 1
455       memory: 1Gi
456   large:
457     limits:
458       cpu: 4
459       memory: 8Gi
460     requests:
461       cpu: 2
462       memory: 2Gi
463   unlimited: {}
464