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:56 UTC

[31/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/groovy-console/pom.xml
----------------------------------------------------------------------
diff --git a/new/ui-modules/groovy-console/pom.xml b/new/ui-modules/groovy-console/pom.xml
deleted file mode 100644
index 3cc69db..0000000
--- a/new/ui-modules/groovy-console/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-groovy-console</artifactId>
-    <packaging>war</packaging>
-    <name>Brooklyn UI :: Modules - Groovy console</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/groovy-console/src/main/resources/ui-module/config.yaml
----------------------------------------------------------------------
diff --git a/new/ui-modules/groovy-console/src/main/resources/ui-module/config.yaml b/new/ui-modules/groovy-console/src/main/resources/ui-module/config.yaml
deleted file mode 100644
index 21293f7..0000000
--- a/new/ui-modules/groovy-console/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: Groovy Console
-slug: ${project.artifactId}
-icon: fa-terminal
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/new/ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml b/new/ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index edfc151..0000000
--- a/new/ui-modules/groovy-console/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 Groovy Console</description>
-    <display-name>Brooklyn Groovy Console</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/home/.babelrc
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/.babelrc b/new/ui-modules/home/.babelrc
deleted file mode 100644
index 222c2ba..0000000
--- a/new/ui-modules/home/.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/home/.eslintrc.json
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/.eslintrc.json b/new/ui-modules/home/.eslintrc.json
deleted file mode 100644
index c4fe470..0000000
--- a/new/ui-modules/home/.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/home/.npmrc
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/.npmrc b/new/ui-modules/home/.npmrc
deleted file mode 100644
index c595d19..0000000
--- a/new/ui-modules/home/.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/home/Makefile
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/Makefile b/new/ui-modules/home/Makefile
deleted file mode 100644
index c7cb424..0000000
--- a/new/ui-modules/home/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/home/app/components/onboarding/onboarding.directive.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/components/onboarding/onboarding.directive.js b/new/ui-modules/home/app/components/onboarding/onboarding.directive.js
deleted file mode 100644
index 9a7bff0..0000000
--- a/new/ui-modules/home/app/components/onboarding/onboarding.directive.js
+++ /dev/null
@@ -1,47 +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 {locationApiProvider} from 'brooklyn-ui-utils/providers/location-api.provider';
-import template from './onboarding.template.html';
-
-const MODULE_NAME = 'brooklyn.components.onboarding';
-
-angular.module(MODULE_NAME, [])
-    .provider('locationApi', locationApiProvider)
-    .directive('onboarding', ['$compile', 'locationApi', onboardingDirective]);
-
-export default MODULE_NAME;
-
-export function onboardingDirective($compile, locationApi) {
-    return {
-        restrict: 'A',
-        link: link
-    };
-
-    function link(scope) {
-        locationApi.query().$promise.then((data) => {
-            if (data.length === 0) {
-                let compiledFn = $compile(template);
-                let compiledElement = compiledFn(scope);
-
-                angular.element(document.querySelector('main')).prepend(compiledElement);
-            }
-        });
-    }
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/components/onboarding/onboarding.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/components/onboarding/onboarding.less b/new/ui-modules/home/app/components/onboarding/onboarding.less
deleted file mode 100644
index 8548a60..0000000
--- a/new/ui-modules/home/app/components/onboarding/onboarding.less
+++ /dev/null
@@ -1,130 +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.
- */
-.onboarding-card {
-  margin-top: -150px;
-  margin-left: 15%;
-  margin-right: 15%;
-  margin-bottom: 35px;
-  box-shadow: 0px 1px rgba(51, 88, 119, 0.2), 0px 4px 10px rgba(51, 88, 119, 0.2);
-
-  -webkit-animation: jump 1.5s ease 0s 1 normal;
-  animation: jump 1.5s ease 0s 1 normal;
-}
-
-@-webkit-keyframes jump {
-  0% {
-    -webkit-transform: translateY(0);
-    transform: translateY(0);
-  }
-  20% {
-    -webkit-transform: translateY(0);
-    transform: translateY(0);
-  }
-  40% {
-    -webkit-transform: translateY(-30px);
-    transform: translateY(-30px);
-  }
-  50% {
-    -webkit-transform: translateY(0);
-    transform: translateY(0);
-  }
-  60% {
-    -webkit-transform: translateY(-15px);
-    transform: translateY(-15px);
-  }
-  80% {
-    -webkit-transform: translateY(0);
-    transform: translateY(0);
-  }
-  100% {
-    -webkit-transform: translateY(0);
-    transform: translateY(0);
-  }
-}
-
-@keyframes jump {
-  0% {
-    transform: translateY(0);
-  }
-  20% {
-    transform: translateY(0);
-  }
-  40% {
-    transform: translateY(-30px);
-  }
-  50% {
-    transform: translateY(0);
-  }
-  60% {
-    transform: translateY(-15px);
-  }
-  80% {
-    transform: translateY(0);
-  }
-  100% {
-    transform: translateY(0);
-  }
-}
-
-@media (min-width: @screen-sm-min) and (max-height: 960px) {
-  .jumbotron.with-background-image {
-    height: 300px;
-    min-height: 300px;
-    max-height: 300px;
-    transition: height 0.5s, min-height 0.5s, max-height 0.5s;
-  }
-
-  .onboarding-card {
-    margin-top: -110px;
-    margin-bottom: 25px;
-  }
-}
-
-@media (min-width: @screen-sm-min) and (max-height: 700px) {
-  .jumbotron.with-background-image {
-    height: 70px;
-    min-height: 70px;
-    max-height: 70px;
-    transition: height 0.5s, min-height 0.5s, max-height 0.5s;
-    padding-top: 20px;
-    padding-bottom: 20px;
-  }
-
-  .big-header.full-width .jumbotron.with-background-image h1 {
-    opacity: 0.0;
-    transition: opacity 0.3s;
-  }
-
-  .big-header.full-width .jumbotron.with-background-image p {
-    opacity: 0.0;
-    transition: opacity 0.3s;
-  }
-
-  .big-header .navbar-default {
-    padding: 6px 20px;
-    transition: opacity 0.3s;
-  }
-
-  .onboarding-card {
-    margin-top: 0px;
-    margin-bottom: 20px;
-    z-index: 2;
-    position: relative;
-  }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/components/onboarding/onboarding.template.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/components/onboarding/onboarding.template.html b/new/ui-modules/home/app/components/onboarding/onboarding.template.html
deleted file mode 100644
index 94dc56a..0000000
--- a/new/ui-modules/home/app/components/onboarding/onboarding.template.html
+++ /dev/null
@@ -1,29 +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-card center="true" class="onboarding-card">
-    <br-card-content>
-        <br-card-content-headline>Welcome to Brooklyn
-        </br-card-content-headline>
-        <br-card-content-subhead>Since this is your first time, before you begin, you need to create a location.
-        </br-card-content-subhead>
-    </br-card-content>
-    <br-card-actions>
-        <br-button type="btn-primary" link="/brooklyn-ui-location-manager/#!/wizard">Create your first location</br-button>
-    </br-card-actions>
-</br-card>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/img/pagination-arrows@2x.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/img/pagination-arrows@2x.png b/new/ui-modules/home/app/img/pagination-arrows@2x.png
deleted file mode 100644
index 3a3a457..0000000
Binary files a/new/ui-modules/home/app/img/pagination-arrows@2x.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/index.e2e-spec.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/index.e2e-spec.js b/new/ui-modules/home/app/index.e2e-spec.js
deleted file mode 100644
index 844c68c..0000000
--- a/new/ui-modules/home/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 = 'Home';
-
-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/home/app/index.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/index.html b/new/ui-modules/home/app/index.html
deleted file mode 100644
index 9744fad..0000000
--- a/new/ui-modules/home/app/index.html
+++ /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.
--->
-<!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-hero.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-hero.html')}
-        </br-interstitial-spinner>
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/index.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/index.js b/new/ui-modules/home/app/index.js
deleted file mode 100644
index 15d68e2..0000000
--- a/new/ui-modules/home/app/index.js
+++ /dev/null
@@ -1,48 +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 brIconGenerator from 'brooklyn-ui-utils/icon-generator/icon-generator';
-import brInterstitialSpinner from 'brooklyn-ui-utils/interstitial-spinner/interstitial-spinner';
-import brooklynModuleLinks from 'brooklyn-ui-utils/module-links/module-links';
-import brooklynQuickLaunch from 'brooklyn-ui-utils/quick-launch/quick-launch';
-import brServerStatus from 'brooklyn-ui-utils/server-status/server-status';
-import brooklynUserManagement from 'brooklyn-ui-utils/user-management/user-management';
-
-import mainState from 'views/main/main.controller';
-import mainDeployState from 'views/main/deploy/deploy.controller';
-import aboutState from 'views/about/about.controller.js';
-
-angular.module('app', [ngAnimate, ngCookies, uiRouter, brCore, brServerStatus, brIconGenerator, brInterstitialSpinner, brooklynModuleLinks, brooklynUserManagement, brooklynQuickLaunch, mainState, mainDeployState, aboutState])
-    .config(['$urlRouterProvider', '$logProvider', applicationConfig])
-    .run(['$http', httpConfig]);
-
-function applicationConfig($urlRouterProvider, $logProvider) {
-    $logProvider.debugEnabled(false);
-    $urlRouterProvider.otherwise('/');
-}
-
-function httpConfig($http) {
-    $http.defaults.headers.common['X-Csrf-Token-Required-For-Requests'] = 'write';
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/index.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/index.less b/new/ui-modules/home/app/index.less
deleted file mode 100644
index a00daad..0000000
--- a/new/ui-modules/home/app/index.less
+++ /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.
- */
-@import '~brooklyn-shared/style/first.less';
-
-@import '~brooklyn-ui-utils/yaml-editor/yaml-editor.less';
-@import '~brooklyn-ui-utils/quick-launch/quick-launch.less';
-
-// Add project less files here
-@import 'views/main/main';
-@import 'views/main/deploy/modal';
-@import 'components/onboarding/onboarding';
-
-.make-icon(@size) {
-  width: auto;
-  height: auto;
-  max-width: @size;
-  max-height: @size;
-}
-.hideMainContent {
-  display: none;
-}
-
-// 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/home/app/index.spec.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/index.spec.js b/new/ui-modules/home/app/index.spec.js
deleted file mode 100644
index 26503c5..0000000
--- a/new/ui-modules/home/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('Home 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/home/app/views/about/about.controller.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/about/about.controller.js b/new/ui-modules/home/app/views/about/about.controller.js
deleted file mode 100644
index 7a36f92..0000000
--- a/new/ui-modules/home/app/views/about/about.controller.js
+++ /dev/null
@@ -1,70 +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 serverApi from 'brooklyn-ui-utils/api/brooklyn/server.js';
-import {HIDE_INTERSTITIAL_SPINNER_EVENT} from 'brooklyn-ui-utils/interstitial-spinner/interstitial-spinner';
-import template from "./about.template.html";
-
-const MODULE_NAME = 'states.about';
-const BROOKLYN_VERSION = __BROOKLYN_VERSION__;
-const BUILD_NAME = __BUILD_NAME__;   // if something embedding brooklyn
-const BUILD_VERSION = __BUILD_VERSION__;   // if something embedding brooklyn
-const BUILD_BRANCH = __BUILD_BRANCH__; 
-const BUILD_COMMIT_ID = __BUILD_COMMIT_ID__;
-
-angular.module(MODULE_NAME, [uiRouter, serverApi])
-    .config(['$stateProvider', aboutStateConfig]);
-
-export default MODULE_NAME;
-
-export const aboutState = {
-    name: 'about',
-    url: '/about',
-    template: template,
-    controller: ['$scope', 'brBrandInfo', 'version', 'states', aboutStateController],
-    controllerAs: 'vm',
-    resolve: {
-        version: ['serverApi', (serverApi) => {
-            return serverApi.getVersion();
-        }],
-        states: ['serverApi', (serverApi) => {
-            return serverApi.getHaStates();
-        }]
-    }
-};
-
-export function aboutStateConfig($stateProvider) {
-    $stateProvider.state(aboutState);
-}
-
-export function aboutStateController($scope, brBrandInfo, version, states) {
-    $scope.$emit(HIDE_INTERSTITIAL_SPINNER_EVENT);
-    $scope.getBrandedText = brBrandInfo.getBrandedText;
-    
-    this.serverVersion = version.data;
-    this.states = states.data;
-    this.buildInfo = {
-        buildVersion: BUILD_VERSION,
-        buildName: BUILD_NAME,
-        buildBranch: BUILD_BRANCH,
-        buildCommitId: BUILD_COMMIT_ID,
-        brooklynVersion: BROOKLYN_VERSION,
-    };
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/about/about.template.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/about/about.template.html b/new/ui-modules/home/app/views/about/about.template.html
deleted file mode 100644
index be97f85..0000000
--- a/new/ui-modules/home/app/views/about/about.template.html
+++ /dev/null
@@ -1,93 +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">
-    <div class="row">
-        <div class="col-md-6">
-            <h2>About {{ getBrandedText('product.name') }}</h2>
-            <p>This is the {{ getBrandedText('product.name') }} JavaScript web client for the REST API.</p>
-            <p>
-                Some useful references include:
-                <ul>
-                    <li><a href="http://brooklyn.apache.org">Brooklyn project website</a></li>
-                    <li><a href="http://github.com/apache/brooklyn">Brooklyn code @ GitHub</a></li>
-                </ul>
-                <small><em>Note you can observe the REST requests made by the Javascript GUI through the developers console in many browsers.</em></small>
-            </p>
-
-            <h2>Version Information</h2>
-            <ul class="list-group">
-                <li class="list-group-item" ng-if="vm.buildInfo.buildVersion">
-                    <span class="badge">
-                        {{vm.buildInfo.buildVersion}}
-                    </span>
-                    <h4 class="list-group-item-heading">{{ getBrandedText('product.name') }}</h4>
-                </li>
-                <li class="list-group-item">
-                    <span class="badge">{{vm.buildInfo.brooklynVersion}}</span>
-                    <h4 class="list-group-item-heading">Apache Brooklyn UI</h4>
-                    <small class="list-group-item-text" ng-if="vm.buildInfo.buildBranch || vm.buildInfo.buildCommitId">
-                        Built from 
-                        <span ng-if="vm.buildInfo.buildBranch">branch <strong>{{vm.buildInfo.buildBranch}}</strong></span>
-                        <span ng-if="vm.buildInfo.buildCommitId">commit <strong>{{vm.buildInfo.buildCommitId}}</strong></span>
-                    </small>
-                </li>
-                <li class="list-group-item">
-                    <span class="badge">{{vm.serverVersion.version}}</span>
-                    <h4 class="list-group-item-heading">Brooklyn Server</h4>
-                </li>
-            </ul>
-
-            <h2>HA status</h2>
-            <table class="table table-responsive table-bordered">
-                <thead>
-                <tr>
-                    <th class="server-status-node-id">Node ID</th>
-                    <th>Status</th>
-                </tr>
-                </thead>
-                <tbody>
-                <tr ng-repeat="node in vm.states.nodes track by node.nodeId"
-                    ng-class="{success: node.state === 'online', danger: node.state === 'offline'}">
-                    <td>
-                        {{node.nodeId}}
-                        <span ng-if="node.nodeId === vm.states.ownId" class="label label-info">current</span>
-                        <span ng-if="node.status === 'MASTER'" class="label label-success">master</span>
-                    </td>
-                    <td>
-                        <span class="text-left">{{node.status | lowercase}}</span>
-                        <a ng-if="node.state === 'online'" class="btn btn-xs btn-success pull-right" class="text-right" ng-class="{disabled: node.nodeUri === null}">Open</a>
-                    </td>
-                </tr>
-                </tbody>
-            </table>
-        </div>
-
-        <div class="col-md-6">
-            <h2>Feature Information</h2>
-            <p>This distribution includes the following features:</p>
-            <ul class="list-group">
-                <li ng-repeat="feature in vm.serverVersion.features track by $index" class="list-group-item">
-                    <span class="badge">{{feature.version}}</span>
-                    <h4 class="list-group-item-heading">{{feature.name}}</h4>
-                    <small class="list-group-item-text">{{feature.symbolicName}}</small>
-                </li>
-            </ul>
-        </div>
-    </div>
-</div>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/deploy/deploy.controller.e2e-spec.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/deploy/deploy.controller.e2e-spec.js b/new/ui-modules/home/app/views/main/deploy/deploy.controller.e2e-spec.js
deleted file mode 100644
index 229edb7..0000000
--- a/new/ui-modules/home/app/views/main/deploy/deploy.controller.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.
- */
-describe('Brooklyn brooklyn-ui-home :: main.deploy view', ()=> {
-    let EC = protractor.ExpectedConditions;
-    let appLoadCondition = EC.stalenessOf(element(by.tagName('interstitial-spinner')));
-
-    describe('should do', ()=> {
-        browser.get('./');
-        browser.waitForAngular();
-        browser.wait(appLoadCondition, 5000);
-
-        it('something really useful', ()=> {
-            // This is an example of e2e test. It uses jasmine (http://jasmine.github.io/) syntax to define all tests to run.
-        });
-    })
-});

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/deploy/deploy.controller.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/deploy/deploy.controller.js b/new/ui-modules/home/app/views/main/deploy/deploy.controller.js
deleted file mode 100644
index 7055d01..0000000
--- a/new/ui-modules/home/app/views/main/deploy/deploy.controller.js
+++ /dev/null
@@ -1,87 +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 uibModal from 'angular-ui-bootstrap/src/modal/index-nocss';
-import uiRouter from 'angular-ui-router';
-import brooklynApi from 'brooklyn-ui-utils/brooklyn.api/brooklyn.api';
-import {HIDE_INTERSTITIAL_SPINNER_EVENT} from 'brooklyn-ui-utils/interstitial-spinner/interstitial-spinner';
-import modalTemplate from './modal.template.html';
-
-const MODULE_NAME = 'states.main.deploy';
-
-angular.module(MODULE_NAME, [uibModal, uiRouter, brooklynApi])
-    .config(['$stateProvider', deployStateConfig]);
-
-export default MODULE_NAME;
-
-export const deployState = {
-    name: 'main.deploy',
-    url: 'deploy/:bundleSymbolicName/:bundleVersion/:typeSymbolicName/:typeVersion',
-    controller: ['$scope', '$state', '$stateParams', '$uibModal', 'brBrandInfo', 'brSnackbar', deployStateController],
-    controllerAs: 'vm'
-};
-
-export function deployStateConfig($stateProvider) {
-    $stateProvider.state(deployState);
-}
-
-export function deployStateController($scope, $state, $stateParams, $uibModal, brBrandInfo, brSnackbar) {
-    $scope.$emit(HIDE_INTERSTITIAL_SPINNER_EVENT);
-
-    let instance = $uibModal.open({
-        template: modalTemplate,
-        controller: ['$scope', '$location', 'entitySpec', 'locations', modalController],
-        size: 'lg',
-        backdrop: 'static',
-        windowClass: 'quick-launch-modal',
-        resolve: {
-            entitySpec: ['catalogApi', (catalogApi) => {
-                return catalogApi.getBundleType($stateParams.bundleSymbolicName, $stateParams.bundleVersion, $stateParams.typeSymbolicName, $stateParams.typeVersion);
-            }],
-            locations: ['locationApi', (locationApi) => {
-                return locationApi.getLocations();
-            }]
-        }
-    });
-
-    // If modal resolve fails, it means that we cannot open the deployment modal => inform the user and go back to the main page
-    instance.opened.catch((reason) => {
-        brSnackbar.create('Cannot load deployment information for ' + $stateParams.symbolicName + ':' + $stateParams.version);
-        $state.go('main');
-    });
-
-    // `instance.result` is resolved when the modal is closed, it means that we having successfully deploy our app
-    // It is rejected when we dismissed the modal, we then redirect to the main page
-    instance.result.then((results) => {
-        brSnackbar.create('Application deployed', {
-            label: 'View', callback: () => {
-                window.location.href = brBrandInfo.getAppDeployedUrl(results.data.entityId, results.data.entityId);
-            }
-        });
-    }).finally(() => {
-        $state.go('main');
-    });
-
-    function modalController($scope, $location, entitySpec, locations) {
-        $scope.app = entitySpec;
-        $scope.locations = locations;
-        $scope.args = $location.search();
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/deploy/modal.e2e-spec.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/deploy/modal.e2e-spec.js b/new/ui-modules/home/app/views/main/deploy/modal.e2e-spec.js
deleted file mode 100644
index bbb112c..0000000
--- a/new/ui-modules/home/app/views/main/deploy/modal.e2e-spec.js
+++ /dev/null
@@ -1,124 +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');
-
-
-describe('modal', ()=> {
-    var id, version, app;
-    beforeEach((done)=> {
-        id = Math.random().toString(36).slice(2);
-        version = Date.now();
-        request({
-            method: 'POST',
-            url: browser.baseUrl + '/v1/catalog',
-            body: generateTestCatalogApp(id, version)
-        }, (error, response, body)=> {
-            expect(error).toBeNull();
-            expect(response).not.toBeNull();
-            expect(response.statusCode).toEqual(201);
-            expect(body).not.toBeNull();
-            app = JSON.parse(body)[id + ':' + version];
-            done();
-        });
-    });
-    afterEach((done)=> {
-        request({
-            method: 'DELETE',
-            url: browser.baseUrl + '/v1/catalog/applications/' + app.symbolicName + '/' + app.version + '?id=' + app.id
-        }, ()=> (done()));
-    });
-
-
-    it('should display the catalog application correctly', ()=> {
-        var quickLaunch = openModal().element(by.css('quick-launch'));
-        expect(quickLaunch.element(by.css('h3.quick-launch-title')).getText()).toBe('Deploy');
-        expect(quickLaunch.element(by.css('div.quick-launch-type h4.media-heading')).getText()).toEqual(id);
-        expect(quickLaunch.element(by.css('div.quick-launch-type p.media-subheading')).getText()).toEqual(version + '');
-        expect(quickLaunch.element(by.css('section.quick-launch-name input')).getAttribute('placeholder')).toEqual('Choose a name for this application (Optional)');
-        expect(quickLaunch.element(by.css('section.quick-launch-name input')).getAttribute('valie')).toBeNull();
-        expect(quickLaunch.element(by.css('section.quick-launch-location input')).getAttribute('placeholder')).toEqual('Select a location where to deploy this application');
-        expect(quickLaunch.element(by.css('section.quick-launch-location input')).getAttribute('value')).toBe('');
-
-        expect(quickLaunch.element(by.css('div.quick-launch-actions button.btn-default')).getText()).toEqual('Open in Editor');
-        expect(quickLaunch.element(by.css('div.quick-launch-actions button.btn-success')).getText()).toEqual('Deploy');
-        expect(quickLaunch.element(by.css('div.quick-launch-actions button.btn-success')).getAttribute('disabled')).toEqual('true');
-    });
-    it('should be able to edit the raw yaml', ()=> {
-        var quickLaunch = openModal().element(by.css('quick-launch'));
-        expect(quickLaunch.element(by.css('yaml-editor')).isDisplayed()).toBe(false);
-        quickLaunch.element(by.css('div.quick-launch-actions button.btn-default')).click();
-        expect(quickLaunch.element(by.css('yaml-editor')).isDisplayed()).toBe(true);
-    });
-
-
-    function openModal() {
-        browser.get('./');
-        browser.waitForAngular();
-        var searchBar = element(by.css('fieldset div.form-group input.form-control'));
-        expect(searchBar.isDisplayed()).toBe(true);
-        searchBar.sendKeys(id);
-        expect(element.all(by.repeater('app in filteredApps')).count()).toBe(1);
-        element(by.repeater('app in filteredApps').row(0)).element(by.css('a.thumbnail')).click();
-        browser.waitForAngular();
-        var modal = element(by.css('div.modal.quick-launch-modal'));
-        expect(modal.isDisplayed()).toBe(true);
-        return modal;
-    };
-});
-
-function generateTestCatalogApp(id, version) {
-    return '' +
-        'brooklyn.catalog:\n' +
-        '  version: ' + version + '\n' +
-        '  items:\n' +
-        '  - id: ' + id + '\n' +
-        '    itemType: template\n' +
-        '    name: ' + id + '\n' +
-        '    item:\n' +
-        '      brooklyn.parameters:\n' +
-        '      - name: number.param.with.default\n' +
-        '        label: Number Param With Default\n' +
-        '        type: integer\n' +
-        '        default: 2\n' +
-        '      - name: bool.param.with.default.true\n' +
-        '        label: Bool Param With Default True\n' +
-        '        type: boolean\n' +
-        '        default: true\n' +
-        '      - name: bool.param.with.default.false\n' +
-        '        label: Bool Param With Default False\n' +
-        '        type: boolean\n' +
-        '        default: false\n' +
-        '      - name: string.param.with.default\n' +
-        '        label: String Param With Default\n' +
-        '        type: string\n' +
-        '        default: ' + id + id + '\n' +
-        '      - name: number.param\n' +
-        '        label: Number Param\n' +
-        '        type: integer\n' +
-        '      - name: bool.param\n' +
-        '        label: Bool Param\n' +
-        '        type: boolean\n' +
-        '      - name: string.param\n' +
-        '        label: String Param\n' +
-        '        type: string\n' +
-        '      services:\n' +
-        '      - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess';
-}
-
-

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/deploy/modal.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/deploy/modal.less b/new/ui-modules/home/app/views/main/deploy/modal.less
deleted file mode 100644
index f90daf8..0000000
--- a/new/ui-modules/home/app/views/main/deploy/modal.less
+++ /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.
- */
-.modal-dialog .modal-close:extend(.modal-dialog .modal-header br-svg all) {
-  margin: 15px;
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/deploy/modal.template.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/deploy/modal.template.html b/new/ui-modules/home/app/views/main/deploy/modal.template.html
deleted file mode 100644
index effb5db..0000000
--- a/new/ui-modules/home/app/views/main/deploy/modal.template.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<br-svg type="close" class="modal-close pull-right" ng-click="$dismiss('Dismiss deployment modal')"></br-svg>
-<brooklyn-quick-launch app="app" args="args" locations="locations" callback="$close"></brooklyn-quick-launch>

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/main.controller.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/main.controller.js b/new/ui-modules/home/app/views/main/main.controller.js
deleted file mode 100644
index b88c5e8..0000000
--- a/new/ui-modules/home/app/views/main/main.controller.js
+++ /dev/null
@@ -1,67 +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 brooklynUiModulesApi from 'brooklyn-ui-utils/api/brooklyn/ui-modules';
-import brooklynApi from 'brooklyn-ui-utils/brooklyn.api/brooklyn.api';
-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 = 'states.main';
-
-angular.module(MODULE_NAME, [brooklynUiModulesApi, uiRouter, brooklynApi])
-    .config(['$stateProvider', mainStateConfig]);
-
-export default MODULE_NAME;
-
-export const mainState = {
-    name: 'main',
-    url: '/',
-    template: template,
-    controller: ['$scope', '$state', 'uiModules', 'catalogApps', mainStateController],
-    controllerAs: 'vm',
-    resolve: {
-        uiModules: ['brooklynUiModulesApi', (brooklynUiModulesApi) => {
-            return brooklynUiModulesApi.getUiModules();
-        }],
-        catalogApps: ['catalogApi', (catalogApi) => {
-            return catalogApi.getTypes({params: {supertype: 'org.apache.brooklyn.api.entity.Application'}}).then(applications => {
-                return applications.filter(application => application.template);
-            });
-        }]
-    }
-};
-
-export function mainStateConfig($stateProvider) {
-    $stateProvider.state(mainState);
-}
-
-export function mainStateController($scope, $state, uiModules, catalogApps) {
-    $scope.$emit(HIDE_INTERSTITIAL_SPINNER_EVENT);
-
-    this.uiModules = uiModules.filter((uiModule) => {
-        return uiModule.types.indexOf('home-ui-module') > -1;
-    });
-    this.catalogApps = catalogApps;
-
-    this.pagination = {
-        page: 1,
-        itemsPerPage: 6
-    };
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/main.e2e-spec.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/main.e2e-spec.js b/new/ui-modules/home/app/views/main/main.e2e-spec.js
deleted file mode 100644
index 5ab22c2..0000000
--- a/new/ui-modules/home/app/views/main/main.e2e-spec.js
+++ /dev/null
@@ -1,129 +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');
-
-describe('Brooklyn UI Home :: Main View', ()=> {
-    browser.get('./');
-    browser.waitForAngular();
-    let apps = [], modules = [], locations = [];
-    beforeEach((done)=> {
-        request({method: 'GET', url: browser.baseUrl + '/v1/catalog/applications'}, (error, response, body)=> {
-            expect(error).toBeNull();
-            expect(response).not.toBeNull();
-            expect(response.statusCode).toEqual(200);
-            expect(body).not.toBeNull();
-            apps = JSON.parse(body);
-            done();
-        })
-    });
-    beforeEach((done)=> {
-        request({method: 'GET', url: browser.baseUrl + '/v1/locations'}, (error, response, body)=> {
-            expect(error).toBeNull();
-            expect(response).not.toBeNull();
-            expect(response.statusCode).toEqual(200);
-            expect(body).not.toBeNull();
-            locations = JSON.parse(body);
-            done();
-        })
-    });
-    beforeEach((done)=> {
-        request({method: 'GET', url: browser.baseUrl + '/v1/ui-module-registry'}, (error, response, body)=> {
-            expect(error).toBeNull();
-            expect(response).not.toBeNull();
-            expect(response.statusCode).toEqual(200);
-            expect(body).not.toBeNull();
-            modules = JSON.parse(body);
-            done();
-        })
-    });
-
-
-    describe('Quick Launch', ()=> {
-        it('should be paginated correctly', ()=> {
-            expect(element(by.css('li.pagination-prev')).isDisplayed()).toBe(false);
-            if (apps.length > 6) {
-                expect(element.all(by.css('.quick-launch-item')).count()).toBe(6);
-                expect(element(by.css('li.pagination-next')).isDisplayed()).toBe(true);
-                element(by.css('li.pagination-next a')).click();
-                expect(element(by.css('li.pagination-next')).isDisplayed()).toBe(apps.length > 12);
-                expect(element(by.css('li.pagination-prev')).isDisplayed()).toBe(true);
-            } else {
-                expect(element.all(by.css('.quick-launch-item')).count()).toBe(apps.length);
-            }
-        });
-    });
-
-    describe('First launch', ()=> {
-        it('should prompt the user to create a location if no locations registered', ()=> {
-            var onboardingLocator = by.css('div.onboarding-card.brooklyn-home-card');
-            if (locations.length === 0) {
-                let onboardingCard = element(onboardingLocator);
-                let link = onboardingCard.element(by.css('.card-actions a'));
-                expect(link.isDisplayed()).toBe(true);
-                expect(link.getAttribute('href')).toMatch(/^http[s]?:\/\/.*\/brooklyn-ui-location-manager\/#\/wizard$/);
-                expect(link.getText()).toEqual('Create your first location');
-            } else {
-                expect(browser.isElementPresent(onboardingLocator)).toBe(false);
-            }
-        })
-    });
-
-    describe('UI Modules', ()=> {
-        it('should display the correct number of UI modules', ()=> {
-            expect(element.all(by.repeater('uiModule in vm.uiModules')).count()).toBe(modules.length);
-        });
-        it('should be displaying the module correctly', ()=> {
-            modules.forEach((module)=> {
-                let moduleLink = element(by.xpath('//a[@href="' + module.path + '"]'));
-                expect(moduleLink.isDisplayed()).toBe(true);
-                expect(moduleLink.element(by.css('i.module-icon.fa.' + module.icon.replace(/\s/g, '.'))).isDisplayed()).toBe(true);
-                let moduleTitle = moduleLink.element(by.css('p.md-subhead h3'));
-                expect(moduleTitle.isDisplayed()).toBe(true);
-                expect(moduleTitle.getText()).toEqual(module.name)
-            });
-        });
-    });
-
-
-    describe('Brooklyn UI Home', ()=> {
-        it('should have a title', ()=> {
-            expect(browser.getTitle()).toEqual('Brooklyn - Home');
-        });
-        describe('should have a navbar', ()=> {
-            var rootLink, links;
-            beforeEach(()=> {
-                rootLink = element.all(by.css('nav a.navbar-brand')).get(0);
-                links = element.all(by.css('nav ul.nav.navbar-nav li a'));
-            });
-
-            describe('that has', ()=> {
-                it('a link to the module root on the top left', ()=> {
-                    browser.getCurrentUrl().then((url)=> {
-                        rootLink.getAttribute('href').then((attr)=> {
-                            expect(attr).toBe(url.slice(0, -2) + '#!/');
-                        });
-                    });
-                });
-                it('1 link on the top right', ()=> {
-                    expect(links.count()).toBe(1);
-                });
-            });
-        });
-    });
-});

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/main.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/main.less b/new/ui-modules/home/app/views/main/main.less
deleted file mode 100644
index c00012b..0000000
--- a/new/ui-modules/home/app/views/main/main.less
+++ /dev/null
@@ -1,246 +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.
- */
-
-@brooklyn-home-button-color: @brand-primary;
-@brooklyn-home-button-color-hover: @primary-700;
-
-.module-icon {
-  font-size: 30px;
-  @media (min-width: @screen-sm-min) {
-    font-size: 60px;
-  }
-  @media (min-width: @screen-md-min) {
-    font-size: 80px;
-  }
-  @media (min-width: @screen-lg-min) {
-    font-size: 100px;
-  }
-}
-
-.quick-launch-container {
-  margin-top: 15px;
-
-  .quick-launch-item {
-    height: 120px;
-    padding-top: 10px;
-    padding-bottom: 10px;
-    text-align: center;
-    border: 2px solid transparent;
-    border-radius: 8px;
-    transition: none;
-
-    &.ng-enter {
-      transition: opacity 0.6s ease;
-      opacity: 0;
-      &.ng-enter-active {
-        opacity: 1;
-      }
-    }
-
-    .quick-launch-icon-container {
-      width: 120px;
-      height: 50px;
-      text-align: center;
-      display: inline-block;
-      position: relative;
-    }
-    .quick-launch-icon {
-      width: auto;
-      height: auto;
-      max-width: 100%;
-      max-height: 100%;
-      vertical-align: bottom;
-      max-height: 100%;
-      max-width: 100%;
-      width: auto;
-      height: auto;
-      position: absolute;
-      top: auto; // so that it aligns to the bottom
-      bottom: 0;
-      left: 0;
-      right: 0;
-      margin: auto;
-    }
-
-    .thumbnail {
-      border: none;
-      margin: inherit;
-      background-color: inherit;
-      padding: 0px;
-      outline: none;
-      text-decoration: none;
-    }
-
-    .caption {
-      font-size: 14px;
-      line-height: 20px;
-      max-height: 50px;
-      text-align: center;
-      text-overflow: ellipsis;
-      word-wrap: break-word;
-      overflow: hidden;
-    }
-  }
-  .quick-launch-item:hover,
-  .quick-launch-item:focus {
-    background-color: @primary-10;
-    cursor: pointer;
-    background: none;
-    border: 2px solid @brand-primary;
-    box-shadow: inset 0px 0px 36px @primary-10;
-    //plan b
-    border: 2px solid @primary-100;
-    box-shadow: 0px 0px 36px @primary-10;
-    transition: all 0.6s;
-
-    a {
-      text-decoration: none;
-    }
-  }
-
-  .quick-launch-item:active {
-    border: 2px solid @primary-300;
-    box-shadow: 0px 0px 36px @primary-20;
-    transition: none;
-  }
-
-  .quick-launch-actions {
-    position: relative;
-    height: 0;
-    display: block;
-    .pagination-page {
-      display: none;
-    }
-
-    .pagination-prev,
-    .pagination-next {
-
-      a {
-        position: absolute;
-        left: -17px;
-        top: 0;
-        height: 120px;
-        width: 42px;
-        text-indent: -999px;
-        overflow: hidden;
-        background: none;
-        border: none;
-
-        &:before {
-          content: '';
-          position: absolute;
-          top: 50%;
-          left: 50%;
-          width: 26px;
-          height: 44px;
-          margin-left: -13px;
-          margin-top: -22px;
-          background: url('../../img/pagination-arrows@2x.png');
-          background-repeat: no-repeat;
-
-          background-position: -4px -8px;
-          background-size: 70px 112px;
-        }
-        &:hover {
-          :before {
-            background-position: -4px -60px;
-          }
-          box-shadow: 0 0 5px fade(@primary-20, 50%);
-          background: fade(@primary-20, 50%);
-        }
-      }
-
-      &.disabled {
-        display: none;
-      }
-    }
-
-    .pagination-next a {
-      right: -17px;
-      left: auto;
-      &:before {
-        background-position: -44px -8px;
-
-      }
-      &:hover:before {
-        background-position: -44px -60px;
-      }
-
-    }
-  }
-
-  .quick-launch-nothing-found {
-    text-align: center;
-    .nothing-found-title {
-      font-size: 23px;
-      color: #747F86;
-    }
-    .nothing-found-description {
-      font-size: 16px;
-      color: #A8B2B9;
-
-      margin-top: 20px;
-      margin-bottom: 46px;
-    }
-  }
-}
-
-.brooklyn-home-card {
-  h2.md-headline {
-    color: #A8B2B9;
-    font-size: 20px;
-  }
-}
-
-.brooklyn-modules {
-  a {
-    .brooklyn-home-card {
-      h2.md-headline {
-        color: #CCCCCC;
-        transition: color 0.3s;
-      }
-      h3 {
-        color: @brooklyn-home-button-color;
-        transition: color 0.3s;
-        margin-top: 0;
-
-        @media (min-width: @screen-sm-min) {
-          font-size: 16px;
-        }
-        @media (min-width: @screen-md-min) {
-          font-size: 18px;
-        }
-        @media (min-width: @screen-lg-min) {
-          font-size: 20px;
-        }
-      }
-    }
-
-    &:hover {
-      .brooklyn-home-card {
-        h2.md-headline {
-          color: @brooklyn-home-button-color-hover;
-        }
-        h3 {
-          color: @brooklyn-home-button-color-hover;
-        }
-      }
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/app/views/main/main.template.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/app/views/main/main.template.html b/new/ui-modules/home/app/views/main/main.template.html
deleted file mode 100644
index 6ad4dfe..0000000
--- a/new/ui-modules/home/app/views/main/main.template.html
+++ /dev/null
@@ -1,81 +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>
-                <div class="row">
-                    <div class="col-md-9">Quick launch</div>
-                    <fieldset class="col-md-3">
-                        <div class="form-group has-feedback">
-                            <input type="text"
-                                   ng-model="vm.search"
-                                   class="form-control"
-                                   id="appSearch"
-                                   aria-describedby="appSearch">
-                                <span class="form-control-feedback" aria-hidden="true">
-                                    <i class="fa fa-search"></i>
-                                </span>
-                        </div>
-                    </fieldset>
-                </div>
-            </br-card-content-headline>
-
-            <div class="quick-launch-container clearfix">
-                <div class="col-md-2 quick-launch-item" ng-repeat="app in filteredApps = (vm.catalogApps | filter:vm.search) | limitTo:vm.pagination.itemsPerPage:(vm.pagination.page-1)*vm.pagination.itemsPerPage track by (app.containingBundle + app.symbolicName + app.version)">
-                    <a ui-sref="main.deploy({bundleSymbolicName: app.containingBundle.split(':')[0], bundleVersion: app.containingBundle.split(':')[1], typeSymbolicName: app.symbolicName, typeVersion: app.version})" class="thumbnail">
-                        <div class="quick-launch-icon-container">
-                            <img class="quick-launch-icon" ng-src="{{app | iconGeneratorPipe}}">
-                        </div>
-                        <div class="caption">{{app.name || app.symbolicName}}</div>
-                    </a>
-                </div>
-                <div class="quick-launch-nothing-found" ng-if="filteredApps.length === 0">
-                    <div class="nothing-found-title">Nothing found</div>
-                    <div class="nothing-found-description">Please check the spelling of your search terms or try other, more general keywords.</div>
-                </div>
-
-                <div class="quick-launch-actions">
-                    <div uib-pagination total-items="filteredApps.length" items-per-page="vm.pagination.itemsPerPage" ng-model="vm.pagination.page"></div>
-                </div>
-            </div>
-
-        </br-card-content>
-    </br-card>
-
-
-    <div class="row brooklyn-modules">
-        <div class="col-md-3" ng-repeat="uiModule in vm.uiModules">
-            <a ng-href="{{uiModule.path}}">
-                <br-card center="true">
-                    <br-card-content>
-                        <br-card-content-headline>
-                            <i class="module-icon fa" ng-class="uiModule.icon"></i>
-                        </br-card-content-headline>
-                        <br-card-content-subhead>
-                            <h3>{{uiModule.name}}</h3>
-                        </br-card-content-subhead>
-                    </br-card-content>
-                </br-card>
-            </a>
-        </div>
-    </div>
-</div>
-
-<ui-view />

http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/home/config/build/webpack.config.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/config/build/webpack.config.js b/new/ui-modules/home/config/build/webpack.config.js
deleted file mode 100644
index a050fa9..0000000
--- a/new/ui-modules/home/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/home/config/server.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/config/server.js b/new/ui-modules/home/config/server.js
deleted file mode 100644
index dfba7dc..0000000
--- a/new/ui-modules/home/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/home/config/test/karma.config.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/config/test/karma.config.js b/new/ui-modules/home/config/test/karma.config.js
deleted file mode 100644
index 6fc6558..0000000
--- a/new/ui-modules/home/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/home/config/test/karma.test.shim.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/config/test/karma.test.shim.js b/new/ui-modules/home/config/test/karma.test.shim.js
deleted file mode 100644
index 3d926c0..0000000
--- a/new/ui-modules/home/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/home/config/test/protractor.config.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/config/test/protractor.config.js b/new/ui-modules/home/config/test/protractor.config.js
deleted file mode 100644
index 5274c81..0000000
--- a/new/ui-modules/home/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/home/package.json
----------------------------------------------------------------------
diff --git a/new/ui-modules/home/package.json b/new/ui-modules/home/package.json
deleted file mode 100644
index bc0b5c6..0000000
--- a/new/ui-modules/home/package.json
+++ /dev/null
@@ -1,102 +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-home",
-  "versionBuildNote": "BROOKLYN_VERSION_BELOW this exists so scripts update this automatically",
-  "version": "1.0.0-SNAPSHOT",
-  "description": "Brooklyn UI :: Modules - Home",
-  "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": "Home"
-  },
-  "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.6",
-    "es6-promise": "^4.0.5",
-    "font-awesome": "^4.6.1",
-    "isomorphic-fetch": "^2.2.1",
-    "lodash": "^4.12.0",
-    "normalizr": "^2.1.0"
-  },
-  "devDependencies": {
-    "angular-mocks": "^1.6.1",
-    "autoprefixer": "^6.3.6",
-    "babel-core": "^6.9.1",
-    "babel-loader": "^6.2.3",
-    "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.4.0",
-    "exports-loader": "^0.6.2",
-    "expose-loader": "^0.7.1",
-    "express": "^4.13.4",
-    "extract-text-webpack-plugin": "^1.0.1",
-    "file-loader": "^0.9.0",
-    "html-loader": "^0.4.3",
-    "html-webpack-plugin": "^2.22.0",
-    "image-webpack-loader": "^3.0.0",
-    "imports-loader": "^0.6.5",
-    "jasmine-core": "^2.4.1",
-    "karma": "^1.1.2",
-    "karma-jasmine": "^1.0.2",
-    "karma-phantomjs-launcher": "^1.0.1",
-    "karma-sourcemap-loader": "^0.3.7",
-    "karma-webpack": "^1.8.0",
-    "less": "^2.6.1",
-    "less-loader": "^2.2.3",
-    "less-vars-to-js": "^1.1.2",
-    "phantomjs-prebuilt": "^2.1.11",
-    "postcss-loader": "^1.0.0",
-    "properties-reader": "0.0.15",
-    "proxy-middleware": "^0.15.0",
-    "raw-loader": "^0.5.1",
-    "resolve-url-loader": "^1.4.3",
-    "rimraf": "^2.5.3",
-    "style-loader": "^0.13.0",
-    "url": "^0.11.0",
-    "url-loader": "^0.5.7",
-    "webpack": "^1.12.12",
-    "webpack-dev-middleware": "^1.6.1",
-    "webpack-hot-middleware": "^2.10.0"
-  }
-}