aboutsummaryrefslogtreecommitdiffstats
path: root/event-client-dmaap/src/main/resources
diff options
context:
space:
mode:
authorGilding, Joyce (jg640n) <Joyce.Gilding@amdocs.com>2018-01-29 15:00:04 +0000
committerGilding, Joyce (jg640n) <Joyce.Gilding@amdocs.com>2018-01-30 10:24:18 +0000
commit4150ee34ae503c83734aca7e62ca9911b354c881 (patch)
tree6598a1d16483eb480664b8862c86ba801af6d661 /event-client-dmaap/src/main/resources
parent4e6e8b2714f3e5fe6d6dc064d9d73275c5ee5437 (diff)
Initial code submit for Event Bus Client library
Change-Id: If0ff82c669872c734ebe0c72bc022beb96c53d11 Issue-ID: AAI-700 Signed-off-by: Gilding, Joyce (jg640n) <Joyce.Gilding@amdocs.com>
Diffstat (limited to 'event-client-dmaap/src/main/resources')
-rw-r--r--event-client-dmaap/src/main/resources/logback.xml27
-rw-r--r--event-client-dmaap/src/main/resources/resources.properties38
2 files changed, 65 insertions, 0 deletions
diff --git a/event-client-dmaap/src/main/resources/logback.xml b/event-client-dmaap/src/main/resources/logback.xml
new file mode 100644
index 0000000..5e5234c
--- /dev/null
+++ b/event-client-dmaap/src/main/resources/logback.xml
@@ -0,0 +1,27 @@
+<configuration>
+ <property name="logDirectory" value="logs/" />
+
+ <appender name="event-bus-client" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <File>${logDirectory}/application.log</File>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDirectory}/application.log.%d{yyyy-MM-dd}</fileNamePattern>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%d %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <logger name="com.att.eelf" level="INFO" additivity="false">
+ <appender-ref ref="event-bus-client"/>
+ </logger>
+
+ <!-- DEBUG < INFO < WARN < ERROR -->
+ <logger name="event-bus-client" level="INFO" additivity="false">
+ <appender-ref ref="event-bus-client"/>
+ </logger>
+
+ <root level="INFO">
+ <appender-ref ref="event-bus-client"/>
+ </root>
+
+</configuration> \ No newline at end of file
diff --git a/event-client-dmaap/src/main/resources/resources.properties b/event-client-dmaap/src/main/resources/resources.properties
new file mode 100644
index 0000000..b8cd27a
--- /dev/null
+++ b/event-client-dmaap/src/main/resources/resources.properties
@@ -0,0 +1,38 @@
+#Resource key=Error Code|Message text|Resolution text |Description text
+#######
+#Newlines can be utilized to add some clarity ensuring continuing line
+#has atleast one leading space
+#ResourceKey=\
+# ERR0000E\
+# Sample error msg txt\
+# Sample resolution msg\
+# Sample description txt
+#
+######
+#Error code classification category
+#100 Permission errors
+#200 Availability errors/Timeouts
+#300 Data errors
+#400 Schema Interface type/validation errors
+#500 Business process errors
+#900 Unknown errors
+#
+########################################################################
+
+MESSAGE_INFO=\
+ |\
+ {0}|\
+ |\
+ |\
+
+MESSAGE_ERROR=\
+ |\
+ {0}|\
+ |\
+ |\
+
+MESSAGE_WARN=\
+ |\
+ {0}|\
+ |\
+ |\ \ No newline at end of file