.. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 .. _ves-mapper-installation-helm: Helm Installation ================= The Mapper microservice can be deployed using helm charts in the oom repository. Deployment steps ~~~~~~~~~~~~~~~~ - Default app config values can be updated in oom/kubernetes/dcaegen2-services/components/dcae-ves-mapper/values.yaml. - Make the chart and deploy using the following command: .. code-block:: bash cd oom/kubernetes/ make dcaegen2-services helm install dev-dcaegen2-services dcaegen2-services --namespace --set global.masterPassword= - To deploy only Mapper: .. code-block:: bash helm install dev-dcae-ves-mapper dcaegen2-services/components/dcae-ves-mapper --namespace --set global.masterPassword= - To Uninstall .. code-block:: bash helm uninstall dev-dcae-ves-mapper Application Configurations -------------------------- Supported configuration modifiable in HELM charts under **applicationConfig** section. .. code-block:: yaml applicationConfig: app_preferences: collectors: - identifier: notification-id mapping-files: - defaultMappingFile-rcc-notification: "org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Version._4_0_1'pnfRegistration'org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.VesEventListenerVersion._7_0_1'registration_'+commonEventHeader.ts1'VESMapper'org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Domain.PNF_REGISTRATIONcommonEventHeader.domaincommonEventHeader.ts1commonEventHeader.ts1org.onap.dcaegen2.ves.domain.ves70.CommonEventHeader.Priority.NORMALpnfRegistrationFields.vendorName+'-'+pnfRegistrationFields.serialNumberorg.onap.dcaegen2.ves.domain.ves70.PnfRegistrationFields.PnfRegistrationFieldsVersion._2_0" stream_publisher: ves-pnfRegistration stream_subscriber: rcc-notification - identifier: notify OID mapping-files: - defaultMappingFile-snmp-notification: "'3.0''FaultField''XXXX''VESMapper'org.onap.dcaegen2.ves.domain.ves54.CommonEventHeader.Domain.FAULTcommonEventHeader.domainorg.onap.dcaegen2.ves.domain.ves54.CommonEventHeader.Priority.NORMAL'VesAdapter''SNMP Fault'org.onap.dcaegen2.ves.domain.ves54.FaultFields.VfStatus.ACTIVEorg.onap.dcaegen2.ves.domain.ves54.FaultFields.EventSeverity.MINOR" stream_publisher: ves-fault stream_subscriber: snmp-notification streams_publishes: ves-fault: dmaap_info: topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT type: message_router ves-pnfRegistration: dmaap_info: topic_url: http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT type: message_router streams_subscribes: rcc-notification: dmaap_info: topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT type: message_router snmp-notification: dmaap_info: topic_url: http://message-router:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP type: message_router The location of the configuration file should be set in ``CBS_CLIENT_CONFIG_PATH`` env, for example: ``CBS_CLIENT_CONFIG_PATH: /app-config-input/application_config.yaml``