You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2018/07/27 10:03:53 UTC

[28/53] [partial] brooklyn-ui git commit: Update Brooklyn codebase to build the newly donated UI

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/pom.xml
----------------------------------------------------------------------
diff --git a/new/ui-modules/pom.xml b/new/ui-modules/pom.xml
deleted file mode 100644
index 39c7e20..0000000
--- a/new/ui-modules/pom.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.brooklyn.ui</groupId>
-        <artifactId>brooklyn-ui-parent</artifactId>
-        <version>${revision}</version>
-    </parent>
-
-    <artifactId>brooklyn-ui-modules-parent</artifactId>
-    <groupId>org.apache.brooklyn.ui.modules</groupId>
-    <packaging>pom</packaging>
-    <name>Brooklyn UI :: Modules (parent)</name>
-
-    <modules>
-        <module>utils</module>
-        <module>home</module>
-        <module>app-inspector</module>
-        <module>blueprint-composer</module>
-        <module>blueprint-importer</module>
-        <module>catalog</module>
-        <module>location-manager</module>
-        <module>rest-api-docs</module>
-        <module>groovy-console</module>
-        <module>logout</module>
-        <module>features</module>
-    </modules>
-</project>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/.babelrc
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/.babelrc b/new/ui-modules/rest-api-docs/.babelrc
deleted file mode 100644
index 222c2ba..0000000
--- a/new/ui-modules/rest-api-docs/.babelrc
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "presets": [
-    "env",
-    "stage-0"
-  ]
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/.eslintrc.json
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/.eslintrc.json b/new/ui-modules/rest-api-docs/.eslintrc.json
deleted file mode 100644
index c4fe470..0000000
--- a/new/ui-modules/rest-api-docs/.eslintrc.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
-  "__license__": [
-    "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."
-  ],
-  "extends": "google",
-  "rules": {
-    "indent": [
-      "error",
-      4
-    ],
-    "max-len": [
-      "warn",
-      120
-    ],
-    "space-before-function-paren": [
-      "error",
-      "always"
-    ],
-    "sort-imports": [
-      "error",
-      {
-        "ignoreCase": false,
-        "ignoreMemberSort": false,
-        "memberSyntaxSortOrder": [
-          "none",
-          "all",
-          "multiple",
-          "single"
-        ]
-      }
-    ],
-    "quotes": [
-      "error",
-      "single"
-    ]
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/.npmrc
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/.npmrc b/new/ui-modules/rest-api-docs/.npmrc
deleted file mode 100644
index c595d19..0000000
--- a/new/ui-modules/rest-api-docs/.npmrc
+++ /dev/null
@@ -1,18 +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.
-package-lock=false
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/Makefile
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/Makefile b/new/ui-modules/rest-api-docs/Makefile
deleted file mode 100755
index c7cb424..0000000
--- a/new/ui-modules/rest-api-docs/Makefile
+++ /dev/null
@@ -1,49 +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.
-default: dev
-
-build:
-	@echo "Building production bundle..."
-	NODE_ENV="production" npm run build
-
-clean:
-	@echo "Cleaning modules..."
-	@rm -rf ./node_modules
-
-dev:
-	@echo "Starting dev web server..."
-	@npm start
-
-server: build
-	@echo "Starting api proxy server..."
-	NODE_ENV="production" npm start
-
-install:
-	@echo "Installing npm modules..."
-	@npm install
-
-test:
-	@echo "Running tests..."
-	@npm test
-
-setup: clean install
-
-war:
-	@mvn clean install
-
-.PHONY: build clean deploy dev install server setup test war

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/collapse.gif
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/collapse.gif b/new/ui-modules/rest-api-docs/app/images/collapse.gif
deleted file mode 100644
index 8843e8c..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/collapse.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/expand.gif
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/expand.gif b/new/ui-modules/rest-api-docs/app/images/expand.gif
deleted file mode 100644
index 477bf13..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/expand.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/explorer_icons.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/explorer_icons.png b/new/ui-modules/rest-api-docs/app/images/explorer_icons.png
deleted file mode 100644
index be43b27..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/explorer_icons.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/favicon-16x16.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/favicon-16x16.png b/new/ui-modules/rest-api-docs/app/images/favicon-16x16.png
deleted file mode 100755
index 0f7e13b..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/favicon-16x16.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/favicon-32x32.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/favicon-32x32.png b/new/ui-modules/rest-api-docs/app/images/favicon-32x32.png
deleted file mode 100755
index b0a3352..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/favicon-32x32.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/favicon.ico
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/favicon.ico b/new/ui-modules/rest-api-docs/app/images/favicon.ico
deleted file mode 100755
index 8b60bcf..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/favicon.ico and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/logo_small.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/logo_small.png b/new/ui-modules/rest-api-docs/app/images/logo_small.png
deleted file mode 100644
index ce3908e..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/logo_small.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/pet_store_api.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/pet_store_api.png b/new/ui-modules/rest-api-docs/app/images/pet_store_api.png
deleted file mode 100644
index 1192ad8..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/pet_store_api.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/throbber.gif
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/throbber.gif b/new/ui-modules/rest-api-docs/app/images/throbber.gif
deleted file mode 100644
index 0639388..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/throbber.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/images/wordnik_api.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/images/wordnik_api.png b/new/ui-modules/rest-api-docs/app/images/wordnik_api.png
deleted file mode 100644
index dc0ddab..0000000
Binary files a/new/ui-modules/rest-api-docs/app/images/wordnik_api.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/index.e2e-spec.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/index.e2e-spec.js b/new/ui-modules/rest-api-docs/app/index.e2e-spec.js
deleted file mode 100644
index 25c1892..0000000
--- a/new/ui-modules/rest-api-docs/app/index.e2e-spec.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-const request = require('request');
-
-const APP_NAME = 'REST API Docs';
-
-describe('App Shell', ()=> {
-    browser.get('./');
-    browser.waitForAngular();
-
-    describe('metadata', ()=> {
-        it('should have the correct title', ()=> {
-            expect(browser.getTitle()).toEqual('Brooklyn - ' + APP_NAME);
-        });
-    });
-});

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/index.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/index.html b/new/ui-modules/rest-api-docs/app/index.html
deleted file mode 100644
index e197f1e..0000000
--- a/new/ui-modules/rest-api-docs/app/index.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<!doctype html>
-<html lang="en">
-    <head>
-        <meta charset="utf-8"/>
-        <meta http-equiv="x-ua-compatible" content="ie=edge"/>
-        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"/>
-        <link rel="icon" type="image/png" href="${require('!!file-loader!<%= brand.product.favicon %>')}"/>
-        <title><%= getBrandedText('product.name') %> - <%= app.appname %></title>
-    </head>
-    <body ng-app="app" br-server-status ng-strict-di>
-        ${require('ejs-html!brooklyn-shared/partials/header.html')}
-
-        <main class="page-main-area" id="main-content" ui-view ng-cloak></main>
-
-        ${require('ejs-html!brooklyn-shared/partials/footer.html')}
-
-        <br-interstitial-spinner event-count="1">
-            ${require('ejs-html!brooklyn-shared/partials/interstitial.html')}
-        </br-interstitial-spinner>
-
-        <script src="${require('file-loader!swagger-ui/dist/lib/object-assign-pollyfill.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/jquery-1.8.0.min.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/jquery.slideto.min.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/jquery.wiggle.min.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/jquery.ba-bbq.min.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/handlebars-4.0.5.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/lodash.min.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/backbone-min.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/swagger-ui.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/highlight.9.1.0.pack.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/highlight.9.1.0.pack_extended.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/jsoneditor.min.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/marked.js')}" type="text/javascript"></script>
-        <script src="${require('file-loader!swagger-ui/dist/lib/swagger-oauth.js')}" type="text/javascript"></script>
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/index.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/index.js b/new/ui-modules/rest-api-docs/app/index.js
deleted file mode 100644
index 5b8d010..0000000
--- a/new/ui-modules/rest-api-docs/app/index.js
+++ /dev/null
@@ -1,59 +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.
- */
-import angular from 'angular';
-import ngAnimate from 'angular-animate';
-import ngCookies from 'angular-cookies';
-import uiRouter from 'angular-ui-router';
-
-import brCore from 'brooklyn-ui-utils/br-core/br-core';
-
-import brServerStatus from 'brooklyn-ui-utils/server-status/server-status';
-import brInterstitialSpinner from 'brooklyn-ui-utils/interstitial-spinner/interstitial-spinner';
-import brooklynModuleLinks from 'brooklyn-ui-utils/module-links/module-links';
-import brooklynUserManagement from 'brooklyn-ui-utils/user-management/user-management';
-
-import mainState from 'views/main/main.controller.js';
-
-const IS_PRODUCTION = process.env.NODE_ENV === 'production' || false;
-
-angular.module('app', [ngAnimate, ngCookies, uiRouter, brCore, brServerStatus, brInterstitialSpinner, brooklynModuleLinks, brooklynUserManagement, mainState])
-    .config(['$logProvider', '$compileProvider', appConfig])
-    .config(['$urlRouterProvider', routerConfig])
-    .run(['$rootScope', '$state', 'brSnackbar', errorHandler])
-    .run(['$http', httpConfig]);
-
-function appConfig($logProvider, $compileProvider) {
-    $logProvider.debugEnabled(!IS_PRODUCTION);
-    $compileProvider.debugInfoEnabled(!IS_PRODUCTION);
-}
-
-function routerConfig($urlRouterProvider) {
-    $urlRouterProvider.otherwise('/');
-}
-
-function errorHandler($rootScope, $state, brSnackbar) {
-    $rootScope.$on('$stateChangeError', (event, toState, toParams, fromState, fromParams, error)=> {
-        // Add error handling here
-    });
-}
-
-function httpConfig($http){
-    $http.defaults.headers.common['X-Csrf-Token-Required-For-Requests'] = 'write'; //Enables XSRF
-    // Add further $http config here
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/index.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/index.less b/new/ui-modules/rest-api-docs/app/index.less
deleted file mode 100644
index 8e43522..0000000
--- a/new/ui-modules/rest-api-docs/app/index.less
+++ /dev/null
@@ -1,26 +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.
- */
-@import '~brooklyn-shared/style/first.less';
-
-// Add project less files here
-@import "views/main/main.less";
-
-// Load last so that these style rules and var values trump others
-@import "~brooklyn-shared/style/last.less";
-

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/index.spec.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/index.spec.js b/new/ui-modules/rest-api-docs/app/index.spec.js
deleted file mode 100644
index 8c2d689..0000000
--- a/new/ui-modules/rest-api-docs/app/index.spec.js
+++ /dev/null
@@ -1,23 +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.
- */
-describe('Rest API docs module', () => {
-    it('has a dummy unit test', () => {
-        expect(true).toBeTruthy();
-    });
-});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/views/main/main.controller.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/views/main/main.controller.js b/new/ui-modules/rest-api-docs/app/views/main/main.controller.js
deleted file mode 100644
index dba0024..0000000
--- a/new/ui-modules/rest-api-docs/app/views/main/main.controller.js
+++ /dev/null
@@ -1,63 +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.
- */
-import angular from 'angular';
-import uiRouter from 'angular-ui-router';
-import {HIDE_INTERSTITIAL_SPINNER_EVENT} from 'brooklyn-ui-utils/interstitial-spinner/interstitial-spinner';
-import template from './main.template.html';
-
-const MODULE_NAME = 'main.state';
-
-angular.module(MODULE_NAME, [uiRouter])
-    .config(['$stateProvider', mainStateConfig]);
-
-export default MODULE_NAME;
-
-export const mainState = {
-    name: 'main',
-    url: '/',
-    template: template,
-    controller: ['$scope', '$log', '$cookies', mainStateController],
-    controllerAs: 'vm'
-};
-
-export function mainStateConfig($stateProvider) {
-    $stateProvider.state(mainState);
-}
-
-export function mainStateController($scope, $log, $cookies) {
-    let swaggerUi = new SwaggerUi({
-        url: '/v1/apidoc/swagger.json',
-        dom_id: 'swagger-ui-container',
-        supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
-        onFailure: (data)=> {
-            $log.error('Unable to Load SwaggerUI');
-        },
-        onComplete: (swaggerApi, swaggerUi)=> {
-            swaggerApi.clientAuthorizations.add('X-CSRF-TOKEN', new SwaggerClient.ApiKeyAuthorization('X-CSRF-TOKEN', $cookies.get('CSRF-TOKEN'), 'header'));
-            $scope.$emit(HIDE_INTERSTITIAL_SPINNER_EVENT);
-        },
-        docExpansion: 'none',
-        jsonEditor: false,
-        defaultModelRendering: 'schema',
-        showRequestHeaders: false,
-        showOperationIds: false
-    });
-
-    swaggerUi.load();
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/views/main/main.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/views/main/main.less b/new/ui-modules/rest-api-docs/app/views/main/main.less
deleted file mode 100644
index 38065ae..0000000
--- a/new/ui-modules/rest-api-docs/app/views/main/main.less
+++ /dev/null
@@ -1,439 +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.
- */
-.md-headline {
-  color: @brand-primary;
-}
-
-.swagger-section {
-  margin-top: 5rem;
-
-  .container {
-    width: inherit;
-    padding: 0;
-  }
-
-  ul {
-    list-style: none;
-    &#resources, &.options, &.operations, .signature-nav {
-      padding: 0;
-    }
-  }
-
-  .resource {
-    padding-top: 1rem;
-    padding-bottom: 1rem;
-    border-top: 1px solid @gray-lighter;
-    &:first-child {
-      padding-top: 0;
-      border: none;
-    }
-
-    a {
-      color: @gray-light;
-      &:hover {
-        color: @gray;
-      }
-    }
-
-    .heading {
-      //position: relative;
-      color: @gray-light;
-      clear: both;
-      overflow: hidden;
-
-
-      h2, h3 {
-        font-weight: 100;
-        a {
-          float: left;
-        }
-      }
-
-      ul.options {
-        //position: absolute;
-        //right: 0;
-        //top: 0;
-        float: right;
-        font-size: 1rem;
-        line-height: 3rem;
-        li {
-          float: left;
-          padding: 0 1rem 0 1rem;
-          border-left: 1px solid @gray-lighter;
-          &:first-child {
-            padding-left: 0;
-            border: none;
-          }
-          &:last-child {
-            padding-right: 0;
-          }
-        }
-      }
-    }
-  }
-
-  .operation {
-    margin-top: 1.5rem;
-    padding: 0.5rem 1rem 0.5rem 1rem;
-    border: 5px solid @gray-lighter;
-    &.get {
-      .http_method:extend(.label-info) {}
-      h4:extend(.text-primary) {}
-      .propType {
-        color: @brand-info;
-      }
-    }
-    &.post {
-      .http_method:extend(.label-success) {}
-      h4:extend(.text-success) {}
-      .propType {
-        color: @brand-success;
-      }
-    }
-    &.put {
-      .http_method:extend(.label-warning) {}
-      h4:extend(.text-warning) {}
-      .propType {
-        color: @brand-warning;
-      }
-    }
-    &.delete {
-      .http_method:extend(.label-danger) {}
-      h4:extend(.text-danger) {}
-      .propType {
-        color: @brand-danger;
-      }
-    }
-
-    .heading {
-      h3 {
-        margin: 0;
-        display: inline-block;
-      }
-      .http_method:extend(.label) {
-        font-size: 1.1rem;
-        position: relative;
-        top: -2px;
-        text-transform: uppercase;
-        display: inline-block;
-        a, a:hover {
-          color: white;
-          text-decoration: none;
-        }
-      }
-      .path {
-        display: inline-block;
-        line-height: 2rem;
-        font-size: 2rem;
-      }
-      .options {
-        line-height: 1rem !important;
-        position: relative;
-        top: 5px;
-      }
-    }
-
-    .signature-nav:extend(.swagger-section .resource .heading ul.options all) {
-      float: none;
-      overflow: hidden;
-      font-size: 1.2rem;
-      line-height: 2rem;
-      li {
-        border-color: lighten(@gray-base, 60%);
-      }
-      margin-bottom: 1rem;
-    }
-
-    .model-signature {
-      .description {
-        .strong {
-          font-weight: bold;
-          color: #000;
-        }
-        div {
-          line-height: 1.5rem;
-          margin-left: 1rem;
-        }
-        .stronger {
-          font-weight: bold;
-          color: #000;
-        }
-        .propWrap {
-          .optionsWrapper {
-            border-spacing: 0;
-            position: absolute;
-            background-color: #ffffff;
-            border: 1px solid lighten(@gray-base, 60%);
-            display: none;
-            font-size: 1rem;
-            max-width: 400px;
-            line-height: 3rem;
-            color: black;
-            padding: 5px;
-            margin-left:10px;
-            th {
-              text-align: center;
-              background-color: @gray-lighter;
-              border: 1px solid lighten(@gray-base, 60%);
-              font-size: 1rem;
-              color: @gray;
-              font-weight: bold;
-              padding: 5px;
-              line-height: 1.5rem;
-            }
-            .optionName {
-              font-weight: bold;
-            }
-          }
-        }
-        .propDesc.markdown {
-          > p:first-child,
-          > p:last-child {
-            display: inline;
-          }
-          > p:not(:first-child):before {
-            display: block;
-            content: '';
-          }
-        }
-        span:last-of-type.propDesc.markdown > p:only-child {
-          margin-right: -3px; // otherwise there is a gap before the comma
-        }
-      }
-    }
-
-    .deprecated {
-      text-decoration: line-through;
-    }
-
-    input.submit:extend(.btn all, .btn-default all) {}
-    table:extend(.table all, .table-bordered all) {}
-    table, th, td {
-      border-color: lighten(@gray-base, 60%) !important;
-    }
-
-    input[type="text"], input[type="radio"], input[type="checkbox"], textarea, select {
-      &:extend(.form-control all);
-    }
-
-    .error {
-      border: 2px solid @brand-danger !important;
-    }
-  }
-
-  pre {
-    max-height: 200px;
-    resize: vertical;
-    cursor: pointer;
-    &:hover {
-      background-color: @gray-lighter;
-    }
-  }
-
-  pre code,
-  pre .subst,
-  pre .tag .title,
-  pre .lisp .title,
-  pre .clojure .built_in,
-  pre .nginx .title {
-    color: black;
-  }
-
-  pre .string,
-  pre .title,
-  pre .constant,
-  pre .parent,
-  pre .tag .value,
-  pre .rules .value,
-  pre .rules .value .number,
-  pre .preprocessor,
-  pre .ruby .symbol,
-  pre .ruby .symbol .string,
-  pre .aggregate,
-  pre .template_tag,
-  pre .django .variable,
-  pre .smalltalk .class,
-  pre .addition,
-  pre .flow,
-  pre .stream,
-  pre .bash .variable,
-  pre .apache .tag,
-  pre .apache .cbracket,
-  pre .tex .command,
-  pre .tex .special,
-  pre .erlang_repl .function_or_atom,
-  pre .markdown .header {
-    color: #800;
-  }
-
-  pre .comment,
-  pre .annotation,
-  pre .template_comment,
-  pre .diff .header,
-  pre .chunk,
-  pre .markdown .blockquote {
-    color: #888;
-  }
-
-  pre .number,
-  pre .date,
-  pre .regexp,
-  pre .literal,
-  pre .smalltalk .symbol,
-  pre .smalltalk .char,
-  pre .go .constant,
-  pre .change,
-  pre .markdown .bullet,
-  pre .markdown .link_url {
-    color: #080;
-  }
-
-  pre .label,
-  pre .javadoc,
-  pre .ruby .string,
-  pre .decorator,
-  pre .filter .argument,
-  pre .localvars,
-  pre .array,
-  pre .attr_selector,
-  pre .important,
-  pre .pseudo,
-  pre .pi,
-  pre .doctype,
-  pre .deletion,
-  pre .envvar,
-  pre .shebang,
-  pre .apache .sqbracket,
-  pre .nginx .built_in,
-  pre .tex .formula,
-  pre .erlang_repl .reserved,
-  pre .prompt,
-  pre .markdown .link_label,
-  pre .vhdl .attribute,
-  pre .clojure .attribute,
-  pre .coffeescript .property {
-    color: #88F
-  }
-
-  pre .keyword,
-  pre .id,
-  pre .phpdoc,
-  pre .title,
-  pre .built_in,
-  pre .aggregate,
-  pre .css .tag,
-  pre .javadoctag,
-  pre .phpdoc,
-  pre .yardoctag,
-  pre .smalltalk .class,
-  pre .winutils,
-  pre .bash .variable,
-  pre .apache .tag,
-  pre .go .typename,
-  pre .tex .command,
-  pre .markdown .strong,
-  pre .request,
-  pre .status {
-    font-weight: bold;
-  }
-
-  pre .markdown .emphasis {
-    font-style: italic;
-  }
-
-  pre .nginx .built_in {
-    font-weight: normal;
-  }
-
-  pre .coffeescript .javascript,
-  pre .javascript .xml,
-  pre .tex .formula,
-  pre .xml .javascript,
-  pre .xml .vbscript,
-  pre .xml .css,
-  pre .xml .cdata {
-    opacity: 0.5;
-  }
-
-  .hljs,
-  .hljs-subst {
-    color: #444
-  }
-
-  .hljs-keyword,
-  .hljs-attribute,
-  .hljs-selector-tag,
-  .hljs-meta-keyword,
-  .hljs-doctag,
-  .hljs-name {
-    font-weight: bold
-  }
-
-  .hljs-built_in,
-  .hljs-literal,
-  .hljs-bullet,
-  .hljs-code,
-  .hljs-addition {
-    color: #1F811F
-  }
-
-  .hljs-regexp,
-  .hljs-symbol,
-  .hljs-variable,
-  .hljs-template-variable,
-  .hljs-link,
-  .hljs-selector-attr,
-  .hljs-selector-pseudo {
-    color: #BC6060
-  }
-
-  .hljs-type,
-  .hljs-string,
-  .hljs-number,
-  .hljs-selector-id,
-  .hljs-selector-class,
-  .hljs-quote,
-  .hljs-template-tag,
-  .hljs-deletion {
-    color: #880000
-  }
-
-  .hljs-title,
-  .hljs-section {
-    color: #880000;
-    font-weight: bold
-  }
-
-  .hljs-comment {
-    color: #888888
-  }
-
-  .hljs-meta {
-    color: #2B6EA1
-  }
-
-  .hljs-emphasis {
-    font-style: italic
-  }
-
-  .hljs-strong {
-    font-weight: bold
-  }
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/app/views/main/main.template.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/app/views/main/main.template.html b/new/ui-modules/rest-api-docs/app/views/main/main.template.html
deleted file mode 100644
index 54b93bd..0000000
--- a/new/ui-modules/rest-api-docs/app/views/main/main.template.html
+++ /dev/null
@@ -1,28 +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">
-    <br-card>
-        <br-card-content>
-            <br-card-content-headline>REST API Docs</br-card-content-headline>
-            <br-card-content-subhead>This UI facilitates access to a powerful REST API. This page will allow you browse and learn more about that API to interact directly via the browser or through your favourite REST client</br-card-content-subhead>
-
-            <div id="swagger-ui-container" class="swagger-section"></div>
-        </br-card-content>
-    </br-card>
-</div>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/config/build/webpack.config.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/config/build/webpack.config.js b/new/ui-modules/rest-api-docs/config/build/webpack.config.js
deleted file mode 100644
index a050fa9..0000000
--- a/new/ui-modules/rest-api-docs/config/build/webpack.config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-eval(require('fs').readFileSync('../shared/config/build/webpack.config.js')+'');

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/config/server.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/config/server.js b/new/ui-modules/rest-api-docs/config/server.js
deleted file mode 100644
index dfba7dc..0000000
--- a/new/ui-modules/rest-api-docs/config/server.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-eval(require('fs').readFileSync('../shared/config/server.js')+'');

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/config/test/karma.config.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/config/test/karma.config.js b/new/ui-modules/rest-api-docs/config/test/karma.config.js
deleted file mode 100644
index 6fc6558..0000000
--- a/new/ui-modules/rest-api-docs/config/test/karma.config.js
+++ /dev/null
@@ -1,55 +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.
- */
-const PRODUCTION_BUILD = process.env.NODE_ENV === 'production';
-const webpackConfig = require('./../build/webpack.config.js');
-
-module.exports = function (config) {
-    const conf = {
-        basePath: '',
-        frameworks: ['jasmine'],
-        files: [
-            {pattern: './karma.test.shim.js', watched: false}
-        ],
-        preprocessors: {
-            './karma.test.shim.js': ['webpack', 'sourcemap']
-        },
-        webpack: Object.assign({}, webpackConfig, {entry: undefined, plugins: undefined}),
-        webpackMiddleware: {
-            stats: 'errors-only'
-        },
-        webpackServer: {
-            noInfo: true
-        },
-        exclude: [],
-        colors: !PRODUCTION_BUILD,
-        logLevel: config.LOG_INFO,
-        autoWatch: !PRODUCTION_BUILD,
-        singleRun: PRODUCTION_BUILD,
-        reporters: ['progress'],
-        browsers: ['PhantomJS'],
-        plugins: [
-            require('karma-webpack'),
-            require('karma-sourcemap-loader'),
-            'karma-jasmine',
-            'karma-phantomjs-launcher'
-        ],
-        failOnEmptyTestSuite: false
-    };
-    config.set(conf);
-};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/config/test/karma.test.shim.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/config/test/karma.test.shim.js b/new/ui-modules/rest-api-docs/config/test/karma.test.shim.js
deleted file mode 100644
index 3d926c0..0000000
--- a/new/ui-modules/rest-api-docs/config/test/karma.test.shim.js
+++ /dev/null
@@ -1,26 +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.
- */
-Error.stackTraceLimit = Infinity;
-
-require('angular');
-require('angular-mocks');
-require('babel-polyfill');
-
-var testsContext = require.context('./../../app', true, /\.spec\.js$/);
-testsContext.keys().forEach(testsContext);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/config/test/protractor.config.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/config/test/protractor.config.js b/new/ui-modules/rest-api-docs/config/test/protractor.config.js
deleted file mode 100644
index 5274c81..0000000
--- a/new/ui-modules/rest-api-docs/config/test/protractor.config.js
+++ /dev/null
@@ -1,39 +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.
- */
-exports.config = {
-    framework: 'jasmine2',
-    seleniumAddress: 'http://localhost:4444/wd/hub',
-    specs: ['../../app/**/*.e2e-spec.js'],
-    baseUrl: 'http://admin:password@localhost:8080',
-    capabilities: {
-        'browserName': 'chrome',
-        'chromeOptions': {
-            'args': ['--window-size=1440,1000']
-        }
-    },
-    onPrepare: function () {
-        require('babel-register');
-    },
-    jasmineNodeOpts: {
-        // If true, print colors to the terminal.
-        showColors: true,
-        // Default time to wait in ms before a test fails.
-        defaultTimeoutInterval: 30000
-    }
-};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/package.json
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/package.json b/new/ui-modules/rest-api-docs/package.json
deleted file mode 100644
index 54436ba..0000000
--- a/new/ui-modules/rest-api-docs/package.json
+++ /dev/null
@@ -1,103 +0,0 @@
-{
-  "__license__": [
-    "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."
-  ],
-  "name": "brooklyn-ui-rest-api-docs",
-  "versionBuildNote": "BROOKLYN_VERSION_BELOW this exists so scripts update this automatically",
-  "version": "1.0.0-SNAPSHOT",
-  "description": "Brooklyn UI :: Modules - REST API Docs",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/apache/brooklyn-ui.git"
-  },
-  "author": "Apache Software Foundation",
-  "license": "Apache-2.0",
-  "scripts": {
-    "build": "rimraf dist && webpack --config ./config/build/webpack.config.js --bail",
-    "start": "node ./config/server.js",
-    "test": "karma start ./config/test/karma.config.js",
-    "lint": "./node_modules/.bin/eslint app/**/*.js",
-    "e2e": "protractor ./config/test/protractor.config.js"
-  },
-  "engines": {
-    "node": ">=8.0.0",
-    "npm": ">=5.0.0"
-  },
-  "brooklyn": {
-    "appname": "REST API Docs"
-  },
-  "dependencies": {
-    "brooklyn-ui-utils": "file:../utils",
-    "angular": "^1.6.1",
-    "angular-animate": "^1.6.1",
-    "angular-cookies": "^1.6.1",
-    "angular-ui-bootstrap": "^2.5.0",
-    "angular-ui-router": "^0.3.1",
-    "bootstrap": "^3.3.7",
-    "es6-promise": "^4.0.5",
-    "font-awesome": "^4.6.3",
-    "isomorphic-fetch": "^2.2.1",
-    "lodash": "^4.16.4",
-    "normalizr": "^2.2.1"
-  },
-  "devDependencies": {
-    "angular-mocks": "^1.6.1",
-    "autoprefixer": "^6.5.1",
-    "babel-core": "^6.17.0",
-    "babel-loader": "^6.2.5",
-    "babel-polyfill": "^6.20.0",
-    "babel-preset-env": "^1.6.0",
-    "babel-preset-stage-0": "^6.16.0",
-    "css-loader": "^0.25.0",
-    "dotenv": "^2.0.0",
-    "ejs": "^2.5.2",
-    "ejs-html-loader": "^2.0.2",
-    "ejs-loader": "^0.3.0",
-    "eslint": "^3.8.1",
-    "exports-loader": "^0.6.3",
-    "expose-loader": "^0.7.1",
-    "express": "^4.14.0",
-    "extract-text-webpack-plugin": "^1.0.1",
-    "file-loader": "^0.9.0",
-    "html-loader": "^0.4.4",
-    "html-webpack-plugin": "^2.22.0",
-    "image-webpack-loader": "^3.0.0",
-    "imports-loader": "^0.6.5",
-    "jasmine-core": "^2.5.2",
-    "karma": "^1.3.0",
-    "karma-jasmine": "^1.0.2",
-    "karma-phantomjs-launcher": "^1.0.2",
-    "karma-sourcemap-loader": "^0.3.7",
-    "karma-webpack": "^1.8.0",
-    "less": "^2.7.1",
-    "less-loader": "^2.2.3",
-    "less-vars-to-js": "^1.1.2",
-    "phantomjs-prebuilt": "^2.1.13",
-    "postcss-loader": "^1.0.0",
-    "properties-reader": "0.0.15",
-    "proxy-middleware": "^0.15.0",
-    "raw-loader": "^0.5.1",
-    "resolve-url-loader": "^1.6.0",
-    "rimraf": "^2.5.4",
-    "style-loader": "^0.13.1",
-    "swagger-ui": "^2.2.10",
-    "url": "^0.11.0",
-    "url-loader": "^0.5.7",
-    "webpack": "^1.13.2",
-    "webpack-dev-middleware": "^1.8.4",
-    "webpack-hot-middleware": "^2.13.0"
-  }
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/pom.xml
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/pom.xml b/new/ui-modules/rest-api-docs/pom.xml
deleted file mode 100644
index cf5bbc6..0000000
--- a/new/ui-modules/rest-api-docs/pom.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-         
-    <parent>
-        <artifactId>brooklyn-ui-modules-parent</artifactId>
-        <groupId>org.apache.brooklyn.ui.modules</groupId>
-        <version>${revision}</version>
-    </parent>
-    
-    <artifactId>brooklyn-ui-rest-api-docs</artifactId>
-    <packaging>war</packaging>
-    <name>Brooklyn UI :: Modules - REST API Docs</name>
-
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-                <artifactId>maven-clean-plugin</artifactId>
-                <configuration>
-                    <filesets>
-                        <fileset>
-                            <directory>dist</directory>
-                            <followSymlinks>false</followSymlinks>
-                        </fileset>
-                    </filesets>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>com.github.eirslett</groupId>
-                <artifactId>frontend-maven-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <artifactId>maven-resources-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-resources</id>
-                        <!-- here the phase you need -->
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>
-                                ${project.build.directory}/${project.artifactId}-${project.version}
-                            </outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>${project.basedir}/dist</directory>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-war-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                    </archive>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <!-- configure plugin to generate MANIFEST.MF
-                     adapted from http://blog.knowhowlab.org/2010/06/osgi-tutorial-from-project-structure-to.html -->
-                <executions>
-                    <execution>
-                        <id>bundle-manifest</id>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>manifest</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <supportedProjectTypes>
-                        <supportedProjectType>war</supportedProjectType>
-                        <supportedProjectType>jar</supportedProjectType>
-                        <supportedProjectType>bundle</supportedProjectType>
-                    </supportedProjectTypes>
-                    <instructions>
-                        <Bundle-ManifestVersion>${project.version}</Bundle-ManifestVersion>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Import-Package>
-                            org.apache.brooklyn.ui.modularity.module.api,
-                            org.eclipse.jetty.servlets,
-                            *
-                        </Import-Package>
-                        <Export-Package>
-                            !*
-                        </Export-Package>
-                        <Web-ContextPath>/${project.artifactId}</Web-ContextPath>
-                        <_wab>app</_wab>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/src/main/resources/ui-module/config.yaml
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/src/main/resources/ui-module/config.yaml b/new/ui-modules/rest-api-docs/src/main/resources/ui-module/config.yaml
deleted file mode 100644
index 59cbee6..0000000
--- a/new/ui-modules/rest-api-docs/src/main/resources/ui-module/config.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-name: REST API Docs
-slug: ${project.artifactId}
-icon: fa-cubes
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/new/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml b/new/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index dd7dd9b..0000000
--- a/new/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,64 +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.
--->
-<web-app version="2.4"
-         xmlns="http://java.sun.com/xml/ns/j2ee"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
-                             http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-
-    <description>Brooklyn REST API Docs</description>
-    <display-name>Brooklyn REST API Docs</display-name>
-    <welcome-file-list>
-        <welcome-file>index.html</welcome-file>
-    </welcome-file-list>
-
-    <listener>
-        <listener-class>org.apache.brooklyn.ui.modularity.module.api.UiModuleListener</listener-class>
-    </listener>
-
-    <!--FILTERS :: START-->
-    <filter>
-        <filter-name>ui-module-filter</filter-name>
-        <filter-class>org.apache.brooklyn.ui.modularity.module.api.UiModuleFilter</filter-class>
-        <init-param>
-            <param-name>Cache-Control</param-name>
-            <param-value>public, max-age=604800</param-value><!--Cache static content for 1 week-->
-        </init-param>
-    </filter>
-    <filter>
-        <filter-name>GzipFilter</filter-name>
-        <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
-        <init-param>
-            <param-name>mimeTypes</param-name>
-            <param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
-        </init-param>
-    </filter>
-
-    <filter-mapping>
-        <filter-name>ui-module-filter</filter-name>
-        <url-pattern>/*</url-pattern>
-    </filter-mapping>
-    <filter-mapping>
-        <filter-name>GzipFilter</filter-name>
-        <url-pattern>/*</url-pattern>
-    </filter-mapping>
-    <!--FILTERS :: END-->
-
-
-</web-app>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/config/build/webpack.config.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/config/build/webpack.config.js b/new/ui-modules/shared/config/build/webpack.config.js
deleted file mode 100644
index 30a9785..0000000
--- a/new/ui-modules/shared/config/build/webpack.config.js
+++ /dev/null
@@ -1,232 +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.
- */
-const autoprefixer = require('autoprefixer');
-const HtmlWebpackPlugin = require('html-webpack-plugin');
-const ExtractTextPlugin = require("extract-text-webpack-plugin");
-const path = require('path');
-const fs = require('fs');
-const PropertiesReader = require('properties-reader');
-const LessToJs = require('less-vars-to-js');
-const pkg = require('./../../package.json');
-const webpack = require('webpack');
-const pj = path.join;
-
-const ENV = process.env.NODE_ENV || 'development';
-const ROOT_DIR = pj(path.resolve(__dirname), './../..');
-const SRC_DIR = pj(ROOT_DIR, 'app');
-const DEST_DIR = pj(ROOT_DIR, 'dist');
-const NODE_MODULES_DIR = pj(ROOT_DIR, 'node_modules');
-const UTILS_NODE_MODULES_DIR = pj(ROOT_DIR, '../utils/node_modules');
-const BRAND_FALLBACK_DIR = pj(ROOT_DIR, '../branding');
-const BRAND_DIR = (process.env.BROOKLYN_UI_BRAND_DIR && process.env.BROOKLYN_UI_BRAND_DIR!='default')
-    // default accepted because mvn needs to pass a value and empty isn't allowed
-    ? path.isAbsolute(process.env.BROOKLYN_UI_BRAND_DIR) 
-      ? process.env.BROOKLYN_UI_BRAND_DIR 
-      : pj(ROOT_DIR, process.env.BROOKLYN_UI_BRAND_DIR) 
-    : pj(BRAND_FALLBACK_DIR, 'brooklyn');
-
-const brandProps = PropertiesReader(path.resolve(BRAND_FALLBACK_DIR, 'brand.properties'));
-brandProps.append(path.resolve(BRAND_DIR, 'brand.properties'));
-const BRAND_IDENTIFIER = brandProps.get('brand-identifier');
-if (!BRAND_IDENTIFIER) {
-    throw("The brand.properties file in "+BRAND_DIR+" must specify a brand-identifier.");
-}
-var brandLess = {};
-const getBrandedText = ((brandProps) => (key) => {
-    var branded = key.split('.').reduce(function(o, x) {
-        return o ? o[x] : undefined;
-    }, brandProps);
-
-    // TODO we should remove the "brooklyn" sections in package.json as a way of branding; 
-    // always use the props above
-    return branded ? branded : key.split('.').reduce(function(o, x) {
-        return o ? o[x] : undefined;
-    }, pkg.brooklyn);
-});
-
-const getStyleLoader = function() {
-    var loader = [];
-    loader.push('css' + (ENV === 'development' ? '?sourceMap' : ''));
-    loader.push('postcss');
-
-    const brandLessVars = LessToJs(fs.readFileSync(path.resolve(BRAND_DIR, 'brand.less'), 'utf8'));
-    const brandLessVarsFromFallback = LessToJs(fs.readFileSync(path.resolve(BRAND_FALLBACK_DIR, 'brand.less'), 'utf8'));
-    var brandLessVarsFromProps = brandProps.getByRoot('less');
-    Object.assign(brandLess, brandLessVarsFromFallback, brandLessVarsFromProps, brandLessVars);
-    brandLess['brand-identifier'] = BRAND_IDENTIFIER;
-
-    var lessConfig = { modifyVars: brandLess };
-    
-    if (ENV === 'development') {
-        lessConfig.sourceMap = true;
-    }
-    loader.push('less?' + JSON.stringify(lessConfig));
-
-    return loader.join('!');
-};
-
-console.log('Build with:', 'ENV', ENV, '-', 'brand-identifier', BRAND_IDENTIFIER);
-
-const config = {
-    context: SRC_DIR,
-    entry: {
-        index: [
-            'babel-polyfill',
-            'index.less',
-            'index.js'
-        ]
-    },
-    output: {
-        filename: '[name].[hash].js',
-        path: DEST_DIR
-    },
-    module: {
-        loaders: [{
-            test: /\.js$/i,
-            exclude: /node_modules/,
-            loader: 'babel',
-            query: { 
-              presets: [
-                'babel-preset-env',
-                'babel-preset-stage-0',
-              ].map(require.resolve) 
-            }
-        }, {
-            test: /\.less$/,
-            exclude: /index.less/,
-            loader: getStyleLoader()
-        }, {
-            test: /index.less$/,
-            loader: ExtractTextPlugin.extract(getStyleLoader())
-        }, {
-            test: /\.(jpe?g|png|gif)$/i,
-            loaders: [
-                'url-loader?limit=50000&name=assets/[name].[hash].[ext]',
-                'image-webpack'
-            ]
-        }, {
-            test: /\.(woff|svg|ttf|eot)([\?]?.*)$/,
-            loader: 'file-loader?name=assets/[name].[hash].[ext]'
-        }, {
-            test: /\.json$/,
-            loader: 'raw-loader'
-        }, {
-            test: /\.html$/,
-            loader: 'html?interpolate&-minimize&attrs[]=img:src&attrs[]=img:data-src&attrs[]=object:data'
-        }]
-    },
-    resolve: {
-        alias: {
-            'brooklyn-shared': path.resolve(ROOT_DIR, '../shared'),
-            // user-supplied brand dir for overwrites (defaults to brooklyn brand)
-            'brand': BRAND_DIR,
-            // fallback branding info
-            'brand-fallback': BRAND_FALLBACK_DIR,
-            // brand-supplied JS definitions
-            'brand-js': fs.existsSync(pj(BRAND_DIR, 'brand.js')) ? pj(BRAND_DIR, 'brand.js') : pj(BRAND_FALLBACK_DIR, 'brand.js'),
-        },
-        root: SRC_DIR,
-        extensions: ['', '.js'],
-        modulesDirectories: [
-            NODE_MODULES_DIR,
-            UTILS_NODE_MODULES_DIR
-        ]
-    },
-    resolveLoader: {
-        root: [NODE_MODULES_DIR],
-        modulesDirectories: [
-            NODE_MODULES_DIR,
-            UTILS_NODE_MODULES_DIR
-        ]
-    },
-    postcss: [
-        autoprefixer({
-            browsers: ['last 2 versions']
-        })
-    ],
-    ejsHtml: {
-        // a "brooklyn" section in package.json can contain extra info like `product.name` and `appname`
-        app: pkg.brooklyn,
-        brand: brandProps.path(),
-        getBrandedText: getBrandedText(brandProps.path())
-    },
-    plugins: [
-        new ExtractTextPlugin('[name].[chunkhash].css'),
-        new webpack.optimize.OccurenceOrderPlugin(),
-        new webpack.DefinePlugin({
-            __BROOKLYN_VERSION__: JSON.stringify(process.env.BROOKLYN_VERSION || '1.0.0-SNAPSHOT'),
-            __BUILD_NAME__: JSON.stringify(process.env.BUILD_NAME),
-            __BUILD_VERSION__: JSON.stringify(process.env.BUILD_VERSION),
-            __BUILD_BRANCH__: JSON.stringify(process.env.BUILD_BRANCH),
-            __BUILD_COMMIT_ID__: JSON.stringify(process.env.BUILD_COMMIT_ID),
-            // from bootstrap, possibly overridden, included here for access from JS
-            __BRAND_SUCCESS__: JSON.stringify(brandLess['@brand-success'] || '#5cb85c'),
-            __BRAND_DANGER__: JSON.stringify(brandLess['@brand-danger'] || '#d9534f'),
-            'process.env.NODE_ENV': JSON.stringify(ENV),
-            // used by brBrandInfo.getBrandedText
-            __BRAND_PROPS__: JSON.stringify(brandProps.path()),
-        }),
-        new webpack.ProvidePlugin({
-            'Promise': 'imports?this=>global!exports?global.Promise!es6-promise'
-        }),
-        new HtmlWebpackPlugin({
-            template: 'ejs-html!' + pj(SRC_DIR, 'index.html'),
-            chunksSortMode: 'dependency'
-        }),
-        new webpack.optimize.CommonsChunkPlugin({
-            name: 'vendor',
-            minChunks: function (module) {
-                // This prevents stylesheet resources with the .css or .scss extension
-                // from being moved from their original chunk to the vendor chunk
-                if (module.resource && (/^.*\.(css|scss|less)$/).test(module.resource)) {
-                    return false;
-                }
-                return module.context && module.context.indexOf('node_modules') !== -1;
-            }
-        }),
-        new webpack.optimize.CommonsChunkPlugin({
-            name: 'manifest',
-            minChunks: Infinity
-        })
-    ]
-};
-
-if (ENV === 'development') {
-    config.watch = true;
-    config.debug = true;
-    config.devtool = 'source-map';
-    config.entry.index.push('webpack-hot-middleware/client');
-    config.plugins.push(new webpack.HotModuleReplacementPlugin())
-} else {
-    config.plugins.push(
-        new webpack.optimize.DedupePlugin(),
-        new webpack.optimize.UglifyJsPlugin({
-            mangle: false,
-            compress: {
-                dead_code: true,
-                drop_console: true,
-                unused: true,
-                warnings: false
-            }
-        }),
-        new webpack.BannerPlugin(getBrandedText(brandProps.path())("banner"))
-    )
-}
-
-module.exports = config;

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/config/server.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/config/server.js b/new/ui-modules/shared/config/server.js
deleted file mode 100644
index 28f0a6b..0000000
--- a/new/ui-modules/shared/config/server.js
+++ /dev/null
@@ -1,74 +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.
- */
-const config = require('./build/webpack.config.js');
-const dotenv = require('dotenv');
-const express = require('express');
-const proxy = require('proxy-middleware');
-const url = require('url');
-const webpack = require('webpack');
-const webpackDevMiddleware = require('webpack-dev-middleware');
-const webpackHotMiddleware = require('webpack-hot-middleware');
-
-dotenv.config({silent: true});
-
-const HOSTNAME = process.env.HOSTNAME || '0.0.0.0';
-const PORT = process.env.PORT || 8080;
-const API_HOSTNAME = process.env.API_HOSTNAME || HOSTNAME;
-const API_PORT = process.env.API_PORT || '8081';
-const API_PATH = process.env.API_PATH || '/v1/';
-
-const ENV = process.env.NODE_ENV || 'development';
-const DEV = ENV === 'development';
-
-const app = express();
-const compiler = webpack(config);
-
-app.use(API_PATH, proxy(
-    url.parse(`http://${API_HOSTNAME}:${API_PORT}${API_PATH}`)
-));
-
-if (DEV) {
-    app.use(
-        webpackDevMiddleware(compiler, {
-            contentBase: config.output.path,
-            host: HOSTNAME,
-            inline: true,
-            noInfo: true,
-            port: PORT,
-            publicPath: config.output.publicPath
-        })
-    );
-    app.use(webpackHotMiddleware(compiler))
-} else {
-    app.use(express.static(config.output.path))
-}
-
-app.listen(PORT, (err) => {
-    if (err) {
-        console.error(err)
-    } else {
-        var url = `http://${HOSTNAME}`;
-
-        if (PORT !== 80) {
-            url = url + `:${PORT}`
-        }
-
-        console.info(`==> 🌎  Running server with ${ENV} bundle. Open up ${url} in your browser.`)
-    }
-});

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/img/brooklyn-favicon.ico
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/img/brooklyn-favicon.ico b/new/ui-modules/shared/img/brooklyn-favicon.ico
deleted file mode 100644
index bdf37d2..0000000
Binary files a/new/ui-modules/shared/img/brooklyn-favicon.ico and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/img/brooklyn-logo.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/img/brooklyn-logo.png b/new/ui-modules/shared/img/brooklyn-logo.png
deleted file mode 100755
index 3fa68b4..0000000
Binary files a/new/ui-modules/shared/img/brooklyn-logo.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/img/feather.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/img/feather.png b/new/ui-modules/shared/img/feather.png
deleted file mode 100644
index 6b71b8b..0000000
Binary files a/new/ui-modules/shared/img/feather.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/partials/brooklyn-footer.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/partials/brooklyn-footer.html b/new/ui-modules/shared/partials/brooklyn-footer.html
deleted file mode 100644
index 2c9e939..0000000
--- a/new/ui-modules/shared/partials/brooklyn-footer.html
+++ /dev/null
@@ -1,30 +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.
--->
-<br-footer-block-main>
-  <div>
-    <p>
-        <a href="http://apache.org/">Apache</a> and <a href="http://brooklyn.apache.org/">Apache Brooklyn</a> are trademarks of the Apache Software Foundation.
-        <img src="~brooklyn-shared/img/feather.png" alt="Apache logo" style="max-width: 6em; max-height: 2em;" />
-    </p>
-  </div>
-</br-footer-block-main>
-<br-footer-block-secondary title="Need help?">
-    <br-footer-link-item link="http://brooklyn.apache.org/community/index.html" icon="fa-users">Community</br-footer-link-item>
-    <br-footer-link-item link="http://brooklyn.apache.org/documentation/index.html" icon="fa-book">Documentation</br-footer-link-item>
-</br-footer-block-secondary>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/partials/brooklyn-header-hero.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/partials/brooklyn-header-hero.html b/new/ui-modules/shared/partials/brooklyn-header-hero.html
deleted file mode 100644
index 98a6e45..0000000
--- a/new/ui-modules/shared/partials/brooklyn-header-hero.html
+++ /dev/null
@@ -1,30 +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.
--->
-<br-header-hero title="<%= getBrandedText('hero.heading') %>" text="<%= getBrandedText('hero.subheading') %>" ng-cloak>
-    <br-navbar title="<%= app.appname %>" link="/" logo="${require('!!file-loader!<%= brand.product.logo.light.img %>')}">
-        <br-navbar-links-main>
-            <li br-user-menu></li>
-            <li brooklyn-module-links-menu></li>
-            <br-navbar-link-item link="#!/about" css-classes="primary">
-                <i class="fa fa-fw fa-info-circle"></i>
-                <span class="visible-xs-inline visible-sm-inline">About Brooklyn</span>
-            </br-navbar-link-item>
-        </br-navbar-links-main>
-    </br-navbar>
-</br-header-hero>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/partials/footer.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/partials/footer.html b/new/ui-modules/shared/partials/footer.html
deleted file mode 100644
index 2bcad57..0000000
--- a/new/ui-modules/shared/partials/footer.html
+++ /dev/null
@@ -1,21 +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.
--->
-<br-footer id="footer">
-    ${require('ejs-html!<%= brand.partials.footer %>')}
-</br-footer>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/partials/header-hero.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/partials/header-hero.html b/new/ui-modules/shared/partials/header-hero.html
deleted file mode 100644
index 68a1e1c..0000000
--- a/new/ui-modules/shared/partials/header-hero.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-${require('ejs-html!<%= brand.partials.header_hero %>')}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/shared/partials/header.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/shared/partials/header.html b/new/ui-modules/shared/partials/header.html
deleted file mode 100644
index f51d69e..0000000
--- a/new/ui-modules/shared/partials/header.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<nav class="navbar navbar-default">
-    <div class="container-fluid">
-        <div class="navbar-header">
-            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#br-navbar-collapse-main" aria-expanded="false" ng-click="isCollapsed = !isCollapsed">
-                <span class="sr-only">Toggle navigation</span>
-                <span class="icon-bar"></span>
-                <span class="icon-bar"></span>
-                <span class="icon-bar"></span>
-            </button>
-            <a class="navbar-brand" href="/">
-                ${require('ejs-html!<%= brand.product.logo.html %>')}
-            </a>
-            <h4 class="navbar-text"><a href="#!/"><%= app.appname %></a></h4>
-        </div>
-        <div class="navbar-collapse collapse" id="br-navbar-collapse-main" uib-collapse="!isCollapsed">
-            <ul class="nav navbar-nav navbar-right">
-                <li class="dropdown" br-user-menu></li>
-                <li class="dropdown" brooklyn-module-links-menu></li>
-            </ul>
-        </div>
-    </div>
-</nav>