diff options
author | Prudence Au <prudence.au@amdocs.com> | 2018-07-16 22:02:04 -0400 |
---|---|---|
committer | Prudence Au <prudence.au@amdocs.com> | 2018-08-07 10:19:39 -0400 |
commit | 65c5d8b92e759ec4ee9d13f048b069033b4bf097 (patch) | |
tree | 237dd5c8d59d5696ae9813ecaac7dfb453a9f0ca /config | |
parent | 4267a59d4454d03a900f46d71e288d6590f162c0 (diff) |
POMBA Context Aggregator
Change-Id: I33acc1f46d35447b63e2d5438c9ce6728a2b03eb
Issue-ID: LOG-519
Signed-off-by: Prudence Au <prudence.au@amdocs.com>
POMBA Context Aggregator with JUnit tests
Change-Id: I33acc1f46d35447b63e2d5438c9ce6728a2b03eb
Issue-ID: LOG-519
Signed-off-by: Prudence Au <prudence.au@amdocs.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/application.properties | 35 | ||||
-rw-r--r-- | config/builders/aai.properties | 9 | ||||
-rw-r--r-- | config/builders/sdc.properties | 9 | ||||
-rw-r--r-- | config/builders/sdnc.properties | 9 | ||||
-rw-r--r-- | config/logback.xml | 30 |
5 files changed, 92 insertions, 0 deletions
diff --git a/config/application.properties b/config/application.properties new file mode 100644 index 0000000..2320d0b --- /dev/null +++ b/config/application.properties @@ -0,0 +1,35 @@ +server.port=9529 + +builders.properties.path=config/builders/ + +# Transport Configuration +transport.consume.host=<replace_with_host_or_ip> +transport.consume.port=<replace> +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=<replace_with_host_or_ip> +transport.publish.port=<replace> +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 diff --git a/config/builders/aai.properties b/config/builders/aai.properties new file mode 100644 index 0000000..1ab39a8 --- /dev/null +++ b/config/builders/aai.properties @@ -0,0 +1,9 @@ +server.host= +server.port= +server.protocol=http +security.protocol=TLS +connection.timeout.ms=5000 +read.timeout.ms=1000 +base.uri=/aaicontextbuilder/service/context +basicauth.username= +basicauth.password= diff --git a/config/builders/sdc.properties b/config/builders/sdc.properties new file mode 100644 index 0000000..858de78 --- /dev/null +++ b/config/builders/sdc.properties @@ -0,0 +1,9 @@ +server.host= +server.port= +server.protocol=http +security.protocol=TLS +connection.timeout.ms=5000 +read.timeout.ms=1000 +base.uri=/sdccontextbuilder/service/context +basicauth.username= +basicauth.password=
\ No newline at end of file diff --git a/config/builders/sdnc.properties b/config/builders/sdnc.properties new file mode 100644 index 0000000..7b18cc1 --- /dev/null +++ b/config/builders/sdnc.properties @@ -0,0 +1,9 @@ +server.host= +server.port= +server.protocol=http +security.protocol=TLS +connection.timeout.ms=5000 +read.timeout.ms=1000 +base.uri=/sdnccontextbuilder/service/context +basicauth.username= +basicauth.password=
\ No newline at end of file diff --git a/config/logback.xml b/config/logback.xml new file mode 100644 index 0000000..75c97ae --- /dev/null +++ b/config/logback.xml @@ -0,0 +1,30 @@ +<configuration> + <property name="p_tim" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC}"/> + <property name="p_lvl" value="%level"/> + <property name="p_log" value="%logger"/> + <property name="p_mdc" value="%replace(%replace(%mdc){'\t','\\\\t'}){'\n', '\\\\n'}"/> + <property name="p_msg" value="%replace(%replace(%msg){'\t', '\\\\t'}){'\n','\\\\n'}"/> + <property name="p_exc" value="%replace(%replace(%rootException){'\t', '\\\\t'}){'\n','\\\\n'}"/> + <!-- tabs --> + <property name="p_mak" value="%replace(%replace(%marker){'\t', '\\\\t'}){'\n','\\\\n'}"/> + <property name="p_thr" value="%thread"/> + <property name="pattern" value="%nopexception${p_tim}\t${p_thr}\t${p_lvl}\t${p_log}\t${p_mdc}\t${p_msg}\t${p_exc}\t${p_mak}\t%n"/> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>${pattern}</pattern> + </encoder> + </appender> + <appender name="FILE" class="ch.qos.logback.core.FileAppender"> + <file>logs/output.log</file> + <encoder> + <pattern>${pattern}</pattern> + </encoder> + </appender> + <logger level="INFO" name="org.onap.logging.ref.slf4j" additivity="false"> + <appender-ref ref="STDOUT" /> + <appender-ref ref="FILE" /> + </logger> + <root level="INFO"> + <appender-ref ref="STDOUT" /> + </root> +</configuration>
\ No newline at end of file |