1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (c) 2021-2022 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
9 # http://www.apache.org/licenses/LICENSE-2.0
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 ==============================
18 #################################################################
19 # Global Configuration Defaults.
20 #################################################################
23 nodePortPrefixExt: 304
24 centralizedLoggingEnabled: false
26 #################################################################
27 # Filebeat Configuration Defaults.
28 #################################################################
30 logstashServiceName: log-ls
33 #################################################################
34 # Secrets Configuration.
35 #################################################################
37 - uid: &controllerCredsUID controllercreds
39 login: '{{ .Values.controllerCreds.username }}'
40 password: '{{ .Values.controllerCreds.password }}'
41 passwordPolicy: required
44 #################################################################
45 # InitContainer Images.
46 #################################################################
47 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
48 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
50 #################################################################
51 # Application Configuration Defaults.
52 #################################################################
54 image: onap/org.onap.dcaegen2.collectors.restconfcollector:1.2.6
57 # Log directory where logging sidecar should look for log files
58 # if path is set to null sidecar won't be deployed in spite of
59 # global.centralizedLoggingEnabled setting.
61 path: null # /opt/app/restconfcollector/logs
62 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
64 # Directory where TLS certs should be stored
65 # if absent, no certs will be retrieved and stored
66 certDirectory: /opt/app/dcae-certificate
68 # TLS role -- set to true if microservice acts as server
69 # If true, an init container will retrieve a server cert
70 # and key from AAF and mount them in certDirectory.
76 - dcae-config-binding-service
81 initialDelaySeconds: 100
89 # service configuration
92 name: dcae-restconf-collector
107 - name: CONTROLLER_USERNAME
108 uid: *controllerCredsUID
110 - name: CONTROLLER_PASSWORD
111 uid: *controllerCredsUID
114 # application environments
116 LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
118 # Initial Application Configuration
120 collector.rcc.appDescription: DCAE RestConf Collector Application
121 collector.rcc.appName: dcae-rcc
122 collector.rcc.dmaap.streamid: notification=device-registration
123 collector.rcc.inputQueue.maxPending: '8096'
124 tomcat.maxthreads: '200'
125 collector.rcc.service.port: '8080'
126 collector.rcc.service.secure.port: '8687'
127 collector.rcc.keystore.file.location: /opt/app/dcae-certificate/cert.jks
128 collector.rcc.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
129 collector.rcc.keystore.alias: dynamically generated
130 collector.rcc.truststore.file.location: /opt/app/dcae-certificate/trust.jks
131 collector.rcc.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
132 #collector.keystore.file.location: /opt/app/dcae-certificate/external/cert.jks
133 #collector.keystore.passwordfile: /opt/app/dcae-certificate/external/jks.pass
134 collector.header.authflag: '0'
135 collector.header.authlist: sample1,c2FtcGxlMQ==
136 collector.rcc.service.secure.clientauth: '0'
140 topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT
142 #rcc_policy: '[{"controller_name":"AccessM&C","controller_restapiUrl":"${CONTROLLER_IP}:{CONTROLLER_PORT}","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;"}]}]'
143 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;"}]}]'
146 # CONTROLLER_IP: "172.30.0.55"
147 # CONTROLLER_PORT: "26335"
150 # Resource Limit Flavor -By Default Using Small
153 # Segregation for Different Environment (Small and Large)
171 #Pods Service Account
173 nameOverride: dcae-restconf-collector