[DCAE] Remove references to AAF
[oom.git] / kubernetes / dcaegen2-services / components / dcae-ves-mapper / values.yaml
1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
4 # Copyright (c) 2022-2023 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
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
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 ==============================
18
19 #################################################################
20 # Global Configuration Defaults.
21 #################################################################
22 global:
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25   centralizedLoggingEnabled: true
26
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #################################################################
30 filebeatConfig:
31   logstashServiceName: log-ls
32   logstashPort: 5044
33
34 #################################################################
35 # Application Configuration Defaults.
36 #################################################################
37 # Application Image
38 image: onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor:1.4.0
39 pullPolicy: Always
40
41 # Log directory where logging sidecar should look for log files
42 # if path is set to null sidecar won't be deployed in spite of
43 # global.centralizedLoggingEnabled setting.
44 log:
45   path: /opt/app/VESAdapter/logs
46 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
47
48 # Dependencies
49 readinessCheck:
50   wait_for:
51     - message-router
52
53 # Service Configuration
54 service:
55   type: ClusterIP
56   name: dcae-ves-mapper
57   ports:
58     - name: http
59       port: 80
60       port_protocol: http
61
62 # application environments
63 applicationEnv:
64   LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
65   CONFIG_BINDING_SERVICE_SERVICE_PORT: '10000' # Workaround until DCAEGEN2-3098 is addressed
66   CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
67
68
69 # Initial Application Configuration
70 applicationConfig:
71   app_preferences:
72     collectors:
73     - identifier: notification-id
74       mapping-files:
75       - defaultMappingFile-rcc-notification: "<?xml version='1.0' encoding='UTF-8'?><smooks-resource-list
76         xmlns='http://www.milyn.org/xsd/smooks-1.1.xsd' xmlns:jb='http://www.milyn.org/xsd/smooks/javabean-1.4.xsd'
77         xmlns:json='http://www.milyn.org/xsd/smooks/json-1.1.xsd'><json:reader rootName='vesevent'
78         keyWhitspaceReplacement='-'><json:keyMap><json:key from='date&amp;time' to='date-and-time'
79         /></json:keyMap></json:reader><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.VesEvent'
80         beanId='vesEvent' createOnElement='vesevent'><jb:wiring property='event' beanIdRef='event'
81         /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.Event' beanId='event'
82         createOnElement='vesevent'><jb:wiring property='commonEventHeader' beanIdRef='commonEventHeader'
83         /><jb:wiring property='pnfRegistrationFields' beanIdRef='pnfRegistrationFields'
84         /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader'
85         beanId='commonEventHeader' createOnElement='vesevent'><jb:expression property='version'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Version._4_0_1</jb:expression><jb:expression
86         property='eventType'>'pnfRegistration'</jb:expression><jb:expression property='vesEventListenerVersion'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.VesEventListenerVersion._7_0_1</jb:expression><jb:expression
87         property='eventId' execOnElement='vesevent'>'registration_'+commonEventHeader.ts1</jb:expression><jb:expression
88         property='reportingEntityName'>'VESMapper'</jb:expression><jb:expression property='domain'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Domain.PNF_REGISTRATION</jb:expression><jb:expression
89         property='eventName' execOnElement='vesevent'>commonEventHeader.domain</jb:expression><jb:value
90         property='sequence' data='0' default='0' decoder='Long' /><jb:expression property='lastEpochMicrosec'
91         execOnElement='vesevent'>commonEventHeader.ts1</jb:expression><jb:expression
92         property='startEpochMicrosec' execOnElement='vesevent'>commonEventHeader.ts1</jb:expression><jb:expression
93         property='priority'>org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Priority.NORMAL</jb:expression><jb:expression
94         property='sourceName' execOnElement='vesevent'>pnfRegistrationFields.vendorName+'-'+pnfRegistrationFields.serialNumber</jb:expression></jb:bean><jb:bean
95         class='org.onap.dcaegen2.ves.domain.ves70.PnfRegistrationFields' beanId='pnfRegistrationFields'
96         createOnElement='vesevent'><jb:expression property='pnfRegistrationFieldsVersion'>org.onap.dcaegen2.ves.domain.ves70.PnfRegistrationFields.PnfRegistrationFieldsVersion._2_0</jb:expression><jb:value
97         property='serialNumber' data='pnfRegistration/serialNumber' /><jb:value property='lastServiceDate'
98         data='pnfRegistration/lastServiceDate' /><jb:value property='manufactureDate'
99         data='pnfRegistration/manufactureDate' /><jb:value property='modelNumber'
100         data='pnfRegistration/modelNumber' /><jb:value property='oamV4IpAddress' data='pnfRegistration/oamV4IpAddress'
101         /><jb:value property='oamV6IpAddress' data='pnfRegistration/oamV6IpAddress'
102         /><jb:value property='softwareVersion' data='pnfRegistration/softwareVersion'
103         /><jb:value property='unitFamily' data='pnfRegistration/unitFamily' /><jb:value
104         property='unitType' data='pnfRegistration/unitType' /><jb:value property='vendorName'
105         data='pnfRegistration/vendorName' /><jb:wiring property='additionalFields'
106         beanIdRef='alarmAdditionalInformation' /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves70.AlarmAdditionalInformation'
107         beanId='alarmAdditionalInformation' createOnElement='vesevent'><jb:wiring
108         property='additionalProperties' beanIdRef='additionalFields2' /></jb:bean><jb:bean
109         beanId='additionalFields2' class='java.util.HashMap' createOnElement='vesevent/pnfRegistration/additionalFields'><jb:value
110         data='pnfRegistration/additionalFields/*'/></jb:bean></smooks-resource-list>"
111       stream_publisher: ves-pnfRegistration
112       stream_subscriber: rcc-notification
113     - identifier: notify OID
114       mapping-files:
115       - defaultMappingFile-snmp-notification: "<?xml version='1.0' encoding='UTF-8'?><smooks-resource-list
116         xmlns='http://www.milyn.org/xsd/smooks-1.1.xsd' xmlns:jb='http://www.milyn.org/xsd/smooks/javabean-1.4.xsd'
117         xmlns:json='http://www.milyn.org/xsd/smooks/json-1.1.xsd'><json:reader rootName='vesevent'
118         keyWhitspaceReplacement='-'><json:keyMap><json:key from='date&amp;time' to='date-and-time'
119         /></json:keyMap></json:reader><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.VesEvent'
120         beanId='vesEvent' createOnElement='vesevent'><jb:wiring property='event' beanIdRef='event'
121         /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.Event' beanId='event'
122         createOnElement='vesevent'><jb:wiring property='commonEventHeader' beanIdRef='commonEventHeader'
123         /><jb:wiring property='faultFields' beanIdRef='faultFields' /></jb:bean><jb:bean
124         class='org.onap.dcaegen2.ves.domain.ves54.CommonEventHeader' beanId='commonEventHeader'
125         createOnElement='vesevent'><jb:expression property='version'>'3.0'</jb:expression><jb:expression
126         property='eventType'>'FaultField'</jb:expression><jb:expression property='eventId'
127         execOnElement='vesevent'>'XXXX'</jb:expression><jb:expression property='reportingEntityName'>'VESMapper'</jb:expression><jb:expression
128         property='domain'>org.onap.dcaegen2.ves.domain.ves54.CommonEventHeader.Domain.FAULT</jb:expression><jb:expression
129         property='eventName' execOnElement='vesevent'>commonEventHeader.domain</jb:expression><jb:value
130         property='sequence' data='0' default='0' decoder='Long' /><jb:value property='lastEpochMicrosec'
131         data='#/time-received' /><jb:value property='startEpochMicrosec' data='#/time-received'
132         /><jb:expression property='priority'>org.onap.dcaegen2.ves.domain.ves54.CommonEventHeader.Priority.NORMAL</jb:expression><jb:expression
133         property='sourceName'>'VesAdapter'</jb:expression></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.FaultFields'
134         beanId='faultFields' createOnElement='vesevent'><jb:value property='faultFieldsVersion'
135         data='2.0' default='2.0' decoder='Double' /><jb:value property='alarmCondition'
136         data='#/trap-category' /><jb:expression property='specificProblem'>'SNMP Fault'</jb:expression><jb:expression
137         property='vfStatus'>org.onap.dcaegen2.ves.domain.ves54.FaultFields.VfStatus.ACTIVE</jb:expression><jb:expression
138         property='eventSeverity'>org.onap.dcaegen2.ves.domain.ves54.FaultFields.EventSeverity.MINOR</jb:expression><jb:wiring
139         property='alarmAdditionalInformation' beanIdRef='alarmAdditionalInformationroot'
140         /></jb:bean><jb:bean class='java.util.ArrayList' beanId='alarmAdditionalInformationroot'
141         createOnElement='vesevent'><jb:wiring beanIdRef='alarmAdditionalInformation'
142         /></jb:bean><jb:bean class='org.onap.dcaegen2.ves.domain.ves54.AlarmAdditionalInformation'
143         beanId='alarmAdditionalInformation' createOnElement='varbinds/element'><jb:value
144         property='name' data='#/varbind_oid' /><jb:value property='value' data='#/varbind_value'
145         /></jb:bean></smooks-resource-list>"
146       stream_publisher: ves-fault
147       stream_subscriber: snmp-notification
148   streams_publishes:
149     ves-fault:
150       dmaap_info:
151         topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT
152       type: message_router
153     ves-pnfRegistration:
154       dmaap_info:
155         topic_url: http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT
156       type: message_router
157   streams_subscribes:
158     rcc-notification:
159       dmaap_info:
160         topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT
161       type: message_router
162     snmp-notification:
163       dmaap_info:
164         topic_url: http://message-router:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP
165       type: message_router
166
167 # Resource Limit Flavor -By Default Using Small
168 flavor: small
169
170 # Segregation for Different Environment (Small and Large)
171 resources:
172   small:
173     limits:
174       cpu: 1
175       memory: 1Gi
176     requests:
177       cpu: 1
178       memory: 1Gi
179   large:
180     limits:
181       cpu: 2
182       memory: 2Gi
183     requests:
184       cpu: 2
185       memory: 2Gi
186   unlimited: {}
187
188 #Pods Service Account
189 serviceAccount:
190   nameOverride: dcae-ves-mapper
191   roles:
192     - read