20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / views / websocket / index.html.erb
diff --git a/apps/workbench/app/views/websocket/index.html.erb b/apps/workbench/app/views/websocket/index.html.erb
deleted file mode 100644 (file)
index 6274fb0..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<%# Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: AGPL-3.0 %>
-
-<% content_for :page_title do %>
-  Event bus debugging page
-<% end %>
-<h1>Event bus debugging page</h1>
-
-<form>
-<textarea style="width:100%; height: 10em" id="websocket-message-content"></textarea>
-<button type="button" id="send-to-websocket">Send</button>
-</form>
-
-<br>
-
-<p id="PutStuffHere"></p>
-
-<script>
-$(function() {
-putStuffThere = function (content) {
-  $("#PutStuffHere").append(content + "<br>");
-};
-
-var dispatcher = new WebSocket('<%= arvados_api_client.discovery[:websocketUrl] %>?api_token=<%= Thread.current[:arvados_api_token] %>');
-dispatcher.onmessage = function(event) {
-  //putStuffThere(JSON.parse(event.data));
-  putStuffThere(event.data);
-};
-
-sendStuff = function () {
-  dispatcher.send($("#websocket-message-content").val());
-};
-
-$("#send-to-websocket").click(sendStuff);
-});
-
-</script>