You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by vr...@apache.org on 2015/10/09 17:41:28 UTC

[27/51] [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/node_modules/express/node_modules/send/package.json
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/express/node_modules/send/package.json b/web/demos/package/node_modules/express/node_modules/send/package.json
deleted file mode 100644
index 1107aca..0000000
--- a/web/demos/package/node_modules/express/node_modules/send/package.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
-  "name": "send",
-  "version": "0.1.4",
-  "description": "Better streaming static file server with Range and conditional-GET support",
-  "keywords": [
-    "static",
-    "file",
-    "server"
-  ],
-  "author": {
-    "name": "TJ Holowaychuk",
-    "email": "tj@vision-media.ca"
-  },
-  "dependencies": {
-    "debug": "*",
-    "mime": "~1.2.9",
-    "fresh": "0.2.0",
-    "range-parser": "0.0.4"
-  },
-  "devDependencies": {
-    "mocha": "*",
-    "should": "*",
-    "supertest": "0.0.1",
-    "connect": "2.x"
-  },
-  "scripts": {
-    "test": "make test"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git://github.com/visionmedia/send.git"
-  },
-  "main": "index",
-  "readme": "# send\n\n  Send is Connect's `static()` extracted for generalized use, a streaming static file\n  server supporting partial responses (Ranges), conditional-GET negotiation, high test coverage, and granular events which may be leveraged to take appropriate actions in your application or framework.\n\n## Installation\n\n    $ npm install send\n\n## Examples\n\n  Small:\n\n```js\nvar http = require('http');\nvar send = require('send');\n\nvar app = http.createServer(function(req, res){\n  send(req, req.url).pipe(res);\n}).listen(3000);\n```\n\n  Serving from a root directory with custom error-handling:\n\n```js\nvar http = require('http');\nvar send = require('send');\nvar url = require('url');\n\nvar app = http.createServer(function(req, res){\n  // your custom error-handling logic:\n  function error(err) {\n    res.statusCode = err.status || 500;\n    res.end(err.message);\n  }\n\n  // your custom directory handling logic:\n  function redirect() {\n    res.statusCode = 
 301;\n    res.setHeader('Location', req.url + '/');\n    res.end('Redirecting to ' + req.url + '/');\n  }\n\n  // transfer arbitrary files from within\n  // /www/example.com/public/*\n  send(req, url.parse(req.url).pathname)\n  .root('/www/example.com/public')\n  .on('error', error)\n  .on('directory', redirect)\n  .pipe(res);\n}).listen(3000);\n```\n\n## API\n\n### Events\n\n  - `error` an error occurred `(err)`\n  - `directory` a directory was requested\n  - `file` a file was requested `(path, stat)`\n  - `stream` file streaming has started `(stream)`\n  - `end` streaming has completed\n\n### .root(dir)\n\n  Serve files relative to `path`. Aliased as `.from(dir)`.\n\n### .index(path)\n\n  By default send supports \"index.html\" files, to disable this\n  invoke `.index(false)` or to supply a new index pass a string.\n\n### .maxage(ms)\n\n  Provide a max-age in milliseconds for http caching, defaults to 0.\n\n### .hidden(bool)\n\n  Enable or disable transfer of hidden files, default
 s to false.\n\n## Error-handling\n\n  By default when no `error` listeners are present an automatic response will be made, otherwise you have full control over the response, aka you may show a 5xx page etc.\n\n## Caching\n\n  It does _not_ perform internal caching, you should use a reverse proxy cache such\n  as Varnish for this, or those fancy things called CDNs. If your application is small enough that it would benefit from single-node memory caching, it's small enough that it does not need caching at all ;).\n\n## Debugging\n\n To enable `debug()` instrumentation output export __DEBUG__:\n\n```\n$ DEBUG=send node app\n```\n\n## Running tests\n\n```\n$ npm install\n$ make test\n```\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, includi
 ng\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
-  "readmeFilename": "Readme.md",
-  "bugs": {
-    "url": "https://github.com/visionmedia/send/issues"
-  },
-  "homepage": "https://github.com/visionmedia/send",
-  "_id": "send@0.1.4",
-  "_from": "send@0.1.4"
-}

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/express/package.json
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/express/package.json b/web/demos/package/node_modules/express/package.json
deleted file mode 100644
index 5633aab..0000000
--- a/web/demos/package/node_modules/express/package.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
-  "name": "express",
-  "description": "Sinatra inspired web development framework",
-  "version": "3.3.5",
-  "author": {
-    "name": "TJ Holowaychuk",
-    "email": "tj@vision-media.ca"
-  },
-  "contributors": [
-    {
-      "name": "TJ Holowaychuk",
-      "email": "tj@vision-media.ca"
-    },
-    {
-      "name": "Aaron Heckmann",
-      "email": "aaron.heckmann+github@gmail.com"
-    },
-    {
-      "name": "Ciaran Jessup",
-      "email": "ciaranj@gmail.com"
-    },
-    {
-      "name": "Guillermo Rauch",
-      "email": "rauchg@gmail.com"
-    }
-  ],
-  "dependencies": {
-    "connect": "2.8.5",
-    "commander": "1.2.0",
-    "range-parser": "0.0.4",
-    "mkdirp": "0.3.5",
-    "cookie": "0.1.0",
-    "buffer-crc32": "0.2.1",
-    "fresh": "0.2.0",
-    "methods": "0.0.1",
-    "send": "0.1.4",
-    "cookie-signature": "1.0.1",
-    "debug": "*"
-  },
-  "devDependencies": {
-    "ejs": "*",
-    "mocha": "*",
-    "jade": "0.30.0",
-    "hjs": "*",
-    "stylus": "*",
-    "should": "*",
-    "connect-redis": "*",
-    "marked": "*",
-    "supertest": "0.6.0"
-  },
-  "keywords": [
-    "express",
-    "framework",
-    "sinatra",
-    "web",
-    "rest",
-    "restful",
-    "router",
-    "app",
-    "api"
-  ],
-  "repository": {
-    "type": "git",
-    "url": "git://github.com/visionmedia/express"
-  },
-  "main": "index",
-  "bin": {
-    "express": "./bin/express"
-  },
-  "scripts": {
-    "prepublish": "npm prune",
-    "test": "make test"
-  },
-  "engines": {
-    "node": "*"
-  },
-  "readme": "![express logo](http://f.cl.ly/items/0V2S1n0K1i3y1c122g04/Screen%20Shot%202012-04-11%20at%209.59.42%20AM.png)\n\n  Fast, unopinionated, minimalist web framework for [node](http://nodejs.org). [![Build Status](https://secure.travis-ci.org/visionmedia/express.png)](http://travis-ci.org/visionmedia/express) [![Dependency Status](https://gemnasium.com/visionmedia/express.png)](https://gemnasium.com/visionmedia/express)\n\n```js\nvar express = require('express');\nvar app = express();\n\napp.get('/', function(req, res){\n  res.send('Hello World');\n});\n\napp.listen(3000);\n```\n\n## Installation\n\n    $ npm install -g express\n\n## Quick Start\n\n The quickest way to get started with express is to utilize the executable `express(1)` to generate an application as shown below:\n\n Create the app:\n\n    $ npm install -g express\n    $ express /tmp/foo && cd /tmp/foo\n\n Install dependencies:\n\n    $ npm install\n\n Start the server:\n\n    $ node app\n\n## Features\n\n  * B
 uilt on [Connect](http://github.com/senchalabs/connect)\n  * Robust routing\n  * HTTP helpers (redirection, caching, etc)\n  * View system supporting 14+ template engines\n  * Content negotiation\n  * Focus on high performance\n  * Environment based configuration\n  * Executable for generating applications quickly\n  * High test coverage\n\n## Philosophy\n\n  The Express philosophy is to provide small, robust tooling for HTTP servers. Making\n  it a great solution for single page applications, web sites, hybrids, or public\n  HTTP APIs.\n\n  Built on Connect you can use _only_ what you need, and nothing more, applications\n  can be as big or as small as you like, even a single file. Express does\n  not force you to use any specific ORM or template engine. With support for over\n  14 template engines via [Consolidate.js](http://github.com/visionmedia/consolidate.js)\n  you can quickly craft your perfect framework.\n\n## More Information\n\n  * Join #express on freenode\n  * [Google G
 roup](http://groups.google.com/group/express-js) for discussion\n  * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) on twitter for updates\n  * Visit the [Wiki](http://github.com/visionmedia/express/wiki)\n  * [Русскоязычная документация](http://jsman.ru/express/)\n  * Run express examples [online](https://runnable.com/express)\n\n## Viewing Examples\n\nClone the Express repo, then install the dev dependencies to install all the example / test suite deps:\n\n    $ git clone git://github.com/visionmedia/express.git --depth 1\n    $ cd express\n    $ npm install\n\nthen run whichever tests you want:\n\n    $ node examples/content-negotiation\n\n## Running Tests\n\nTo run the test suite first invoke the following command within the repo, installing the development dependencies:\n\n    $ npm install\n\nthen run the tests:\n\n    $ make test\n\n## Contributors\n\n```\nproject: express\ncommits: 3559\nactive : 468 days\nfiles  : 237\nauthors:\n 1891\tTj 
 Holowaychuk          53.1%\n 1285\tvisionmedia             36.1%\n  182\tTJ Holowaychuk          5.1%\n   54\tAaron Heckmann          1.5%\n   34\tcsausdev                1.0%\n   26\tciaranj                 0.7%\n   21\tRobert Sköld            0.6%\n    6\tGuillermo Rauch         0.2%\n    3\tDav Glass               0.1%\n    3\tNick Poulden            0.1%\n    2\tRandy Merrill           0.1%\n    2\tBenny Wong              0.1%\n    2\tHunter Loftis           0.1%\n    2\tJake Gordon             0.1%\n    2\tBrian McKinney          0.1%\n    2\tRoman Shtylman          0.1%\n    2\tBen Weaver              0.1%\n    2\tDave Hoover             0.1%\n    2\tEivind Fjeldstad        0.1%\n    2\tDaniel Shaw             0.1%\n    1\tMatt Colyer             0.0%\n    1\tPau Ramon               0.0%\n    1\tPero Pejovic            0.0%\n    1\tPeter Rekdal Sunde      0.0%\n    1\tRaynos                  0.0%\n    1\tTeng Siong Ong          0.0%\n    1\tViktor Kelemen          0.0%\n    1
 \tctide                   0.0%\n    1\t8bitDesigner            0.0%\n    1\tisaacs                  0.0%\n    1\tmgutz                   0.0%\n    1\tpikeas                  0.0%\n    1\tshuwatto                0.0%\n    1\ttstrimple               0.0%\n    1\tewoudj                  0.0%\n    1\tAdam Sanderson          0.0%\n    1\tAndrii Kostenko         0.0%\n    1\tAndy Hiew               0.0%\n    1\tArpad Borsos            0.0%\n    1\tAshwin Purohit          0.0%\n    1\tBenjen                  0.0%\n    1\tDarren Torpey           0.0%\n    1\tGreg Ritter             0.0%\n    1\tGregory Ritter          0.0%\n    1\tJames Herdman           0.0%\n    1\tJim Snodgrass           0.0%\n    1\tJoe McCann              0.0%\n    1\tJonathan Dumaine        0.0%\n    1\tJonathan Palardy        0.0%\n    1\tJonathan Zacsh          0.0%\n    1\tJustin Lilly            0.0%\n    1\tKen Sato                0.0%\n    1\tMaciej Małecki          0.0%\n    1\tMasahiro Hayashi        0.0%\n``
 `\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2009-2012 TJ Holowaychuk <tj@vision-media.ca>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETH
 ER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
-  "readmeFilename": "Readme.md",
-  "bugs": {
-    "url": "https://github.com/visionmedia/express/issues"
-  },
-  "homepage": "https://github.com/visionmedia/express",
-  "_id": "express@3.3.5",
-  "_from": "express@3.3.5"
-}

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/express/test.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/express/test.js b/web/demos/package/node_modules/express/test.js
deleted file mode 100644
index ce857a6..0000000
--- a/web/demos/package/node_modules/express/test.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var express = require('express');
-var http = require('http');
-
-var app = express();
-
-var n = 50;
-
-while (n--) {
-  app.use(function(req, res, next){
-    next();
-  });
-}
-
-http.createServer(app).listen(3000);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/.npmignore
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/.npmignore b/web/demos/package/node_modules/http-proxy/.npmignore
deleted file mode 100644
index 468b525..0000000
--- a/web/demos/package/node_modules/http-proxy/.npmignore
+++ /dev/null
@@ -1,3 +0,0 @@
-config.json
-node_modules/
-npm-debug.log

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/.travis.yml
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/.travis.yml b/web/demos/package/node_modules/http-proxy/.travis.yml
deleted file mode 100644
index efd4708..0000000
--- a/web/demos/package/node_modules/http-proxy/.travis.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-language: node_js
-node_js:
-  - 0.8
-  - "0.10"
-  - "0.11"
-
-notifications:
-  email:
-    - travis@nodejitsu.com
-  irc: "irc.freenode.org#nodejitsu"

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/CHANGELOG.md b/web/demos/package/node_modules/http-proxy/CHANGELOG.md
deleted file mode 100644
index 2205ee8..0000000
--- a/web/demos/package/node_modules/http-proxy/CHANGELOG.md
+++ /dev/null
@@ -1,97 +0,0 @@
-## ChangeLog for: node-http-proxy
-
-## Version 0.10.0 - 3/18/2013
-
-- Breaking change: `proxyResponse` events are emitted on the `HttpProxy` or `RoutingProxy` instances as originally was intended in `0.9.x`.
-
-## Version 0.9.1 - 3/9/2013
-
-- Ensure that `webSocketProxyError` and `proxyError` both receive the error (indexzero).
-
-## Version 0.9.0 - 3/9/2013
-- Fix #276 Ensure response.headers.location is defined (indexzero)
-- Fix #248 Make options immutable in RoutingProxy (indexzero)
-- Fix #359 Do not modify the protocol in redirect request for external sites. (indexzero)
-- Fix #373 Do not use "Transfer-Encoding: chunked" header for proxied DELETE requests with no "Content-Length" header. (indexzero)
-- Fix #338 Set "content-length" header to "0" if it is not already set on DELETE requests. (indexzero)
-- Updates to README.md and Examples (ramitos, jamie-stackhouse, oost, indexzero)
-- Fixes to ProxyTable and Routing Proxy (adjohnson916, otavoijr)
-- New API for ProxyTable (mikkel, tglines)
-- Add `options.timeout` for specifying socket timeouts (pdoran)
-- Improve bin/node-http-proxy (niallo)
-- Don't emit `proxyError` twice (erasmospunk)
-- Fix memory leaks in WebSocket proxying 
-- Support UNIX Sockets (yosefd)
-- Fix truncated chunked respones (jpetazzo)
-- Allow upstream listeners to get `proxyResponse` (colinmollenhour)
-
-## Version 0.8.1 - 6/5/2012
-- Fix re-emitting of events in RoutingProxy                (coderarity)
-- New load balancer and middleware examples                (marak)
-- Docs updated including changelog                         (lot of gently people)
-
-## Version 0.8.0 - 12/23/2011
-- Improve support and tests for url segment routing        (maxogden)
-- Fix aborting connections when request close              (c4milo)
-- Avoid 'Transfer-Encoding' on HTTP/1.0 clients            (koichik).
-- Support for Node.js 0.6.x                                (mmalecki)
-
-## Version 0.7.3 - 10/4/2011
-- Fix setting x-forwarded headers                          (jesusabdullah)
-- Updated examples                                         (AvianFlu)
-
-## Version 0.7.0 - 9/10/2011
-- Handles to every throw-able resume() call                (isaacs)
-- Updated tests, README and package.json                   (indexzero)
-- Added HttpProxy.close() method                           (indexzero)
-
-## Version 0.6.6 - 8/31/2011
-- Add more examples                                        (dominictarr)
-- Use of 'pkginfo'                                         (indexzero)
-- Handle cases where res.write throws                      (isaacs)
-- Handles to every throw-able res.end call                 (isaacs)
-
-## Version 0.5.11 - 6/21/2011
-- Add more examples with WebSockets                        (indexzero)
-- Update the documentation                                 (indexzero)
-
-## Version 0.5.7 - 5/19/2011
-- Fix to README related to markup and fix some examples    (benatkin)
-- Improve WebSockets handling                              (indexzero)
-- Improve WebSockets tests                                 (indexzero)
-- Improve https tests                                      (olauzon)
-- Add devDependencies to package.json                      (olauzon)
-- Add 'proxyError' event                                   (indexzero)
-- Add 'x-forwarded-{port|proto}' headers support           (indexzero)
-- Keep-Alive connection supported                          (indexzero)
-
-## Version 0.5.0 - 4/15/2011
-- Remove winston in favor of custom events                 (indexzero)
-- Add x-forwarded-for Header                               (indexzero)
-- Fix WebSocket support                                    (indexzero)
-- Add tests / examples for WebSocket support               (indexzero)
-- Update .proxyRequest() and .proxyWebSocketRequest() APIs (indexzero)
-- Add HTTPS support                                        (indexzero)
-- Add tests / examples for HTTPS support                   (indexzero)
-
-## Version 0.4.1 - 3/20/2011
-- Include missing dependency in package.json                                  (indexzero)
-
-## Version 0.4.0 - 3/20/2011
-- Update for node.js 0.4.0                                                    (indexzero)
-- Remove pool dependency in favor of http.Agent                               (indexzero)
-- Store buffered data using `.buffer()` instead of on the HttpProxy instance  (indexzero)
-- Change the ProxyTable to be a lookup table instead of actively proxying     (indexzero)
-- Allow for pure host-only matching in ProxyTable                             (indexzero)
-- Use winston for logging                                                     (indexzero)
-- Improve tests with async setup and more coverage                            (indexzero)
-- Improve code documentation                                                  (indexzero)
-
-### Version 0.3.1 - 11/22/2010
-- Added node-http-proxy binary script                      (indexzero)
-- Added experimental WebSocket support                     (indutny)
-- Added forward proxy functionality                        (indexzero)
-- Added proxy table for multiple target lookup             (indexzero)
-- Simplified tests using helpers.js                        (indexzero)
-- Fixed uncaughtException bug with invalid proxy target    (indutny)
-- Added configurable logging for HttpProxy and ProxyTable  (indexzero) 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/LICENSE
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/LICENSE b/web/demos/package/node_modules/http-proxy/LICENSE
deleted file mode 100644
index db9b0b1..0000000
--- a/web/demos/package/node_modules/http-proxy/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-
-  node-http-proxy
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires
-
-  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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/README.md
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/README.md b/web/demos/package/node_modules/http-proxy/README.md
deleted file mode 100644
index 594d02a..0000000
--- a/web/demos/package/node_modules/http-proxy/README.md
+++ /dev/null
@@ -1,646 +0,0 @@
-# node-http-proxy [![Build Status](https://secure.travis-ci.org/nodejitsu/node-http-proxy.png)](http://travis-ci.org/nodejitsu/node-http-proxy)
-
-<img src="http://i.imgur.com/8fTt9.png" />
-
-## Battle-hardened node.js http proxy
-
-### Features
-
-* Reverse proxies incoming http.ServerRequest streams
-* Can be used as a CommonJS module in node.js
-* Reverse or Forward Proxy based on simple JSON-based configuration
-* Supports [WebSockets][1]
-* Supports [HTTPS][2]
-* Minimal request overhead and latency
-* Full suite of functional tests
-* Battled-hardened through __production usage__ @ [nodejitsu.com][0]
-* Written entirely in Javascript
-* Easy to use API
-
-
-node-http-proxy is `<= 0.8.x` compatible, if you're looking for a `>= 0.10` compatible version please check [caronte](https://github.com/nodejitsu/node-http-proxy/tree/caronte)
-
-### When to use node-http-proxy
-
-Let's suppose you were running multiple http application servers, but you only wanted to expose one machine to the internet. You could setup node-http-proxy on that one machine and then reverse-proxy the incoming http requests to locally running services which were not exposed to the outside network. 
-
-### Installing npm (node package manager)
-
-```
-curl https://npmjs.org/install.sh | sh
-```
-
-### Installing node-http-proxy
-
-```
-npm install http-proxy
-```
-
-## Using node-http-proxy
-
-There are several ways to use node-http-proxy; the library is designed to be flexible so that it can be used by itself, or in conjunction with other node.js libraries / tools:
-
-1. Standalone HTTP Proxy server
-2. Inside of another HTTP server (like Connect)
-3. In conjunction with a Proxy Routing Table
-4. As a forward-proxy with a reverse proxy 
-5. From the command-line as a long running process
-6. customized with 3rd party middleware.
-
-In each of these scenarios node-http-proxy can handle any of these types of requests:
-
-1. HTTP Requests (http://)
-2. HTTPS Requests (https://)
-3. WebSocket Requests (ws://)
-4. Secure WebSocket Requests (wss://)
-
-See the [examples][3] for more working sample code.
-
-### Setup a basic stand-alone proxy server
-
-``` js
-var http = require('http'),
-    httpProxy = require('http-proxy');
-//
-// Create your proxy server
-//
-httpProxy.createServer(9000, 'localhost').listen(8000);
-
-//
-// Create your target server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied!' + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-```
-
-### Setup a stand-alone proxy server with custom server logic
-
-``` js
-var http = require('http'),
-    httpProxy = require('http-proxy');
-    
-//
-// Create a proxy server with custom application logic
-//
-httpProxy.createServer(function (req, res, proxy) {
-  //
-  // Put your custom server logic here
-  //
-  proxy.proxyRequest(req, res, {
-    host: 'localhost',
-    port: 9000
-  });
-}).listen(8000);
-
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied: ' + req.url +'\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-```
-
-### Setup a stand-alone proxy server with latency (e.g. IO, etc)
-
-``` js
-var http = require('http'),
-    httpProxy = require('http-proxy');
-
-//
-// Create a proxy server with custom application logic
-//
-httpProxy.createServer(function (req, res, proxy) {
-  //
-  // Buffer the request so that `data` and `end` events
-  // are not lost during async operation(s).
-  //
-  var buffer = httpProxy.buffer(req);
-  
-  //
-  // Wait for two seconds then respond: this simulates
-  // performing async actions before proxying a request
-  //
-  setTimeout(function () {
-    proxy.proxyRequest(req, res, {
-      host: 'localhost',
-      port: 9000, 
-      buffer: buffer
-    });      
-  }, 2000);
-}).listen(8000);
-
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied: ' + req.url +'\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-```
-
-### Proxy requests within another http server
-
-``` js
-var http = require('http'),
-    httpProxy = require('http-proxy');
-    
-//
-// Create a new instance of HttProxy to use in your server
-//
-var proxy = new httpProxy.RoutingProxy();
-
-//
-// Create a regular http server and proxy its handler
-//
-http.createServer(function (req, res) {
-  //
-  // Put your custom server logic here, then proxy
-  //
-  proxy.proxyRequest(req, res, {
-    host: 'localhost',
-    port: 9000
-  });
-}).listen(8001);
-
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied: ' + req.url +'\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000); 
-```
-
-### Proxy requests using a ProxyTable
-A Proxy Table is a simple lookup table that maps incoming requests to proxy target locations. Take a look at an example of the options you need to pass to httpProxy.createServer:
-
-``` js
-var options = {
-  router: {
-    'foo.com/baz': '127.0.0.1:8001',
-    'foo.com/buz': '127.0.0.1:8002',
-    'bar.com/buz': '127.0.0.1:8003'
-  }
-};
-```
-
-The above route table will take incoming requests to 'foo.com/baz' and forward them to '127.0.0.1:8001'. Likewise it will take incoming requests to 'foo.com/buz' and forward them to '127.0.0.1:8002'. The routes themselves are later converted to regular expressions to enable more complex matching functionality. We can create a proxy server with these options by using the following code:
-
-``` js
-var proxyServer = httpProxy.createServer(options);
-proxyServer.listen(80);
-```
-
-### Proxy requests using a 'Hostname Only' ProxyTable
-As mentioned in the previous section, all routes passes to the ProxyTable are by default converted to regular expressions that are evaluated at proxy-time. This is good for complex URL rewriting of proxy requests, but less efficient when one simply wants to do pure hostname routing based on the HTTP 'Host' header. If you are only concerned with hostname routing, you change the lookup used by the internal ProxyTable:
-
-``` js
-var options = {
-  hostnameOnly: true,
-  router: {
-    'foo.com': '127.0.0.1:8001',
-    'bar.com': '127.0.0.1:8002'
-  }
-}
-```
-
-Notice here that I have not included paths on the individual domains because this is not possible when using only the HTTP 'Host' header. Care to learn more? See [RFC2616: HTTP/1.1, Section 14.23, "Host"][4].
-
-### Proxy requests using a 'Pathname Only' ProxyTable
-
-If you dont care about forwarding to different hosts, you can redirect based on the request path.
-
-``` js
-var options = {
-  pathnameOnly: true,
-  router: {
-    '/wiki': '127.0.0.1:8001',
-    '/blog': '127.0.0.1:8002',
-    '/api':  '127.0.0.1:8003'
-  }
-}
-```
-
-This comes in handy if you are running separate services or applications on separate paths.  Note, using this option disables routing by hostname entirely.
-
-
-### Proxy requests with an additional forward proxy
-Sometimes in addition to a reverse proxy, you may want your front-facing server to forward traffic to another location. For example, if you wanted to load test your staging environment. This is possible when using node-http-proxy using similar JSON-based configuration to a proxy table: 
-
-``` js
-var proxyServerWithForwarding = httpProxy.createServer(9000, 'localhost', {
-  forward: {
-    port: 9000,
-    host: 'staging.com'
-  }
-});
-proxyServerWithForwarding.listen(80);
-```
-
-The forwarding option can be used in conjunction with the proxy table options by simply including both the 'forward' and 'router' properties in the options passed to 'createServer'.
-
-### Listening for proxy events
-Sometimes you want to listen to an event on a proxy. For example, you may want to listen to the 'end' event, which represents when the proxy has finished proxying a request.
-
-``` js
-var httpProxy = require('http-proxy');
-
-var server = httpProxy.createServer(function (req, res, proxy) {
-  var buffer = httpProxy.buffer(req);
-
-  proxy.proxyRequest(req, res, {
-    host: '127.0.0.1',
-    port: 9000,
-    buffer: buffer
-  });
-});
-
-server.proxy.on('end', function () {
-  console.log("The request was proxied.");
-});
-
-server.listen(8000);
-```
-
-It's important to remember not to listen for events on the proxy object in the function passed to `httpProxy.createServer`. Doing so would add a new listener on every request, which would end up being a disaster.
-
-## Using HTTPS
-You have all the full flexibility of node-http-proxy offers in HTTPS as well as HTTP. The two basic scenarios are: with a stand-alone proxy server or in conjunction with another HTTPS server.
-
-### Proxying to HTTP from HTTPS
-This is probably the most common use-case for proxying in conjunction with HTTPS. You have some front-facing HTTPS server, but all of your internal traffic is HTTP. In this way, you can reduce the number of servers to which your CA and other important security files are deployed and reduce the computational overhead from HTTPS traffic. 
-
-Using HTTPS in `node-http-proxy` is relatively straight-forward:
- 
-``` js
-var fs = require('fs'),
-    http = require('http'),
-    https = require('https'),
-    httpProxy = require('http-proxy');
-    
-var options = {
-  https: {
-    key: fs.readFileSync('path/to/your/key.pem', 'utf8'),
-    cert: fs.readFileSync('path/to/your/cert.pem', 'utf8')
-  }
-};
-
-//
-// Create a standalone HTTPS proxy server
-//
-httpProxy.createServer(8000, 'localhost', options).listen(8001);
-
-//
-// Create an instance of HttpProxy to use with another HTTPS server
-//
-var proxy = new httpProxy.HttpProxy({
-  target: {
-    host: 'localhost', 
-    port: 8000
-  }
-});
-https.createServer(options.https, function (req, res) {
-  proxy.proxyRequest(req, res)
-}).listen(8002);
-
-//
-// Create the target HTTPS server for both cases
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('hello https\n');
-  res.end();
-}).listen(8000);
-```
-
-### Using two certificates
-
-Suppose that your reverse proxy will handle HTTPS traffic for two different domains `fobar.com` and `barbaz.com`.
-If you need to use two different certificates you can take advantage of [Server Name Indication](http://en.wikipedia.org/wiki/Server_Name_Indication).
-
-``` js
-var https = require('https'),
-    path = require("path"),
-    fs = require("fs"),
-    crypto = require("crypto");
-
-//
-// generic function to load the credentials context from disk
-//
-function getCredentialsContext (cer) {
-  return crypto.createCredentials({
-    key:  fs.readFileSync(path.join(__dirname, 'certs', cer + '.key')),
-    cert: fs.readFileSync(path.join(__dirname, 'certs', cer + '.crt'))
-  }).context;
-}
-
-//
-// A certificate per domain hash
-//
-var certs = {
-  "fobar.com":  getCredentialsContext("foobar"),
-  "barbaz.com": getCredentialsContext("barbaz")
-};
-
-//
-// Proxy options
-//
-// This section assumes that myCert, myKey and myCa are defined (they are not
-// in this example). With a SNICallback, the proxy needs a default set of
-// certificates to use.
-//
-var options = {
-  https: {
-    SNICallback: function (hostname) {
-      return certs[hostname];
-    },
-    cert: myCert,
-    key: myKey,
-    ca: [myCa]
-  },
-  hostnameOnly: true,
-  router: {
-    'fobar.com':  '127.0.0.1:8001',
-    'barbaz.com': '127.0.0.1:8002'
-  }
-};
-
-//
-// Create a standalone HTTPS proxy server
-//
-httpProxy.createServer(options).listen(8001);
-
-//
-// Create the target HTTPS server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('hello https\n');
-  res.end();
-}).listen(8000);
-
-```
-
-### Proxying to HTTPS from HTTPS
-Proxying from HTTPS to HTTPS is essentially the same as proxying from HTTPS to HTTP, but you must include the `target` option in when calling `httpProxy.createServer` or instantiating a new instance of `HttpProxy`.
-
-``` js
-var fs = require('fs'),
-    https = require('https'),
-    httpProxy = require('http-proxy');
-    
-var options = {
-  https: {
-    key: fs.readFileSync('path/to/your/key.pem', 'utf8'),
-    cert: fs.readFileSync('path/to/your/cert.pem', 'utf8')
-  },
-  target: {
-    https: true // This could also be an Object with key and cert properties
-  }
-};
-
-//
-// Create a standalone HTTPS proxy server
-//
-httpProxy.createServer(8000, 'localhost', options).listen(8001);
-
-//
-// Create an instance of HttpProxy to use with another HTTPS server
-//
-var proxy = new httpProxy.HttpProxy({ 
-  target: {
-    host: 'localhost', 
-    port: 8000,
-    https: true
-  }
-});
-
-https.createServer(options.https, function (req, res) {
-  proxy.proxyRequest(req, res);
-}).listen(8002);
-
-//
-// Create the target HTTPS server for both cases
-//
-https.createServer(options.https, function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('hello https\n');
-  res.end();
-}).listen(8000);
-```
-## Middleware
-
-`node-http-proxy` now supports connect middleware. Add middleware functions to your createServer call:
-
-``` js
-httpProxy.createServer(
-  require('connect-gzip').gzip(),
-  9000, 'localhost'
-).listen(8000);
-```
-
-A regular request we receive is to support the modification of html/xml content that is returned in the response from an upstream server. 
-
-[Harmon](https://github.com/No9/harmon/) is a stream based middleware plugin that is designed to solve that problem in the most effective way possible. 
-
-If you would like to handle errors passed to `next()` then attach a listener to the proxy:
-
-    server = httpProxy.createServer(
-      myMiddleWare,
-      9000, 'localhost'
-    ).listen(8000);
-
-    server.proxy.on('middlewareError', function (err, req, res) {
-      // handle the error here and call res.end()
-    });
-
-## Proxying WebSockets
-Websockets are handled automatically when using `httpProxy.createServer()`, however, if you supply a callback inside the createServer call, you will need to handle the 'upgrade' proxy event yourself. Here's how:
-
-```js
-
-var options = {
-    ....
-};
-
-var server = httpProxy.createServer(
-    callback/middleware, 
-    options
-);
-
-server.listen(port, function () { ... });
-server.on('upgrade', function (req, socket, head) {
-    server.proxy.proxyWebSocketRequest(req, socket, head);
-});
-```
-
-If you would rather not use createServer call, and create the server that proxies yourself, see below:
-
-``` js
-var http = require('http'),
-    httpProxy = require('http-proxy');
-    
-//
-// Create an instance of node-http-proxy
-//
-var proxy = new httpProxy.HttpProxy({
-  target: {
-    host: 'localhost',
-    port: 8000
-  }
-});
-
-var server = http.createServer(function (req, res) {
-  //
-  // Proxy normal HTTP requests
-  //
-  proxy.proxyRequest(req, res);
-});
-
-server.on('upgrade', function (req, socket, head) {
-  //
-  // Proxy websocket requests too
-  //
-  proxy.proxyWebSocketRequest(req, socket, head);
-});
-
-server.listen(8080);
-```
-
-### with custom server logic
-
-``` js
-var httpProxy = require('http-proxy')
-
-var server = httpProxy.createServer(function (req, res, proxy) {
-  //
-  // Put your custom server logic here
-  //
-  proxy.proxyRequest(req, res, {
-    host: 'localhost',
-    port: 9000
-  });
-})
-
-server.on('upgrade', function (req, socket, head) {
-  //
-  // Put your custom server logic here
-  //
-  server.proxy.proxyWebSocketRequest(req, socket, head, {
-    host: 'localhost',
-    port: 9000
-  });
-});
-
-server.listen(8080);
-```
-
-### Configuring your Socket limits
-
-By default, `node-http-proxy` will set a 100 socket limit for all `host:port` proxy targets. You can change this in two ways: 
-
-1. By passing the `maxSockets` option to `httpProxy.createServer()`
-2. By calling `httpProxy.setMaxSockets(n)`, where `n` is the number of sockets you with to use. 
-
-## POST requests and buffering
-
-express.bodyParser will interfere with proxying of POST requests (and other methods that have a request 
-body). With bodyParser active, proxied requests will never send anything to the upstream server, and 
-the original client will just hang. See https://github.com/nodejitsu/node-http-proxy/issues/180 for options.
-
-## Using node-http-proxy from the command line
-When you install this package with npm, a node-http-proxy binary will become available to you. Using this binary is easy with some simple options:
-
-``` js
-usage: node-http-proxy [options] 
-
-All options should be set with the syntax --option=value
-
-options:
-  --port   PORT       Port 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
-  -h, --help          You're staring at it
-```
-
-<br/>
-## Why doesn't node-http-proxy have more advanced features like x, y, or z?
-
-If you have a suggestion for a feature currently not supported, feel free to open a [support issue][6]. node-http-proxy is designed to just proxy http requests from one server to another, but we will be soon releasing many other complimentary projects that can be used in conjunction with node-http-proxy.
-
-## Options
-
-### Http Proxy
-
-`createServer()` supports the following options
-
-```javascript
-{
-  forward: { // options for forward-proxy
-    port: 8000,
-    host: 'staging.com'
-  },
-  target : { // options for proxy target
-    port : 8000, 
-    host : 'localhost',
-  };
-  source : { // additional options for websocket proxying 
-    host : 'localhost',
-    port : 8000,
-    https: true
-  },
-  enable : {
-    xforward: true // enables X-Forwarded-For
-  },
-  changeOrigin: false, // changes the origin of the host header to the target URL
-  timeout: 120000 // override the default 2 minute http socket timeout value in milliseconds
-}
-```
-
-## Run Tests
-The test suite is designed to fully cover the combinatoric possibilities of HTTP and HTTPS proxying:
-
-1. HTTP --> HTTP
-2. HTTPS --> HTTP
-3. HTTPS --> HTTPS
-4. HTTP --> HTTPS
-
-```
-vows test/*-test.js --spec
-vows test/*-test.js --spec --https
-vows test/*-test.js --spec --https --target=https
-vows test/*-test.js --spec --target=https
-```
-
-<br/>
-### License
-
-(The MIT License)
-
-Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires
-
-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.
-
-[0]: http://nodejitsu.com
-[1]: https://github.com/nodejitsu/node-http-proxy/blob/master/examples/websocket/websocket-proxy.js
-[2]: https://github.com/nodejitsu/node-http-proxy/blob/master/examples/http/proxy-https-to-http.js
-[3]: https://github.com/nodejitsu/node-http-proxy/tree/master/examples
-[4]: http://www.ietf.org/rfc/rfc2616.txt
-[5]: http://socket.io
-[6]: http://github.com/nodejitsu/node-http-proxy/issues

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/benchmark/websockets-throughput.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/benchmark/websockets-throughput.js b/web/demos/package/node_modules/http-proxy/benchmark/websockets-throughput.js
deleted file mode 100644
index 6787385..0000000
--- a/web/demos/package/node_modules/http-proxy/benchmark/websockets-throughput.js
+++ /dev/null
@@ -1,88 +0,0 @@
-var crypto = require('crypto'),
-    WebSocket = require('ws'),
-    async = require('async'),
-    httpProxy = require('../');
-
-var SERVER_PORT = 8415,
-    PROXY_PORT = 8514;
-
-var testSets = [
-  {
-    size: 1024 * 1024, // 1 MB
-    count: 128         // 128 MB
-  },
-  {
-    size: 1024,        // 1 KB,
-    count: 1024        // 1 MB
-  },
-  {
-    size: 128,         // 128 B
-    count: 1024 * 8    // 1 MB
-  }
-];
-
-testSets.forEach(function (set) {
-  set.buffer = new Buffer(crypto.randomBytes(set.size));
-
-  set.buffers = [];
-  for (var i = 0; i < set.count; i++) {
-    set.buffers.push(set.buffer);
-  }
-});
-
-function runSet(set, callback) {
-  function runAgainst(port, callback) {
-    function send(sock) {
-      sock.send(set.buffers[got++]);
-      if (got === set.count) {
-        t = new Date() - t;
-
-        server.close();
-        proxy.close();
-
-        callback(null, t);
-      }
-    }
-
-    var server = new WebSocket.Server({ port: SERVER_PORT }),
-        proxy = httpProxy.createServer(SERVER_PORT, 'localhost').listen(PROXY_PORT),
-        client = new WebSocket('ws://localhost:' + port),
-        got = 0,
-        t = new Date();
-
-    server.on('connection', function (ws) {
-      send(ws);
-
-      ws.on('message', function (msg) {
-        send(ws);
-      });
-    });
-
-    client.on('message', function () {
-      send(client);
-    });
-  }
-
-  async.series({
-    server: async.apply(runAgainst, SERVER_PORT),
-    proxy: async.apply(runAgainst, PROXY_PORT)
-  }, function (err, results) {
-    if (err) {
-      throw err;
-    }
-
-    var mb = (set.size * set.count) / (1024 * 1024);
-    console.log(set.size / (1024) + ' KB * ' + set.count + ' (' + mb + ' MB)');
-
-    Object.keys(results).forEach(function (key) {
-      var t = results[key],
-          throughput = mb / (t / 1000);
-
-      console.log('  ' + key + ' took ' + t + ' ms (' + throughput + ' MB/s)');
-    });
-
-    callback();
-  });
-}
-
-async.forEachLimit(testSets, 1, runSet);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/bin/node-http-proxy
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/bin/node-http-proxy b/web/demos/package/node_modules/http-proxy/bin/node-http-proxy
deleted file mode 100755
index 07d199c..0000000
--- a/web/demos/package/node_modules/http-proxy/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/http-proxy/config.sample.json
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/config.sample.json b/web/demos/package/node_modules/http-proxy/config.sample.json
deleted file mode 100644
index 8f15f88..0000000
--- a/web/demos/package/node_modules/http-proxy/config.sample.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "silent": false,
-  "router": {
-    "localhost": "localhost:9000"
-  },
-  "forward": {
-    "port": 9001,
-    "host": "localhost"
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer-with-websockets.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer-with-websockets.js b/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer-with-websockets.js
deleted file mode 100644
index 04564ce..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer-with-websockets.js
+++ /dev/null
@@ -1,58 +0,0 @@
-var http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// A simple round-robin load balancing strategy.
-// 
-// First, list the servers you want to use in your rotation.
-//
-var addresses = [
-  {
-    host: 'ws1.0.0.0',
-    port: 80
-  },
-  {
-    host: 'ws2.0.0.0',
-    port: 80
-  }
-];
-
-//
-// Create a HttpProxy object for each target
-//
-
-var proxies = addresses.map(function (target) {
-  return new httpProxy.HttpProxy({
-    target: target
-  });
-});
-
-//
-// Get the proxy at the front of the array, put it at the end and return it
-// If you want a fancier balancer, put your code here
-//
-
-function nextProxy() {
-  var proxy = proxies.shift();
-  proxies.push(proxy);
-  return proxy;
-}
-
-// 
-// Get the 'next' proxy and send the http request 
-//
-
-var server = http.createServer(function (req, res) {    
-  nextProxy().proxyRequest(req, res);
-});
-
-// 
-// Get the 'next' proxy and send the upgrade request 
-//
-
-server.on('upgrade', function (req, socket, head) {
-  nextProxy().proxyWebSocketRequest(req, socket, head);
-});
-
-server.listen(8080);  
-  
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer.js b/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer.js
deleted file mode 100644
index f1fa0c0..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/balancer/simple-balancer.js
+++ /dev/null
@@ -1,36 +0,0 @@
-var httpProxy = require('../../lib/node-http-proxy');
-//
-// A simple round-robin load balancing strategy.
-// 
-// First, list the servers you want to use in your rotation.
-//
-var addresses = [
-  {
-    host: 'ws1.0.0.0',
-    port: 80
-  },
-  {
-    host: 'ws2.0.0.0',
-    port: 80
-  }
-];
-
-httpProxy.createServer(function (req, res, proxy) {
-  //
-  // On each request, get the first location from the list...
-  //
-  var target = addresses.shift();
-
-  //
-  // ...then proxy to the server whose 'turn' it is...
-  //
-  console.log('balancing request to: ', target);
-  proxy.proxyRequest(req, res, target);
-
-  //
-  // ...and then the server you just used becomes the last item in the list.
-  //
-  addresses.push(target);
-}).listen(8000);
-
-// Rinse; repeat; enjoy.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/helpers/store.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/helpers/store.js b/web/demos/package/node_modules/http-proxy/examples/helpers/store.js
deleted file mode 100644
index e286057..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/helpers/store.js
+++ /dev/null
@@ -1,64 +0,0 @@
-
-//
-// just to make these example a little bit interesting, 
-// make a little key value store with an http interface
-// (see couchbd for a grown-up version of this)
-//
-// API:
-// GET / 
-// retrive list of keys
-//
-// GET /[url]
-// retrive object stored at [url]
-// will respond with 404 if there is nothing stored at [url]
-//
-// POST /[url]
-// 
-// JSON.parse the body and store it under [url]
-// will respond 400 (bad request) if body is not valid json.
-//
-// TODO: cached map-reduce views and auto-magic sharding.
-//
-var Store = module.exports = function Store () {
-  this.store = {};
-};
-
-Store.prototype = {
-  get: function (key) {
-    return this.store[key]
-  },
-  set: function (key, value) {
-    return this.store[key] = value
-  },
-  handler:function () {
-    var store = this
-    return function (req, res) {
-      function send (obj, status) {
-        res.writeHead(200 || status,{'Content-Type': 'application/json'})
-        res.write(JSON.stringify(obj) + '\n')
-        res.end()
-      }
-      var url = req.url.split('?').shift()
-      if (url === '/') {
-        console.log('get index')
-        return send(Object.keys(store.store))
-      } else if (req.method == 'GET') {
-        var obj = store.get (url)
-        send(obj || {error: 'not_found', url: url}, obj ? 200 : 404)
-      } else {
-        //post: buffer body, and parse.
-        var body = '', obj
-        req.on('data', function (c) { body += c})
-        req.on('end', function (c) {
-          try {
-            obj = JSON.parse(body)
-          } catch (err) {
-            return send (err, 400)
-          }
-          store.set(url, obj)
-          send({ok: true})
-        })
-      } 
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/basic-proxy.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/basic-proxy.js b/web/demos/package/node_modules/http-proxy/examples/http/basic-proxy.js
deleted file mode 100644
index b890e69..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/basic-proxy.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-  basic-proxy.js: Basic example of proxying over HTTP
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-var welcome = [
-  '#    # ##### ##### #####        #####  #####   ####  #    # #   #',
-  '#    #   #     #   #    #       #    # #    # #    #  #  #   # # ',  
-  '######   #     #   #    # ##### #    # #    # #    #   ##     #  ',   
-  '#    #   #     #   #####        #####  #####  #    #   ##     #  ',   
-  '#    #   #     #   #            #      #   #  #    #  #  #    #  ',   
-  '#    #   #     #   #            #      #    #  ####  #    #   #  '
-].join('\n');
-
-util.puts(welcome.rainbow.bold);
-
-//
-// Basic Http Proxy Server
-//
-httpProxy.createServer(9000, 'localhost').listen(8000);
-
-//
-// Target Http Server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-
-util.puts('http proxy server'.blue + ' started '.green.bold + 'on port '.blue + '8000'.yellow);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/concurrent-proxy.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/concurrent-proxy.js b/web/demos/package/node_modules/http-proxy/examples/http/concurrent-proxy.js
deleted file mode 100644
index 230dfc6..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/concurrent-proxy.js
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-  concurrent-proxy.js: check levelof concurrency through proxy.
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Basic Http Proxy Server
-//
-httpProxy.createServer(9000, 'localhost').listen(8000);
-
-//
-// Target Http Server
-//
-// to check apparent problems with concurrent connections
-// make a server which only responds when there is a given nubmer on connections
-//
-
-
-var connections = [], 
-    go;
-
-http.createServer(function (req, res) {
-  connections.push(function () {
-    res.writeHead(200, { 'Content-Type': 'text/plain' });
-    res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-    res.end();
-  });
-  
-  process.stdout.write(connections.length + ', ');
-  
-  if (connections.length > 110 || go) {
-    go = true;
-    while (connections.length) {
-      connections.shift()();
-    }
-  }
-}).listen(9000);
-
-util.puts('http proxy server'.blue + ' started '.green.bold + 'on port '.blue + '8000'.yellow);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/custom-proxy-error.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/custom-proxy-error.js b/web/demos/package/node_modules/http-proxy/examples/http/custom-proxy-error.js
deleted file mode 100644
index dc439ea..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/custom-proxy-error.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-  custom-proxy-error.js: Example of using the custom `proxyError` event.
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Http Proxy Server with Latency
-//
-var server = httpProxy.createServer(9000, 'localhost');
-
-//
-// Tell the server to listen on port 8002
-//
-server.listen(8002);
-
-//
-// Listen for the `proxyError` event on `server.proxy`. _It will not
-// be raised on the server itself._
-server.proxy.on('proxyError', function (err, req, res) {
-  res.writeHead(500, {
-    'Content-Type': 'text/plain'
-  });
-  
-  res.end('Something went wrong. And we are reporting a custom error message.');
-});
-
-
-util.puts('http proxy server '.blue + 'started '.green.bold + 'on port '.blue + '8002 '.yellow + 'with custom error message'.magenta.underline);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/forward-proxy.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/forward-proxy.js b/web/demos/package/node_modules/http-proxy/examples/http/forward-proxy.js
deleted file mode 100644
index ecc20fd..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/forward-proxy.js
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
-  forward-proxy.js: Example of proxying over HTTP with additional forward proxy
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Setup proxy server with forwarding
-//
-httpProxy.createServer(9000, 'localhost', {
-  forward: {
-    port: 9001,
-    host: 'localhost'
-  }
-}).listen(8003);
-
-//
-// Target Http Server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-
-//
-// Target Http Forwarding Server
-//
-http.createServer(function (req, res) {
-  util.puts('Receiving forward for: ' + req.url);
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully forwarded to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9001);
-
-util.puts('http proxy server '.blue + 'started '.green.bold + 'on port '.blue + '8003 '.yellow + 'with forward proxy'.magenta.underline);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);
-util.puts('http forward server '.blue + 'started '.green.bold + 'on port '.blue + '9001 '.yellow);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/latent-proxy.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/latent-proxy.js b/web/demos/package/node_modules/http-proxy/examples/http/latent-proxy.js
deleted file mode 100644
index 2063d0e..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/latent-proxy.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-  latent-proxy.js: Example of proxying over HTTP with latency
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Http Proxy Server with Latency
-//
-httpProxy.createServer(function (req, res, proxy) {
-  var buffer = httpProxy.buffer(req);
-  setTimeout(function () {
-    proxy.proxyRequest(req, res, {
-      port: 9000,
-      host: 'localhost',
-      buffer: buffer
-    });
-  }, 200);
-}).listen(8002);
-
-//
-// Target Http Server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-
-util.puts('http proxy server '.blue + 'started '.green.bold + 'on port '.blue + '8002 '.yellow + 'with latency'.magenta.underline);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-http.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-http.js b/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-http.js
deleted file mode 100644
index 378de03..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-http.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-  proxy-https-to-http.js: Basic example of proxying over HTTPS to a target HTTP server
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var https = require('https'),
-    http = require('http'),
-    util = require('util'),
-    colors = require('colors'),
-    httpProxy = require('../../lib/node-http-proxy'),
-    helpers = require('../../test/helpers');
-    
-//
-// Create the target HTTPS server 
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('hello http over https\n');
-	res.end();
-}).listen(8000);
-
-//
-// Create the proxy server listening on port 443
-//
-httpProxy.createServer(8000, 'localhost', {
-  https: helpers.https
-}).listen(8080);
-
-util.puts('https proxy server'.blue + ' started '.green.bold + 'on port '.blue + '8080'.yellow);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '8000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-https.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-https.js b/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-https.js
deleted file mode 100644
index af0d922..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/proxy-https-to-https.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
-  proxy-https-to-https.js: Basic example of proxying over HTTPS to a target HTTPS server
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var https = require('https'),
-    http = require('http'),
-    util = require('util'),
-    colors = require('colors'),
-    httpProxy = require('../../lib/node-http-proxy'),
-    helpers = require('../../test/helpers');
-    
-//
-// Create the target HTTPS server 
-//
-https.createServer(helpers.https, function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('hello https\n');
-	res.end();
-}).listen(8000);
-
-//
-// Create the proxy server listening on port 443
-//
-httpProxy.createServer(8000, 'localhost', {
-  https: helpers.https,
-  target: {
-    https: true,
-    rejectUnauthorized: false
-  }
-}).listen(8080);
-
-util.puts('https proxy server'.blue + ' started '.green.bold + 'on port '.blue + '8080'.yellow);
-util.puts('https server '.blue + 'started '.green.bold + 'on port '.blue + '8000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/proxy-table.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/proxy-table.js b/web/demos/package/node_modules/http-proxy/examples/http/proxy-table.js
deleted file mode 100644
index 55d97ae..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/proxy-table.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-  proxy-table.js: Example of proxying over HTTP with proxy table
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Http Proxy Server with Proxy Table
-//
-httpProxy.createServer({
-  router: {
-    'localhost': 'localhost:9000'
-  }
-}).listen(8001);
-
-//
-// Target Http Server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-
-util.puts('http proxy server '.blue + 'started '.green.bold + 'on port '.blue + '8001 '.yellow + 'with proxy table'.magenta.underline);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/http/standalone-proxy.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/http/standalone-proxy.js b/web/demos/package/node_modules/http-proxy/examples/http/standalone-proxy.js
deleted file mode 100644
index e1b1011..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/http/standalone-proxy.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-  standalone-proxy.js: Example of proxying over HTTP with a standalone HTTP server.
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, & Marak Squires.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Http Server with proxyRequest Handler and Latency
-//
-var proxy = new httpProxy.RoutingProxy();
-http.createServer(function (req, res) {
-  var buffer = httpProxy.buffer(req);
-  setTimeout(function () {
-    proxy.proxyRequest(req, res, {
-      port: 9000,
-      host: 'localhost',
-      buffer: buffer
-    });
-  }, 200);
-}).listen(8004);
-
-//
-// Target Http Server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '8004 '.yellow + 'with proxyRequest handler'.cyan.underline + ' and latency'.magenta);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/middleware/bodyDecoder-middleware.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/middleware/bodyDecoder-middleware.js b/web/demos/package/node_modules/http-proxy/examples/middleware/bodyDecoder-middleware.js
deleted file mode 100644
index d889548..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/middleware/bodyDecoder-middleware.js
+++ /dev/null
@@ -1,87 +0,0 @@
-
-var Store = require('../helpers/store')
-  , http = require('http')
-
-http.createServer(new Store().handler()).listen(7531, function () {
-//try these commands:
-// get index:
-// curl localhost:7531
-// []
-//
-// get a doc:
-// curl localhost:7531/foo
-// {"error":"not_found"}
-//
-// post an doc:
-// curl -X POST localhost:7531/foo -d '{"content": "hello", "type": "greeting"}'
-// {"ok":true}
-//
-// get index (now, not empty)
-// curl localhost:7531
-// ["/foo"]
-//
-// get doc 
-// curl localhost:7531/foo
-// {"content": "hello", "type": "greeting"}
-
-//
-// now, suppose we wanted to direct all objects where type == "greeting" to a different store 
-// than where type == "insult"
-//
-// we can use connect connect-bodyDecoder and some custom logic to send insults to another Store.
-
-//insult server:
-
-  http.createServer(new Store().handler()).listen(2600, function () {
-
-  //greetings -> 7531, insults-> 2600 
-
-  // now, start a proxy server.
-
-    var bodyParser = require('connect/lib/middleware/bodyParser')
-    //don't worry about incoming contont type
-    //bodyParser.parse[''] = JSON.parse
-
-    require('../../lib/node-http-proxy').createServer(
-      //refactor the body parser and re-streamer into a separate package
-      bodyParser(),
-      //body parser absorbs the data and end events before passing control to the next
-      // middleware. if we want to proxy it, we'll need to re-emit these events after 
-      //passing control to the middleware.
-      require('connect-restreamer')(),
-      function (req, res, proxy) {
-        //if your posting an obect which contains type: "insult"
-        //it will get redirected to port 2600.
-        //normal get requests will go to 7531 nad will not return insults.
-        var port = (req.body && req.body.type === 'insult' ? 2600 : 7531)
-        proxy.proxyRequest(req, res, {host: 'localhost', port: port})
-      }
-    ).listen(1337, function () {
-      var request = require('request')
-      //bodyParser needs content-type set to application/json
-      //if we use request, it will set automatically if we use the 'json:' field.
-      function post (greeting, type) {
-        request.post({
-          url: 'http://localhost:1337/' + greeting,
-          json: {content: greeting, type: type || "greeting"}
-        })
-      }
-      post("hello")
-      post("g'day")
-      post("kiora")
-      post("houdy")
-      post("java", "insult")
-
-      //now, the insult should have been proxied to 2600
-      
-      //curl localhost:2600
-      //["/java"]
-
-      //but the greetings will be sent to 7531
-
-      //curl localhost:7531
-      //["/hello","/g%27day","/kiora","/houdy"]
-
-    })
-  })
-})

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware-proxytable.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware-proxytable.js b/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware-proxytable.js
deleted file mode 100644
index 527d3d7..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware-proxytable.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-  gzip-middleware-proxytable.js: Basic example of `connect-gzip` middleware in node-http-proxy
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, Marak Squires, & Dominic Tarr.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Basic Http Proxy Server
-//
-httpProxy.createServer(
-  require('connect-gzip').gzip({ matchType: /.?/ }),
-  {
-    router: {
-      "localhost/fun": "localhost:9000"
-    }
-  }
-).listen(8000);
-
-//
-// Target Http Server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-
-util.puts('http proxy server'.blue + ' started '.green.bold + 'on port '.blue + '8000'.yellow);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/e1a45507/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware.js
----------------------------------------------------------------------
diff --git a/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware.js b/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware.js
deleted file mode 100644
index 29097ec..0000000
--- a/web/demos/package/node_modules/http-proxy/examples/middleware/gzip-middleware.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-  gzip-middleware.js: Basic example of `connect-gzip` middleware in node-http-proxy
-
-  Copyright (c) 2010 Charlie Robbins, Mikeal Rogers, Fedor Indutny, Marak Squires, & Dominic Tarr.
-
-  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.
-
-*/
-
-var util = require('util'),
-    colors = require('colors'),
-    http = require('http'),
-    httpProxy = require('../../lib/node-http-proxy');
-
-//
-// Basic Http Proxy Server
-//
-httpProxy.createServer(
-  require('connect-gzip').gzip({ matchType: /.?/ }),
-  9000, 'localhost'
-).listen(8000);
-
-//
-// Target Http Server
-//
-http.createServer(function (req, res) {
-  res.writeHead(200, { 'Content-Type': 'text/plain' });
-  res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
-  res.end();
-}).listen(9000);
-
-util.puts('http proxy server'.blue + ' started '.green.bold + 'on port '.blue + '8000'.yellow);
-util.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);