diff options
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 |