You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by da...@apache.org on 2015/11/30 22:06:45 UTC

[39/98] [abbrv] [partial] incubator-apex-malhar git commit: Removing all web demos

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/app/views/dimensions.html
----------------------------------------------------------------------
diff --git a/web/demos/package/app/views/dimensions.html b/web/demos/package/app/views/dimensions.html
deleted file mode 100644
index dafa6e3..0000000
--- a/web/demos/package/app/views/dimensions.html
+++ /dev/null
@@ -1,185 +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="container-fluid">
-    <div class="row-fluid">
-        <div class="span12">
-            <h2 class="app-title">
-                Ads Dimensions
-                <a ng-show="appURL" href="{{appURL}}" class="btn btn-primary btn-view-console" target="_blank">View Console</a>
-            </h2>
-        </div>
-    </div>
-    <div class="row-fluid">
-        <p class="well span7">
-            This demo application monitors the online ads dimensions in real time. The views and clicks of ads are being counted in real time. Three dimensions are being tracked, namely publisher, advertiser, and ad unit. In real time all the dimensions are computed for views (cost) and clicks (revenue). This enables a participant in an real time ad exchange to run applications to optimize the performance of their bids.
-        </p>
-        <div class="span5">
-            <span widgets-stat="" app="app"></span>
-        </div><!--/span-->
-    </div>
-
-    <div class="row-fluid">
-        <div class="span2">
-            <div class="well sidebar-nav">
-                <ul class="nav nav-list params-nav">
-                    <li class="nav-header">Dimensions</li>
-                    <form method="GET">
-                        <li>
-                            <label for="publisher">Publisher ID:</label>
-                            <select ng-model="publisher" id="publisher" ng-options="item.label for item in select.publisher">
-                            </select>
-                        </li>
-
-                        <li>
-                            <label for="advertiser">Advertiser ID:</label>
-                            <select ng-model="advertiser" id="advertiser" ng-options="item.label for item in select.advertiser">
-                            </select>
-                        </li>
-
-                        <li>
-                            <label for="adunit">Ad Unit:</label>
-                            <select ng-model="adunit" id="adunit" ng-options="item.label for item in select.adunit">
-                            </select>
-                        </li>
-
-                        <li>
-                            <label for="pollInterval">Poll Interval:</label>
-                            <div class="input-append">
-                                <input type="number" ng-model="pollInterval" min="1" id="pollInterval" class="input-small">
-                                <span class="add-on">Sec</span>
-                            </div>
-                        </li>
-
-                        <li>
-                            <label for="lookback">Look Back:</label>
-                            <div class="input-append">
-                                <input type="number" ng-model="lookback" min="2" id="lookback" class="input-small">
-                                <span class="add-on">Minutes</span>
-                            </div>
-                        </li>
-
-                        <li>
-                            <div class="checkbox">
-                                <label>
-                                    <input type="checkbox" ng-model="includeLastMinute"> Include Last Minute
-                                </label>
-                            </div>
-                        </li>
-                    </form>
-                </ul>
-            </div><!--/.well -->
-        </div><!--/span-->
-        <div class="span10">
-            <div class="row-fluid">
-                <div class="span12 network-response">
-                    <span ng-show="lastResponse">
-                        <span class="network-response-label">Network Last Response:</span>
-                        <span class="network-response-stat">{{lastResponse|date:'HH:mm:ss'}}</span>
-                    </span>
-                    <span ng-show="responseTime">
-                        <span class="network-response-label">Network Response Time:</span>
-                        <span class="network-response-stat">{{responseTime|number}} ms</span>
-                    </span>
-                    <span class="network-response-label network-response-loading" ng-show="requestProgress > 1">
-                        Loading: {{requestProgress|number}} sec
-                    </span>
-
-                </div>
-            </div>
-            <div class="row-fluid">
-                <div class="span6">
-                    <h4 class="chart-title">Cost Chart</h4>
-                    <line-chart chart="costChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-                <div class="span6">
-                    <h4 class="chart-title">Revenue Chart</h4>
-                    <line-chart chart="revenueChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-            </div><!--/row-->
-            <div class="row-fluid">
-                <div class="span6">
-                    <h4 class="chart-title">Impressions Chart</h4>
-                    <line-chart chart="impressionsChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-                <div class="span6">
-                    <h4 class="chart-title">Clicks Chart</h4>
-                    <line-chart chart="clicksChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-            </div><!--/row-->
-            <div class="row-fluid">
-                <div class="span6">
-                    <h4 class="chart-title">Ctr Chart</h4>
-                    <line-chart chart="ctrChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-                <div class="span6">
-                    <h4 class="chart-title">Margin Chart</h4>
-                    <line-chart chart="marginChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-            </div><!--/row-->
-            <div class="row-fluid">
-                <div class="span6">
-                    <h4 class="chart-title">Server Polling Statistics</h4>
-                    <div>
-                        <span class="network-response-label">Network Last Response:</span>
-                        <span class="network-response-stat">{{lastResponse|date:'HH:mm:ss'}}</span>
-                        <span class="network-response-label network-response-loading" ng-show="requestProgress > 1">
-                            Loading: {{requestProgress|number}} sec
-                        </span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Network Response Time:</span>
-                        <span>{{responseTime|number}} ms</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Minutes cached:</span>
-                        <span>{{minutesCached}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Minutes received:</span>
-                        <span>{{minutesReceived}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Keys Queried:</span>
-                        <span>{{response.keysQueried}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Last Key Queried:</span>
-                        <span>{{response.lastKeyQueried}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Last Key with Data:</span>
-                        <span>{{response.lastKey}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Redis Query Time:</span>
-                        <span>{{response.queryTime|number}} ms</span>
-                    </div>
-                </div><!--/span-->
-            </div><!--/row-->
-        </div><!--/span-->
-    </div><!--/row-->
-
-    <hr>
-
-    <footer>
-        <p>&copy; DataTorrent 2014</p>
-    </footer>
-</div><!--/.fluid-container-->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/app/views/fraud.html
----------------------------------------------------------------------
diff --git a/web/demos/package/app/views/fraud.html b/web/demos/package/app/views/fraud.html
deleted file mode 100644
index 69a0833..0000000
--- a/web/demos/package/app/views/fraud.html
+++ /dev/null
@@ -1,84 +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="container-fluid">
-	<div class="row-fluid">
-		<div class="span12">
-			<h2 class="app-title">
-				Fraud Detection
-				<a href="{{appURL}}" class="btn btn-primary" target="_blank" style="margin-left: 20px">View Console</a>
-			</h2>
-		</div>
-	</div>
-	<div class="row-fluid">
-		<p class="well span7">
-			This demo application processes a stream of credit card transactions, coming from multiple Point Of Sale terminals. The application computes statistics and applies several fraud evaluators to recognize potential fraud attempts. In particular, it looks for well-known fraud patterns, like small purchase followed by the big purchase at the same sales terminal, unusually big purchases per particular merchant or terminal, usage of multiple cards issued to different customers by the same bank at the same terminal and more. Alerts are generated in real-time, also all computed data and alerts saved into MongoDB for subsequent analysis. While influenced by real customers, because of privacy concerns, the data for this demo is automatically generated.
-		</p>
-		<div class="span5">
-			<span widgets-stat="" app="app"></span>
-		</div><!--/span-->
-	</div>
-
-	<h3>Statistics</h3>
-	<div class="row-fluid">
-		<div class="well span3 overview-item" ng-repeat="stat in stats">
-			<div class="key">{{stat.label}}</div>
-			<div class="value">{{stat.value}}</div>
-		</div>
-	</div>
-    
-	<div class="row-fluid">
-		<div class="span5">
-			<h3>Generate Transactions</h3>
-			<div class="row-fluid" class="generate-tx-div" ng-repeat="action in actions">
-				<div class="span3 generate-tx-btn-wrap">
-					<button class="btn generate-{{action.severity}}" ng-click="action.generateTxns()">generate</button>
-				</div><div class="span9 generate-tx-desc">
-					<h4>Fraud Type {{action.id}} <span class="lead">({{action.subtitle}})</span></h4>
-					<p>{{action.description}}</p>    
-				</div>
-			</div>
-		</div>
-		<div class="span7">
-			<h3>User Alerts Triggered <button class="btn clearFraudsBtn" ng-click="clearFrauds()">clear</button></h3>
-			<div class="well" id="alertDisplayBox">
-				
-			</div>
-		</div>
-	</div>
-
-	<hr>
-
-	<footer>
-		<p>&copy; DataTorrent 2014</p>
-	</footer>
-</div><!--/.fluid-container-->
-<div id="txn-modal" class="modal hide fade" role="dialog" style="display:none">
-	<div class="modal-header">
-	    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
-	    <h3>Transaction</h3>
-	  </div>
-	  <div class="modal-body">
-		  
-	  </div>
-	  <div class="modal-footer">
-	    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
-	  </div>
-</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/app/views/machine.html
----------------------------------------------------------------------
diff --git a/web/demos/package/app/views/machine.html b/web/demos/package/app/views/machine.html
deleted file mode 100644
index d991e22..0000000
--- a/web/demos/package/app/views/machine.html
+++ /dev/null
@@ -1,193 +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="container-fluid">
-    <div class="row-fluid">
-        <div class="span12">
-            <h2 class="app-title">
-                Large Scale Monitoring and Analysis
-                <a ng-show="appURL" href="{{appURL}}" class="btn btn-primary btn-view-console" target="_blank">View Console</a>
-            </h2>
-        </div>
-    </div>
-    <div class="row-fluid">
-        <p class="well span7">
-            This demo application monitors samples of CPU, RAM and HD utilization coming from a heterogeneous installed base of multiple devices located at multiple data centers and used by different customers. The application receives sensor events from each device including the device ID, device model, the OS version, other installed application versions, and customer attributes.  It tracks the status of the devices across every combination of dimensions. This allows both immediate analysis and real-time monitoring of anomalies - e.g. notify when average CPU utilization exceeds 70% for particular combination of model, customer and software. While influenced by real customers, because of security concerns, this demo uses randomly generated data.
-        </p>
-        <div class="span5">
-            <span widgets-stat="" app="app"></span>
-        </div><!--/span-->
-    </div>
-
-    <div class="row-fluid">
-        <div class="span2">
-            <div class="well sidebar-nav">
-                <ul class="nav nav-list params-nav">
-                    <li class="nav-header">Dimensions</li>
-                    <form method="GET">
-                        <li>
-                        <label for="customer">Customer ID:</label>
-                        <select ng-model="customer" id="customer" ng-options="item.label for item in select.customer">
-                        </select>
-                        </li>
-
-                        <li>
-                        <label for="product">Product ID:</label>
-                        <select ng-model="product" id="product" ng-options="item.label for item in select.product">
-                        </select>
-                        </li>
-
-                        <li>
-                        <label for="os">Product OS:</label>
-                        <select ng-model="os" id="os" ng-options="item.label for item in select.os">
-                        </select>
-                        </li>
-
-                        <li>
-                        <label for="software1">Software1 Ver:</label>
-                        <select ng-model="software1" id="software1" ng-options="item.label for item in select.software1">
-                        </select>
-                        </li>
-
-                        <li>
-                        <label for="software2">Software2 Ver:</label>
-                        <select ng-model="software2" id="software2" ng-options="item.label for item in select.software2">
-                        </select>
-                        </li>
-
-                        <li>
-                        <label for="deviceId">Device ID:</label>
-                        <select ng-model="deviceId" id="deviceId" ng-options="item.label for item in select.deviceId">
-                        </select>
-                        </li>
-
-                        <li>
-                        <label for="lookback">Look Back:</label>
-                        <div class="input-append">
-                            <input type="number" ng-model="lookback" min="2" id="lookback" class="input-small">
-                            <span class="add-on">Minutes</span>
-                        </div>
-                        </li>
-                        <!--
-                        <li>
-                            <input ng-click="reload();" type="submit" value="reload" class="btn btn-primary" />
-                        </li>
-                        -->
-
-                    </form>
-                </ul>
-            </div><!--/.well -->
-        </div><!--/span-->
-        <div class="span10">
-            <div class="row-fluid">
-                <div class="span12 network-response">
-                    <span ng-show="lastResponse">
-                        <span class="network-response-label">Network Last Response:</span>
-                        <span class="network-response-stat">{{lastResponse|date:'HH:mm:ss'}}</span>
-                    </span>
-                    <span ng-show="responseTime">
-                        <span class="network-response-label">Network Response Time:</span>
-                        <span class="network-response-stat">{{responseTime|number}} ms</span>
-                    </span>
-                    <span class="network-response-label network-response-loading" ng-show="requestProgress > 1">
-                        Loading: {{requestProgress|number}} sec
-                    </span>
-
-                </div>
-            </div>
-            <div class="row-fluid">
-                <div class="span8">
-                    <h4 class="chart-title">CPU Usage (%)</h4>
-                    <line-chart chart="cpuChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-                <div class="span4">
-                    <h4>Current CPU Usage (%)</h4>
-                    <span gauge="" min="0" max="100" value="cpu" label="CPU" class="gauge"></span>
-                </div><!--/span-->
-            </div><!--/row-->
-            <div class="row-fluid">
-                <div class="span8">
-                    <h4 class="chart-title">RAM Usage (%)</h4>
-                    <line-chart chart="ramChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-                <div class="span4">
-                    <h4>Current RAM Usage (%)</h4>
-                    <span gauge="" min="0" max="100" value="ram" label="RAM" class="gauge"></span>
-                </div><!--/span-->
-            </div><!--/row-->
-            <div class="row-fluid">
-                <div class="span8">
-                    <h4 class="chart-title">HDD Usage (%)</h4>
-                    <line-chart chart="hddChart" class="line-chart"></line-chart>
-                </div><!--/span-->
-                <div class="span4">
-                    <h4>Current HDD Usage (%)</h4>
-                    <span gauge="" min="0" max="100" value="hdd" label="HDD" class="gauge"></span>
-                </div><!--/span-->
-            </div><!--/row-->
-            <div class="row-fluid">
-                <div class="span8">
-                    <h4 class="chart-title">Server Polling Statistics</h4>
-                    <div>
-                        <span class="network-response-label">Network Last Response:</span>
-                        <span class="network-response-stat">{{lastResponse|date:'HH:mm:ss'}}</span>
-                        <span class="network-response-label network-response-loading" ng-show="requestProgress > 1">
-                            Loading: {{requestProgress|number}} sec
-                        </span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Network Response Time:</span>
-                        <span>{{responseTime|number}} ms</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Minutes cached:</span>
-                        <span>{{minutesCached}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Minutes received:</span>
-                        <span>{{minutesReceived}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Keys Queried:</span>
-                        <span>{{response.keysQueried}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Last Key Queried:</span>
-                        <span>{{response.lastKeyQueried}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Last Key with Data:</span>
-                        <span>{{response.lastKey}}</span>
-                    </div>
-                    <div>
-                        <span class="network-response-label">Redis Query Time:</span>
-                        <span>{{response.queryTime|number}} ms</span>
-                    </div>
-                </div><!--/span-->
-            </div><!--/row-->
-        </div><!--/span-->
-    </div><!--/row-->
-
-    <hr>
-
-    <footer>
-        <p>&copy; DataTorrent 2014</p>
-    </footer>
-</div><!--/.fluid-container-->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/app/views/mobile.html
----------------------------------------------------------------------
diff --git a/web/demos/package/app/views/mobile.html b/web/demos/package/app/views/mobile.html
deleted file mode 100644
index 42d463b..0000000
--- a/web/demos/package/app/views/mobile.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.
-
--->
-<div class="container-fluid">
-    <div class="row-fluid">
-        <div class="span12">
-            <h2 class="app-title">
-                Mobile Geo-Location Monitoring
-                <a ng-show="appURL" href="{{appURL}}" class="btn btn-primary btn-view-console" target="_blank">View Console</a>
-            </h2>
-        </div>
-    </div>
-    <div class="row-fluid">
-        <p class="well span7">
-            This demo application highlights the ability to register specific mobile numbers and start receiving geo-location updates in real-time. While the events arrive at high volume of 50k to 250k updates per second, but the application only pushes out the updates for the registered phones, making it possible to visualize using simple web user interface. While influenced by real customers, because of privacy concerns, the data for this demo is automatically generated.
-        </p>
-        <div class="span5">
-            <span widgets-stat="" app="app"></span>
-        </div><!--/span-->
-    </div>
-    <div class="row-fluid">
-        <div class="span3" ng-controller="MobileGridControlller">
-            <h4>Locations</h4>
-
-            <div class="form-horizontal">
-                <input type="number" min="5550000" max="5559999" ng-model="phone">
-                <button ng-click="addPhone();" type="button" class="btn btn-default">Add</button>
-            </div>
-
-            <div class="mobile-grid" ng-grid="gridOptions"></div>
-        </div>
-        <div class="span9" ng-controller="MapController">
-            <div class="google-map" style="height:550px" center="position.coords" zoom="zoomProperty" markers="markersProperty" latitude="clickedLatitudeProperty" longitude="clickedLongitudeProperty" mark-click="false" draggable="true" fit="false" events="eventsProperty" style="height: 500px; width: 100%">
-            </div>
-        </div>
-    </div>
-
-    <hr>
-
-    <footer>
-        <p>&copy; DataTorrent 2014</p>
-    </footer>
-</div><!--/.fluid-container-->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/app/views/stat.html
----------------------------------------------------------------------
diff --git a/web/demos/package/app/views/stat.html b/web/demos/package/app/views/stat.html
deleted file mode 100644
index 4aa15a4..0000000
--- a/web/demos/package/app/views/stat.html
+++ /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.
-
--->
-<div class="overview-item well span4">
-    <div class="key">Events/sec</div>
-    <div class="value">{{totalEmitted|number}}</div>
-</div>
-<div class="overview-item well span5">
-    <div class="key">Total Events</div>
-    <div class="value">{{totalProcessed|number}}</div>
-</div>
-<div class="overview-item well span3">
-    <div class="key">Up For</div>
-    <div class="value">{{elapsed|elapsed}}</div>
-</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/app/views/twitter.html
----------------------------------------------------------------------
diff --git a/web/demos/package/app/views/twitter.html b/web/demos/package/app/views/twitter.html
deleted file mode 100644
index 617cca3..0000000
--- a/web/demos/package/app/views/twitter.html
+++ /dev/null
@@ -1,58 +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="container-fluid">
-    <div class="row-fluid">
-        <div class="span12">
-            <h2 class="app-title">
-                {{pageTitle}}
-                <a ng-show="appURL" href="{{appURL}}" class="btn btn-primary btn-view-console" target="_blank">View Console</a>
-            </h2>
-        </div>
-    </div>
-    <div class="row-fluid">
-        <p class="well span7">
-            This demo application processes tweets and computes most frequently cited {{entity}} during the last 5 minutes. The results are continuously updated every 0.5 sec. For demo purposes, we used live (1% sample) developer version of the Twitter feed, and scale it up by 100x to produce the true load.  The application process load equivalent to full firehose.
-        </p>
-        <div class="span5">
-            <span widgets-stat="" app="app"></span>
-        </div><!--/span-->
-    </div>
-    <div class="row-fluid">
-        <div class="span4">
-            <h4>{{gridTitle}}</h4>
-            <div ng-controller="TwitterGridControlller">
-                <div class="twitter-grid" ng-grid="gridOptions"></div>
-            </div>
-        </div><!--/span-->
-        <div class="span4">
-            <h4>{{chartTitle}}</h4>
-            <div ng-controller="TwitterBarChartController">
-                <span widgets-bar-chart="" class="bar-chart" data="twitterBarChartData" label="name" on-click="d3OnClick(item)"></span>
-            </div>
-        </div><!--/span-->
-    </div><!--/row-->
-
-    <hr>
-
-    <footer>
-        <p>&copy; DataTorrent 2014</p>
-    </footer>
-</div><!--/.fluid-container-->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/app/views/welcome.html
----------------------------------------------------------------------
diff --git a/web/demos/package/app/views/welcome.html b/web/demos/package/app/views/welcome.html
deleted file mode 100644
index 823bc63..0000000
--- a/web/demos/package/app/views/welcome.html
+++ /dev/null
@@ -1,25 +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="hero-unit">
-    <h2 class="app-title">DataTorrent Demo Applications</h2>
-    <p>Welcome to DataTorrent Demo Applications.</p>
-    <p>Please click on the links above to open the demo.</p>
-</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/config.js
----------------------------------------------------------------------
diff --git a/web/demos/package/config.js b/web/demos/package/config.js
deleted file mode 100644
index 09f842c..0000000
--- a/web/demos/package/config.js
+++ /dev/null
@@ -1,85 +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.
- */
-var config = {};
-config.web = {};
-config.gateway = {};
-config.machine = {};
-config.machine.redis = {};
-config.fraud = {};
-config.fraud.mongo = {};
-config.adsdimensions = {};
-config.adsdimensions.redis = {};
-
-config.web.port = process.env.PORT || 3003;
-config.web.staticDir = process.env.STATIC_DIR || '/app';
-config.gateway.host = process.env.GATEWAY_HOST || 'localhost';
-config.gateway.port = process.env.GATEWAY_PORT || 9090;
-config.machine.redis.host = process.env.MACHINE_REDIS_HOST || null;
-config.machine.redis.port = process.env.MACHINE_REDIS_PORT || 6379;
-config.machine.redis.dbIndex = process.env.MACHINE_REDIS_DB_INDEX || 2;
-config.adsdimensions.redis.host = process.env.ADS_REDIS_HOST || null;
-config.adsdimensions.redis.port = process.env.ADS_REDIS_PORT || 6379;
-config.adsdimensions.redis.dbIndex = process.env.ADS_REDIS_DB_INDEX || 0;
-config.fraud.mongo.host = process.env.MONGODB_HOST || null;
-config.fraud.mongo.port = process.env.MONGODB_PORT || 27017;
-config.fraud.mongo.dbName = 'frauddetect';
-
-// client settings (passed to the browser)
-config.settings = {};
-var settings = config.settings;
-
-settings.twitterUrls = {};
-settings.twitterHashtags = {};
-settings.mobile = {};
-settings.mobile.topic = {};
-settings.machine = {};
-settings.machine.range = {};
-settings.dimensions = {};
-settings.dimensions.range = {};
-settings.fraud = {};
-
-settings.webSocketURL = 'ws://' + config.gateway.host + ':' + config.gateway.port + '/pubsub';
-settings.appsURL = 'http://' + config.gateway.host + ':' + config.gateway.port + '/static/#ops/apps/';
-
-settings.twitterUrls.appName = process.env.APP_NAME_TWITTER_URLS || 'TwitterDemo';
-settings.twitterUrls.topic = 'demos.twitter.topURLs';
-settings.twitterHashtags.appName = process.env.APP_NAME_TWITTER_HASHTAGS || 'TwitterTrendingDemo';
-settings.twitterHashtags.topic = 'demos.twitter.topHashtags';
-settings.mobile.topic.out = 'demos.mobile.phoneLocationQueryResult';
-settings.mobile.topic.in = 'demos.mobile.phoneLocationQuery';
-settings.mobile.appName = process.env.APP_NAME_MOBILE || 'MobileDemo';
-settings.machine.appName = process.env.APP_NAME_MACHINE || 'MachineDataDemo';
-settings.machine.lookback = 180; // default lookback (minutes)
-settings.machine.metricformat = '#.0';
-settings.machine.pollInterval = 1000; // milliseconds
-settings.machine.range.customer = { start: 1, stop: 10 };
-settings.machine.range.product = { start: 4, stop: 6 };
-settings.machine.range.os = { start: 10, stop: 12 };
-settings.machine.range.software1 = { start: 10, stop: 12 };
-settings.machine.range.software2 = { start: 12, stop: 14 };
-settings.machine.range.deviceId = { start: 1, stop: 50 };
-settings.dimensions.appName = process.env.APP_NAME_ADS || 'AdsDimensionsDemo';
-settings.dimensions.lookback = 180; // default lookback (minutes)
-settings.dimensions.pollInterval = 1; // seconds
-settings.dimensions.range.publisher = { start: 0, stop: 49 };
-settings.dimensions.range.advertiser = { start: 0, stop: 99 };
-settings.dimensions.range.adunit = { start: 0, stop: 4 };
-settings.fraud.appName = process.env.APP_NAME_FRAUD || 'FraudDetectDemo';
-
-module.exports = config

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/.bin/express
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/.bin/express b/web/demos/package/node_modules/.bin/express
deleted file mode 100755
index 62df5d6..0000000
--- a/web/demos/package/node_modules/.bin/express
+++ /dev/null
@@ -1,423 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * Module dependencies.
- */
-
-var exec = require('child_process').exec
-  , program = require('commander')
-  , mkdirp = require('mkdirp')
-  , pkg = require('../package.json')
-  , version = pkg.version
-  , os = require('os')
-  , fs = require('fs');
-
-// CLI
-
-program
-  .version(version)
-  .usage('[options] [dir]')
-  .option('-s, --sessions', 'add session support')
-  .option('-e, --ejs', 'add ejs engine support (defaults to jade)')
-  .option('-J, --jshtml', 'add jshtml engine support (defaults to jade)')
-  .option('-H, --hogan', 'add hogan.js engine support')
-  .option('-c, --css <engine>', 'add stylesheet <engine> support (less|stylus) (defaults to plain css)')
-  .option('-f, --force', 'force on non-empty directory')
-  .parse(process.argv);
-
-// Path
-
-var path = program.args.shift() || '.';
-
-// end-of-line code
-
-var eol = os.EOL
-
-// Template engine
-
-program.template = 'jade';
-if (program.ejs) program.template = 'ejs';
-if (program.jshtml) program.template = 'jshtml';
-if (program.hogan) program.template = 'hjs';
-
-/**
- * Routes index template.
- */
-
-var index = [
-    ''
-  , '/*'
-  , ' * GET home page.'
-  , ' */'
-  , ''
-  , 'exports.index = function(req, res){'
-  , '  res.render(\'index\', { title: \'Express\' });'
-  , '};'
-].join(eol);
-
-/**
- * Routes users template.
- */
-
-var users = [
-    ''
-  , '/*'
-  , ' * GET users listing.'
-  , ' */'
-  , ''
-  , 'exports.list = function(req, res){'
-  , '  res.send("respond with a resource");'
-  , '};'
-].join(eol);
-
-/**
- * Jade layout template.
- */
-
-var jadeLayout = [
-    'doctype 5'
-  , 'html'
-  , '  head'
-  , '    title= title'
-  , '    link(rel=\'stylesheet\', href=\'/stylesheets/style.css\')'
-  , '  body'
-  , '    block content'
-].join(eol);
-
-/**
- * Jade index template.
- */
-
-var jadeIndex = [
-    'extends layout'
-  , ''
-  , 'block content'
-  , '  h1= title'
-  , '  p Welcome to #{title}'
-].join(eol);
-
-/**
- * EJS index template.
- */
-
-var ejsIndex = [
-    '<!DOCTYPE html>'
-  , '<html>'
-  , '  <head>'
-  , '    <title><%= title %></title>'
-  , '    <link rel=\'stylesheet\' href=\'/stylesheets/style.css\' />'
-  , '  </head>'
-  , '  <body>'
-  , '    <h1><%= title %></h1>'
-  , '    <p>Welcome to <%= title %></p>'
-  , '  </body>'
-  , '</html>'
-].join(eol);
-
-/**
- * JSHTML layout template.
- */
-
-var jshtmlLayout = [
-    '<!DOCTYPE html>'
-  , '<html>'
-  , '  <head>'
-  , '    <title> @write(title) </title>'
-  , '    <link rel=\'stylesheet\' href=\'/stylesheets/style.css\' />'
-  , '  </head>'
-  , '  <body>'
-  , '    @write(body)'
-  , '  </body>'
-  , '</html>'
-].join(eol);
-
-/**
- * JSHTML index template.
- */
-
-var jshtmlIndex = [
-    '<h1>@write(title)</h1>'
-  , '<p>Welcome to @write(title)</p>'
-].join(eol);
-
-/**
- * Hogan.js index template.
- */
-var hoganIndex = [
-    '<!DOCTYPE html>'
-  , '<html>'
-  , '  <head>'
-  , '    <title>{{ title }}</title>'
-  , '    <link rel=\'stylesheet\' href=\'/stylesheets/style.css\' />'
-  , '  </head>'
-  , '  <body>'
-  , '    <h1>{{ title }}</h1>'
-  , '    <p>Welcome to {{ title }}</p>'
-  , '  </body>'
-  , '</html>'
-].join(eol);
-
-/**
- * Default css template.
- */
-
-var css = [
-    'body {'
-  , '  padding: 50px;'
-  , '  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;'
-  , '}'
-  , ''
-  , 'a {'
-  , '  color: #00B7FF;'
-  , '}'
-].join(eol);
-
-/**
- * Default less template.
- */
-
-var less = [
-    'body {'
-  , '  padding: 50px;'
-  , '  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;'
-  , '}'
-  , ''
-  , 'a {'
-  , '  color: #00B7FF;'
-  , '}'
-].join(eol);
-
-/**
- * Default stylus template.
- */
-
-var stylus = [
-    'body'
-  , '  padding: 50px'
-  , '  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif'
-  , 'a'
-  , '  color: #00B7FF'
-].join(eol);
-
-/**
- * App template.
- */
-
-var app = [
-    ''
-  , '/**'
-  , ' * Module dependencies.'
-  , ' */'
-  , ''
-  , 'var express = require(\'express\');'
-  , 'var routes = require(\'./routes\');'
-  , 'var user = require(\'./routes/user\');'
-  , 'var http = require(\'http\');'
-  , 'var path = require(\'path\');'
-  , ''
-  , 'var app = express();'
-  , ''
-  , '// all environments'
-  , 'app.set(\'port\', process.env.PORT || 3000);'
-  , 'app.set(\'views\', __dirname + \'/views\');'
-  , 'app.set(\'view engine\', \':TEMPLATE\');'
-  , 'app.use(express.favicon());'
-  , 'app.use(express.logger(\'dev\'));'
-  , 'app.use(express.bodyParser());'
-  , 'app.use(express.methodOverride());{sess}'
-  , 'app.use(app.router);{css}'
-  , 'app.use(express.static(path.join(__dirname, \'public\')));'
-  , ''
-  , '// development only'
-  , 'if (\'development\' == app.get(\'env\')) {'
-  , '  app.use(express.errorHandler());'
-  , '}'
-  , ''
-  , 'app.get(\'/\', routes.index);'
-  , 'app.get(\'/users\', user.list);'
-  , ''
-  , 'http.createServer(app).listen(app.get(\'port\'), function(){'
-  , '  console.log(\'Express server listening on port \' + app.get(\'port\'));'
-  , '});'
-  , ''
-].join(eol);
-
-// Generate application
-
-(function createApplication(path) {
-  emptyDirectory(path, function(empty){
-    if (empty || program.force) {
-      createApplicationAt(path);
-    } else {
-      program.confirm('destination is not empty, continue? ', function(ok){
-        if (ok) {
-          process.stdin.destroy();
-          createApplicationAt(path);
-        } else {
-          abort('aborting');
-        }
-      });
-    }
-  });
-})(path);
-
-/**
- * Create application at the given directory `path`.
- *
- * @param {String} path
- */
-
-function createApplicationAt(path) {
-  console.log();
-  process.on('exit', function(){
-    console.log();
-    console.log('   install dependencies:');
-    console.log('     $ cd %s && npm install', path);
-    console.log();
-    console.log('   run the app:');
-    console.log('     $ node app');
-    console.log();
-  });
-
-  mkdir(path, function(){
-    mkdir(path + '/public');
-    mkdir(path + '/public/javascripts');
-    mkdir(path + '/public/images');
-    mkdir(path + '/public/stylesheets', function(){
-      switch (program.css) {
-        case 'less':
-          write(path + '/public/stylesheets/style.less', less);
-          break;
-        case 'stylus':
-          write(path + '/public/stylesheets/style.styl', stylus);
-          break;
-        default:
-          write(path + '/public/stylesheets/style.css', css);
-      }
-    });
-
-    mkdir(path + '/routes', function(){
-      write(path + '/routes/index.js', index);
-      write(path + '/routes/user.js', users);
-    });
-
-    mkdir(path + '/views', function(){
-      switch (program.template) {
-        case 'ejs':
-          write(path + '/views/index.ejs', ejsIndex);
-          break;
-        case 'jade':
-          write(path + '/views/layout.jade', jadeLayout);
-          write(path + '/views/index.jade', jadeIndex);
-          break;
-        case 'jshtml':
-          write(path + '/views/layout.jshtml', jshtmlLayout);
-          write(path + '/views/index.jshtml', jshtmlIndex);
-          break;
-        case 'hjs':
-          write(path + '/views/index.hjs', hoganIndex);
-          break;
-
-      }
-    });
-
-    // CSS Engine support
-    switch (program.css) {
-      case 'less':
-        app = app.replace('{css}', eol + 'app.use(require(\'less-middleware\')({ src: __dirname + \'/public\' }));');
-        break;
-      case 'stylus':
-        app = app.replace('{css}', eol + 'app.use(require(\'stylus\').middleware(__dirname + \'/public\'));');
-        break;
-      default:
-        app = app.replace('{css}', '');
-    }
-
-    // Session support
-    app = app.replace('{sess}', program.sessions
-      ? eol + 'app.use(express.cookieParser(\'your secret here\'));' + eol + 'app.use(express.session());'
-      : '');
-
-    // Template support
-    app = app.replace(':TEMPLATE', program.template);
-
-    // package.json
-    var pkg = {
-        name: 'application-name'
-      , version: '0.0.1'
-      , private: true
-      , scripts: { start: 'node app.js' }
-      , dependencies: {
-        express: version
-      }
-    }
-
-    if (program.template) pkg.dependencies[program.template] = '*';
-
-    // CSS Engine support
-    switch (program.css) {
-      case 'less':
-        pkg.dependencies['less-middleware'] = '*';
-        break;
-      default:
-        if (program.css) {
-          pkg.dependencies[program.css] = '*';
-        }
-    }
-
-    write(path + '/package.json', JSON.stringify(pkg, null, 2));
-    write(path + '/app.js', app);
-  });
-}
-
-/**
- * Check if the given directory `path` is empty.
- *
- * @param {String} path
- * @param {Function} fn
- */
-
-function emptyDirectory(path, fn) {
-  fs.readdir(path, function(err, files){
-    if (err && 'ENOENT' != err.code) throw err;
-    fn(!files || !files.length);
-  });
-}
-
-/**
- * echo str > path.
- *
- * @param {String} path
- * @param {String} str
- */
-
-function write(path, str) {
-  fs.writeFile(path, str);
-  console.log('   \x1b[36mcreate\x1b[0m : ' + path);
-}
-
-/**
- * Mkdir -p.
- *
- * @param {String} path
- * @param {Function} fn
- */
-
-function mkdir(path, fn) {
-  mkdirp(path, 0755, function(err){
-    if (err) throw err;
-    console.log('   \033[36mcreate\033[0m : ' + path);
-    fn && fn();
-  });
-}
-
-/**
- * Exit with the given `str`.
- *
- * @param {String} str
- */
-
-function abort(str) {
-  console.error(str);
-  process.exit(1);
-}

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/.bin/node-http-proxy
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/.bin/node-http-proxy b/web/demos/package/node_modules/.bin/node-http-proxy
deleted file mode 100755
index 07d199c..0000000
--- a/web/demos/package/node_modules/.bin/node-http-proxy
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/usr/bin/env node
-
-var path = require('path'),
-    fs = require('fs'),
-    util  = require('util'),
-    argv = require('optimist').argv,
-    httpProxy = require('../lib/node-http-proxy');
-
-var help = [
-    "usage: node-http-proxy [options] ",
-    "",
-    "Starts a node-http-proxy server using the specified command-line options",
-    "",
-    "options:",
-    "  --port   PORT       Port that the proxy server should run on",
-    "  --host   HOST       Host that the proxy server should run on",
-    "  --target HOST:PORT  Location of the server the proxy will target",
-    "  --config OUTFILE    Location of the configuration file for the proxy server",
-    "  --silent            Silence the log output from the proxy server",
-    "  --user   USER       User to drop privileges to once server socket is bound",
-    "  -h, --help          You're staring at it"
-].join('\n');
-
-if (argv.h || argv.help || Object.keys(argv).length === 2) {
-  return util.puts(help);
-}
-
-var location, config = {},
-    port = argv.port || 80, 
-    host = argv.host || undefined, 
-    target = argv.target;
-    user = argv.user;
-
-//
-// If we were passed a config, parse it
-//
-if (argv.config) {
-  try {
-    var data = fs.readFileSync(argv.config);
-    config = JSON.parse(data.toString());
-  } catch (ex) {
-    util.puts('Error starting node-http-proxy: ' + ex);
-    process.exit(1);
-  }
-}
-
-//
-// If `config.https` is set, then load the required file contents into the config options.
-//
-if (config.https) {
-  Object.keys(config.https).forEach(function (key) {
-    // If CA certs are specified, load those too.
-    if (key === "ca") {
-      for (var i=0; i < config.https.ca.length; i++) {
-        if (config.https.ca === undefined) {
-          config.https.ca = [];
-        }
-        config.https.ca[i] = fs.readFileSync(config.https[key][i], 'utf8');
-      }
-    } else {
-      config.https[key] = fs.readFileSync(config.https[key], 'utf8');
-    }
-  });
-}
-
-//
-// Check to see if we should silence the logs
-//
-config.silent = typeof argv.silent !== 'undefined' ? argv.silent : config.silent;
-
-//
-// If we were passed a target, parse the url string
-//
-if (typeof target === 'string') location = target.split(':');
-
-//
-// Create the server with the specified options
-//
-var server;
-if (location) {
-  var targetPort = location.length === 1 ? 80 : parseInt(location[1]);
-  server = httpProxy.createServer(targetPort, location[0], config);
-}
-else if (config.router) {
-  server = httpProxy.createServer(config);
-}
-else {
-  return util.puts(help);
-}
-
-//
-// Start the server
-//
-if (host) {
-  server.listen(port, host);
-} else {
-  server.listen(port);
-}
-
-
-//
-// Drop privileges if requested
-//
-if (typeof user === 'string') {
-    process.setuid(user);
-}
-
-//
-// Notify that the server is started
-//
-if (!config.silent) {
-  util.puts('node-http-proxy server now listening on port: ' + port);
-}

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/async/LICENSE
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/async/LICENSE b/web/demos/package/node_modules/async/LICENSE
deleted file mode 100644
index b7f9d50..0000000
--- a/web/demos/package/node_modules/async/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2010 Caolan McMahon
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.