1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
4 # Copyright (c) 2022 J. F. Lucas. All rights reserved.
5 # ============================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ================================= LICENSE_END ==============================
19 #################################################################
20 # Global Configuration Defaults.
21 #################################################################
24 nodePortPrefixExt: 304
25 centralizedLoggingEnabled: true
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #################################################################
31 logstashServiceName: log-ls
34 #################################################################
35 # InitContainer Images.
36 #################################################################
37 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
39 #################################################################
40 # Application Configuration Defaults.
41 #################################################################
43 image: onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor:1.4.0
46 # Log directory where logging sidecar should look for log files
47 # if path is set to null sidecar won't be deployed in spite of
48 # global.centralizedLoggingEnabled setting.
50 path: /opt/app/VESAdapter/logs
51 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
53 # Directory where TLS certs should be stored
54 # if absent, no certs will be retrieved and stored
55 #certDirectory: /opt/app/ves-mapper/etc/certs
57 # TLS role -- set to true if microservice acts as server
58 # If true, an init container will retrieve a server cert
59 # and key from AAF and mount them in certDirectory.
67 # Service Configuration
76 # application environments
78 LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
79 CONFIG_BINDING_SERVICE_SERVICE_PORT: '10000' # Workaround until DCAEGEN2-3098 is addressed
80 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
83 # Initial Application Configuration
87 - identifier: notification-id
89 - defaultMappingFile-rcc-notification: "<?xml version='1.0' encoding='UTF-8'?><smooks-resource-list
90 xmlns='http://www.milyn.org/xsd/smooks-1.1.xsd' xmlns:jb='http://www.milyn.org/xsd/smooks/javabean-1.4.xsd'
91 xmlns:json='http://www.milyn.org/xsd/smooks/json-1.1.xsd'><json:reader rootName='vesevent'
92 keyWhitspaceReplacement='-'><json:keyMap><json:key from='date&time' to='date-and-time'
93 /></json:keyMap></json:reader><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.VesEvent'
94 beanId='vesEvent' createOnElement='vesevent'><jb:wiring property='event' beanIdRef='event'
95 /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.Event' beanId='event'
96 createOnElement='vesevent'><jb:wiring property='commonEventHeader' beanIdRef='commonEventHeader'
97 /><jb:wiring property='pnfRegistrationFields' beanIdRef='pnfRegistrationFields'
98 /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader'
99 beanId='commonEventHeader' createOnElement='vesevent'><jb:expression property='version'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Version._4_0_1</jb:expression><jb:expression
100 property='eventType'>'pnfRegistration'</jb:expression><jb:expression property='vesEventListenerVersion'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.VesEventListenerVersion._7_0_1</jb:expression><jb:expression
101 property='eventId' execOnElement='vesevent'>'registration_'+commonEventHeader.ts1</jb:expression><jb:expression
102 property='reportingEntityName'>'VESMapper'</jb:expression><jb:expression property='domain'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Domain.PNF_REGISTRATION</jb:expression><jb:expression
103 property='eventName' execOnElement='vesevent'>commonEventHeader.domain</jb:expression><jb:value
104 property='sequence' data='0' default='0' decoder='Long' /><jb:expression property='lastEpochMicrosec'
105 execOnElement='vesevent'>commonEventHeader.ts1</jb:expression><jb:expression
106 property='startEpochMicrosec' execOnElement='vesevent'>commonEventHeader.ts1</jb:expression><jb:expression
107 property='priority'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Priority.NORMAL</jb:expression><jb:expression
108 property='sourceName' execOnElement='vesevent'>pnfRegistrationFields.vendorName+'-'+pnfRegistrationFields.serialNumber</jb:expression></jb:bean><jb:bean
109 class='org.onap.dcaegen2.ves.domain.ves70.PnfRegistrationFields' beanId='pnfRegistrationFields'
110 createOnElement='vesevent'><jb:expression property='pnfRegistrationFieldsVersion'>org.onap.dcaegen2.ves.domain.ves70.PnfRegistrationFields.PnfRegistrationFieldsVersion._2_0</jb:expression><jb:value
111 property='serialNumber' data='pnfRegistration/serialNumber' /><jb:value property='lastServiceDate'
112 data='pnfRegistration/lastServiceDate' /><jb:value property='manufactureDate'
113 data='pnfRegistration/manufactureDate' /><jb:value property='modelNumber'
114 data='pnfRegistration/modelNumber' /><jb:value property='oamV4IpAddress' data='pnfRegistration/oamV4IpAddress'
115 /><jb:value property='oamV6IpAddress' data='pnfRegistration/oamV6IpAddress'
116 /><jb:value property='softwareVersion' data='pnfRegistration/softwareVersion'
117 /><jb:value property='unitFamily' data='pnfRegistration/unitFamily' /><jb:value
118 property='unitType' data='pnfRegistration/unitType' /><jb:value property='vendorName'
119 data='pnfRegistration/vendorName' /><jb:wiring property='additionalFields'
120 beanIdRef='alarmAdditionalInformation' /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.AlarmAdditionalInformation'
121 beanId='alarmAdditionalInformation' createOnElement='vesevent'><jb:wiring
122 property='additionalProperties' beanIdRef='additionalFields2' /></jb:bean><jb:bean
123 beanId='additionalFields2' class='java.util.HashMap' createOnElement='vesevent/pnfRegistration/additionalFields'><jb:value
124 data='pnfRegistration/additionalFields/*'/></jb:bean></smooks-resource-list>"
125 stream_publisher: ves-pnfRegistration
126 stream_subscriber: rcc-notification
127 - identifier: notify OID
129 - defaultMappingFile-snmp-notification: "<?xml version='1.0' encoding='UTF-8'?><smooks-resource-list
130 xmlns='http://www.milyn.org/xsd/smooks-1.1.xsd' xmlns:jb='http://www.milyn.org/xsd/smooks/javabean-1.4.xsd'
131 xmlns:json='http://www.milyn.org/xsd/smooks/json-1.1.xsd'><json:reader rootName='vesevent'
132 keyWhitspaceReplacement='-'><json:keyMap><json:key from='date&time' to='date-and-time'
133 /></json:keyMap></json:reader><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.VesEvent'
134 beanId='vesEvent' createOnElement='vesevent'><jb:wiring property='event' beanIdRef='event'
135 /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.Event' beanId='event'
136 createOnElement='vesevent'><jb:wiring property='commonEventHeader' beanIdRef='commonEventHeader'
137 /><jb:wiring property='faultFields' beanIdRef='faultFields' /></jb:bean><jb:bean
138 class='org.onap.dcaegen2.ves.domain.ves54.CommonEventHeader' beanId='commonEventHeader'
139 createOnElement='vesevent'><jb:expression property='version'>'3.0'</jb:expression><jb:expression
140 property='eventType'>'FaultField'</jb:expression><jb:expression property='eventId'
141 execOnElement='vesevent'>'XXXX'</jb:expression><jb:expression property='reportingEntityName'>'VESMapper'</jb:expression><jb:expression
142 property='domain'>org.onap.dcaegen2.ves.domain.ves54.CommonEventHeader.Domain.FAULT</jb:expression><jb:expression
143 property='eventName' execOnElement='vesevent'>commonEventHeader.domain</jb:expression><jb:value
144 property='sequence' data='0' default='0' decoder='Long' /><jb:value property='lastEpochMicrosec'
145 data='#/time-received' /><jb:value property='startEpochMicrosec' data='#/time-received'
146 /><jb:expression property='priority'>org.onap.dcaegen2.ves.domain.ves54.CommonEventHeader.Priority.NORMAL</jb:expression><jb:expression
147 property='sourceName'>'VesAdapter'</jb:expression></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.FaultFields'
148 beanId='faultFields' createOnElement='vesevent'><jb:value property='faultFieldsVersion'
149 data='2.0' default='2.0' decoder='Double' /><jb:value property='alarmCondition'
150 data='#/trap-category' /><jb:expression property='specificProblem'>'SNMP Fault'</jb:expression><jb:expression
151 property='vfStatus'>org.onap.dcaegen2.ves.domain.ves54.FaultFields.VfStatus.ACTIVE</jb:expression><jb:expression
152 property='eventSeverity'>org.onap.dcaegen2.ves.domain.ves54.FaultFields.EventSeverity.MINOR</jb:expression><jb:wiring
153 property='alarmAdditionalInformation' beanIdRef='alarmAdditionalInformationroot'
154 /></jb:bean><jb:bean class='java.util.ArrayList' beanId='alarmAdditionalInformationroot'
155 createOnElement='vesevent'><jb:wiring beanIdRef='alarmAdditionalInformation'
156 /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.AlarmAdditionalInformation'
157 beanId='alarmAdditionalInformation' createOnElement='varbinds/element'><jb:value
158 property='name' data='#/varbind_oid' /><jb:value property='value' data='#/varbind_value'
159 /></jb:bean></smooks-resource-list>"
160 stream_publisher: ves-fault
161 stream_subscriber: snmp-notification
165 topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
169 topic_url: http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT
174 topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT
178 topic_url: http://message-router:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP
181 # Resource Limit Flavor -By Default Using Small
184 # Segregation for Different Environment (Small and Large)
202 #Pods Service Account
204 nameOverride: dcae-ves-mapper