You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pa...@apache.org on 2015/04/10 00:56:39 UTC
[3/7] storm git commit: STORM-749: Forgot to delete the file and some
other blocks.
STORM-749: Forgot to delete the file and some other blocks.
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/02b964dc
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/02b964dc
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/02b964dc
Branch: refs/heads/master
Commit: 02b964dc5609e505f91461968b8f46228cd55463
Parents: d67e16b
Author: Parth Brahmbhatt <br...@gmail.com>
Authored: Thu Apr 2 18:28:08 2015 -0700
Committer: Parth Brahmbhatt <br...@gmail.com>
Committed: Fri Apr 3 09:58:57 2015 -0700
----------------------------------------------------------------------
STORM-UI-REST-API.md | 3 +--
.../public/templates/anti-forgery-template.html | 19 -------------------
storm-core/src/ui/public/topology.html | 5 -----
3 files changed, 1 insertion(+), 26 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/02b964dc/STORM-UI-REST-API.md
----------------------------------------------------------------------
diff --git a/STORM-UI-REST-API.md b/STORM-UI-REST-API.md
index d09449a..01595d2 100644
--- a/STORM-UI-REST-API.md
+++ b/STORM-UI-REST-API.md
@@ -375,8 +375,7 @@ Sample response:
"storm.zookeeper.retry.intervalceiling.millis": 30000,
"supervisor.enable": true,
"storm.messaging.netty.server_worker_threads": 1
- },
- "antiForgeryToken": "lAFTN\/5iSedRLwJeUNqkJ8hgYubRl2OxjXGoDf9A4Bt1nZY3rvJW0\/P4zqu9yAk\/LvDhlmn7gigw\/z8C"
+ }
}
```
http://git-wip-us.apache.org/repos/asf/storm/blob/02b964dc/storm-core/src/ui/public/templates/anti-forgery-template.html
----------------------------------------------------------------------
diff --git a/storm-core/src/ui/public/templates/anti-forgery-template.html b/storm-core/src/ui/public/templates/anti-forgery-template.html
deleted file mode 100644
index 3adcb64..0000000
--- a/storm-core/src/ui/public/templates/anti-forgery-template.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<script id="anti-forgery-template" type="text/html">
-{{#antiForgeryToken}}{{antiForgeryToken}}{{/antiForgeryToken}}
-</script>
http://git-wip-us.apache.org/repos/asf/storm/blob/02b964dc/storm-core/src/ui/public/topology.html
----------------------------------------------------------------------
diff --git a/storm-core/src/ui/public/topology.html b/storm-core/src/ui/public/topology.html
index 9915b17..7285f35 100644
--- a/storm-core/src/ui/public/topology.html
+++ b/storm-core/src/ui/public/topology.html
@@ -122,11 +122,6 @@ $(document).ready(function() {
$('#ui-user [data-toggle="tooltip"]').tooltip();
});
- var antiForgeryToken = $("#anti-forgery-token");
- $.get("/templates/anti-forgery-template.html", function(template) {
- antiForgeryToken.append(Mustache.render($(template).filter("#anti-forgery-template").html(),response));
- });
-
var topologySummary = $("#topology-summary");
var topologyStats = $("#topology-stats");
var spoutStats = $("#spout-stats");