inputs:
aai_enrichment_host:
type: string
- default: "aai"
+ default: "aai.onap"
aai_enrichment_port:
type: integer
default: 8443
aai_enrichment_protocol:
type: string
default: "https"
+ aai_secure_enable_cert:
+ type: boolean
+ description: enable certificates-based connection with AAI
+ default: true
tag_version:
type: string
replicas:
type: integer
description: number of instances
default: 1
- host_port:
- description: port on Kubernetes host where bbs-event-processor API will be exposed
- default: 0
pnf_reregistration_url:
type: string
cpe_authentication_url:
application_logging_level:
type: string
default: "INFO"
+ dmaap_username:
+ type: string
+ default: admin
+ dmaap_password:
+ type: string
+ default: admin
dmaap_consumer_id:
type: string
dmaap_consumer_group:
type: string
+ dmaap_secure_enable_cert:
+ type: boolean
+ description: enable certificates-based connection with DMaaP
+ default: true
node_templates:
bbs-event-processor:
- type: dcae.nodes.ContainerizedPlatformComponent
+ type: dcae.nodes.ContainerizedServiceComponent
properties:
application_config:
streams_subscribes:
pnf_reregistration:
type: message_router
+ aaf_username: { get_input: dmaap_username }
+ aaf_password: { get_input: dmaap_password }
dmaap_info:
topic_url: { get_input: pnf_reregistration_url }
cpe_authentication:
type: message_router
+ aaf_username: { get_input: dmaap_username }
+ aaf_password: { get_input: dmaap_password }
dmaap_info:
topic_url: { get_input: cpe_authentication_url }
streams_publishes:
close_loop:
type: message_router
+ aaf_username: { get_input: dmaap_username }
+ aaf_password: { get_input: dmaap_password }
dmaap_info:
topic_url: { get_input: close_loop_url }
- dmaap.protocol: "http"
+ dmaap.protocol: "https"
dmaap.contentType: "application/json"
dmaap.consumer.consumerId: { get_input: dmaap_consumer_id }
dmaap.consumer.consumerGroup: { get_input: dmaap_consumer_group }
application.cpeAuth.configKey: "cpe_authentication"
application.closeLoop.configKey: "close_loop"
application.loggingLevel: { get_input: application_logging_level }
- host_port:
- { get_input: host_port }
- container_port:
- 8100
+ application.ssl.keyStorePath: "/opt/app/bbs-event-processor/etc/cert/cert.jks"
+ application.ssl.keyStorePasswordPath: "/opt/app/bbs-event-processor/etc/cert/jks.pass"
+ application.ssl.trustStorePath: "/opt/app/bbs-event-processor/etc/cert/trust.jks"
+ application.ssl.trustStorePasswordPath: "/opt/app/bbs-event-processor/etc/cert/trust.pass"
+ application.ssl.enableAaiCertAuth: { get_input: aai_secure_enable_cert }
+ application.ssl.enableDmaapCertAuth: { get_input: dmaap_secure_enable_cert }
docker_config:
healthcheck:
endpoint: /heartbeat
image:
{ get_input: tag_version }
replicas: {get_input: replicas}
- name: 'bbs-event-processor'
- dns_name: 'bbs-event-processor'
+ service_component_type: 'bbs-event-processor'
log_info:
log_directory: "/opt/app/bbs-event-processor/logs"
tls_info:
- cert_directory: '/opt/app/bbs-event-processor/etc/cert/'
- use_tls: false
\ No newline at end of file
+ cert_directory: '/opt/app/bbs-event-processor/etc/cert'
+ use_tls: true
+ interfaces:
+ cloudify.interfaces.lifecycle:
+ start:
+ inputs:
+ ports:
+ - concat: ["8100:", "30810"]
\ No newline at end of file