You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/07/31 13:17:21 UTC

[40/51] [partial] applying patch related to JIRA STRATOS-12

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/docs/xdoc/samples/web_service_client_sample.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/docs/xdoc/samples/web_service_client_sample.xml b/products/cloud_controller/docs/xdoc/samples/web_service_client_sample.xml
deleted file mode 100644
index 2eb4e5b..0000000
--- a/products/cloud_controller/docs/xdoc/samples/web_service_client_sample.xml
+++ /dev/null
@@ -1,235 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-  ~ 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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>WSO2 MB Samples - Web Service Client Sample</title>
-        <link href="../css/mb-docs.css" rel="stylesheet"/>
-        <link href="../styles/dist-docs.css" rel="stylesheet" type="text/css"
-              media="all"/>
-    </head>
-    <body>
-        <p>[<a href="../docs_index.html">Documentation Index</a>]  </p>
-        <h1>Web Service Client Sample</h1>
-        <p> <a href="http://www.w3.org/Submission/WS-Eventing/">Web Service Eventing Specification </a>  defines how Web
-            Services Eventing supports the simplest levels of Web
-            services interfaces for notification producers and consumers for a distributed event management system. It
-            is a baseline set of operations that allow Web services to provide asynchronous notifications to interested
-            parties. WS-Eventing defines the simplest level of Web services interfaces for notification producers and
-            notification consumers including standard message exchanges to be implemented by service providers that wish
-            to act in these roles, along with operational requirements expected of them. It has a set of functions
-            supporting publish/subscribe required by robust, scalable enterprise applications including message brokering
-            and topic based subscription management.</p>
-        <p>WSO2 MB 2.0.1 supports WS-eventing. This sample shows you how to register a Web Service as an event receiver
-            and subscribe it to the message brokering server, together with how to publish messages to that subscription
-            you have made.</p>
-        <h2>Defining Web Service</h2>
-        <pre xml:space="preserve">
-
-         /**
-         * 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.
-         */
-
-
-            public class EventSinkService {
-                public void receive(String message){
-                    System.out.println("Got  the message ==> " + message);
-                }
-            }
-        </pre>
-        <h2>Host The Service And Start A Broker Client With Service URL</h2>
-        <p>Then this service has to be hosted in a server, and a broker client should be defined with that service url.</p>
-        <pre xml:space="preserve">
-
-            private AxisServer axisServer;
-            private BrokerClient brokerClient;
-            public void start() {
-                try {
-                    System.setProperty("javax.net.ssl.trustStore", "../../repository/resources/security/wso2carbon.jks");
-                    System.setProperty("javax.net.ssl.trustStorePassword", "wso2carbon");
-                    this.axisServer = new AxisServer();
-                    this.axisServer.deployService(EventSinkService.class.getName());
-                    this.brokerClient = new BrokerClient("https://localhost:9443/services/EventBrokerService", "admin", "admin");
-                    // give time to start the simple http server
-                    try {
-                    Thread.sleep(2000);
-                    } catch (InterruptedException e) {
-                    }
-                } catch (AxisFault axisFault) {
-                    System.out.println("Can not start the server");
-                } catch (AuthenticationExceptionException e) {
-                    e.printStackTrace();
-                }
-            }
-        </pre>
-        <h2>Subscribe The Service To Receive Events</h2>
-        <p>Now we have to subscribe the above service to the broker to receive events. For that we use a "topic". Broker
-            client implementation allows you to subscribe a service to a topic in Message Broker. Here a topic named
-            "foo/bar" is used.</p>
-        <pre xml:space="preserve">
-
-            public String subscribe() {
-                // set the properties for ssl
-                try {
-                    return this.brokerClient.subscribe("foo/bar" , "http://localhost:6060/axis2/services/EventSinkService/receive");
-                } catch (BrokerClientException e) {
-                    e.printStackTrace();
-                }
-                return null;
-            }
-        </pre>
-        <h2>Publish Messages </h2>
-        <p>When messages or events are published to the topic in message broker, it will be received by the web service.</p>
-        <pre xml:space="preserve">
-
-            public void publish(){
-                try {
-                    this.brokerClient.publish("foo/bar", getOMElementToSend());
-                } catch (AxisFault axisFault) {
-                    axisFault.printStackTrace();
-                }
-            }
-        </pre>
-        <p>As the service only doing flusing the message to the console, you should see the message getting printed in the console.</p>
-        <p>The full sample code will be like following.</p>
-        <pre xml:space="preserve">
-
-/**
- * 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 org.apache.axiom.om.OMAbstractFactory;
-import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.engine.AxisServer;
-import org.wso2.carbon.event.client.broker.BrokerClient;
-import org.wso2.carbon.event.client.broker.BrokerClientException;
-import org.wso2.carbon.event.client.stub.generated.authentication.AuthenticationExceptionException;
-import java.rmi.RemoteException;
-            public class PubSubClient {
-                private AxisServer axisServer;
-                private BrokerClient brokerClient;
-                public void start() {
-                    try {
-                        System.setProperty("javax.net.ssl.trustStore", "../../repository/resources/security/wso2carbon.jks");
-                        System.setProperty("javax.net.ssl.trustStorePassword", "wso2carbon");
-                        this.axisServer = new AxisServer();
-                        this.axisServer.deployService(EventSinkService.class.getName());
-                        this.brokerClient = new BrokerClient("https://localhost:9443/services/EventBrokerService", "admin", "admin");
-                        // give time to start the simple http server
-                        try {
-                            Thread.sleep(2000);
-                        } catch (InterruptedException e) {
-                        }
-                    } catch (AxisFault axisFault) {
-                        System.out.println("Can not start the server");
-                    } catch (AuthenticationExceptionException e) {
-                        e.printStackTrace();
-                    }
-                }
-                public String subscribe() {
-                    // set the properties for ssl
-                    try {
-                        return this.brokerClient.subscribe("foo/bar" , "http://localhost:6060/axis2/services/EventSinkService/receive");
-                    } catch (BrokerClientException e) {
-                        e.printStackTrace();
-                    }
-                    return null;
-                }
-                public void publish(){
-                    try {
-                        this.brokerClient.publish("foo/bar", getOMElementToSend());
-                    } catch (AxisFault axisFault) {
-                        axisFault.printStackTrace();
-                    }
-                }
-                public void unsubscribe(String subscriptionID){
-                    try {
-                        this.brokerClient.unsubscribe(subscriptionID);
-                    } catch (RemoteException e) {
-                        e.printStackTrace();
-                    }
-                }
-                public void stop(){
-                    try {
-                        this.axisServer.stop();
-                    } catch (AxisFault axisFault) {
-                        axisFault.printStackTrace();
-                    }
-                }
-                public static void main(String[] args) {
-                    PubSubClient pubSubClient = new PubSubClient();
-                    pubSubClient.start();
-                    String subscriptionId = pubSubClient.subscribe();
-                    pubSubClient.publish();
-                    try {
-                        Thread.sleep(5000);
-                    } catch (InterruptedException e) {}
-                    pubSubClient.unsubscribe(subscriptionId);
-                    pubSubClient.stop();
-                }
-                private OMElement getOMElementToSend() {
-                    OMFactory omFactory = OMAbstractFactory.getOMFactory();
-                    OMNamespace omNamespace = omFactory.createOMNamespace("http://ws.sample.org", "ns1");
-                    OMElement receiveElement = omFactory.createOMElement("receive", omNamespace);
-                    OMElement messageElement = omFactory.createOMElement("message", omNamespace);
-                    messageElement.setText("Test publish message");
-                    receiveElement.addChild(messageElement);
-                    return receiveElement;
-                }
-}
-        </pre>
-        <p>Note: As you might have already comprehended WSO2 MB should be running when running the sample.</p>
-    </body>
-</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/docs/xdoc/samples_index.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/docs/xdoc/samples_index.xml b/products/cloud_controller/docs/xdoc/samples_index.xml
deleted file mode 100644
index 27f262d..0000000
--- a/products/cloud_controller/docs/xdoc/samples_index.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ 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
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>
-            WSO2 MB - Samples Guide Index
-        </title>
-        <link href="css/mb-docs.css" rel="stylesheet"/>
-        <link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
-              media="all"/>
-    </head>
-
-    <body>
-        [
-        <a href="docs_index.html">Documentation Index</a>
-        ]
-        <h1>Running the WSO2 Message Broker Server (MB) Samples</h1>
-
-        <h2>
-            <a name="TOC">Table of Contents</a>
-        </h2>
-
-        <div class="section-content">
-            <ul>
-                <li>
-                    <a href="samples_index.html#Overview">Overview</a>
-                </li>
-                <li>
-                    <a href="samples/jms_queue_sample.html">JMS Queue Sample</a>
-                </li>
-                <li>
-                    <a href="samples/jms_topic_sample.html">JMS Topic Sample</a>
-                </li>
-                <li>
-                    <a href="samples/jms_transport_sample.html">JMS Transport Sample</a>
-                </li>
-                <li>
-                    <a href="samples/web_service_client_sample.html">Web Service Eventing Sample</a>
-                </li>
-            </ul>
-        </div>
-        <h2 id="Overview">Overview</h2>
-        <p>
-            This set of samples demonstrates the features in Message Broker product to use in
-            various situations. We will use JMS APIs with Message Broker to
-            publish,subscribe messages.
-        </p>
-        <p>
-            The source code used in the samples can be found in $CARBON_HOME/samples.
-        </p>
-
-        <p>
-            Please refers the
-            <a href="user_guide.html">User Guide</a>
-            to get familiar with Message Broker product.
-        </p>
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/docs/xdoc/setting_java_home.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/docs/xdoc/setting_java_home.xml b/products/cloud_controller/docs/xdoc/setting_java_home.xml
deleted file mode 100644
index f686ece..0000000
--- a/products/cloud_controller/docs/xdoc/setting_java_home.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ 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
-     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>How to setup JAVA_HOME environment variable in Windows</title>
-        <link href="css/mb-docs.css" rel="stylesheet"/>
-        <link href="styles/dist-docs.css" rel="stylesheet" type="text/css" media="all"/>
-    </head>
-    <body>
-        <h2>How to setup JAVA_HOME environment variable in Windows</h2>
-
-        <p>Please follow the instructions to set up JAVA_HOME environment variable in your computer.
-            First find out the installation folder of Java development kit (JDK) in your machine.
-            Let's
-            assume it is installed in the folder "C:/j2sdk1.4.2"
-        </p>
-
-        <ol>
-            <li>Right click on the My Computer icon on your desktop and select properties</li>
-            <li>Click the Advanced Tab</li>
-            <li>Click the Environment Variables button</li>
-            <li>Under System Variable, click New</li>
-            <li>Enter the variable name as JAVA_HOME</li>
-            <li>Enter the variable value as the install path for the Development Kit</li>
-            <li>Click OK</li>
-            <li>Click Apply Changes</li>
-
-        </ol>
-
-        <img src="images/set-java-home.jpg" width="802" height="590" alt=""/>
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/docs/xdoc/source-repository.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/docs/xdoc/source-repository.xml b/products/cloud_controller/docs/xdoc/source-repository.xml
deleted file mode 100644
index 212721f..0000000
--- a/products/cloud_controller/docs/xdoc/source-repository.xml
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ 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
-        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>
-            WSO2 MB - Source Repository
-        </title>
-        <link href="css/mb-docs.css" rel="stylesheet"/>
-        <link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
-              media="all"/>
-    </head>
-    <body>
-        [ <a href="docs_index.html"> Documentation Index </a> ]
-        <h1>WSO2 Message Broker Server  (MB) Source Repository</h1>
-        WSO2 MB is developed on top of the revolutionary WSO2 Carbon platform. You might need the
-        source of the Carbon platform as well apart from the MB source code. Please note that both
-        MB and the Carbon platform is open source and the code is available under the Apache
-        Software License v2.0.
-
-        <h2>Overview</h2>
-        <p>This project uses <a href="http://subversion.tigris.org/">Subversion</a>
-        to manage its source code. Instructions on Subversion use can be found at
-            <a href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.</p>
-
-        <h2>Source code of the MB 1.0.0 release</h2>
-        <p>The following is a link to the online source tag of the WSO2 MB 1.0.0 release.</p>
-        <div class="source">
-            <pre><a href="http://svn.wso2.org/repos/wso2/tags/MB/java/3.0.0/">http://svn.wso2.org/repos/wso2/tags/mb/java/1.0.0/</a></pre>
-        </div>
-        <p>The complete source including the carbon platform can be checked out anonymously from
-            SVN with this command:</p>
-        <div class="source">
-            <pre>$ svn checkout http://svn.wso2.org/repos/wso2/tags/mb/java/1.0.0 wso2mb</pre>
-        </div>
-
-        <p>This code base contains the MB product source code inside the directory "product" and
-        it also contains the source for the platform under the directory "carbon-pltform". Further
-        there will be a "build.sh" script to build the MB with the platform.</p>
-
-        <p>This script accepts any of the maven related system properties, but the property to skip
-         the tests has been shortened to "-ts", for example to build the MB with the platform on
-         skipping tests the command is;</p>
-
-        <div class="source">
-            <pre>$ ./build.sh -ts</pre>
-        </div>
-
-        <p>To build off-line with this build script you can pass in the "-o" option. If you just
-        need to build either the product or a specific part of the platform (for example Axis2)
-        you just need to traverse to that directory and use maven to build any of the projects.</p>
-
-        <h2>Source code of the WSO2 MB trunk</h2>
-        <p>Everyone can access the Subversion repository via HTTPS, but Committers must checkout
-            the Subversion repository via HTTPS.
-        </p>
-        <div class="source">
-            <pre>$ svn checkout  https://svn.wso2.org/repos/wso2/trunk/carbon/products/mb wso2mb</pre>
-        </div>
-
-        <p>The Carbon framework related source code can be checked out from the
-            following commands.</p>
-
-        <div class="source">
-            <pre>$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon/core carbon</pre>
-        </div>
-
-        <div class="source">
-            <pre>$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon/components carbon-components</pre>
-        </div>
-
-        <p>The Carbon project is the root project of the OSGi platform on which all the Java
-            product stack is built on top of, and the carbon-components contains all the components
-            not just MB specific components. So you obviously need to build just the set of
-            components required by the MB, which can be achieved through;
-        </p>
-
-        <div class="source">
-            <pre>$ mvn clean install -Dproduct=MB</pre>
-        </div>
-
-        <p>To commit changes to the repository, execute the following command (svn will prompt
-            you for your password)
-        </p>
-        <div class="source">
-            <pre>$ svn commit --username your-username -m "A message"</pre>
-        </div>
-
-        <h2>Access from behind a firewall</h2>
-        <p>For those users who are stuck behind a corporate firewall which is blocking http access
-            to the Subversion repository, you can try to access it via the developer connection:
-        </p>
-        <div class="source">
-            <pre>$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon/products/mb wso2mb</pre>
-        </div>
-        <h2>Access through a proxy</h2>
-        <p>The Subversion client can go through a proxy, if you configure it to do so.
-            First, edit your "servers" configuration file to indicate which proxy to use. The
-            files location depends on your operating system. On Linux or Unix it is
-            located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion".
-            (Try "echo %APPDATA%", note this is a hidden directory.)
-        </p>
-        <p>There are comments in the file explaining what to do. If you don't have that file, get
-            the latest Subversion client and run any command; this will cause the configuration
-            directory and template files to be created.
-        </p>
-        <p>Example : Edit the 'servers' file and add something like :</p>
-        <div class="source">
-            <pre>[global]
-http-proxy-host = your.proxy.name
-http-proxy-port = 3128
-            </pre>
-        </div>
-    </body>
-</html>
-      

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/docs/xdoc/user_guide.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/docs/xdoc/user_guide.xml b/products/cloud_controller/docs/xdoc/user_guide.xml
deleted file mode 100644
index 972d78f..0000000
--- a/products/cloud_controller/docs/xdoc/user_guide.xml
+++ /dev/null
@@ -1,417 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-  ~ 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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-    <head>
-        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
-        <title>WSO2 MB - User Guide</title>
-        <link href="css/mb-docs.css" rel="stylesheet"/>
-        <link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
-              media="all"/>
-    </head>
-
-    <body>
-        <p>[<a href="docs_index.html">Documentation Index</a>]
-        </p>
-        <h1>WSO2 Message Broker(MB) User Guide</h1>
-
-        <p>The goal of this guide is to provide guidelines to be followed
-            in order to get familiar with WSO2 Message Broker and the procedure
-            of using the features provided by the product.
-        </p>
-
-        <h2>Contents</h2>
-
-        <div class="toc">
-            <ul>
-                <li>
-                    <a href="#Introduction">Introduction to Message Broker</a>
-                </li>
-                <!--li><a href="#Sample">Stock Quote Sample</a> </li-->
-                <li>
-                    <a href="#References">References</a>
-                </li>
-            </ul>
-        </div>
-
-        <h2 id="Introduction">Introduction to Message Broker</h2>
-        <p>This gives a brief introduction of how message broker can be used
-            in publishing and receiving messages.
-        </p>
-
-        <p>
-            WSO2 Message Broker is basically consist of two major features.They are:
-        </p>
-        <ul>
-            <li>Pub/ Sub Feature</li>
-            <li>Message Broker Clustering feature</li>
-        </ul>
-
-        <h3>
-            Pub/Sub Feature
-        </h3>
-
-        <p>This feature of the WSO2 Message Broker provides the facility for users to route messages
-            to the required users. If we are explaining deeply,
-            there is a concept called 'Topic' and message routing is done on the base of that
-            topic. When a particular user want to publish
-            a message to a particular sector , he creates a topic with a name related to the
-            messages that he is going to pulish. As an example, if a particular
-            user want to publish messages related with sports news, he can create a topic with the
-            name 'SportsNews' and publish the messages to that topic.
-        </p>
-
-        <p>
-            When another particular user is interested on any topic in the topic tree, he can
-            subscribe to that topic and receive messages which are published
-            to that topic by the publisher. As in the above example, when a particular user is
-            interested on sports, he can subscribed to the topic 'SportsNews'
-            and get messages published to that topic.
-        </p>
-
-        <p>
-            <img src="images/MessageFlowDiagram.jpg"
-                 alt="Pub/Sub Message Flow"/>
-        </p>
-        <h3>How to use Pub/Sub Feature</h3>
-
-        <p>In WSO2 Message Broker , Pub/Sub feature is one of the two major features. Inorder to use
-            this feature , it is needed to create a Topic and subscribe to it.
-        </p>
-        <ul>
-            <li>Step 01</li>
-
-            <p>Login to the server</p>
-
-            <li>Step 02</li>
-
-            <p>Click on the 'Add' menu item under the 'Topics' menu to create a topic. To create a
-                topic , the only thing needed to be provided is the name of the topic.
-            </p>
-
-            <p>
-                <img src="images/topic_add.png"
-                     alt="Add Topic"/>
-            </p>
-
-            <li>Step 03</li>
-
-            <p>When you add a topic using the 'add' button , you will be directed to the 'Topic
-                Browser' page and you will see the topic tree.
-            </p>
-            <p>
-                <img src="images/topic_browser.png"
-                     alt="Topic Browser"/>
-            </p>
-
-            <p>Once you click on a topic in the topic tree , it will display all the available
-                operations on a topic.
-                Once you click on the 'Help' link on that page you will find the information on all
-                the operations available on the topic
-            </p>
-
-            <p>If you click on details link , you will find following page.</p>
-
-            <p>
-                <img src="images/topic_details.png"
-                     alt="Topic Details"/>
-            </p>
-
-            <li>Step 04</li>
-
-            <p>Once you click on the topic , you will get the following page.</p>
-            <p>
-                <img src="images/topic_browser_clicked.png"
-                     alt="Topic Details"/>
-            </p>
-
-
-            <p>Once you click on 'Subscribe' link on the above page, you will be directed to Add
-                subscriptions page.
-            </p>
-
-            <p>
-                <img src="images/topic_addSubscription.png"
-                     alt="Subscribe to topics"/>
-            </p>
-
-            <p>You can create a subscription to the topic by provide the information on subscription
-            </p>
-            <li>Topic</li>
-            <p>User does not need to specify the topic here , since its automatically sets up.</p>
-
-            <li>Subscription Mode</li>
-
-            <p>This is the mode of the subscription and there are three modes.</p>
-
-            <p>The default mode for the subscription is "Topic Only". With this mode , user creates
-                the
-                subscription only to the topic. In this mode subscribers only receive events which
-                are published only to the that topic.
-            </p>
-
-            <p>Next mode of subscription is "Topic and Immediate child". In this mode subscribers of
-                the topic
-                receives events published not only the specified topic but also to the immediate
-                child of that topic.
-            </p>
-
-            <p>Last mode of subscription is "Topic and Children". In this mode subscribers of the
-                specified
-                topic will receive events published to the specified topic and all its children
-            </p>
-
-            <li>Event Sink URL</li>
-            <p>This is the URL which the subscriber should provide to receive events published. When
-                events are
-                published to the topic, they are sent to the specified URL here.
-            </p>
-
-            <li>Expiration Time</li>
-            <p>Here user can specify the expiration time of the subscription. This is not a required
-                parameter and
-                if user leave it alone, subscription will never be expired.
-            </p>
-
-            <p>Note : You can create a simple axis2service and use it's URL as the EventSinkURL .
-                Inorder to create an axis2service ,
-            </p>
-            <ul>
-                <li>Browse the location : /wso2mb-1.0.0/samples/services/EventSinkService
-                </li>
-                <li>Type the command : ant</li>
-
-                <P>(This ant task will create a simple axis2service 'EventSinkService' and deploy it
-                    in the location :
-                    /wso2mb-1.0.0/repository/deployment/server/axis2services/ )
-                </P>
-            </ul>
-
-            <p>Now you can create a subscription by providing the Event Sink URL :
-                https://localhost:9443/services/EventSinkService/getOMElement
-            </p>
-
-            <p>Click on the button 'Subscribe' and it will create the subscription and list it in
-                the subscription table of that topic in topic details page.
-            </p>
-
-
-            <p>
-                <img src="images/topic_subscriptionDetails.png"
-                     alt="Topic subscription details"/>
-            </p>
-
-
-            <li>Step 05</li>
-
-            <p>At the end of the subscribing process , you can test whether the topic and the
-                subscriptions created are working fine.
-                In order to do that what you have to do is type a XML message in the provided text
-                box and under the 'Publish' section
-                of Topic Details page and click on 'Publish button'
-            </p>
-
-            <p>Then check the command line and you will be able to see the XML Message that you
-                types in the provided space.
-            </p>
-            <h3>Clustering support of WSO2 Message Broker</h3>
-            <p>
-            	WSO2 MB  is now supporting clustering. That means high availability and failover support
-            	is there. You can setup several Message Broker nodes and configure them up to work as a cluster 
-            	so that if one node is down message routing and handling will be taken over by other nodes in the cluster.
-            	At the same time overhead of routing messages is distributed among the Message Broker cluster nodes so
-            	that overall performance of Message Brokering goes up. Thus, having a lot of publishers and subscribers will
-            	not be a problem anymore as there is no significant performance degrade with the number of publishers, 
-            	subscribers and exchanges. Scalability is beyond you with WSO2 MB with combined resources you have. 
-            	Fault tolerance brings you great benefits in deployment apart from the performance gain. 
-            </p>
-
-            <p>
-                There are several cluster deployment models supported by WSO2 Message Broker. Read on them at <a href="deployment_guide.html">
-                Deployment guide
-                </a>
-                and choose the suitable deployment pattern for your use-case and enable clustering as described there.
-            </p>
-
-            <li>   Sample Scenario - This sample is based on Clustering Scenario 1, <a href="cluster_scenario_01.html">'Starting external cassandra server
-                   and zoo keeper server and point all broker nodes to them'</a>:
-                <ul>
-                    <li>
-                        In your local machine setup two WSO2 MB instances running with external Cassandra server and Zookeeper server
-                        (note that you can setup Cassandra and Zookeeper to run on the same machine). In order to do that in the second WSO2 MB
-                        instance define a port offset changing &lt;MB Home&gt;/repository/conf/carbon.xml (eg: set port offset to 1).
-                    </li>
-                    <li>
-                        We will call first broker instance MB1 (runs on port 5672) and the other MB2 (runs on port 5673).
-                    </li>
-                    <li>
-                        Using following JMS client make subscriptions to a queue "myQueue" at MB1.
-                        <pre xml:space="preserve">
-
-                        import javax.jms.*;
-                        import javax.naming.InitialContext;
-                        import javax.naming.NamingException;
-                        import java.util.Properties;
-
-                        public class ConsumeClient {
-                            public void consumeMessage() {
-
-                                Properties initialContextProperties = new Properties();
-                                initialContextProperties.put("java.naming.factory.initial",
-                                        "org.wso2.andes.jndi.PropertiesFileInitialContextFactory");
-                                String connectionString = "amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5672'";
-                                initialContextProperties.put("connectionfactory.qpidConnectionfactory", connectionString);
-                                initialContextProperties.put("queue.myQueue", "myQueue");
-
-                                try {
-                                    InitialContext initialContext = new InitialContext(initialContextProperties);
-                                    QueueConnectionFactory queueConnectionFactory
-                                            = (QueueConnectionFactory) initialContext.lookup("qpidConnectionfactory");
-                                    QueueConnection queueConnection = queueConnectionFactory.createQueueConnection();
-                                    queueConnection.start();
-
-                                    QueueSession queueSession = queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-                                    Destination destination = (Destination) initialContext.lookup("myQueue");
-
-                                    MessageConsumer messageConsumer = queueSession.createConsumer(destination);
-
-                                    TextMessage textMessage = (TextMessage) messageConsumer.receive();
-                                    System.out.println("Got message ==> " + textMessage.getText());
-
-                                    try {
-                                        Thread.sleep(9000);
-                                    } catch (Exception e) {
-                                        System.out.println(e);
-                                    }
-
-                                    messageConsumer.close();
-
-                                    queueSession.close();
-                                    queueConnection.stop();
-                                    queueConnection.close();
-
-                                } catch (NamingException e) {
-                                    e.printStackTrace();
-                                } catch (JMSException e) {
-                                    e.printStackTrace();
-                                }
-
-
-                            }
-
-                            public static void main(String[] args) {
-                                ConsumeClient sendConsumeClient = new ConsumeClient();
-                                sendConsumeClient.consumeMessage();
-                            }
-                        }
-
-                        </pre>
-
-                    </li>
-                    <li>
-                        Now using Message Sender described below, send a message to "myQueue" at MB2.
-
-                        <pre xml:space="preserve">
-
-                        import javax.jms.*;
-                        import javax.naming.InitialContext;
-                        import javax.naming.NamingException;
-                        import java.util.Properties;
-
-                        public class SendClient {
-                            public static void main(String[] args) {
-                                SendClient sendClient = new SendClient();
-                                sendClient.sendMessage();
-                            }
-
-                            public void sendMessage() {
-
-                                Properties initialContextProperties = new Properties();
-                                initialContextProperties.put("java.naming.factory.initial",
-                                        "org.wso2.andes.jndi.PropertiesFileInitialContextFactory");
-                                String connectionString = "amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5673'";
-                                initialContextProperties.put("connectionfactory.qpidConnectionfactory", connectionString);
-                                initialContextProperties.put("queue.myQueue", "myQueue");
-
-
-                                try {
-                                    InitialContext initialContext = new InitialContext(initialContextProperties);
-                                    QueueConnectionFactory queueConnectionFactory
-                                            = (QueueConnectionFactory) initialContext.lookup("qpidConnectionfactory");
-
-                                    QueueConnection queueConnection = queueConnectionFactory.createQueueConnection();
-                                    queueConnection.start();
-
-                                    QueueSession queueSession = queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-
-                                    TextMessage textMessage = queueSession.createTextMessage();
-                                    textMessage.setText("Test message");
-                                    System.out.println("Sending Message : " + textMessage.getText().length());
-
-                                    // Send message
-                                    Queue queue = (Queue) initialContext.lookup("myQueue");
-
-                                    QueueSender queueSender = queueSession.createSender(queue);
-                                    queueSender.send(textMessage);
-
-                                    // Housekeeping
-                                    queueSender.close();
-                                    queueSession.close();
-                                    queueConnection.stop();
-                                    queueConnection.close();
-
-                                } catch (NamingException e) {
-                                    e.printStackTrace();
-                                } catch (JMSException e) {
-                                    e.printStackTrace();
-                                }
-
-                            }
-                        }
-                        </pre>
-                    </li>
-                    <li>
-                        Now you can run the consumer to receive messages from MB1. You will notice that the message you have
-                        sent to MB2 can be received by MB1. Even if MB2 instance was destroyed message will be consumed to the consumer.
-                    </li>
-                </ul>
-            </li>
-            <li>
-                <p>Following is a typical deployment diagram for a Message Broker cluster setup.</p>
-
-                <img src="images/Deployment_Diagram.jpg"
-                     alt="A typical cluster deployment"/>
-            </li>
-        </ul>
-        <h2 id="References">References</h2>
-        <ul>
-            <li>
-                <a href="http://zookeeper.apache.org/">Apache Zookeeper
-                </a>
-            </li>
-            <li>
-                <a href="http://cassandra.apache.org/">Apache Cassandra
-                </a>
-            </li>
-        </ul>
-
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/bottom.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/bottom.gif b/products/cloud_controller/modules/distribution/lib/home/images/bottom.gif
deleted file mode 100644
index 5679266..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/bottom.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/content-bg.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/content-bg.gif b/products/cloud_controller/modules/distribution/lib/home/images/content-bg.gif
deleted file mode 100644
index 6d0a579..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/content-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/favicon.ico
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/favicon.ico b/products/cloud_controller/modules/distribution/lib/home/images/favicon.ico
deleted file mode 100644
index f7b2bbf..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/favicon.ico and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/feature-01-icon.gif b/products/cloud_controller/modules/distribution/lib/home/images/feature-01-icon.gif
deleted file mode 100644
index b4ea8cd..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/feature-01-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/feature-02-icon.gif b/products/cloud_controller/modules/distribution/lib/home/images/feature-02-icon.gif
deleted file mode 100644
index 8754de1..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/feature-02-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/feature-03-icon.gif b/products/cloud_controller/modules/distribution/lib/home/images/feature-03-icon.gif
deleted file mode 100644
index d81f1fe..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/feature-03-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/intro-bg.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/intro-bg.gif b/products/cloud_controller/modules/distribution/lib/home/images/intro-bg.gif
deleted file mode 100644
index a38a0df..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/intro-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/logo.gif b/products/cloud_controller/modules/distribution/lib/home/images/logo.gif
deleted file mode 100644
index ee9beef..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/powered-logo.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/powered-logo.gif b/products/cloud_controller/modules/distribution/lib/home/images/powered-logo.gif
deleted file mode 100644
index fb478bf..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/powered-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/register.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/register.gif b/products/cloud_controller/modules/distribution/lib/home/images/register.gif
deleted file mode 100644
index 98c5362..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/register.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/sign-in.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/sign-in.gif b/products/cloud_controller/modules/distribution/lib/home/images/sign-in.gif
deleted file mode 100644
index 9e992cc..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/sign-in.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/title-bg.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/title-bg.gif b/products/cloud_controller/modules/distribution/lib/home/images/title-bg.gif
deleted file mode 100644
index 2d539a7..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/title-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/images/top.gif
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/images/top.gif b/products/cloud_controller/modules/distribution/lib/home/images/top.gif
deleted file mode 100644
index 9ed482c..0000000
Binary files a/products/cloud_controller/modules/distribution/lib/home/images/top.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/index.html
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/index.html b/products/cloud_controller/modules/distribution/lib/home/index.html
deleted file mode 100644
index cc82a56..0000000
--- a/products/cloud_controller/modules/distribution/lib/home/index.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-	<head>  <script type="text/javascript" src="../../carbon/googleanalytics/js/jquery.min.js"></script>
-                <script type="text/javascript" src="../../carbon/googleanalytics/js/googleAnalyticsProcessor.js"></script>
-		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
-		<title>StratosLive</title>
-		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
-		<link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
-		<meta name="description" content="WSO2 is the lean enterprise middleware company, delivering the only complete open source enterprise SOA middleware stack available internally and in the cloud." />
-		<meta name="keywords" content="cloud, platform-as-a-service, PaaS" />
-	</head>
-
-	<body>
-		<div id="main-content">
-			<div id="header">
-				<div class="logo"><img src="images/logo.gif"/></div>
-			</div>
-			<div id="content">
-				<div class="intro">
-					<div class="register">
-						<a href="https://stratoslive.wso2.com/carbon/tenant-register/select_domain.jsp"><img src="images/register.gif"/></a>
-						<a href="../carbon/sso-acs/redirect_ajaxprocessor.jsp"><img src="images/sign-in.gif"/></a>
-					</div>
-					<p>WSO2 MB brings Event Driven Architecture capabilities to WSO2 Carbon platform. It provides WS-Eventing, JMS and SQS interfaces to client. It uses Apache Qpid as the underling broker which supports AMQP.</p>
-				</div>
-				<div class="clear"></div>
-				<div class="features">
-					<h2>Features</h2>
-					<div class="feature feature-left">
-						<img src="images/feature-01-icon.gif"/>
-						<h2>Bring CEP to SOA</h2>
-						<p>
-							Bring CEP to SOA by processing XML events and produce results as XML events.
-						</p>
-					</div>
-					<div class="feature">
-						<img src="images/feature-02-icon.gif"/>
-						<h2>Registry Storage</h2>
-						<p>
-							Ability to define different event streams, queries and out put streams and store them in the registry as a bucket.
-						</p>
-					</div>
-					<div class="feature">
-					 	<img src="images/feature-03-icon.gif"/>
-						<h2>Esper and Fusion</h2>
-						<p>
-							Support Esper and fusion back end runtimes.
-						</p>
-					</div>
-					<div class="clear"></div>				
-				</div>
-				<div class="clear"></div>
-			</div>
-			<div id="footer">
-				<div class="footer-links">
-					<a href="http://www.wso2.com/cloud/services/terms-of-use" target="_blank">Terms of Service</a> | <a href="http://www.wso2.com/cloud/services/privacy-policy" target="_blank">Privacy Policy</a> | <a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a>
-				</div>
-				<div class="powered">
-						<span>Powered by</span><img src="images/powered-logo.gif" alt="ESB"/>
-					</div>
-					<span class="copyright">&copy;stratoslive.wso2.com copyright 2010-2011 WSO2, Inc. </span>
-				</div>
-			</div>
-		</div>
-	</body>
-
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/lib/home/style.css
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/lib/home/style.css b/products/cloud_controller/modules/distribution/lib/home/style.css
deleted file mode 100644
index f91a662..0000000
--- a/products/cloud_controller/modules/distribution/lib/home/style.css
+++ /dev/null
@@ -1,46 +0,0 @@
-body { font-family: "Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms"; font-size: .85em; line-height: 135%; color: #434343; margin: 0px; padding: 0px; background-color: #94C8EC;}
-
-p { }
-
-td { }
-
-a:link { text-decoration: none; }
-
-a:visited { text-decoration: none; }
-
-a:hover { text-decoration: none; }
-
-a:active { text-decoration: none; }
-
-a img { border: 0px; }
-div
-.clear { clear: both; }
-
-div#main-content { width: 960px; margin: auto; background-image: url(images/top.gif); background-repeat: no-repeat; background-position: left top; }
-
-div#header { height: 125px; }
-div.logo { float: left; margin-top: 35px; }
-div.sign-in { float: right;  margin-top: 35px; }
-
-div#content { background-color: #ffffff; background-image: url(images/content-bg.gif); background-repeat: repeat-y; background-position: left top; }
-
-div.intro { padding: 35px; padding-top: 10px; padding-bottom: 20px; font-size: 125%; line-height: 130%; float: left; background-image: url(images/intro-bg.gif); background-position: left bottom; background-repeat: no-repeat; }
-div.intro p { margin-top: 0px; margin-bottom: 0px; }
-
-div.register { float: right; margin-left: 40px; margin-top: 0px; margin-right: 0px; width: 400px; text-align: center;}
-div.register a img { margin-bottom: 7px; }
-div.register a:hover img { opacity:0.7;filter:alpha(opacity=70) }
-
-div.features { margin-top: 20px; }
-div.features h2 { margin-top: 0px; margin-bottom: 0px; font-size: 24px; color: #003A63; margin-left: 35px; margin-right: 35px; border-bottom: solid 0px #79BDE8; padding-bottom: 10px; background-image: url(images/title-bg.gif); background-repeat: no-repeat; background-position: left bottom; }
-div.feature { float: left; width: 230px; margin-left: 30px; margin-top: 7px; padding: 20px; text-align: left; }
-div.feature img { float: left; margin-right: 10px; width: 64px; }
-div.feature h2 { margin-top: 0px; margin-bottom: 7px; color: #0499CC; font-size: 140%; line-height: 110%; font-weight: normal; border-bottom: 0px; margin-left: 0px; margin-right: 0px; padding-bottom: 0px; background-image: none; }
-div.feature p { margin-top: 0px; padding-top: 0px; }
-div.feature-left { margin-left: 41px; }
-
-div#footer { height: 80px; background-image: url(images/bottom.gif); background-position: left top; background-repeat: no-repeat; padding-top: 25px; }
-div#footer div.powered { color: #333333; float: right; font-size: 85%; margin-right: 10px; }
-div#footer div.powered span { float: left; line-height: 23px; margin-right: 5px; }
-div.footer-links { padding-bottom: 5px; padding-left: 10px; border-bottom: solid 1px #4E84C4; margin-bottom: 10px; color: #4E84C4; }
-div#footer span.copyright { font-size: 90%; padding-left: 10px; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/cloud_controller/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/cloud_controller/modules/distribution/pom.xml b/products/cloud_controller/modules/distribution/pom.xml
deleted file mode 100644
index fc1c515..0000000
--- a/products/cloud_controller/modules/distribution/pom.xml
+++ /dev/null
@@ -1,273 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~ 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/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.apache.stratos.cc</groupId>
-        <artifactId>cc-parent</artifactId>
-        <version>3.0.0-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>apache-stratos-cc</artifactId>
-    <packaging>pom</packaging>
-    <name>Apache Stratos - Cloud Controller - Distribution</name>
-    <url>http://apache.org</url>
-    <description>Apache Stratos - Cloud Controller - Distribution</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <version>${rampart.mar.version}</version>
-            <type>mar</type>
-        </dependency>
-        <dependency>
-            <groupId>slf4j.wso2</groupId>
-            <artifactId>slf4j</artifactId>
-            <version>${slf4j.wso2.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>1.2.17</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.andes.wso2</groupId>
-            <artifactId>andes-client</artifactId>
-	    <version>0.13.wso2v6</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs.wso2</groupId>
-            <artifactId>geronimo-jms_1.1_spec</artifactId>
-	    <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.event.client</artifactId>
-	    <version>4.1.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.event.client.stub</artifactId>
-	     <version>4.1.0</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>unpack-wso2carbon</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>wso2carbon-core</artifactId>
-                                    <version>${carbon.kernel.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <executions>
-                    <execution>
-                        <id>extract-docs-from-components</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <property name="tempdir" value="target/docs-temp"/>
-                                <mkdir dir="${tempdir}"/>
-                                <unzip dest="${tempdir}">
-                                    <fileset dir="target">
-                                        <include name="apache-stratos-cc-${project.version}.zip"/>
-                                    </fileset>
-                                </unzip>
-                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/"
-                                      overwrite="false">
-                                    <fileset
-                                            dir="${tempdir}/apache-stratos-cc-${project.version}/repository/components/">
-                                    </fileset>
-                                </copy>
-                                <unzip dest="${tempdir}">
-                                    <fileset
-                                            dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/">
-                                        <include name="*.ui*.jar"/>
-                                    </fileset>
-                                </unzip>
-                                <move todir="${tempdir}/web/" includeemptydirs="false">
-                                    <fileset dir="${tempdir}/web/">
-                                        <exclude name="**/yui/**"/>
-                                        <!--<exclude name="**/tenant-login/**"/>-->
-                                        <exclude name="**/codepress/**"/>
-                                        <exclude name="**/editarea/**"/>
-                                        <exclude name="**/ajax/**"/>
-                                        <exclude name="**/WEB-INF/**"/>
-                                        <include name="**/*.html"/>
-                                    </fileset>
-                                    <mapper type="glob" from="*.html" to="*.xml"/>
-                                </move>
-                                <mkdir dir="src/site/xdoc"/>
-                                <copy todir="src/site/xdoc" overwrite="false"
-                                      includeemptydirs="false">
-                                    <fileset dir="${tempdir}/web">
-                                        <exclude name="**/yui/**"/>
-                                        <exclude name="**/codepress/**"/>
-                                        <exclude name="**/editarea/**"/>
-                                        <exclude name="**/ajax/**"/>
-                                        <exclude name="**/WEB-INF/**"/>
-                                        <exclude name="**/*.html"/>
-                                        <exclude name="**/*.js"/>
-                                        <exclude name="**/*.jsp"/>
-                                        <exclude name="**/*.xsl"/>
-                                        <exclude name="*.*"/>
-                                    </fileset>
-                                </copy>
-                                <copy todir="src/site" overwrite="false" includeemptydirs="false">
-                                    <fileset dir="../../docs">
-                                    </fileset>
-                                </copy>
-                                <copy todir="target/site/" overwrite="false"
-                                      includeemptydirs="false">
-                                    <fileset dir="src/site/xdoc/">
-                                        <include name="**/images/*.*"/>
-                                    </fileset>
-                                </copy>
-                                <!--<delete dir="${tempdir}"/>-->
-                            </tasks>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>clean_target</id>
-                        <phase>install</phase>
-                        <configuration>
-                            <tasks>
-                                <delete dir="target/archive-tmp"/>
-                                <delete dir="target/dependency-maven-plugin-markers"/>
-                                <delete dir="target/maven-archiver"/>
-                                <delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
-                                <delete dir="target/sources"/>
-                                <delete dir="target/site"/>
-				<delete dir="src/site"/>
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-site-plugin</artifactId>
-                <version>3.0</version>
-                <configuration>
-                    <reportPlugins>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-project-info-reports-plugin</artifactId>
-                            <version>2.4</version>
-                            <reportSets>
-                                <reportSet>
-                                    <reports>
-                                        <report>index</report>
-                                    </reports>
-                                </reportSet>
-                            </reportSets>
-                        </plugin>
-                    </reportPlugins>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>site</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>pre_dist</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/dist.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>dist</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/bin.xml</descriptor>
-                                <!--descriptor>src/main/assembly/src.xml</descriptor>
-                                <descriptor>src/main/assembly/docs.xml</descriptor-->
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>