uavstack-master/com.creditease.uav.base/src/test/java/com/creditease/uav/base/test/DoTestMonitorDataFrame.java
/*-
 * <<
 * UAVStack
 * ==
 * Copyright (C) 2016 - 2017 UAVStack
 * ==
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * >>
 */

package com.creditease.uav.base.test;

import com.creditease.agent.monitor.api.MonitorDataFrame;

public class DoTestMonitorDataFrame {

    public static void main(String[] args) {

        String test = "{	        \"time\": 145915028391,	        \"host\": \"09-201506110096\",	        \"ip\": \"192.168.99.1\",	        \"svrid\": \"E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65::E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65\",	        \"tag\": \"P\",	        \"frames\": {	            \"manager\": [	                {	                    \"Instances\": [	                        {	                            \"id\": \"lib\",	                            \"values\": {}	                        }	                    ],	                    \"PEId\": \"jars\"	                },	                {	                    \"Instances\": [	                        {	                            \"id\": \"javax.servlet.annotation.WebServlet\",	                            \"values\": {	                                \"org.apache.catalina.manager.HTMLManagerServlet\": {	                                    \"des\": {	                                        \"name\": \"HTMLManager\",	                                        \"urlPatterns\": [	                                            \"/html/*\"	                                        ]	                                    }	                                },	                                \"org.apache.catalina.manager.ManagerServlet\": {	                                    \"des\": {	                                        \"name\": \"Manager\",	                                        \"urlPatterns\": [	                                            \"/text/*\"	                                        ]	                                    }	                                },	                                \"org.apache.catalina.manager.JMXProxyServlet\": {	                                    \"des\": {	                                        \"name\": \"JMXProxy\",	                                        \"urlPatterns\": [	                                            \"/jmxproxy/*\"	                                        ]	                                    }	                                },	                                \"org.apache.catalina.manager.StatusManagerServlet\": {	                                    \"des\": {	                                        \"name\": \"Status\",	                                        \"urlPatterns\": [	                                            \"/status/*\"	                                        ]	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebFilter\",	                            \"values\": {	                                \"org.apache.catalina.filters.SetCharacterEncodingFilter\": {	                                    \"des\": {	                                        \"servletNames\": [],	                                        \"filterName\": \"SetCharacterEncoding\",	                                        \"urlPatterns\": [	                                            \"/*\"	                                        ]	                                    }	                                },	                                \"org.apache.catalina.filters.CsrfPreventionFilter\": {	                                    \"des\": {	                                        \"servletNames\": [	                                            \"HTMLManager\",	                                            \"jsp\"	                                        ],	                                        \"filterName\": \"CSRF\",	                                        \"urlPatterns\": []	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebListener\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.jws.WebService\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.xml.ws.WebServiceProvider\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.ws.rs.Path\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"org.springframework.stereotype.Controller\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"webapp\",	                            \"values\": {	                                \"appname\": \"Tomcat Manager Application\",	                                \"webapproot\": \"E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/manager\",	                                \"appurl\": \"http://192.168.99.1:8080/manager/\"	                            }	                        }	                    ],	                    \"PEId\": \"cpt\"	                },	                {	                    \"Instances\": [],	                    \"PEId\": \"logs\"	                }	            ],	            \"com.creditease.uav.console\": [	                {	                    \"Instances\": [	                        {	                            \"id\": \"lib\",	                            \"values\": {	                                \"classes\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/classes/\",	                                \"javax.ws.rs-api-2.0.1.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/javax.ws.rs-api-2.0.1.jar\",	                                \"jersey-client-2.22.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/jersey-client-2.22.jar\",	                                \"jersey-guava-2.22.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/jersey-guava-2.22.jar\",	                                \"jersey-container-servlet-2.22.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/jersey-container-servlet-2.22.jar\",	                                \"hk2-locator-2.4.0-b31.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/hk2-locator-2.4.0-b31.jar\",	                                \"osgi-resource-locator-1.0.1.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/osgi-resource-locator-1.0.1.jar\",	                                \"hk2-api-2.4.0-b31.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/hk2-api-2.4.0-b31.jar\",	                                \"javax.inject-2.4.0-b31.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/javax.inject-2.4.0-b31.jar\",	                                \"jersey-server-2.22.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/jersey-server-2.22.jar\",	                                \"aredis-api-1.4.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/aredis-api-1.4.jar\",	                                \"aopalliance-repackaged-2.4.0-b31.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/aopalliance-repackaged-2.4.0-b31.jar\",	                                \"validation-api-1.1.0.Final.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/validation-api-1.1.0.Final.jar\",	                                \"javassist-3.18.1-GA.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/javassist-3.18.1-GA.jar\",	                                \"jersey-container-servlet-core-2.22.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/jersey-container-servlet-core-2.22.jar\",	                                \"jersey-media-jaxb-2.22.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/jersey-media-jaxb-2.22.jar\",	                                \"hk2-utils-2.4.0-b31.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/hk2-utils-2.4.0-b31.jar\",	                                \"javax.annotation-api-1.2.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/javax.annotation-api-1.2.jar\",	                                \"commons-logging-1.2.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/commons-logging-1.2.jar\",	                                \"jersey-common-2.22.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console/WEB-INF/lib/jersey-common-2.22.jar\"	                            }	                        }	                    ],	                    \"PEId\": \"jars\"	                },	                {	                    \"Instances\": [	                        {	                            \"id\": \"javax.servlet.annotation.WebServlet\",	                            \"values\": {	                                \"com.creditease.uav.apphub.core.AppHubRestServlet\": {	                                    \"des\": {	                                        \"loadOnStartup\": \"1\",	                                        \"name\": \"jersey-serlvet\",	                                        \"urlPatterns\": [	                                            \"/rs/*\"	                                        ]	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebFilter\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebListener\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.jws.WebService\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.xml.ws.WebServiceProvider\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.ws.rs.Path\",	                            \"values\": {	                                \"com.creditease.uav.godeye.rest.GodEyeRestService\": {	                                    \"methods\": {	                                        \"loadUavNetworkInfo\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"loadUavNetworkInfo\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        },	                                        \"ping\": {	                                            \"anno\": {	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        }	                                    },	                                    \"anno\": {	                                        \"javax.ws.rs.Path\": {	                                            \"value\": \"godeye\"	                                        }	                                    }	                                },	                                \"com.creditease.uav.apphub.rest.GUIService\": {	                                    \"methods\": {	                                        \"jumpMainPage\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"jumpMainPage\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:void\"	                                            ]	                                        },	                                        \"loadAppMenu\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"loadAppMenu\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        },	                                        \"loadMainMenu\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"loadMainMenu\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        },	                                        \"loadMainAppIco\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"loadMainAppIco\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        },	                                        \"login\": {	                                            \"anno\": {	                                                \"javax.ws.rs.POST\": {},	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"login\"	                                                }	                                            },	                                            \"para\": [	                                                \"java.lang.String\",	                                                \"R:java.lang.String\"	                                            ]	                                        },	                                        \"ping\": {	                                            \"anno\": {	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        },	                                        \"loadAppTemp\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"loadAppTemp\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        },	                                        \"jumpAppPage\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"jumpAppPage\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"java.lang.String\",	                                                \"R:void\"	                                            ]	                                        },	                                        \"loadTemp\": {	                                            \"anno\": {	                                                \"javax.ws.rs.Path\": {	                                                    \"value\": \"loadTemp\"	                                                },	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"java.lang.String\",	                                                \"R:java.lang.String\"	                                            ]	                                        }	                                    },	                                    \"anno\": {	                                        \"javax.ws.rs.Path\": {	                                            \"value\": \"gui\"	                                        }	                                    }	                                },	                                \"com.creditease.uav.apphub.rest.APIService\": {	                                    \"methods\": {	                                        \"ping\": {	                                            \"anno\": {	                                                \"javax.ws.rs.GET\": {}	                                            },	                                            \"para\": [	                                                \"R:java.lang.String\"	                                            ]	                                        }	                                    },	                                    \"anno\": {	                                        \"javax.ws.rs.Path\": {	                                            \"value\": \"api\"	                                        }	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"org.springframework.stereotype.Controller\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"webapp\",	                            \"values\": {	                                \"appname\": \"UAV管理控制台\",	                                \"webapproot\": \"E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/com.creditease.uav.console\",	                                \"appurl\": \"http://192.168.99.1:8080/com.creditease.uav.console/\"	                            }	                        }	                    ],	                    \"PEId\": \"cpt\"	                },	                {	                    \"Instances\": [],	                    \"PEId\": \"logs\"	                }	            ],	            \"docs\": [	                {	                    \"Instances\": [	                        {	                            \"id\": \"lib\",	                            \"values\": {}	                        }	                    ],	                    \"PEId\": \"jars\"	                },	                {	                    \"Instances\": [	                        {	                            \"id\": \"javax.servlet.annotation.WebServlet\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebFilter\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebListener\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.jws.WebService\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.xml.ws.WebServiceProvider\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.ws.rs.Path\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"org.springframework.stereotype.Controller\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"webapp\",	                            \"values\": {	                                \"appname\": \"Tomcat Documentation\",	                                \"webapproot\": \"E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/docs\",	                                \"appurl\": \"http://192.168.99.1:8080/docs/\"	                            }	                        }	                    ],	                    \"PEId\": \"cpt\"	                },	                {	                    \"Instances\": [],	                    \"PEId\": \"logs\"	                }	            ],	            \"ROOT\": [	                {	                    \"Instances\": [	                        {	                            \"id\": \"lib\",	                            \"values\": {}	                        }	                    ],	                    \"PEId\": \"jars\"	                },	                {	                    \"Instances\": [	                        {	                            \"id\": \"javax.servlet.annotation.WebServlet\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebFilter\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebListener\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.jws.WebService\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.xml.ws.WebServiceProvider\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.ws.rs.Path\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"org.springframework.stereotype.Controller\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"webapp\",	                            \"values\": {	                                \"appname\": \"Welcome to Tomcat\",	                                \"webapproot\": \"E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/ROOT\",	                                \"appurl\": \"http://192.168.99.1:8080/\"	                            }	                        }	                    ],	                    \"PEId\": \"cpt\"	                },	                {	                    \"Instances\": [],	                    \"PEId\": \"logs\"	                }	            ],	            \"examples\": [	                {	                    \"Instances\": [	                        {	                            \"id\": \"lib\",	                            \"values\": {	                                \"classes\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/examples/WEB-INF/classes/\",	                                \"taglibs-standard-impl-1.2.5.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/examples/WEB-INF/lib/taglibs-standard-impl-1.2.5.jar\",	                                \"taglibs-standard-spec-1.2.5.jar\": \"file:/E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/examples/WEB-INF/lib/taglibs-standard-spec-1.2.5.jar\"	                            }	                        }	                    ],	                    \"PEId\": \"jars\"	                },	                {	                    \"Instances\": [	                        {	                            \"id\": \"javax.servlet.annotation.WebServlet\",	                            \"values\": {	                                \"RequestInfoExample\": {	                                    \"des\": {	                                        \"name\": \"RequestInfoExample\",	                                        \"urlPatterns\": [	                                            \"/servlets/servlet/RequestInfoExample/*\"	                                        ]	                                    }	                                },	                                \"CookieExample\": {	                                    \"des\": {	                                        \"name\": \"CookieExample\",	                                        \"urlPatterns\": [	                                            \"/servlets/servlet/CookieExample\"	                                        ]	                                    }	                                },	                                \"ServletToJsp\": {	                                    \"des\": {	                                        \"name\": \"ServletToJsp\",	                                        \"urlPatterns\": [	                                            \"/servletToJsp\"	                                        ]	                                    }	                                },	                                \"websocket.tc7.chat.ChatWebSocketServlet\": {	                                    \"des\": {	                                        \"name\": \"wsChat\",	                                        \"urlPatterns\": [	                                            \"/websocket/tc7/chat\"	                                        ]	                                    }	                                },	                                \"compressionFilters.CompressionFilterTestServlet\": {	                                    \"des\": {	                                        \"name\": \"CompressionFilterTestServlet\",	                                        \"urlPatterns\": [	                                            \"/CompressionTest\"	                                        ]	                                    }	                                },	                                \"websocket.tc7.snake.SnakeWebSocketServlet\": {	                                    \"des\": {	                                        \"name\": \"wsSnake\",	                                        \"urlPatterns\": [	                                            \"/websocket/tc7/snake\"	                                        ]	                                    }	                                },	                                \"websocket.tc7.echo.EchoMessage\": {	                                    \"des\": {	                                        \"name\": \"wsEchoMessage\",	                                        \"urlPatterns\": [	                                            \"/websocket/tc7/echoMessage\"	                                        ]	                                    }	                                },	                                \"HelloWorldExample\": {	                                    \"des\": {	                                        \"name\": \"HelloWorldExample\",	                                        \"urlPatterns\": [	                                            \"/servlets/servlet/HelloWorldExample\"	                                        ]	                                    }	                                },	                                \"websocket.tc7.echo.EchoStream\": {	                                    \"des\": {	                                        \"name\": \"wsEchoStream\",	                                        \"urlPatterns\": [	                                            \"/websocket/tc7/echoStream\"	                                        ]	                                    }	                                },	                                \"RequestHeaderExample\": {	                                    \"des\": {	                                        \"name\": \"RequestHeaderExample\",	                                        \"urlPatterns\": [	                                            \"/servlets/servlet/RequestHeaderExample\"	                                        ]	                                    }	                                },	                                \"SessionExample\": {	                                    \"des\": {	                                        \"name\": \"SessionExample\",	                                        \"urlPatterns\": [	                                            \"/servlets/servlet/SessionExample\"	                                        ]	                                    }	                                },	                                \"async.AsyncStockServlet\": {	                                    \"des\": {	                                        \"name\": \"stock\",	                                        \"asyncSupported\": \"true\",	                                        \"urlPatterns\": [	                                            \"/async/stockticker\"	                                        ]	                                    }	                                },	                                \"async.Async2\": {	                                    \"des\": {	                                        \"name\": \"async2\",	                                        \"asyncSupported\": \"true\",	                                        \"urlPatterns\": [	                                            \"/async/async2\"	                                        ]	                                    }	                                },	                                \"async.Async3\": {	                                    \"des\": {	                                        \"name\": \"async3\",	                                        \"asyncSupported\": \"true\",	                                        \"urlPatterns\": [	                                            \"/async/async3\"	                                        ]	                                    }	                                },	                                \"RequestParamExample\": {	                                    \"des\": {	                                        \"name\": \"RequestParamExample\",	                                        \"urlPatterns\": [	                                            \"/servlets/servlet/RequestParamExample\"	                                        ]	                                    }	                                },	                                \"async.Async0\": {	                                    \"des\": {	                                        \"name\": \"async0\",	                                        \"asyncSupported\": \"true\",	                                        \"urlPatterns\": [	                                            \"/async/async0\"	                                        ]	                                    }	                                },	                                \"async.Async1\": {	                                    \"des\": {	                                        \"name\": \"async1\",	                                        \"asyncSupported\": \"true\",	                                        \"urlPatterns\": [	                                            \"/async/async1\"	                                        ]	                                    }	                                },	                                \"chat.ChatServlet\": {	                                    \"des\": {	                                        \"name\": \"ChatServlet\",	                                        \"urlPatterns\": [	                                            \"/servlets/chat/chat\"	                                        ]	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebFilter\",	                            \"values\": {	                                \"org.apache.catalina.filters.RequestDumperFilter\": {	                                    \"des\": {	                                        \"servletNames\": [],	                                        \"filterName\": \"Request Dumper Filter\",	                                        \"urlPatterns\": []	                                    }	                                },	                                \"org.apache.catalina.filters.SetCharacterEncodingFilter\": {	                                    \"des\": {	                                        \"servletNames\": [],	                                        \"filterName\": \"Set Character Encoding\",	                                        \"urlPatterns\": []	                                    }	                                },	                                \"filters.ExampleFilter\": {	                                    \"des\": {	                                        \"servletNames\": [],	                                        \"filterName\": \"Timing filter\",	                                        \"urlPatterns\": []	                                    }	                                },	                                \"compressionFilters.CompressionFilter\": {	                                    \"des\": {	                                        \"servletNames\": [],	                                        \"filterName\": \"Compression Filter\",	                                        \"urlPatterns\": []	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebListener\",	                            \"values\": {	                                \"websocket.drawboard.DrawboardContextListener\": {	                                    \"des\": {}	                                },	                                \"listeners.SessionListener\": {	                                    \"des\": {}	                                },	                                \"listeners.ContextListener\": {	                                    \"des\": {}	                                }	                            }	                        },	                        {	                            \"id\": \"javax.jws.WebService\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.xml.ws.WebServiceProvider\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.ws.rs.Path\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"org.springframework.stereotype.Controller\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"webapp\",	                            \"values\": {	                                \"appname\": \"Servlet and JSP Examples\",	                                \"webapproot\": \"E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/examples\",	                                \"appurl\": \"http://192.168.99.1:8080/examples/\"	                            }	                        }	                    ],	                    \"PEId\": \"cpt\"	                },	                {	                    \"Instances\": [],	                    \"PEId\": \"logs\"	                }	            ],	            \"host-manager\": [	                {	                    \"Instances\": [	                        {	                            \"id\": \"lib\",	                            \"values\": {}	                        }	                    ],	                    \"PEId\": \"jars\"	                },	                {	                    \"Instances\": [	                        {	                            \"id\": \"javax.servlet.annotation.WebServlet\",	                            \"values\": {	                                \"org.apache.catalina.manager.host.HTMLHostManagerServlet\": {	                                    \"des\": {	                                        \"name\": \"HTMLHostManager\",	                                        \"urlPatterns\": [	                                            \"/html/*\"	                                        ]	                                    }	                                },	                                \"org.apache.catalina.manager.host.HostManagerServlet\": {	                                    \"des\": {	                                        \"name\": \"HostManager\",	                                        \"urlPatterns\": [	                                            \"/text/*\"	                                        ]	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebFilter\",	                            \"values\": {	                                \"org.apache.catalina.filters.SetCharacterEncodingFilter\": {	                                    \"des\": {	                                        \"servletNames\": [],	                                        \"filterName\": \"SetCharacterEncoding\",	                                        \"urlPatterns\": [	                                            \"/*\"	                                        ]	                                    }	                                },	                                \"org.apache.catalina.filters.CsrfPreventionFilter\": {	                                    \"des\": {	                                        \"servletNames\": [	                                            \"HTMLHostManager\"	                                        ],	                                        \"filterName\": \"CSRF\",	                                        \"urlPatterns\": []	                                    }	                                }	                            }	                        },	                        {	                            \"id\": \"javax.servlet.annotation.WebListener\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.jws.WebService\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.xml.ws.WebServiceProvider\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"javax.ws.rs.Path\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"org.springframework.stereotype.Controller\",	                            \"values\": {}	                        },	                        {	                            \"id\": \"webapp\",	                            \"values\": {	                                \"appname\": \"Tomcat Host Manager Application\",	                                \"webapproot\": \"E:/ZZ/UnionAppServer/Tomcat/bin/apache-tomcat-7.0.65/webapps/host-manager\",	                                \"appurl\": \"http://192.168.99.1:8080/host-manager/\"	                            }	                        }	                    ],	                    \"PEId\": \"cpt\"	                },	                {	                    \"Instances\": [],	                    \"PEId\": \"logs\"	                }	            ]	        }	    }";

        MonitorDataFrame mdf = new MonitorDataFrame(test);

        System.out.println(mdf.toJSONString());
    }
}
