incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [10/50] [abbrv] Moved the UI directory and starting to get the server side working... still broken
Date Sat, 31 May 2014 14:21:43 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/scripts/blurconsole.schema.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/scripts/blurconsole.schema.js b/contrib/blur-console/ui/app/scripts/blurconsole.schema.js
deleted file mode 100644
index 15dec2b..0000000
--- a/contrib/blur-console/ui/app/scripts/blurconsole.schema.js
+++ /dev/null
@@ -1,182 +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.
-*/
-/*jshint laxbreak: true */
-/*global blurconsole:false */
-blurconsole.schema = (function () {
-	'use strict';
-	var
-		configMap = {
-			mainHtml: String()
-				+ '<div class="container-fluid">'
-					+ '<div class="row">'
-						+ '<div class="col-md-6">'
-							+ '<div class="panel-group schemaList">'
-							+ '</div>'
-						+ '</div>'
-						+ '<div class="col-md-6">'
-							+ '<div class="row">'
-								+ '<div class="col-md-12 schemaColumnInfo">'
-									+ '<div class="schemaColumnDef in">'
-										+ '<strong>Choose a column on the left to see def</strong>'
-									+ '</div>'
-								+ '</div>'
-							+ '</div>'
-							+ '<div class="row">'
-								+ '<div class="col-md-12 schemaColumnTerms">'
-									+ '<div class="input-group">'
-										+ '<input class="form-control termSearch" placeholder="Starts With" type="text">'
-										+ '<span class="input-group-btn">'
-											+ '<button class="btn btn-default" type="button">Go!</button>'
-										+ '</span>'
-									+ '</div>'
-									+ '<ul class="list-group termList"></ul>'
-								+ '</div>'
-							+ '</div>'
-						+ '</div>'
-					+ '</div>'
-				+ '</div>'
-		},
-		stateMap = {},
-		jqueryMap = {},
-		initModule, showSchema, buildTreeSection, buildInfoSection, viewTerms, findTerms, loadTerms, switchToSearch;
-
-	showSchema = function(event, table) {
-		stateMap.table = table;
-		stateMap.modalId = stateMap.table + '_modal';
-		stateMap.schema = blurconsole.model.tables.getSchema(stateMap.table);
-
-		jqueryMap.contentHolder = $(configMap.mainHtml);
-		jqueryMap.contentHolder.find('.schemaList').html(buildTreeSection());
-		jqueryMap.contentHolder.find('.schemaColumnInfo').append(buildInfoSection());
-
-		jqueryMap.modal = $(blurconsole.browserUtils.modal(stateMap.modalId, 'Schema Definition for ' + stateMap.table, jqueryMap.contentHolder, null, 'large'));
-		jqueryMap.modal.modal()
-		.on('shown.bs.modal', function(e){
-			jqueryMap.columnTermsSection = $('.schemaColumnTerms', jqueryMap.modal);
-			jqueryMap.termSearch = $('.termSearch', jqueryMap.modal);
-			jqueryMap.termList = $('.termList', jqueryMap.modal);
-			jqueryMap.termSearchButton = $('.schemaColumnTerms button', jqueryMap.modal);
-			$('.collapse', e.currentTarget).collapse({ toggle: false });
-		})
-		.on('hidden.bs.modal', function(e) {
-			$(e.currentTarget).remove();
-			jqueryMap.contentHolder.remove();
-			jqueryMap = {};
-			stateMap = {};
-		})
-		.on('click', 'li.schemaColumn', function() {
-			var defId = $(this).find('a').attr('href');
-			$('div.schemaColumnDef').removeClass('in');
-			$(defId).addClass('in');
-			jqueryMap.columnTermsSection.hide();
-			return false;
-		})
-		.on('click', 'a.termsTrigger', viewTerms)
-		.on('click', '.schemaColumnTerms button', findTerms)
-		.on('click', '.searchTrigger', switchToSearch);
-	};
-
-	buildTreeSection = function() {
-		var tree = '';
-		$.each(stateMap.schema, function(family, cols){
-			var famId = blurconsole.browserUtils.cleanId(family);
-			tree += '<div class="panel panel-default"><div class="panel-heading">';
-			tree += '<h4 class="panel-title"><a data-toggle="collapse" data-parent=".schemaList" href="#' + famId + '">' + family + '</a></h4></div>';
-			tree += '<div id="' + famId + '" class="panel-collapse collapse"><div class="panel-body"><ul class="list-group">';
-			$.each(cols, function(col, def) {
-				var colId = blurconsole.browserUtils.cleanId(col);
-				tree += '<li class="list-group-item schemaColumn"><a href="#' + famId + '_' + colId + '">' + col + '';
-				if (def.type !== 'stored') {
-					tree += ' <span class="badge">searchable</span>';
-				}
-				tree += '</a><div class="pull-right"><i class="glyphicon glyphicon-chevron-right"></i></div></li>';
-			});
-			tree += '</ul></div></div></div>';
-		});
-		return tree;
-	};
-
-	buildInfoSection = function() {
-		var info = '';
-		$.each(stateMap.schema, function(family, cols){
-			var famId = blurconsole.browserUtils.cleanId(family);
-			$.each(cols, function(col, def){
-				var colId = blurconsole.browserUtils.cleanId(col);
-				info += '<div class="schemaColumnDef" id="' + famId + '_' + colId + '"><ul class="list-group">';
-				info += '<li class="list-group-item"><strong>Fieldless Searching:</strong> ' + blurconsole.browserUtils.booleanImg(def.fieldLess) + '</li>';
-				info += '<li class="list-group-item"><strong>Field Type:</strong> ' + def.type + '</li>';
-				if (def.extra) {
-					$.each(def.extra, function(key, value) {
-						info += '<li class="list-group-item"><strong>' + key + ':</strong> ' + value + '</li>';
-					});
-				}
-				if (def.type !== 'stored') {
-					info += '<li class="list-group-item"><a href="#" class="termsTrigger" data-fam="' + family + '" data-col="' + col + '">View Terms</a></li>';
-				}
-				info += '</ul></div>';
-			});
-		});
-		return info;
-	};
-
-	viewTerms = function() {
-		jqueryMap.termList.html('<div class="center-block"><img src="images/ajax-loader.gif"></div>');
-		jqueryMap.termSearch.val('');
-		jqueryMap.columnTermsSection.show();
-		var $this = $(this);
-
-		stateMap.termFamily = $this.data('fam');
-		stateMap.termColumn = $this.data('col');
-
-		jqueryMap.termSearchButton.trigger('click');
-	};
-
-	findTerms = function() {
-		blurconsole.model.tables.findTerms(stateMap.table, stateMap.termFamily, stateMap.termColumn, jqueryMap.termSearch.val());
-	};
-
-	loadTerms = function() {
-		var terms = Array.prototype.slice.call(arguments, 1);
-		jqueryMap.termList.html('');
-		$.each(terms, function(i, term){
-			jqueryMap.termList.append('<li class="list-group-item">' + term + ' <span class="badge badge-success searchTrigger" title="Search for this value" data-value="' + term + '" data-table="' + stateMap.table + '"><i class="glyphicon glyphicon-search"></i></span></li>');
-		});
-	};
-
-	switchToSearch = function(){
-		blurconsole.shell.changeAnchorPart({
-			tab: 'search',
-			_tab: {
-				query: encodeURIComponent(stateMap.termFamily + '.' + stateMap.termColumn + ':' + $(this).data('value')),
-				table: $(this).data('table')
-			}
-		});
-		jqueryMap.modal.modal('hide');
-	};
-
-	initModule = function() {
-		$.gevent.subscribe($(document), 'schema-show', showSchema);
-		$.gevent.subscribe($(document), 'terms-updated', loadTerms);
-	};
-
-	return {
-		initModule : initModule
-	};
-}());
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/scripts/blurconsole.search.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/scripts/blurconsole.search.js b/contrib/blur-console/ui/app/scripts/blurconsole.search.js
deleted file mode 100644
index b94e7cf..0000000
--- a/contrib/blur-console/ui/app/scripts/blurconsole.search.js
+++ /dev/null
@@ -1,299 +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.
-*/
-/*global blurconsole:false, confirm:false */
-blurconsole.search = (function () {
-	'use strict';
-	var configMap = {
-		view : 'views/search.tpl.html',
-		superQueryMap: {
-			'rowrow' : 'Search Row / Retrieve Row',
-			'recordrow' : 'Search Record / Retrieve Row',
-			'recordrecord' : 'Search Record / Retrieve Record'
-		},
-		optionsHtml:
-			'<label for="superQuery">Search & Retrieve</label>' +
-			'<select id="superQuery">' +
-				'<option value="rowrow">Search Row / Retrieve Row</option>' +
-				'<option value="recordrow">Search Record / Retrieve Row</option>' +
-				'<option value="recordrecord">Search Record / Retrieve Record</option>' +
-			'</select>'
-	},
-	stateMap = {
-		$container : null,
-		$currentTable : null,
-		$currentQuery : null,
-		$schemaForCurrentTable : null,
-		$start : 0,
-		$fetch : 10,
-		$filter : null,
-		$rowRecordOption : 'rowrow'
-	},
-	jqueryMap = {},
-	setJqueryMap, initModule, unloadModule, drawResultHolders, drawResults, registerPageEvents, unregisterPageEvents,
-	sendSearch, showOptions, reviewTables, loadTableList, getMoreData, fixPanelWidths, updateOptionPopover, updateOptionDisplay,
-	persistOptions;
-
-	setJqueryMap = function() {
-		var $container = stateMap.$container;
-		jqueryMap = {
-			$container : $container,
-			$queryField : $('#queryField'),
-			$tableField : $('#tableChooser'),
-			$tableSelectorStatusOption : $('#statusOption'),
-			$tableWarning : $('#tableGoneWarning'),
-			$resultsHolder : $('#results'),
-			$optionsDisplay : $('#searchOptionsDisplay'),
-			$countHolder : $('#resultCount')
-		};
-	};
-
-	registerPageEvents = function() {
-		$('#searchTrigger').on('click', sendSearch);
-		$('#results').on('shown.bs.collapse', '.panel-collapse:not(.loaded)', getMoreData);
-		$('#results').on('click', '.nextPage', getMoreData);
-		$('#searchOptionsTrigger').popover({
-			html: true,
-			placement: 'bottom',
-			title: 'Extra Search Options',
-			container: 'body',
-			content: configMap.optionsHtml
-		});
-		$('#searchOptionsTrigger').on('shown.bs.popover', updateOptionPopover);
-		$(document).on('change', '.popover select', persistOptions);
-	};
-
-	unregisterPageEvents = function() {
-		$('#searchTrigger').off('click');
-		$('#results').off('shown.bs.collapse');
-		$('#results').off('click');
-		$('#searchOptionsTrigger').popover('destroy');
-		$('#searchOptionsTrigger').off('shown.bs.popover');
-		$(document).off('change');
-	};
-
-	updateOptionDisplay = function() {
-		var displayText = '';
-
-		displayText += configMap.superQueryMap[stateMap.$rowRecordOption];
-
-		jqueryMap.$optionsDisplay.html(displayText);
-	};
-
-	updateOptionPopover = function() {
-		if ($('#superQuery').length > 0) {
-			$('#superQuery').val(stateMap.$rowRecordOption);
-		}
-	};
-
-	persistOptions = function() {
-		var resendSearch = false;
-		if (jqueryMap.$resultsHolder.children().length > 0) {
-			if (confirm('You have existing results on the screen, changing the search options will erase your results.  Continue?')) {
-				resendSearch = true;
-			} else {
-				$('#superQuery').val(stateMap.$rowRecordOption);
-				return false;
-			}
-		}
-		stateMap.$rowRecordOption = $('#superQuery').val();
-		if (resendSearch) {
-			sendSearch();
-		}
-		updateOptionDisplay();
-		$('#searchOptionsTrigger').popover('hide');
-	};
-
-	sendSearch = function() {
-		stateMap.$currentTable = jqueryMap.$tableField.val();
-		stateMap.$currentQuery = jqueryMap.$queryField.val();
-
-		blurconsole.shell.changeAnchorPart({
-			tab: 'search',
-			_tab: {
-				query: encodeURIComponent(stateMap.$currentQuery),
-				table: stateMap.$currentTable,
-				rr: stateMap.$rowRecordOption
-			}
-		});
-
-		drawResultHolders();
-
-		blurconsole.model.search.runSearch(stateMap.$currentQuery, stateMap.$currentTable, {start: 0, fetch: 10});
-	};
-
-	getMoreData = function() {
-		var family = $(this).attr('href') ? $(this).attr('href').substring(1) : $(this).attr('id');
-		blurconsole.model.search.loadMoreResults(family);
-		return false;
-	};
-
-	showOptions = function() {
-
-	};
-
-	reviewTables = function() {
-		var tableFound = false, tableMap;
-
-		if (stateMap.$currentTable) {
-			tableMap = blurconsole.model.tables.getAllEnabledTables();
-			$.each(tableMap, function(cluster, tables){
-				var tableList = $.map(tables, function(t){ return t.name; });
-				if (tableList.indexOf(stateMap.$currentTable) > -1) {
-					tableFound = true;
-				}
-			});
-		}
-
-		if (tableFound) {
-			jqueryMap.$tableWarning.hide();
-			loadTableList();
-		} else if (stateMap.$currentTable) {
-			jqueryMap.$tableWarning.show();
-		} else {
-			loadTableList();
-		}
-	};
-
-	drawResultHolders = function() {
-		var familyMarkup = '', allFamilies, extraFamilies = [], parsedFamilies = blurconsole.utils.findFamilies(stateMap.$currentQuery), sortedFamilies;
-
-		jqueryMap.$resultsHolder.html('');
-
-		// Redraw families
-		allFamilies = blurconsole.model.tables.getFamilies(stateMap.$currentTable);
-		extraFamilies = blurconsole.utils.reject(allFamilies, function(fam){ return parsedFamilies.indexOf(fam) >= 0; });
-
-		parsedFamilies.sort();
-		extraFamilies.sort();
-
-		sortedFamilies = parsedFamilies.concat(extraFamilies);
-
-		$.each(sortedFamilies, function(i, fam) {
-			var famId = blurconsole.browserUtils.cleanId(fam);
-			familyMarkup += '<div class="panel panel-default"><div class="panel-heading">';
-			familyMarkup += '<h4 class="panel-title"><a data-toggle="collapse" data-parent="#results" href="#' + famId + '">' + fam + '</a></h4></div>';
-			familyMarkup += '<div id="' + famId + '" class="panel-collapse collapse' + (parsedFamilies.indexOf(fam) >= 0 ? ' in' : '') + '">';
-			familyMarkup += '<div class="panel-body"><img src="images/ajax-loader.gif"></div></div></div>';
-		});
-
-		jqueryMap.$resultsHolder.html(familyMarkup);
-		fixPanelWidths();
-	};
-
-	fixPanelWidths = function() {
-		var allPanels = jqueryMap.$resultsHolder.find('.panel-collapse');
-		if (allPanels.length > 0) {
-			var width = $(allPanels[0]).width();
-			allPanels.width(width);
-		}
-	};
-
-	drawResults = function(evt, families) {
-		var results = blurconsole.model.search.getResults();
-		jqueryMap.$countHolder.html('<small>Found ' + blurconsole.model.search.getTotal() + ' total results</small>');
-
-		$.each(families, function(i, fam) {
-			var famResults = results[fam],
-				famId = '#' + blurconsole.browserUtils.cleanId(fam),
-				famHolder = $(famId + ' .panel-body'), table = '', cols;
-
-			cols = blurconsole.utils.keys(famResults[0]);
-			cols.sort();
-
-			table += '<table class="table table-condensed table-hover table-bordered"><thead><tr>';
-			$.each(cols, function(i, col) {
-				table += '<th>' + col + '</th>';
-			});
-			table += '</tr></thead><tbody>';
-			$.each(famResults, function(i, row) {
-				table += '<tr>';
-				$.each(cols, function(c, col) {
-					table += '<td>' + (row[col] || '') + '</td>';
-				});
-				table += '</tr>';
-			});
-			table += '</tbody></table>';
-
-			if (famResults.length < blurconsole.model.search.getTotal()) {
-				table += '<div class="pull-right"><a href="' + famId + '" class="btn btn-primary nextPage">Load More...</a></div>';
-			}
-
-			famHolder.html(table);
-			if (!$(famId).hasClass('loaded')) {
-				$(famId).addClass('loaded');
-			}
-		});
-		fixPanelWidths();
-	};
-
-	loadTableList = function() {
-		var tableMap = blurconsole.model.tables.getAllEnabledTables();
-
-		jqueryMap.$tableSelectorStatusOption.html('Loading Tables...');
-		jqueryMap.$tableField.find('optgroup').remove();
-
-		$.each(tableMap, function(cluster, tables) {
-			var optGroupString;
-
-			optGroupString = '<optgroup label="' + cluster + '">';
-			$.each(tables, function(t, table){
-				optGroupString += '<option value="' + table.name + '"' + (table.name === stateMap.$currentTable ? ' selected' : '') + '>' + table.name + '</option>';
-			});
-			optGroupString += '</optgroup>';
-			jqueryMap.$tableField.append(optGroupString);
-		});
-
-		jqueryMap.$tableSelectorStatusOption.html('Choose Table');
-	};
-
-	initModule = function($container) {
-		$container.load(configMap.view, function() {
-			stateMap.$container = $container;
-			setJqueryMap();
-			$.gevent.subscribe(jqueryMap.$container, 'tables-updated', reviewTables);
-			$.gevent.subscribe(jqueryMap.$container, 'results-updated', drawResults);
-			registerPageEvents();
-			loadTableList();
-
-			var startupMap = $.uriAnchor.makeAnchorMap();
-
-			if (startupMap._tab) {
-				stateMap.$currentQuery = startupMap._tab.query;
-				jqueryMap.$queryField.val(stateMap.$currentQuery);
-				stateMap.$currentTable = startupMap._tab.table;
-				jqueryMap.$tableField.val(stateMap.$currentTable);
-				stateMap.$rowRecordOption = startupMap._tab.rr;
-			}
-
-			updateOptionDisplay();
-			stateMap.loaded = true;
-		});
-		return true;
-	};
-
-	unloadModule = function() {
-		$.gevent.unsubscribe(jqueryMap.$container, 'tables-updated');
-		unregisterPageEvents();
-	};
-
-	return {
-		initModule : initModule,
-		unloadModule : unloadModule
-	};
-}());
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/scripts/blurconsole.shell.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/scripts/blurconsole.shell.js b/contrib/blur-console/ui/app/scripts/blurconsole.shell.js
deleted file mode 100644
index ee19283..0000000
--- a/contrib/blur-console/ui/app/scripts/blurconsole.shell.js
+++ /dev/null
@@ -1,180 +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.
-*/
-
-/**
- * blurconsole.shell.js
- * Shell module for Blur Console
- */
-/* global blurconsole:false, $:false */
-blurconsole.shell = (function () {
-	'use strict';
-	var configMap = {
-		anchorSchemaMap : {
-			tab : { dashboard : true, tables : true, queries : true, search : true },
-			_tab : { query: true, table: true, rr: true }
-		},
-		defaultTab : 'dashboard',
-		allTabs : ['dashboard', 'tables', 'queries', 'search']
-	},
-	stateMap = {
-		$container : null,
-		currentTab : null,
-		anchorMap  : {}
-	},
-	jqueryMap = {},
-	copyAnchorMap, setJqueryMap, switchView,
-	changeAnchorPart, onHashChange,
-	onClickTab, initModule;
-
-	copyAnchorMap = function () {
-		return $.extend( true, {}, stateMap.anchorMap );
-	};
-
-	setJqueryMap = function () {
-		var $container = stateMap.$container;
-		jqueryMap = {
-			$container   : $container,
-			$sideNavTabs : $('.side-nav a')
-		};
-	};
-
-	switchView = function ( tab ) {
-		var i;
-
-		if (stateMap.currentTab !== tab) {
-			for ( i = 0; i < configMap.allTabs.length; i++ ) {
-				if (blurconsole[configMap.allTabs[i]]) {
-					blurconsole[configMap.allTabs[i]].unloadModule();
-				}
-			}
-
-			stateMap.currentTab = tab;
-			jqueryMap.$sideNavTabs.removeClass('active');
-			jqueryMap.$sideNavTabs.filter('a[href$="' + tab + '"]').addClass('active');
-			if (blurconsole[tab]) {
-				blurconsole[tab].initModule( jqueryMap.$container );
-			}
-		}
-
-		return true;
-	};
-
-	changeAnchorPart = function ( argMap ) {
-		var anchorMapRevise = copyAnchorMap(),
-			boolReturn = true,
-			keyName, keyNameDep;
-
-		KEYVAL:
-		for ( keyName in argMap ) {
-			if ( argMap.hasOwnProperty( keyName ) ) {
-				if ( keyName.indexOf( '_' ) === 0 ) { continue KEYVAL; }
-				anchorMapRevise[keyName] = argMap[keyName];
-				keyNameDep = '_' + keyName;
-				if ( argMap[keyNameDep] ) {
-					anchorMapRevise[keyNameDep] = argMap[keyNameDep];
-				} else {
-					delete anchorMapRevise[keyNameDep];
-					delete anchorMapRevise['_s' + keyNameDep];
-				}
-			}
-		}
-
-		try {
-			$.uriAnchor.setAnchor( anchorMapRevise );
-		} catch ( error ) {
-			$.uriAnchor.setAnchor( stateMap.anchorMap, null, true );
-			boolReturn = false;
-		}
-
-		return boolReturn;
-	};
-
-	onHashChange = function () {
-		var anchorMapPrevious = copyAnchorMap(),
-			anchorMapProposed,
-			_sTabPrevious, _sTabProposed,
-			sTabProposed;
-
-		try { anchorMapProposed = $.uriAnchor.makeAnchorMap(); }
-		catch ( error ) {
-			$.uriAnchor.setAnchor( anchorMapPrevious, null, true );
-			return false;
-		}
-
-		stateMap.anchorMap = anchorMapProposed;
-
-		_sTabPrevious = anchorMapPrevious._s_tab; // jshint ignore:line
-		_sTabProposed = anchorMapProposed._s_tab; // jshint ignore:line
-
-		if ( ! anchorMapPrevious || _sTabPrevious !== _sTabProposed ){
-			sTabProposed = anchorMapProposed.tab;
-			switch ( sTabProposed ) {
-				case 'dashboard':
-				case 'tables':
-				case 'queries':
-				case 'search':
-					switchView( sTabProposed );
-					break;
-				default:
-					$.uriAnchor.setAnchor( anchorMapPrevious, null, true );
-			}
-		}
-
-		return false;
-	};
-
-	onClickTab = function ( ) {
-		var target = $(this);
-		changeAnchorPart({
-			tab : target.attr('href').substring(2)
-		});
-		return false;
-	};
-
-	initModule = function( $container ) {
-		stateMap.$container = $container;
-		setJqueryMap();
-
-		blurconsole.schema.initModule();
-
-		$('.side-nav li').tooltip();
-
-		jqueryMap.$sideNavTabs.click( onClickTab );
-
-		$.uriAnchor.configModule({
-			schema_map : configMap.anchorSchemaMap // jshint ignore:line
-		});
-
-		$(window).bind('hashchange', onHashChange).trigger('hashchange');
-
-		var startupMap = $.uriAnchor.makeAnchorMap();
-
-		if ( !startupMap.tab ) {
-			changeAnchorPart({
-				tab: configMap.defaultTab
-			});
-		}
-	};
-
-	return {
-		initModule: initModule,
-		changeAnchorPart : changeAnchorPart
-	};
-}());
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/scripts/blurconsole.tables.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/scripts/blurconsole.tables.js b/contrib/blur-console/ui/app/scripts/blurconsole.tables.js
deleted file mode 100644
index cb2a6f4..0000000
--- a/contrib/blur-console/ui/app/scripts/blurconsole.tables.js
+++ /dev/null
@@ -1,223 +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.
-*/
-
-/*global blurconsole:false */
-blurconsole.tables = (function () {
-	'use strict';
-	var configMap = {
-		view : 'views/tables.tpl.html',
-		enabledDef : [
-			{label:'Table Name', key: function(row){
-				return row.name + ' <i class="glyphicon glyphicon-exclamation-sign" data-table="' + row.name + '" style="display:none" title="Activity detected"></i>';
-			}},
-			{label:'Row Count', key: 'rowCount'},
-			{label:'Record Count', key: 'recordCount'},
-			{label:'Actions', key: function(row) {
-				var actions = '', table = row.name;
-				actions += '<a href="#" class="schemaTrigger btn btn-default" data-name="' + table + '"><i class="glyphicon glyphicon-list-alt"></i> Schema</a> ';
-				actions += '<a href="#" class="disableTrigger btn btn-danger" data-name="' + table + '"><i class="glyphicon glyphicon-cloud-download"></i> Disable</a> ';
-				return actions;
-			}}
-		],
-		disabledDef : [
-			{label:'Table Name', key:'name'},
-			{label:'Actions', key: function(row) {
-				var actions = '', table = row.name;
-				actions += '<a href="#" class="enableTrigger btn btn-default" data-name="' + table + '"><i class="glyphicon glyphicon-cloud-upload"></i> Enable</a> ';
-				actions += '<a href="#" class="deleteTrigger btn btn-danger" data-name="' + table + '"><i class="glyphicon glyphicon-trash"></i> Delete</a> ';
-				return actions;
-			}}
-		]
-	},
-	stateMap = { $container : null },
-	jqueryMap = {},
-	setJqueryMap, initModule, unloadModule, updateTableList, buildTabs, waitForData, registerPageEvents, unregisterPageEvents, updateActivityIndicators;
-
-	setJqueryMap = function() {
-		var $container = stateMap.$container;
-		jqueryMap = {
-			$container : $container,
-			$tableInfoHolder : $('#tableInfoHolder'),
-			$tables : {}
-		};
-	};
-
-	unloadModule = function() {
-		$.gevent.unsubscribe(jqueryMap.$container, 'tables-updated');
-		$.gevent.unsubscribe(jqueryMap.$container, 'queries-updated');
-		unregisterPageEvents();
-	};
-
-	initModule = function($container) {
-		$container.load(configMap.view, function() {
-			stateMap.$container = $container;
-			setJqueryMap();
-			$.gevent.subscribe(jqueryMap.$container, 'tables-updated', updateTableList);
-			$.gevent.subscribe(jqueryMap.$container, 'queries-updated', updateActivityIndicators);
-			waitForData();
-			registerPageEvents();
-		});
-		return true;
-	};
-
-	waitForData = function() {
-		if (blurconsole.model.tables.getClusters().length > 0) {
-			buildTabs();
-		} else {
-			setTimeout(waitForData, 100);
-		}
-	};
-
-	buildTabs = function() {
-		var clusters, tabMarkup, paneMarkup, needsTabs;
-
-		clusters = blurconsole.model.tables.getClusters();
-		needsTabs = clusters.length > 1;
-
-		if (needsTabs) {
-			tabMarkup = '<ul class="nav nav-tabs">';
-			tabMarkup += $.map(clusters, function(cluster, idx) {
-				return '<li class="' + (idx === 0 ? 'active' : '') + '"><a href="#' + cluster + '_pane" data-toggle="tab">' + cluster + ' <i class="glyphicon glyphicon-exclamation-sign" style="display:none" title="Activity detected"></i></a></li>';
-			}).join('');
-			tabMarkup += '</ul>';
-
-			jqueryMap.$tableInfoHolder.html($(tabMarkup));
-		}
-
-		paneMarkup = needsTabs ? '<div class="tab-content">' : '';
-		paneMarkup += $.map(clusters, function(cluster, idx) {
-			return '<div id="' + cluster + '_pane" class="tab-pane' + (idx === 0 ? ' active' : '') + '"><h3>Enabled Tables</h3><div class="enabledSection"></div><h3>Disabled Tables</h3><div class="disabledSection"></div></div>';
-		}).join('');
-		paneMarkup += needsTabs ? '</div>' : '';
-
-		if (needsTabs) {
-			jqueryMap.$tableInfoHolder.append(paneMarkup);
-		} else {
-			jqueryMap.$tableInfoHolder.html(paneMarkup);
-		}
-
-		$.each(clusters, function(idx, cluster){
-			var clusterPane = $('#' + cluster + '_pane');
-			clusterPane.find('.enabledSection').html(blurconsole.browserUtils.table(configMap.enabledDef, blurconsole.model.tables.getEnabledTables(cluster)));
-			clusterPane.find('.disabledSection').html(blurconsole.browserUtils.table(configMap.disabledDef, blurconsole.model.tables.getDisabledTables(cluster)));
-		});
-	};
-
-	updateTableList = function() {
-		var clusters = blurconsole.model.tables.getClusters();
-
-		$.each(clusters, function(idx, cluster) {
-			var clusterPane = $('#' + cluster + '_pane'), enabledSection, disabledSection;
-			enabledSection = clusterPane.find('.enabledSection');
-			disabledSection = clusterPane.find('.disabledSection');
-
-			if (enabledSection.length > 0) {
-				enabledSection.html(blurconsole.browserUtils.table(configMap.enabledDef, blurconsole.model.tables.getEnabledTables(cluster)));
-			}
-			if (disabledSection.length > 0) {
-				disabledSection.html(blurconsole.browserUtils.table(configMap.disabledDef, blurconsole.model.tables.getDisabledTables(cluster)));
-			}
-		});
-	};
-
-	registerPageEvents = function() {
-		// Tab control
-		jqueryMap.$tableInfoHolder.on('click', 'ul.nav a', function(e) {
-			e.preventDefault();
-			$(this).tab('show');
-		});
-
-		// View Schema
-		jqueryMap.$tableInfoHolder.on('click', 'a.schemaTrigger', function() {
-			$.gevent.publish('schema-show', $(this).data('name'));
-			return false;
-		});
-
-		// Disable Table
-		jqueryMap.$tableInfoHolder.on('click', 'a.disableTrigger', function() {
-			blurconsole.model.tables.disableTable($(this).data('name'));
-			return false;
-		});
-
-		// Enable Table
-		jqueryMap.$tableInfoHolder.on('click', 'a.enableTrigger', function() {
-			blurconsole.model.tables.enableTable($(this).data('name'));
-			return false;
-		});
-
-		// Delete Table
-		jqueryMap.$tableInfoHolder.on('click', 'a.deleteTrigger', function() {
-			var tableName = $(this).data('name');
-			var modalContent = blurconsole.browserUtils.modal('confirmDelete', 'Confirm Table Deletion', 'You are about to delete table ' + tableName + '.  Are you sure you want to do this? If so, do you also want to delete the underlying table data?', [
-				{classes: 'btn-warning tableOnly', label: 'Table Only'},
-				{classes: 'btn-danger tableAndData', label: 'Table And Data'},
-				{classes: 'btn-default cancel', label: 'Cancel', data: {dismiss:'modal'}}
-			], 'medium');
-
-			var modal = $(modalContent).modal().on('shown.bs.modal', function(e){
-				$(e.currentTarget).on('click', '.tableOnly', function() {
-					blurconsole.model.tables.deleteTable(tableName, false);
-					modal.modal('hide');
-				}).on('click', '.tableAndData', function() {
-					blurconsole.model.tables.deleteTable(tableName, true);
-					modal.modal('hide');
-				});
-			}).on('hidden.bs.modal', function(e) {
-				$(e.currentTarget).remove();
-			});
-			return false;
-		});
-	};
-
-	unregisterPageEvents = function() {
-		if (jqueryMap.$tableInfoHolder) {
-			jqueryMap.$tableInfoHolder.off();
-		}
-	};
-
-	updateActivityIndicators = function() {
-		var clusters = blurconsole.model.tables.getClusters();
-
-		$.each(clusters, function(i, cluster) {
-			var clusterHasActivity = false,
-				tables = blurconsole.model.tables.getEnabledTables(cluster);
-
-			$.each(tables, function(i, table){
-				if (blurconsole.model.queries.tableHasActivity(table.name)) {
-					clusterHasActivity = true;
-					$('i[data-table="' + table.name + '"]').show();
-				} else {
-					$('i[data-table="' + table.name + '"]').hide();
-				}
-			});
-
-			if (clusterHasActivity) {
-				$('a[href="#' + cluster +'_pane"] i').show();
-			} else {
-				$('a[href="#' + cluster +'_pane"] i').hide();
-			}
-		});
-	};
-
-	return {
-		initModule : initModule,
-		unloadModule : unloadModule
-	};
-}());
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/scripts/blurconsole.utils.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/scripts/blurconsole.utils.js b/contrib/blur-console/ui/app/scripts/blurconsole.utils.js
deleted file mode 100644
index 216079c..0000000
--- a/contrib/blur-console/ui/app/scripts/blurconsole.utils.js
+++ /dev/null
@@ -1,91 +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.
-*/
-/*global blurconsole:false */
-blurconsole.utils = (function(){
-	'use strict';
-	var inject, unique, equals, keys, findFamilies, reject;
-
-	inject = function(collection, initial, block) {
-		if (collection === null || collection.length === 0) {
-			return initial;
-		}
-
-		var accumulator = initial || collection[0];
-		$.each(collection, function(idx, item) {
-			accumulator = block(accumulator, item);
-		});
-
-		return accumulator;
-	};
-
-	unique = function(collection, sort) {
-		var uniqueList = [];
-
-		$.each(collection, function(idx, item){
-			if (uniqueList.indexOf(item) === -1) {
-				uniqueList.push(item);
-			}
-		});
-
-		if (sort) {
-			uniqueList.sort();
-		}
-
-		return uniqueList;
-	};
-
-	equals = function(obj1, obj2) {
-		return JSON.stringify(obj1) === JSON.stringify(obj2);
-	};
-
-	keys = function(map) {
-		return $.map(map, function(v, key){ return key; });
-	};
-
-	findFamilies = function(query) {
-		// Determine regex to find column families in lucene query
-		var matches = query.match(/[^ \(\)\+\-]+(\w+)\.\w+:/g);
-		var families = [];
-		$.each(matches, function(idx, match) {
-			families.push(match.split('.')[0]);
-		});
-		return families;
-	};
-
-	reject = function(collection, block) {
-		var newArray = [];
-		$.each(collection, function(i, item){
-			if (!block(item)) {
-				newArray.push(item);
-			}
-		});
-		return newArray;
-	};
-
-	return {
-		inject: inject,
-		reduce: inject,
-		unique: unique,
-		equals: equals,
-		keys: keys,
-		findFamilies: findFamilies,
-		reject: reject
-	};
-}());
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/styles/_colors.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/styles/_colors.scss b/contrib/blur-console/ui/app/styles/_colors.scss
deleted file mode 100644
index 82a2b31..0000000
--- a/contrib/blur-console/ui/app/styles/_colors.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-$silver: #CCC;
-$black: #000;
-$san-marino: #4c66a4;
-$white: #FFF;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/styles/blurconsole.dashboard.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/styles/blurconsole.dashboard.scss b/contrib/blur-console/ui/app/styles/blurconsole.dashboard.scss
deleted file mode 100644
index 1b583ec..0000000
--- a/contrib/blur-console/ui/app/styles/blurconsole.dashboard.scss
+++ /dev/null
@@ -1,50 +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.
- */
-.simple-chart {
-	min-height : 200px;
-	min-width : 200px;
-	max-height : 300px;
-	max-width : 300px;
-	margin-left : auto;
-	margin-right : auto;
-}
-
-.wide-chart {
-	min-height : 100px;
-	min-width : 200px;
-	max-height : 200px;
-	max-width : 1000px;
-	margin-left : auto;
-	margin-right : auto;
-}
-
-.swapper-trigger {
-	cursor : pointer;
-}
-
-.swapper-info {
-	min-height : 200px;
-	min-width : 200px;
-	max-height : 300px;
-	max-width : 300px;
-	margin-left : auto;
-	margin-right : auto;
-	overflow: auto;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/styles/blurconsole.queries.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/styles/blurconsole.queries.scss b/contrib/blur-console/ui/app/styles/blurconsole.queries.scss
deleted file mode 100644
index e473517..0000000
--- a/contrib/blur-console/ui/app/styles/blurconsole.queries.scss
+++ /dev/null
@@ -1,22 +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.
-*/
-
-#filterOptions {
-	margin-bottom: 5px;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/styles/blurconsole.schema.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/styles/blurconsole.schema.scss b/contrib/blur-console/ui/app/styles/blurconsole.schema.scss
deleted file mode 100644
index 5036569..0000000
--- a/contrib/blur-console/ui/app/styles/blurconsole.schema.scss
+++ /dev/null
@@ -1,38 +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.
-*/
-.modal .schemaColumnDef {
-	display: none;
-	&.in {
-		display: block;
-	}
-	strong {
-		width: 140px;
-		display: inline-block;
-	}
-}
-
-.modal .schemaColumnTerms {
-	display: none;
-	.termList {
-		margin-top: 5px;
-		.searchTrigger {
-			cursor: pointer;
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/styles/blurconsole.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/styles/blurconsole.scss b/contrib/blur-console/ui/app/styles/blurconsole.scss
deleted file mode 100644
index 3c0729f..0000000
--- a/contrib/blur-console/ui/app/styles/blurconsole.scss
+++ /dev/null
@@ -1,80 +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.
- */
-
-$icon-font-path: "/bower_components/twbs-bootstrap-sass/vendor/assets/fonts/bootstrap/";
-
-@import 'twbs-bootstrap-sass/vendor/assets/stylesheets/bootstrap';
-@import 'colors';
-
-.browsehappy {
-    margin: 0.2em 0;
-    background: $silver;
-    color: $black;
-    padding: 0.2em 0;
-}
-
-.input-group-btn > .btn {
-  height: $input-height-base;
-}
-
-/* Space out content a bit */
-body {
-    padding: 70px 10px 20px 50px;
-}
-
-/* Top Navigation */
-nav.navbar-fixed-top {
-    background-color: $san-marino;
-    .navbar-brand {
-        color: $white;
-    }
-}
-
-/* Side Navigation */
-.side-nav {
-    ul {
-        position: fixed !important;
-        width: 40px;
-        overflow-y: hidden;
-        white-space: nowrap;
-        background-color: #232937;
-        height: 100%;
-        top: 50px;
-        left: 0;
-        list-style: none;
-        padding-left: 0;
-        li {
-            position: relative;
-            display: block;
-            a {
-                padding: 10px;
-                color: $silver;
-                margin-right: 0;
-                font-size: 20px;
-                position: relative;
-                display: block;
-                &.active {
-                    background-color: $white;
-                    color: $black;
-                }
-            }
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/styles/blurconsole.search.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/styles/blurconsole.search.scss b/contrib/blur-console/ui/app/styles/blurconsole.search.scss
deleted file mode 100644
index 1e4f2b8..0000000
--- a/contrib/blur-console/ui/app/styles/blurconsole.search.scss
+++ /dev/null
@@ -1,11 +0,0 @@
-#results {
-	.panel-collapse {
-		padding: 5px;
-		overflow-x: auto;
-	}
-}
-
-#resultCount {
-	padding-left: 30px;
-	font-style: italic;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/views/dashboard.tpl.html
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/views/dashboard.tpl.html b/contrib/blur-console/ui/app/views/dashboard.tpl.html
deleted file mode 100644
index b805455..0000000
--- a/contrib/blur-console/ui/app/views/dashboard.tpl.html
+++ /dev/null
@@ -1,61 +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.
- -->
-
-<div id="slow-query-warnings" class="alert alert-danger hidden">
-	<strong>Heads Up!</strong>
-	Queries have been running for longer than a minute.
-</div>
-
-<div class="row">
-	<div class="col-sm-8">
-		<div class="row">
-			<div class="col-sm-6 text-center">
-					<h4>Zookeepers <small><i class="glyphicon glyphicon-retweet swapper-trigger" title="Swap Chart/Info"></i></small></h4>
-					<div id="zookeeperNodes" class="simple-chart swapper-chart"><img src="images/ajax-loader.gif"></div>
-					<div id="zookeeperInfo" class="swapper-info hidden"></div>
-			</div>
-			<div class="col-sm-6 text-center">
-				<h4>Controllers <small><i class="glyphicon glyphicon-retweet swapper-trigger" title="Swap Chart/Info"></i></small></h4>
-				<div id="controllerNodes" class="simple-chart swapper-chart"><img src="images/ajax-loader.gif"></div>
-				<div id="controllerInfo" class="swapper-info hidden"></div>
-			</div>
-		</div>
-		<div class="row">
-			<div class="col-sm-12 text-center">
-				<h4>Query Load</h4>
-				<div id="queryLoad" class="wide-chart"><img src="images/ajax-loader.gif"></div>
-			</div>
-		</div>
-	</div>
-	<div class="col-sm-4">
-		<div class="row">
-			<div class="col-sm-12 text-center">
-				<h4>Shards</h4>
-				<div id="shardNodes"><img src="images/ajax-loader.gif"></div>
-			</div>
-		</div>
-		<div class="row">
-			<div class="col-sm-12 text-center">
-				<h4>Tables</h4>
-				<div id="tableCounts" class="simple-chart"><img src="images/ajax-loader.gif"></div>
-			</div>
-		</div>
-	</div>
-</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/views/queries.tpl.html
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/views/queries.tpl.html b/contrib/blur-console/ui/app/views/queries.tpl.html
deleted file mode 100644
index cda6d89..0000000
--- a/contrib/blur-console/ui/app/views/queries.tpl.html
+++ /dev/null
@@ -1,40 +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.
- -->
-<div class="row">
-	<div id="tableHolder" class="col-sm-4">
-
-	</div>
-	<div class="col-sm-8">
-		<div class="row">
-			<div id="filterOptions" class="col-sm-12">
-				<div class="input-group col-sm-4 pull-right">
-					<input class="form-control filterText" placeholder="Filter" type="text">
-					<span class="input-group-btn">
-						<button class="btn btn-default filterTrigger" type="button">Go!</button>
-					</span>
-				</div>
-			</div>
-			<div id="queryHolder" class="col-sm-12">
-
-			</div>
-		</div>
-
-	</div>
-</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/views/search.tpl.html
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/views/search.tpl.html b/contrib/blur-console/ui/app/views/search.tpl.html
deleted file mode 100644
index 3a58fe4..0000000
--- a/contrib/blur-console/ui/app/views/search.tpl.html
+++ /dev/null
@@ -1,50 +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.
- -->
-
-<div id="tableGoneWarning" class="alert alert-warning" style="display:none"><strong>Heads Up!</strong> The table that is currently being used for search is no longer enabled!</div>
-<div class="well">
-	<div class="container-fluid">
-		<div class="row">
-			<div class="col-xs-6">
-				<div class="input-group">
-					<input type="text" class="form-control" placeholder="Query" id="queryField">
-					<span class="input-group-btn">
-	        			<button class="btn btn-default" type="button" id="searchTrigger">Go!</button>
-	      			</span>
-				</div>
-			</div>
-			<div class="col-xs-2">
-				<select class="form-control" id="tableChooser">
-					<option value="" id="statusOption">Loading Tables....</option>
-				</select>
-			</div>
-			<button class="btn btn-default" type="button" id="searchOptionsTrigger">
-				<i class="glyphicon glyphicon-cog"></i>
-			</button>
-			<span id="searchOptionsDisplay"></span>
-		</div>
-		<div class="row">
-			<div id="resultCount" class="col-xs-2"></div>
-		</div>
-	</div>
-</div>
-<div id="results">
-
-</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/app/views/tables.tpl.html
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/app/views/tables.tpl.html b/contrib/blur-console/ui/app/views/tables.tpl.html
deleted file mode 100644
index b0c522f..0000000
--- a/contrib/blur-console/ui/app/views/tables.tpl.html
+++ /dev/null
@@ -1,20 +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.
- -->
-<div id="tableInfoHolder"><img src="images/ajax-loader.gif"></div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/bower.json
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/bower.json b/contrib/blur-console/ui/bower.json
deleted file mode 100644
index bd51dd3..0000000
--- a/contrib/blur-console/ui/bower.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
-  "name": "ui",
-  "private": true,
-  "dependencies": {
-    "twbs-bootstrap-sass": "3.1.1",
-    "modernizr": "2.7.1",
-    "jquery": "1.11.0",
-    "flot":"0.8.2"
-  },
-  "devDependencies": {}
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/package.json
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/package.json b/contrib/blur-console/ui/package.json
deleted file mode 100644
index 5c3c36a..0000000
--- a/contrib/blur-console/ui/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
-  "name": "blur-console",
-  "version": "2.0.0",
-  "description": "Managment and Monitoring Console for Apache Blur",
-  "repository": "https://git-wip-us.apache.org/repos/asf/incubator-blur.git",
-  "directories": {
-    "test": "test"
-  },
-  "dependencies": {},
-  "devDependencies": {
-    "grunt": "~0.4.1",
-    "grunt-contrib-copy": "~0.4.1",
-    "grunt-contrib-concat": "~0.3.0",
-    "grunt-contrib-uglify": "~0.2.0",
-    "grunt-contrib-compass": "~0.7.0",
-    "grunt-contrib-jshint": "~0.7.0",
-    "grunt-contrib-cssmin": "~0.7.0",
-    "grunt-contrib-connect": "~0.5.0",
-    "grunt-contrib-clean": "~0.5.0",
-    "grunt-contrib-htmlmin": "~0.1.3",
-    "grunt-bower-install": "~0.7.0",
-    "grunt-contrib-imagemin": "~0.2.0",
-    "grunt-contrib-watch": "~0.5.2",
-    "grunt-rev": "~0.1.0",
-    "grunt-autoprefixer": "~0.5.0",
-    "grunt-usemin": "~2.0.0",
-    "grunt-mocha": "~0.4.0",
-    "grunt-modernizr": "~0.4.0",
-    "grunt-newer": "~0.6.0",
-    "grunt-svgmin": "~0.2.0",
-    "grunt-concurrent": "~0.4.0",
-    "load-grunt-tasks": "~0.2.0",
-    "time-grunt": "~0.2.0",
-    "jshint-stylish": "~0.1.3",
-    "grunt-blanket-mocha":"~0.4.0"
-  },
-  "engines": {
-    "node": ">=0.8.0"
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/test/.bowerrc
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/test/.bowerrc b/contrib/blur-console/ui/test/.bowerrc
deleted file mode 100644
index 44491d3..0000000
--- a/contrib/blur-console/ui/test/.bowerrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-    "directory": "bower_components"
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/test/bower.json
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/test/bower.json b/contrib/blur-console/ui/test/bower.json
deleted file mode 100644
index 4a7bafd..0000000
--- a/contrib/blur-console/ui/test/bower.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "name": "ui",
-  "private": true,
-  "dependencies": {
-    "chai": "~1.8.0",
-    "mocha": "~1.14.0",
-    "blanket":"~1.1.5"
-  },
-  "devDependencies": {}
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/test/index.html
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/test/index.html b/contrib/blur-console/ui/test/index.html
deleted file mode 100644
index 569cdc0..0000000
--- a/contrib/blur-console/ui/test/index.html
+++ /dev/null
@@ -1,60 +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.
- -->
-<!doctype html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Mocha Spec Runner</title>
-    <link rel="stylesheet" href="bower_components/mocha/mocha.css">
-
-    <script src="bower_components/chai/chai.js"></script>
-    <script src="bower_components/mocha/mocha.js"></script>
-
-    <!-- include source files here... -->
-    <script src="bower_components/jquery/dist/jquery.js"></script>
-    <script src="app/scripts/blurconsole.js"></script>
-    <script src="app/scripts/blurconsole.utils.js"></script>
-
-    <script src="bower_components/blanket/dist/qunit/blanket.js" data-cover-flags="branchTracking" data-cover-only="//scripts/"></script>
-    <script src="../node_modules/grunt-blanket-mocha/support/mocha-blanket.js"></script>
-
-    <script>
-        var assert = chai.assert;
-        var expect = chai.expect;
-        var should = chai.should();
-
-        mocha.setup('bdd');
-
-        if (window.PHANTOMJS) {
-            blanket.options("reporter", "../node_modules/grunt-blanket-mocha/support/grunt-reporter.js");
-        }
-    </script>
-
-    <!-- include spec files here... -->
-    <script src="spec/test.js"></script>
-    <script src="spec/utils.js"></script>
-</head>
-<body>
-    <div id="mocha"></div>
-
-    <script>mocha.run()</script>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/test/spec/test.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/test/spec/test.js b/contrib/blur-console/ui/test/spec/test.js
deleted file mode 100644
index 9ac8df8..0000000
--- a/contrib/blur-console/ui/test/spec/test.js
+++ /dev/null
@@ -1,32 +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.
-*/
-/* global describe, it */
-
-(function () {
-    'use strict';
-
-    describe('Give it some context', function () {
-        describe('maybe a bit more context here', function () {
-            it('should run here few assertions', function () {
-
-            });
-        });
-    });
-})();

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/contrib/blur-console/ui/test/spec/utils.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/ui/test/spec/utils.js b/contrib/blur-console/ui/test/spec/utils.js
deleted file mode 100644
index 927567d..0000000
--- a/contrib/blur-console/ui/test/spec/utils.js
+++ /dev/null
@@ -1,32 +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.
-*/
-/* global describe, it, assert, blurconsole */
-
-(function () {
-    'use strict';
-
-    describe('Test blurconsole.utils', function () {
-        describe('inject', function () {
-            it('[1,2,3,4,5] should be 15 with simple summing', function () {
-                assert(blurconsole.utils.inject([1,2,3,4,5], 0, function(sum, item){ return sum + item; }));
-            });
-        });
-    });
-})();

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d276fd61/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ee44b62..72162dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -228,29 +228,37 @@ under the License.
 						<exclude>NOTICE</exclude>
 						<exclude>README</exclude>
 						<exclude>**/README.textile</exclude>
+						<exclude>**/README.md</exclude>
 						<exclude>**/.classpath</exclude>
 						<exclude>**/.project</exclude>
 						<exclude>**/.settings/**</exclude>
+						<exclude>**/.idea/**</exclude>
+						<exclude>**/*.iml</exclude>
 						<exclude>**/target/**</exclude>
                                                 <exclude>**/build/**</exclude>
 						
 						<!-- These javascript libs are added at build time but are not included in the src -->
-						<exclude>contrib/blur-console/ui/app/bower_components/**</exclude>
+						<exclude>contrib/blur-console/src/main/webapp/libs/**</exclude>
+
+						<!-- Generated CSS files -->
+						<exclude>contrib/blur-console/src/main/webapp/css/**</exclude>
 						
 						<!-- These files are used for UI testing and are added at development but not included in the src -->
-						<exclude>contrib/blur-console/ui/test/bower_components/**</exclude>
+						<exclude>contrib/blur-console/src/main/webapp/test/bower_components/**</exclude>
 
 						<!-- JS Libraries that could not be included through bower -->
-						<exclude>contrib/blur-console/ui/app/lib/**</exclude>
+						<exclude>contrib/blur-console/src/main/webapp/js/utils/**</exclude>
 	
 						<!-- Files used for building the UI -->
-						<exclude>contrib/blur-console/ui/node_modules/**</exclude>
-						<exclude>contrib/blur-console/ui/.sass-cache/**</exclude>
+						<exclude>contrib/blur-console/src/main/webapp/node_modules/**</exclude>
+						<exclude>contrib/blur-console/src/main/webapp/.sass-cache/**</exclude>
+						<exclude>contrib/blur-console/src/main/webapp/.tmp/**</exclude>
 						<exclude>contrib/blur-console/**/.bowerrc</exclude>
-						<exclude>contrib/blur-console/ui/.editorconfig</exclude>
-						<exclude>contrib/blur-console/ui/.jshintrc</exclude>
-						<exclude>contrib/blur-console/ui/package.json</exclude>
-						<exclude>contrib/blur-console/ui/**/bower.json</exclude>
+						<exclude>contrib/blur-console/**/.editorconfig</exclude>
+						<exclude>contrib/blur-console/**/.jshintrc</exclude>
+						<exclude>contrib/blur-console/**/package.json</exclude>
+						<exclude>contrib/blur-console/**/bower.json</exclude>
+						<exclude>contrib/blur-console/src/main/scripts/grunt.sh</exclude>
 
 						<!-- Legacy blur console -->
 						<exclude>contrib/blur-console-v1/**</exclude>


Mime
View raw message