blob: b1d8a0ad7b244b22b5b9f0e99f1ce59882fc2c16 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright (c) 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureaux5b651322020-12-07 15:34:15 +01002# Copyright (c) 2020 Nokia, Orange
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 resources.
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 cassandra:
23 #Service Name of the cassandra cluster to connect to.
24 #Override it to aai-cassandra if localCluster is enabled.
25 serviceName: cassandra
26
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010027 # Specifies a list of jobs to be run
28 jobs:
29 # When enabled, it will create the schema based on oxm and edge rules
30 createSchema:
31 enabled: true
32 #migration using helm hooks
33 migration:
34 enabled: false
35
36 config:
37 # Specifies that the cluster connected to a dynamic
38 # cluster being spinned up by kubernetes deployment
39 cluster:
40 cassandra:
41 dynamic: true
42
43 # Specifies if the basic authorization is enabled
44 basic:
45 auth:
46 enabled: true
47 username: AAI
48 passwd: AAI
49
50 # Active spring profiles for the resources microservice
51 profiles:
52 active: production,dmaap,aaf-auth
53
54 # Notification event specific properties
55 notification:
56 eventType: AAI-EVENT
57 domain: dev
58
59 # Schema specific properties that include supported versions of api
60 schema:
61 # Specifies if the connection should be one way ssl, two way ssl or no auth
62 service:
63 client: one-way-ssl
64 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
65 translator:
66 list: schema-service
67 source:
68 # Specifies which folder to take a look at
69 name: onap
70 uri:
71 # Base URI Path of the application
72 base:
73 path: /aai
74 version:
75 # Current version of the REST API
76 api:
77 default: v21
78 # Specifies which version the depth parameter is configurable
79 depth: v11
80 # List of all the supported versions of the API
81 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21
82 # Specifies from which version related link should appear
83 related:
84 link: v11
85 # Specifies from which version the app root change happened
86 app:
87 root: v11
88 # Specifies from which version the xml namespace changed
89 namespace:
90 change: v12
91 # Specifies from which version the edge label appeared in API
92 edge:
93 label: v12
94
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010095 # Specifies which clients should always default to realtime graph connection
96 realtime:
97 clients: SDNC,MSO,SO,robot-ete
Sylvain Desbureaux70070412020-11-09 21:58:48 +010098
Sylvain Desbureaux331f0042021-01-18 11:38:49 +010099api_list:
100 - 11
101 - 12
102 - 13
103 - 14
104 - 15
105 - 16
106 - 17
107 - 18
108 - 19
109
110aai_enpoints:
111 - name: aai-cloudInfrastructure
112 url: cloud-infrastructure
113 - name: aai-business
114 url: business
115 - name: aai-actions
116 url: actions
117 - name: aai-service-design-and-creation
118 url: service-design-and-creation
119 - name: aai-network
120 url: network
121 - name: aai-externalSystem
122 url: external-system
Sylvain Desbureauxb4e038d2020-12-15 12:00:26 +0100123#################################################################
124# Certificate configuration
125#################################################################
126certInitializer:
127 nameOverride: aai-resources-cert-initializer
128 aafDeployFqi: deployer@people.osaaf.org
129 aafDeployPass: demo123456!
130 # aafDeployCredsExternalSecret: some secret
131 fqdn: aai-resources
132 fqi: aai-resources@aai-resources.onap.org
133 public_fqdn: aai-resources.onap.org
134 cadi_longitude: "0.0"
135 cadi_latitude: "0.0"
136 app_ns: org.osaaf.aaf
137 credsPath: /opt/app/osaaf/local
138 fqi_namespace: org.onap.aai-resources
139 aaf_add_config: |
Sylvain Desbureaux6b83dab2021-02-23 16:03:21 +0100140 echo "*** writing passwords into prop file"
141 echo "KEYSTORE_PASSWORD=${cadi_keystore_password_p12}" > {{ .Values.credsPath }}/mycreds.prop
142 echo "TRUSTSTORE_PASSWORD=${cadi_truststore_password}" >> {{ .Values.credsPath }}/mycreds.prop
143 echo "*** change ownership of certificates to targeted user"
144 chown -R 1000 {{ .Values.credsPath }}
Sylvain Desbureaux331f0042021-01-18 11:38:49 +0100145
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100146# application image
Harish Venkata Kajur12091182021-02-25 13:21:54 -0500147image: onap/aai-resources:1.8.2
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100148pullPolicy: Always
149restartPolicy: Always
150flavor: small
151flavorOverride: small
152# default number of instances
153replicaCount: 1
154
155# Configuration for the resources deployment
156config:
157 keycloak:
158 host: localhost
159 port: 8180
160
161 # Specifies crud related operation timeouts and overrides
162 crud:
163 timeout:
164 # Specifies if the timeout for REST GET calls should be enabled
165 enabled: true
166 # Specifies the timeout values for application specific
167 # Its a pipe seperated list where each element before comma represents
168 # the X-FromAppId and the comma after specifies the timeout limit in ms
169 # If the timeout limit is -1 then it means for these apps no timeout
170 appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
171 # Specifies what is the maximum timeout limit in milliseconds
172 limit: 100000
173
174 # Specifies configuration for bulk apis
175 bulk:
176 # Specifies for a bulk payload how many transactions in total allowed
177 limit: 30
178 # Specifies if the bulk can be override and if it can the value
179 override: false
180
181nodeSelector: {}
182
183affinity: {}
184
185# probe configuration parameters
186liveness:
187 initialDelaySeconds: 60
188 periodSeconds: 60
189 # necessary to disable liveness probe when setting breakpoints
190 # in debugger so K8s doesn't restart unresponsive container
191 enabled: false
192
193readiness:
194 initialDelaySeconds: 60
195 periodSeconds: 10
196
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100197service:
198 type: ClusterIP
199 portName: aai-resources-8447
200 internalPort: 8447
201 portName2: aai-resources-5005
202 internalPort2: 5005
203
204ingress:
205 enabled: false
206
207 # We usually recommend not to specify default resources and to leave this as a conscious
208 # choice for the user. This also increases chances charts run on environments with little
209 # resources, such as Minikube. If you do want to specify resources, uncomment the following
210 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
211 #
212 # Example:
213 # Configure resource requests and limits
214 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
215 # Minimum memory for development is 2 CPU cores and 4GB memory
216 # Minimum memory for production is 4 CPU cores and 8GB memory
217#resources:
218# limits:
219# cpu: 2
220# memory: 4Gi
221# requests:
222# cpu: 2
223# memory: 4Gi
224resources:
225 small:
226 limits:
227 cpu: 2
228 memory: 4Gi
229 requests:
230 cpu: 1
231 memory: 3Gi
232 large:
233 limits:
234 cpu: 4
235 memory: 8Gi
236 requests:
237 cpu: 2
238 memory: 4Gi
239 unlimited: {}