From 23f241f7c72a006f78d57f5d4557d8cabd2d3bf4 Mon Sep 17 00:00:00 2001 From: melin Date: Fri, 5 Apr 2013 14:50:59 +0800 Subject: [PATCH] add wall.html page --- .../resources/support/http/resources/api.html | 2 +- .../support/http/resources/js/common.js | 1 + .../support/http/resources/spring.html | 2 +- .../support/http/resources/wall.html | 149 ++++++++++++++++++ .../support/http/resources/webapp.html | 2 +- .../support/http/resources/websession.html | 2 +- .../support/http/resources/weburi.html | 2 +- 7 files changed, 155 insertions(+), 5 deletions(-) create mode 100644 src/main/resources/support/http/resources/wall.html diff --git a/src/main/resources/support/http/resources/api.html b/src/main/resources/support/http/resources/api.html index 727d9dbfa1..fbef262b6d 100644 --- a/src/main/resources/support/http/resources/api.html +++ b/src/main/resources/support/http/resources/api.html @@ -9,7 +9,7 @@ diff --git a/src/main/resources/support/http/resources/js/common.js b/src/main/resources/support/http/resources/js/common.js index 6c47acc295..adf3f56473 100644 --- a/src/main/resources/support/http/resources/js/common.js +++ b/src/main/resources/support/http/resources/js/common.js @@ -23,6 +23,7 @@ druid.common = function () { '
  • Index
  • '+ '
  • DataSource
  • '+ '
  • SQL
  • '+ + '
  • Wall
  • '+ '
  • WebApp
  • '+ '
  • WebURI
  • '+ '
  • Web Session
  • '+ diff --git a/src/main/resources/support/http/resources/spring.html b/src/main/resources/support/http/resources/spring.html index 00b6250563..abd3aaec86 100644 --- a/src/main/resources/support/http/resources/spring.html +++ b/src/main/resources/support/http/resources/spring.html @@ -47,7 +47,7 @@ $("#dataTable th a").click(function(obj) { druid.common.setOrderBy(obj.target.id.substring(3)) }) - druid.common.buildHead(6); + druid.common.buildHead(7); druid.common.ajaxuri = 'spring.json?'; druid.common.handleAjaxResult = druid.spring.handleAjaxResult; druid.common.ajaxRequestForBasicInfo(); diff --git a/src/main/resources/support/http/resources/wall.html b/src/main/resources/support/http/resources/wall.html new file mode 100644 index 0000000000..a5f0ab0761 --- /dev/null +++ b/src/main/resources/support/http/resources/wall.html @@ -0,0 +1,149 @@ + + + + Druid DataSourceStat + + + + + + + + +
    +
    +
    +

    + Wall Stat + View JSON API +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    CheckCount
    ViolationCount
    BlackListHitCount
    BlackListSize
    WhiteListHitCount
    WhiteListSize
    SyntaxErrrorCount
    + + + + + + + + + + + + + + + + +
    Table NameSelectCountSelectIntoCountInsertCountUpdateCountDeleteCountTruncateCountCreateCountAlterCountDropCount
    + + + + + + + + +
    Function NameInvokeCount
    +
    +
    +
    + + + diff --git a/src/main/resources/support/http/resources/webapp.html b/src/main/resources/support/http/resources/webapp.html index 9037e290cc..c696f6d3e3 100644 --- a/src/main/resources/support/http/resources/webapp.html +++ b/src/main/resources/support/http/resources/webapp.html @@ -87,7 +87,7 @@ ]; return { init : function() { - druid.common.buildHead(3); + druid.common.buildHead(4); this.ajaxRequestForBasicInfo(); }, ajaxRequestForBasicInfo : function() { diff --git a/src/main/resources/support/http/resources/websession.html b/src/main/resources/support/http/resources/websession.html index 6e1845a049..2cd0df3ab6 100644 --- a/src/main/resources/support/http/resources/websession.html +++ b/src/main/resources/support/http/resources/websession.html @@ -50,7 +50,7 @@ $("#dataTable th a").click(function(obj) { druid.common.setOrderBy(obj.target.id.substring(3)) }) - druid.common.buildHead(5); + druid.common.buildHead(6); druid.common.ajaxuri = 'websession.json?'; druid.common.handleAjaxResult = druid.websession.handleAjaxResult; druid.common.ajaxRequestForBasicInfo(); diff --git a/src/main/resources/support/http/resources/weburi.html b/src/main/resources/support/http/resources/weburi.html index 9295409150..945dcec08f 100644 --- a/src/main/resources/support/http/resources/weburi.html +++ b/src/main/resources/support/http/resources/weburi.html @@ -47,7 +47,7 @@ $("#dataTable th a").click(function(obj) { druid.common.setOrderBy(obj.target.id.substring(3)) }) - druid.common.buildHead(4); + druid.common.buildHead(5); druid.common.ajaxuri = 'weburi.json?'; druid.common.handleAjaxResult = druid.weburi.handleAjaxResult; druid.common.setOrderBy("URI");