blob: 77dcaba7614c5cf4726c719fac945e91ba95668f [file] [log] [blame]
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -04001# ================================ LICENSE_START =============================
2# ============================================================================
3# Copyright (c) 2021 AT&T Intellectual Property. All rights reserved.
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# ================================= LICENSE_END ==============================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
24
25#################################################################
26# Filebeat Configuration Defaults.
27#################################################################
28filebeatConfig:
29 logstashServiceName: log-ls
30 logstashPort: 5044
31
32#################################################################
33# Secrets Configuration.
34#################################################################
35secrets:
36 - uid: &aafCredsUID aafcreds
37 type: basicAuth
38 login: '{{ .Values.aafCreds.identity }}'
39 password: '{{ .Values.aafCreds.password }}'
40 passwordPolicy: required
41 - uid: &aaiCredsUID aaicreds
42 type: basicAuth
43 login: '{{ .Values.aaiCreds.username }}'
44 password: '{{ .Values.aaiCreds.password }}'
45 passwordPolicy: required
46
47
48#################################################################
49# InitContainer Images.
50#################################################################
51tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
52consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0
53
54#################################################################
55# Application Configuration Defaults.
56#################################################################
57# Application Image
58image: onap/org.onap.dcaegen2.services.components.bbs-event-processor:2.1.0
59pullPolicy: Always
60
61# Log directory where logging sidecar should look for log files
62# if absent, no sidecar will be deployed
63logDirectory: /opt/app/bbs-event-processor/logs
64
65# Directory where TLS certs should be stored
66# if absent, no certs will be retrieved and stored
67certDirectory: /opt/app/bbs-event-processor/etc/cert/
68
69# TLS role -- set to true if microservice acts as server
70# If true, an init container will retrieve a server cert
71# and key from AAF and mount them in certDirectory.
72tlsServer: true
73
74# Dependencies
75readinessCheck:
76 wait_for:
77 - dcae-config-binding-service
78 - aaf-cm
79
80# Probe Configuration
81readiness:
82 initialDelaySeconds: 120
83 periodSeconds: 180
84 timeoutSeconds: 5
85 path: /heartbeat
86 scheme: HTTP
87 port: 8100
88
89
90# Service Configuration
91service:
92 type: ClusterIP
93 name: dcae-bbs-eventprocessor
94 ports:
95 - name: https
96 port: 8100
97 port_protocol: http
98
99# AAF Credentials
100aafCreds:
101 identity: dcae@dcae.onap.org
102 password: demo123456!
103
104# AAI Credentials
105aaiCreds:
106 username: AAI
107 password: AAI
108
109credentials:
110- name: AAF_USERNAME
111 uid: *aafCredsUID
112 key: login
113- name: AAF_PASSWORD
114 uid: *aafCredsUID
115 key: password
116- name: AAI_USERNAME
117 uid: *aaiCredsUID
118 key: login
119- name: AAI_PASSWORD
120 uid: *aaiCredsUID
121 key: password
122
123
124# Initial Application Configuration
125applicationConfig:
126 streams_subscribes:
127 pnf_reregistration:
128 type: message_router
129 aaf_username: ${AAF_USERNAME}
130 aaf_password: ${AAF_PASSWORD}
131 dmaap_info:
132 topic_url: https:message-router:3905/events/unauthenticated.PNF_UPDATE
133 cpe_authentication:
134 type: message_router
135 aaf_username: ${AAF_USERNAME}
136 aaf_password: ${AAF_PASSWORD}
137 dmaap_info:
138 topic_url: https:message-router:3905/events/unauthenticated.CPE_AUTHENTICATION
139 streams_publishes:
140 close_loop:
141 type: message_router
142 aaf_username: ${AAF_USERNAME}
143 aaf_password: ${AAF_PASSWORD}
144 dmaap_info:
145 topic_url: https:message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT
146 dmaap.protocol: https
147 dmaap.contentType: application/json
148 dmaap.consumer.consumerId: c12
149 dmaap.consumer.consumerGroup: OpenDcae-c12
150 dmaap.messageLimit: -1
151 dmaap.timeoutMs: -1
152 aai.host: aai.onap
153 aai.port: 8443
154 aai.protocol: https
155 aai.username: ${AAI_USERNAME}
156 aai.password: ${AAF_PASSWORD}
157 aai.aaiIgnoreSslCertificateErrors: true
158 application.pipelinesPollingIntervalSec: 25
159 application.pipelinesTimeoutSec: 15
160 application.cbsPollingIntervalSec: 120
161 application.policyVersion: 1.0.0.5
162 application.clTargetType: VM
163 application.clEventStatus: ONSET
164 application.clVersion: 1.0.2
165 application.clTarget: vserver.vserver-name
166 application.clOriginator: DCAE-BBS-ep
167 application.reregistration.policyScope: policyScopeReReg
168 application.reregistration.clControlName: clControlNameReReg
169 application.cpe.authentication.policyScope: policyScopeCpeAuth
170 application.cpe.authentication.clControlName: clControlNameCpeAuth
171 application.reregistration.configKey: pnf_reregistration
172 application.cpeAuth.configKey: cpe_authentication
173 application.closeLoop.configKey: close_loop
174 application.loggingLevel: INFO
175 application.ssl.keyStorePath: "/opt/app/bbs-event-processor/etc/cert/cert.jks"
176 application.ssl.keyStorePasswordPath: "/opt/app/bbs-event-processor/etc/cert/jks.pass"
177 application.ssl.trustStorePath: "/opt/app/bbs-event-processor/etc/cert/trust.jks"
178 application.ssl.trustStorePasswordPath: "/opt/app/bbs-event-processor/etc/cert/trust.pass"
179 application.ssl.enableAaiCertAuth: true
180 application.ssl.enableDmaapCertAuth: true
181
182# Resource Limit Flavor -By Default Using Small
183flavor: small
184
185# Segregation for Different Environment (Small and Large)
186resources:
187 small:
188 limits:
189 cpu: 1
190 memory: 1Gi
191 requests:
192 cpu: 1
193 memory: 1Gi
194 large:
195 limits:
196 cpu: 2
197 memory: 2Gi
198 requests:
199 cpu: 2
200 memory: 2Gi
201 unlimited: {}