You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Overview

The Context Aggregator in POMBA consumes a service audit request from DMaaP and initiates the gathering of context-specific service information via a set of "builders". The information available about the service within each context (i.e. from each builder) is collated and a single report is then published to DMaaP where it can be consumed.

File Structure


/opt
|-- app
    |-- config
    |   |-- application.properties
    |   |-- builders
    |   |   |-- aai.properties
    |   |   |-- sdc.properties
    |   |-- logback.xml
    |-- debug-logs
    |   |-- EELF
    |       |-- debug.log
    |-- lib
    |   |-- pomba-context-aggregator.jar
    |   |-- startService.sh
    |-- logs
        |-- EELF
        |   |-- application.log
        |   |-- audit.log
        |   |-- error.log
        |   |-- metrics.log
        |   |-- performance.log
        |   |-- policy.log
        |   |-- security.log
        |   |-- server.log
        |-- output.log


Configuration


application.properties
server.port=9529

builders.properties.path=config/builders/

# Transport Configuration
transport.consume.host=10.147.99.139
transport.consume.port=30227
transport.consume.topic=POA-AUDIT-INIT
transport.consume.motsid=motsid@motsid.com
transport.consume.pass=1234
transport.consume.consumergroup=audit1
transport.consume.consumerid=audit1
transport.consume.timeout=15000
transport.consume.msglimit=1000
transport.consume.batchsize=8
transport.consume.type=HTTPAUTH

transport.publish.host=10.147.99.139
transport.publish.port=30227
transport.publish.topic=POA-RULE-VALIDATION
transport.publish.motsid=motsid@motsid.com
transport.publish.pass=1234
transport.publish.batchsize=8
transport.publish.maxage=1000
transport.publish.delay=1000
transport.publish.type=HTTPAUTH
transport.publish.partition=1
transport.publish.retries=4

event.header.domain=devINT1
event.header.source-name=RO
event.header.event-type=POA-EVENT
event.header.entity-type=poa-entity
event.header.topic-entity-type=poa-entity
event.header.topic-name=AUDIT-RESULT-TEST


Each builder has a configuration under /opt/apps/config/builders/.

<builder>.properties
server.host=10.53.117.15
server.port=9533
server.protocol=http
trust.store.path=/auth/tomcat_keystore
key.store.path=/auth/aai-client-cert.p12
key.store.password=70c87528c88dcd9f9c2558d30e817868
key.store.type=PKCS12
key.manager.factory.algorithm=SunX509
security.protocol=TLS
connection.timeout.ms=5000
read.timeout.ms=1000
base.uri=/aaicontextbuilder/service/context
  • No labels