#
# ============LICENSE_START====================================================
# =============================================================================
-# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
# Copyright (c) 2020 Nokia. All rights reserved.
# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
imports:
- https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
- - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml
+ - plugin:k8splugin?version=3.3.0
inputs:
ves_other_publish_url:
default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT"
tag_version:
type: string
- default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.5.2"
+ default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.3"
internal_port:
type: string
description: Kubernetes node port on which collector is exposed
dns_component_name:
type: string
default: "dcae-ves-collector"
+ service_component_type:
+ type: string
+ default: "dcae-ves-collector"
+ service_id:
+ type: string
+ default: "dcae-ves-collector"
enable_tls:
type: boolean
default: false
type: integer
description: number of instances
default: 1
+ user_list:
+ type: string
+ description: List of user,password separated by pipe; pwd should be generated by using crypt-password tool (https://nexus.onap.org/#nexus-search;quick~crypt-password)
+ default: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6|demouser,$2a$10$1cc.COcqV/d3iT2N7BjPG.S6ZKv2jpb9a5MV.o7lMih/GpjJRX.Ce"
+
node_templates:
ves:
interfaces:
- concat: [{get_input: internal_port_tls},":",{get_input: external_port_tls}]
properties:
application_config:
- collector.dmaap.streamid: fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurementsForVfScaling=ves-measurement|measurement=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration
+ collector.dmaap.streamid: fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurementsForVfScaling=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration|3GPP-FaultSupervision=ves-3gpp-fault-supervision|3GPP-Heartbeat=ves-3gpp-heartbeat|3GPP-Provisioning=ves-3gpp-provisioning|3GPP-PerformanceAssurance=ves-3gpp-performance-assurance
collector.inputQueue.maxPending: "8096"
collector.keystore.file.location: /opt/app/dcae-certificate/cert.jks
collector.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
+ collector.truststore.file.location: /opt/app/dcae-certificate/trust.jks
+ collector.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
collector.schema.checkflag: "1"
- collector.schema.file: "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.0.1.json\"}"
+ collector.schema.file: "{\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.2_ONAP.json\"}"
+ collector.externalSchema.checkflag: 1
+ collector.externalSchema.schemasLocation: ./etc/externalRepo/
+ collector.externalSchema.mappingFileLocation: ./etc/externalRepo/schema-map.json
+ event.externalSchema.schemaRefPath: /event/stndDefinedFields/schemaReference
+ event.externalSchema.stndDefinedDataPath: /event/stndDefinedFields/data
collector.service.port: "8080"
collector.service.secure.port: "8443"
event.transform.flag: "0"
auth.method:
get_input: auth_method
- header.authlist: "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6"
+ header.authlist:
+ get_input: user_list
services_calls: []
streams_publishes:
ves-fault:
image:
get_input: tag_version
replicas: {get_input: replicas}
- name:
- get_input: component_name
- dns_name:
- get_input: dns_component_name
+ service_component_type: { get_input: service_component_type }
+ service_id: { get_input: service_id }
log_info:
- log_directory: "/opt/app/VESCollector/logs/ecomp"
+ log_directory: "/opt/app/VESCollector/logs"
tls_info:
cert_directory: '/opt/app/dcae-certificate/'
use_tls:
get_input: enable_tls
- type: dcae.nodes.ContainerizedPlatformComponent
\ No newline at end of file
+ type: dcae.nodes.ContainerizedServiceComponent