summaryrefslogtreecommitdiffstats
path: root/pnda-ztt-app/test
diff options
context:
space:
mode:
authorchenxdu <chenxdu@cisco.com>2018-09-19 16:42:15 +0200
committerDonald Hunter <donaldh@cisco.com>2018-10-01 10:23:50 +0100
commitfd1060d4c176272f312fb23495ff8cdbebc121ae (patch)
tree2f24090ec71e47e69bd392918198745d0c8406e8 /pnda-ztt-app/test
parenta789d153737a991c14c7be03ae9044563573e4d2 (diff)
PNDA Telemetry app for virtual firwall use case
The telemetry app ingests virtual firewall VES events into HDFS and the timeseries datastore to support futher analytics. Change-Id: I3a0920d4b416c1c165311ab9ff0fc31d8c96499f Signed-off-by: chenxdu <chenxdu@cisco.com> Issue-ID: DCAEGEN2-632 Signed-off-by: Donald Hunter <donaldh@cisco.com>
Diffstat (limited to 'pnda-ztt-app/test')
-rw-r--r--pnda-ztt-app/test/application.properties8
-rw-r--r--pnda-ztt-app/test/log4j.testing.properties14
2 files changed, 22 insertions, 0 deletions
diff --git a/pnda-ztt-app/test/application.properties b/pnda-ztt-app/test/application.properties
new file mode 100644
index 0000000..e7a2923
--- /dev/null
+++ b/pnda-ztt-app/test/application.properties
@@ -0,0 +1,8 @@
+kafka.brokers=192.168.10.5:9092
+kafka.zookeeper=192.168.10.5:2181
+app.checkpoint_path=
+app.job_name=Zomg
+app.processing_parallelism=1
+app.batch_size_seconds=2
+kafka.consume_from_beginning=false
+opentsdb.ip=
diff --git a/pnda-ztt-app/test/log4j.testing.properties b/pnda-ztt-app/test/log4j.testing.properties
new file mode 100644
index 0000000..1388b20
--- /dev/null
+++ b/pnda-ztt-app/test/log4j.testing.properties
@@ -0,0 +1,14 @@
+log4j.rootCategory=TRACE,console
+log4j.logger.org=TRACE
+log4j.logger.com.cisco.pnda=TRACE,console
+log4j.additivity.com.cisco.pnda=false
+log4j.logger.com.cisco.ztt=TRACE,console
+log4j.additivity.com.cisco.ztt=false
+
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.target=System.out
+log4j.appender.console.immediateFlush=true
+log4j.appender.console.encoding=UTF-8
+
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.conversionPattern=%d %-5p %c - %m%n