[dev.icinga.com #3981] Migrate old filter to new ones #1109
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3981
Created by mhein on 2013-04-18 10:33:36 +00:00
As a user I want to use my old filter definitions in custom cronks also with the new system.
Realized with a phing build target.
2013-04-18 12:26:14 +00:00 by mhein 6fe69ed
2013-04-18 13:53:24 +00:00 by mhein e3e0433
Updated by mhein on 2013-04-18 13:11:18 +00:00
Explanations of datastructure
The state implements a couple of data which belongs to filter.
New filter stored in key "filter" with encoded json data, e.g.:
Important data is stored in the key "filter_params", e.g.:
A query item contains to entries, suffixed with "-operator" (Integer SQL constant) and on '-value' (Value for query).
There is also data for the filter box with additional information. Stored in key "filter_types". This key can be dropped completely
Operators are translated btw, current list we support: