summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_javalibrary/evel_javalib2
diff options
context:
space:
mode:
authorChris Donley <christopher.donley@huawei.com>2018-08-01 17:21:37 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-01 17:21:37 +0000
commit15d64aedcb768b6ab5340b11f5de81fe469d2eae (patch)
treeba58e39e148852a92afbef59402e79b8687a602e /veslibrary/ves_javalibrary/evel_javalib2
parent2780dd46c057e5cb92f081284a2efa9966022e80 (diff)
parent4543021519eedcd60a532061c364ea2fecc52d93 (diff)
Merge "eventSourceType does not populate right"
Diffstat (limited to 'veslibrary/ves_javalibrary/evel_javalib2')
-rw-r--r--veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java2
-rw-r--r--veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelSyslog.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java
index d40859c..a369b5e 100644
--- a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java
+++ b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java
@@ -292,7 +292,7 @@ public class EvelFault extends EvelHeader {
* @param source_type The source type to convert.
* @returns The equivalent string.
*****************************************************************************/
- String evel_source_type(EVEL_SOURCE_TYPES source_type)
+ static String evel_source_type(EVEL_SOURCE_TYPES source_type)
{
String result;
diff --git a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelSyslog.java b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelSyslog.java
index 4b972c4..1bdcaf0 100644
--- a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelSyslog.java
+++ b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelSyslog.java
@@ -435,7 +435,7 @@ public class EvelSyslog extends EvelHeader {
/* Mandatory fields */
/***************************************************************************/
JsonObjectBuilder obj = Json.createObjectBuilder()
- .add("eventSourceType", event_source_type.toString())
+ .add("eventSourceType", EvelFault.evel_source_type(event_source_type))
.add("syslogMsg", syslog_msg)
.add("syslogTag", syslog_tag)
.add("syslogFieldsVersion",version);