[AAI] Remove unused AAF proxies
[oom.git] / kubernetes / aai / components / aai-resources / values.yaml
1 # Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2 # Copyright (c) 2020 Nokia, Orange
3 # Modifications Copyright (c) 2021 Orange
4 #
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.
20 global: # global defaults
21   nodePortPrefix: 302
22   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
27   initContainers:
28     enabled: true
29
30   # Specifies a list of jobs to be run
31   jobs:
32     # When enabled, it will create the schema based on oxm and edge rules
33     createSchema:
34       enabled: true
35     #migration using helm hooks
36     migration:
37       enabled: false
38
39   config:
40     # Specifies that the cluster connected to a dynamic
41     # cluster being spinned up by kubernetes deployment
42     cluster:
43       cassandra:
44         dynamic: true
45
46     # Specifies if the basic authorization is enabled
47     basic:
48       auth:
49         enabled: true
50         username: AAI
51         passwd: AAI
52
53     # Active spring profiles for the resources microservice
54     profiles:
55       active: production,dmaap,aaf-auth
56
57     # Notification event specific properties
58     notification:
59       eventType: AAI-EVENT
60       domain: dev
61
62     # Schema specific properties that include supported versions of api
63     schema:
64       # Specifies if the connection should be one way ssl, two way ssl or no auth
65       service:
66         client: one-way-ssl
67       # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
68       translator:
69         list: schema-service
70       source:
71         # Specifies which folder to take a look at
72         name: onap
73       uri:
74         # Base URI Path of the application
75         base:
76           path: /aai
77       version:
78         # Current version of the REST API
79         api:
80           default: v21
81         # Specifies which version the depth parameter is configurable
82         depth: v11
83         # List of all the supported versions of the API
84         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21
85         # Specifies from which version related link should appear
86         related:
87           link: v11
88         # Specifies from which version the app root change happened
89         app:
90           root: v11
91         # Specifies from which version the xml namespace changed
92         namespace:
93           change: v12
94         # Specifies from which version the edge label appeared in API
95         edge:
96           label: v12
97
98     # Keystore configuration password and filename
99     keystore:
100       filename: aai_keystore
101       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
102
103     # Truststore configuration password and filename
104     truststore:
105       filename: aai_keystore
106       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
107
108     # Specifies a list of files to be included in auth volume
109     auth:
110       files:
111         - aai_keystore
112
113     # Specifies which clients should always default to realtime graph connection
114     realtime:
115       clients: SDNC,MSO,SO,robot-ete
116
117 api_list:
118   - 11
119   - 12
120   - 13
121   - 14
122   - 15
123   - 16
124   - 17
125   - 18
126   - 19
127
128 aai_enpoints:
129   - name: aai-cloudInfrastructure
130     url: cloud-infrastructure
131   - name: aai-business
132     url: business
133   - name: aai-actions
134     url: actions
135   - name: aai-service-design-and-creation
136     url: service-design-and-creation
137   - name: aai-network
138     url: network
139   - name: aai-externalSystem
140     url: external-system
141
142 # application image
143 image: onap/aai-resources:1.7.2
144 pullPolicy: Always
145 restartPolicy: Always
146 flavor: small
147 flavorOverride: small
148 # default number of instances
149 replicaCount: 1
150
151 # Configuration for the resources deployment
152 config:
153   keycloak:
154     host: localhost
155     port: 8180
156
157   # Specifies crud related operation timeouts and overrides
158   crud:
159     timeout:
160       # Specifies if the timeout for REST GET calls should be enabled
161       enabled: true
162       # Specifies the timeout values for application specific
163       # Its a pipe seperated list where each element before comma represents
164       # the X-FromAppId and the comma after specifies the timeout limit in ms
165       # If the timeout limit is -1 then it means for these apps no timeout
166       appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
167       # Specifies what is the maximum timeout limit in milliseconds
168       limit: 100000
169
170   # Specifies configuration for bulk apis
171   bulk:
172     # Specifies for a bulk payload how many transactions in total allowed
173     limit: 30
174     # Specifies if the bulk can be override and if it can the value
175     override: false
176
177 nodeSelector: {}
178
179 affinity: {}
180
181 # probe configuration parameters
182 liveness:
183   initialDelaySeconds: 60
184   periodSeconds: 60
185   # necessary to disable liveness probe when setting breakpoints
186   # in debugger so K8s doesn't restart unresponsive container
187   enabled: false
188
189 readiness:
190   initialDelaySeconds: 60
191   periodSeconds: 10
192
193 # application configuration
194 sidecar:
195   keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
196   keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
197   trustStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
198
199 service:
200   type: ClusterIP
201   portName: aai-resources-8447
202   internalPort: 8447
203   portName2: aai-resources-5005
204   internalPort2: 5005
205
206 ingress:
207   enabled: false
208
209   # We usually recommend not to specify default resources and to leave this as a conscious
210   # choice for the user. This also increases chances charts run on environments with little
211   # resources, such as Minikube. If you do want to specify resources, uncomment the following
212   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
213   #
214   # Example:
215   # Configure resource requests and limits
216   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
217   # Minimum memory for development is 2 CPU cores and 4GB memory
218   # Minimum memory for production is 4 CPU cores and 8GB memory
219 #resources:
220 #  limits:
221 #    cpu: 2
222 #    memory: 4Gi
223 #  requests:
224 #    cpu: 2
225 #    memory: 4Gi
226 resources:
227   small:
228     limits:
229       cpu: 2
230       memory: 4Gi
231     requests:
232       cpu: 1
233       memory: 3Gi
234   large:
235     limits:
236       cpu: 4
237       memory: 8Gi
238     requests:
239       cpu: 2
240       memory: 4Gi
241   unlimited: {}