aboutsummaryrefslogtreecommitdiffstats
path: root/UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json
diff options
context:
space:
mode:
authorPooja03 <PM00501616@techmahindra.com>2018-03-23 17:49:26 +0530
committerPooja03 <PM00501616@techmahindra.com>2018-03-23 17:49:26 +0530
commitd407638086b08c3de199cbef5e717fb16556077c (patch)
treeae56b4f5cf80eaa1b06bd60fa3de046f22212f29 /UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json
parent97991213fa2883fe6658862cf5bb0151246f7361 (diff)
Added UniversalVesAdapter in the Mapper
Adding full UniversalVesAdapter Module in Mapper Change-Id: I7edece763546b91700983554ffcf38f8ab945ae2 Issue-ID: DCAEGEN2-335 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
Diffstat (limited to 'UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json')
-rw-r--r--UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json b/UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json
new file mode 100644
index 0000000..059dc2e
--- /dev/null
+++ b/UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json
@@ -0,0 +1,56 @@
+{
+ "entries" : [
+ {
+ "priority" : 1,
+ "evaluation" : {
+ "operand" : "EQUALS",
+ "field" : "notify OID",
+ "value" : ".1.3.6.1.4.1.74.2.46.12.1.1",
+ "datatype" : "string",
+ "lhs" : null,
+ "rhs" : null
+ },
+ "result" : "snmpTrapToVes.xml"
+ },
+ {
+ "priority" : 2,
+ "evaluation" : {
+ "operand" : "AND",
+ "field" : null,
+ "value" : null,
+ "datatype" : null,
+ "lhs" : {
+ "operand" : "OR",
+ "field" : null,
+ "value" : null,
+ "datatype" : null,
+ "lhs" : {
+ "operand" : "EQUALS",
+ "field" : "domain",
+ "value" : "snmp-heartbeat",
+ "datatype" : "string",
+ "lhs" : null,
+ "rhs" : null
+ },
+ "rhs" : {
+ "operand" : "EQUALS",
+ "field" : "domain",
+ "value" : "snmp-fault",
+ "datatype" : "string",
+ "lhs" : null,
+ "rhs" : null
+ }
+ },
+ "rhs" : {
+ "operand" : "EQUALS",
+ "field" : "trap version",
+ "value" : "1.2",
+ "datatype" : "float",
+ "lhs" : null,
+ "rhs" : null
+ }
+ },
+ "result" : "smooks.config"
+ }
+ ]
+} \ No newline at end of file