blob: bed8f9cb3d2be1353db5e0ce3b21bb73048787f4 [file] [log] [blame]
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -04001# ================================ LICENSE_START =============================
2# ============================================================================
vv770d62d53782022-01-03 14:35:11 +00003# Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
Jack Lucas64da4e72023-03-03 14:46:05 -05004# Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
pranitk190569f72f32023-04-17 15:46:19 +05305# Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -04006# ============================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ================================= LICENSE_END ==============================
19
20#################################################################
21# Global Configuration Defaults.
22#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: false
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040027
28#################################################################
29# Filebeat Configuration Defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
36# Secrets Configuration.
37#################################################################
38secrets:
39 - uid: &controllerCredsUID controllercreds
40 type: basicAuth
41 login: '{{ .Values.controllerCreds.username }}'
42 password: '{{ .Values.controllerCreds.password }}'
43 passwordPolicy: required
44
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040045#################################################################
46# Application Configuration Defaults.
47#################################################################
48# Application Image
pranitk190569f72f32023-04-17 15:46:19 +053049image: onap/org.onap.dcaegen2.collectors.restconfcollector:1.4.1
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040050pullPolicy: Always
51
52# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010053# if path is set to null sidecar won't be deployed in spite of
54# global.centralizedLoggingEnabled setting.
55log:
56 path: null # /opt/app/restconfcollector/logs
57logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040058
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040059# Dependencies
60readinessCheck:
61 wait_for:
rope2525a7fbee2022-07-25 20:00:36 +010062 - message-router
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040063
64# Probe Configuration
65readiness:
66 initialDelaySeconds: 100
67 periodSeconds: 60
68 timeoutSeconds: 5
69 path: /healthcheck
70 scheme: HTTP
71 port: 8080
72
73
74# service configuration
75service:
76 type: NodePort
77 name: dcae-restconf-collector
78 ports:
79 - name: http
80 port: 8443
81 plain_port: 8080
82 port_protocol: http
83 nodePort: 16
84 useNodePortExt: true
85
Andreas Geissler261763a2022-10-17 18:39:54 +020086ingress:
87 enabled: false
88 service:
89 - baseaddr: "dcae-restconf-collector-api"
90 name: "dcae-restconf-collector"
91 port: 8443
92 plain_port: 8080
93 config:
94 ssl: "redirect"
95
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040096# AAF Credentials
97controllerCreds:
98 username: access
99 password: Huawei@123
100
101credentials:
102- name: CONTROLLER_USERNAME
103 uid: *controllerCredsUID
104 key: login
105- name: CONTROLLER_PASSWORD
106 uid: *controllerCredsUID
107 key: password
108
Vijay Venkatesh Kumar5e138112021-12-14 11:41:36 -0500109# application environments
110applicationEnv:
111 LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
112
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -0400113# Initial Application Configuration
114applicationConfig:
115 collector.rcc.appDescription: DCAE RestConf Collector Application
116 collector.rcc.appName: dcae-rcc
117 collector.rcc.dmaap.streamid: notification=device-registration
118 collector.rcc.inputQueue.maxPending: '8096'
119 tomcat.maxthreads: '200'
120 collector.rcc.service.port: '8080'
Andreas Geisslerb0841b82022-12-16 10:40:21 +0100121 # Disabling of secure port not working (DCAEGEN2-3336)
122 collector.rcc.service.secure.port: '0'
123 #collector.rcc.service.secure.port: '8687'
124 #collector.rcc.keystore.file.location: /opt/app/dcae-certificate/cert.jks
125 #collector.rcc.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
126 #collector.rcc.keystore.alias: dynamically generated
127 #collector.rcc.truststore.file.location: /opt/app/dcae-certificate/trust.jks
128 #collector.rcc.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -0400129 #collector.keystore.file.location: /opt/app/dcae-certificate/external/cert.jks
130 #collector.keystore.passwordfile: /opt/app/dcae-certificate/external/jks.pass
131 collector.header.authflag: '0'
132 collector.header.authlist: sample1,c2FtcGxlMQ==
133 collector.rcc.service.secure.clientauth: '0'
134 streams_publishes:
135 device-registration:
136 dmaap_info:
137 topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT
138 type: message_router
Vijay Venkatesh Kumar0e73b022022-09-13 12:37:13 -0400139 rcc_policy: '[{"controller_name":"AccessM&C","controller_restapiUrl":"172.30.0.55:26335","controller_restapiUser":"${CONTROLLER_USERNAME}","controller_restapiPassword":"${CONTROLLER_PASSWORD}","controller_accessTokenUrl":"/rest/plat/smapp/v1/oauth/token","controller_accessTokenFile":"./etc/access-token.json","controller_accessTokenMethod":"put","controller_subsMethod":"post","controller_subscriptionUrl":"/restconf/v1/operations/huawei-nce-notification-action:establish-subscription","controller_disableSsl":"true","event_details":[{"event_name":"ONT_registration","event_description":"ONTregistartionevent","event_sseventUrlEmbed":"true","event_sseventsField":"output.url","event_sseventsUrl":"null","event_subscriptionTemplate":"./etc/ont_registartion_subscription_template.json","event_unSubscriptionTemplate":"./etc/ont_registartion_unsubscription_template.json","event_ruleId":"12345678","modifyData":"true","modifyMethod": "modifyOntEvent","userData": "remote_id=AC9.0234.0337;svlan=100;cvlan=10;"}]}]'
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -0400140
141#applicationEnv:
142# CONTROLLER_IP: "172.30.0.55"
143# CONTROLLER_PORT: "26335"
144
145
146# Resource Limit Flavor -By Default Using Small
147flavor: small
148
149# Segregation for Different Environment (Small and Large)
150resources:
151 small:
152 limits:
153 cpu: 1
154 memory: 1Gi
155 requests:
156 cpu: 1
157 memory: 1Gi
158 large:
159 limits:
160 cpu: 2
161 memory: 2Gi
162 requests:
163 cpu: 2
164 memory: 2Gi
165 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200166
167#Pods Service Account
168serviceAccount:
169 nameOverride: dcae-restconf-collector
170 roles:
171 - read