Added UniversalVesAdapter in the Mapper
[dcaegen2/services/mapper.git] / UniversalVesAdapter / src / main / resources / MapperConfigFullFormat.json
1 {
2         "entries" : [
3                 {
4                         "priority" : 1,
5                         "evaluation" : {
6                                         "operand" : "EQUALS",
7                                         "field" : "notify OID",
8                                         "value" : ".1.3.6.1.4.1.74.2.46.12.1.1",
9                                         "datatype" : "string",
10                                         "lhs" : null,
11                                         "rhs" : null    
12                                 },
13                         "result" : "snmpTrapToVes.xml"
14                 },
15                 {
16                         "priority" : 2,
17                         "evaluation" : {
18                                 "operand" : "AND",
19                                 "field" : null,
20                                 "value" : null,
21                                 "datatype" : null,
22                                 "lhs" : {
23                                         "operand" : "OR",
24                                         "field" : null,
25                                         "value" : null,
26                                         "datatype" : null,
27                                         "lhs" : {
28                                                 "operand" : "EQUALS",
29                                                 "field" : "domain",
30                                                 "value" : "snmp-heartbeat",
31                                                 "datatype" : "string",
32                                                 "lhs" : null,
33                                                 "rhs" : null
34                                         },
35                                         "rhs" : {
36                                                 "operand" : "EQUALS",
37                                                 "field" : "domain",
38                                                 "value" : "snmp-fault",
39                                                 "datatype" : "string",
40                                                 "lhs" : null,
41                                                 "rhs" : null                                            
42                                         }
43                                 },
44                                 "rhs" : {
45                                         "operand" : "EQUALS",
46                                         "field" : "trap version",
47                                         "value" : "1.2",
48                                         "datatype" : "float",
49                                         "lhs" : null,
50                                         "rhs" : null    
51                                 }
52                         },
53                         "result" : "smooks.config"
54                 }               
55         ]
56 }