blob: 0242cedd0b5379af6be0b32f3793f61f44977f02 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2# Modifications Copyright (c) 2020 Nokia
Sylvain Desbureaux331f0042021-01-18 11:38:49 +01003# Modifications Copyright (c) 2021 Orange
Sylvain Desbureaux70070412020-11-09 21:58:48 +01004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# Default values for traversal.
18# This is a YAML-formatted file.
19# Declare variables to be passed into your templates.
20global: # global defaults
21 nodePortPrefix: 302
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010022 aafEnabled: true
23
24 cassandra:
25 #Service Name of the cassandra cluster to connect to.
26 #Override it to aai-cassandra if localCluster is enabled.
27 serviceName: cassandra
28
29 initContainers:
30 enabled: true
31 # Specifies a list of jobs to be run
32 jobs:
33 # When enabled, it will create the schema based on oxm and edge rules
34 createSchema:
35 enabled: true
36 # When enabled, it will create the widget models via REST API to haproxy
37 updateQueryData:
38 enabled: true
39 #migration using helm hooks
40 migration:
41 enabled: false
42
43 # Common configuration for resources traversal and graphadmin
44 config:
45 # User information for the admin user in container
46 userId: 1000
47 groupId: 1000
48
49 # Specifies that the cluster connected to a dynamic
50 # cluster being spinned up by kubernetes deployment
51 cluster:
52 cassandra:
53 dynamic: true
54
55 # Specifies if the basic authorization is enabled
56 basic:
57 auth:
58 enabled: true
59 username: AAI
60 passwd: AAI
61
62 # Active spring profiles for the resources microservice
63 profiles:
64 active: production,dmaap,aaf-auth
65
66 # Notification event specific properties
67 notification:
68 eventType: AAI-EVENT
69 domain: dev
70
71 # Schema specific properties that include supported versions of api
72 schema:
73 # Specifies if the connection should be one way ssl, two way ssl or no auth
74 service:
75 client: one-way-ssl
76 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
77 translator:
78 list: schema-service
79 source:
80 # Specifies which folder to take a look at
81 name: onap
82 uri:
83 # Base URI Path of the application
84 base:
85 path: /aai
86 version:
87 # Current version of the REST API
88 api:
89 default: v21
90 # Specifies which version the depth parameter is configurable
91 depth: v11
92 # List of all the supported versions of the API
93 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21
94 # Specifies from which version related link should appear
95 related:
96 link: v11
97 # Specifies from which version the app root change happened
98 app:
99 root: v11
100 # Specifies from which version the xml namespace changed
101 namespace:
102 change: v12
103 # Specifies from which version the edge label appeared in API
104 edge:
105 label: v12
106
107 # Keystore configuration password and filename
108 keystore:
109 filename: aai_keystore
110 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
111
112 # Truststore configuration password and filename
113 truststore:
114 filename: aai_keystore
115 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
116
117 # Specifies a list of files to be included in auth volume
118 auth:
119 files:
120 - aai_keystore
121
122 # Specifies which clients should always default to realtime graph connection
123 realtime:
124 clients: SDNC,MSO,SO,robot-ete
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100125
126
127# application image
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100128image: onap/aai-traversal:1.7.2
129pullPolicy: Always
130restartPolicy: Always
131flavor: small
132flavorOverride: small
Sylvain Desbureaux331f0042021-01-18 11:38:49 +0100133
134api_list:
135 - 11
136 - 12
137 - 13
138 - 14
139 - 15
140 - 16
141 - 17
142 - 18
143 - 19
144
145aai_enpoints:
146 - name: aai-generic-query
147 url: search/generic-query
148 - name: aai-nodes-query
149 url: search/nodes-query
150 - name: aai-nquery
151 url: query
152
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100153# application configuration
154config:
155
156 # Specifies timeout information such as application specific and limits
157 timeout:
158 # If set to true application will timeout for queries taking longer than limit
159 enabled: true
160 # Specifies which apps (X-FromAppId) header should get overridden and (-1) no timeout
161 appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAI-FILEGEN-GFPIP,-1
162 # Specifies how long should it wait before timing out the REST request
163 limit: 180000
164
165 # Disables the updateQueryData script to run as part of traversal
166 disableUpdateQuery: true
167
168 # Override of the DSL Timeout Limit
169 dslOverride: 'ZV4V7E3N77SKIB6MR9MHQ6M4P6Q99Z7M76RBODA'
170
171 dsl:
172 # Dsl timeout configuration
173 timeout:
174 # Whether or not the dsl is enabled
175 enabled: true
176 # Default time limit of the DSL query
177 limit: 150000
178 # App Specific Timeout Limit for each of the X-FromAppId
179 appspecific:
180 - JUNITTESTAPP1,1
181 - JUNITTESTAPP2,-1
182 - AAI-TOOLS,-1
183 - DCAE-CCS,1200000
184 - DCAES,1200000
185 - VPESAT,-1
186 - AAI-CACHER,-1
187 - VidAaiController,300000
188 - AAI-UI,180000
189
190persistence:
191 mountPath: /dockerdata-nfs
192 mountSubPath: aai/aai-traversal
193
194# default number of instances
195replicaCount: 1
196
197nodeSelector: {}
198
199affinity: {}
200
201# probe configuration parameters
202liveness:
203 initialDelaySeconds: 60
204 periodSeconds: 60
205 # necessary to disable liveness probe when setting breakpoints
206 # in debugger so K8s doesn't restart unresponsive container
207 enabled: false
208
209readiness:
210 initialDelaySeconds: 10
211 periodSeconds: 10
212
213service:
214 type: ClusterIP
215 portName: aai-traversal-8446
216 internalPort: 8446
217 portName2: aai-traversal-5005
218 internalPort2: 5005
219
220ingress:
221 enabled: false
222
223# Configure resource requests and limits
224# ref: http://kubernetes.io/docs/user-guide/compute-resources/
225resources:
226 small:
227 limits:
228 cpu: 2
229 memory: 4Gi
230 requests:
231 cpu: 1
232 memory: 3Gi
233 large:
234 limits:
235 cpu: 4
236 memory: 8Gi
237 requests:
238 cpu: 2
239 memory: 4Gi
240 unlimited: {}