1 # Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2 # Modifications Copyright (c) 2020 Nokia
3 # Modifications Copyright (c) 2021 Orange
4 # Modifications Copyright © 2023 Nordix Foundation
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # Default values for traversal.
19 # This is a YAML-formatted file.
20 # Declare variables to be passed into your templates.
21 global: # global defaults
26 #Service Name of the cassandra cluster to connect to.
27 #Override it to aai-cassandra if localCluster is enabled.
28 serviceName: cassandra
30 # Specifies a list of jobs to be run
32 # When enabled, it will create the schema based on oxm and edge rules
35 # When enabled, it will create the widget models via REST API to haproxy
38 #migration using helm hooks
42 # Common configuration for resources traversal and graphadmin
44 # User information for the admin user in container
48 # Specifies that the cluster connected to a dynamic
49 # cluster being spinned up by kubernetes deployment
54 # Specifies if the basic authorization is enabled
61 # Active spring profiles for the resources microservice
63 active: production,dmaap
65 # Notification event specific properties
70 # Schema specific properties that include supported versions of api
72 # Specifies if the connection should be one way ssl, two way ssl or no auth
75 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
79 # Specifies which folder to take a look at
82 # Base URI Path of the application
86 # Current version of the REST API
89 # Specifies which version the depth parameter is configurable
91 # List of all the supported versions of the API
92 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27
93 # Specifies from which version related link should appear
96 # Specifies from which version the app root change happened
99 # Specifies from which version the xml namespace changed
102 # Specifies from which version the edge label appeared in API
106 # Specifies which clients should always default to realtime graph connection
108 clients: SDNC,MSO,SO,robot-ete
111 image: onap/aai-traversal:1.11.2
113 restartPolicy: Always
115 flavorOverride: small
116 # the minimum number of seconds that a newly created Pod should be ready
120 # The number of pods that can be unavailable during the update process
122 # The number of pods that can be created above the desired amount of pods during an update
137 - name: aai-generic-query
138 url: search/generic-query
139 - name: aai-nodes-query
140 url: search/nodes-query
144 # application configuration
147 # configure keycloak according to your environment.
148 # don't forget to add keycloak in active profiles above (global.config.profiles)
150 host: keycloak.your.domain
152 # Specifies a set of users, credentials, roles, and groups
154 # Used by any client application for enabling fine-grained authorization for their protected resources
155 resource: aai-traversal-app
156 # If set to true, additional criteria will be added into traversal query to returns all the vertices that match
157 # the data-owner property with the given role to the user in keycloak
161 # Specifies timeout information such as application specific and limits
163 # If set to true application will timeout for queries taking longer than limit
165 # Specifies which apps (X-FromAppId) header should get overridden and (-1) no timeout
166 appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAI-FILEGEN-GFPIP,-1
167 # Specifies how long should it wait before timing out the REST request
170 # Disables the updateQueryData script to run as part of traversal
171 disableUpdateQuery: true
173 # Override of the DSL Timeout Limit
174 dslOverride: 'ZV4V7E3N77SKIB6MR9MHQ6M4P6Q99Z7M76RBODA'
177 # Dsl timeout configuration
179 # Whether or not the dsl is enabled
181 # Default time limit of the DSL query
183 # App Specific Timeout Limit for each of the X-FromAppId
192 - VidAaiController,300000
196 mountPath: /dockerdata-nfs
197 mountSubPath: aai/aai-traversal
199 # default number of instances
206 # probe configuration parameters
208 initialDelaySeconds: 60
210 # necessary to disable liveness probe when setting breakpoints
211 # in debugger so K8s doesn't restart unresponsive container
215 initialDelaySeconds: 10
224 portName3: aai-traversal-8448
226 terminationGracePeriodSeconds: 120
227 sessionAffinity: None
232 # To make logback capping values configurable
234 logToFileEnabled: true
240 logToFileEnabled: true
244 # Configure resource requests and limits
245 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
270 externalSecretName: mysecretname
271 externalSecretUserKey: login
272 externalSecretPasswordKey: password
274 ## Namespace in which Prometheus is running
276 # namespace: monitoring
278 ## Interval at which metrics should be scraped.
279 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
283 ## Timeout after which the scrape is ended
284 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
288 ## ServiceMonitor selector labels
289 ## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration
292 app: '{{ include "common.name" . }}'
293 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
294 release: '{{ include "common.release" . }}'
295 heritage: '{{ .Release.Service }}'
297 ## RelabelConfigs to apply to samples before scraping
298 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
299 ## Value is evalued as a template
303 ## MetricRelabelConfigs to apply to samples before ingestion
304 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
305 ## Value is evalued as a template
307 metricRelabelings: []
310 # targetLabel: "__name__"
313 # replacement: 'example_prefix_$1'
315 #Pods Service Account
317 nameOverride: aai-traversal
324 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'