You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by pr...@apache.org on 2014/01/07 09:58:13 UTC

[1/2] git commit: adding mock REST app code and related build files

Updated Branches:
  refs/heads/master ee1d29c3f -> 850f099aa


adding mock REST app code  and related build files


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/0b55e2fb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/0b55e2fb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/0b55e2fb

Branch: refs/heads/master
Commit: 0b55e2fb5d5f10d13ba1a24c9c730a14f4fe38e0
Parents: 8cf82f2
Author: Pradeep Fernando <pr...@gmail.com>
Authored: Tue Jan 7 14:24:17 2014 +0530
Committer: Pradeep Fernando <pr...@gmail.com>
Committed: Tue Jan 7 14:24:17 2014 +0530

----------------------------------------------------------------------
 .../org.apache.stratos.rest.endpoint/pom.xml    |  30 ++-
 .../rest/endpoint/mock/StratosTestAdmin.java    | 181 +++++++++++++++++++
 .../META-INF/webapp-classloading.xml            |  35 ++++
 .../webapp/stratos-test/WEB-INF/cxf-servlet.xml |  36 ++++
 .../main/webapp/stratos-test/WEB-INF/web.xml    |  40 ++++
 .../stratos/META-INF/webapp-classloading.xml    |  35 ++++
 .../main/webapp/stratos/WEB-INF/cxf-servlet.xml |  59 ++++++
 .../src/main/webapp/stratos/WEB-INF/web.xml     |  40 ++++
 8 files changed, 453 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/pom.xml b/components/org.apache.stratos.rest.endpoint/pom.xml
index 0effd27..209007d 100644
--- a/components/org.apache.stratos.rest.endpoint/pom.xml
+++ b/components/org.apache.stratos.rest.endpoint/pom.xml
@@ -30,8 +30,32 @@
     <packaging>war</packaging>
     <name>Apache Stratos - RESTful admin service module</name>
 
-    <build>
+    <profiles>
+        <profile>
+            <id>test</id>
+            <activation>
+                <property>
+                    <name>env</name>
+                    <value>test</value>
+                </property>
+            </activation>
+            <properties>
+                <appName>stratos-test</appName>
+            </properties>
+        </profile>
+        <profile>
+            <id>prod</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <properties>
+                <appName>stratos</appName>
+            </properties>
+        </profile>
+    </profiles>
+
 
+    <build>
         <plugins>
           <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
@@ -48,10 +72,10 @@
                     <webResources>
                         <resource>
                             <!-- this is relative to the pom.xml directory -->
-                            <directory>src/main/webapp</directory>
+                            <directory>src/main/webapp/${appName}</directory>
                         </resource>
                     </webResources>
-                    <warName>stratos</warName>
+                    <warName>${appName}</warName>
                 </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/mock/StratosTestAdmin.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/mock/StratosTestAdmin.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/mock/StratosTestAdmin.java
new file mode 100644
index 0000000..b76ca5a
--- /dev/null
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/mock/StratosTestAdmin.java
@@ -0,0 +1,181 @@
+/*
+ * 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 org.apache.stratos.rest.endpoint.mock;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.stratos.rest.endpoint.annotation.AuthorizationAction;
+import org.apache.stratos.rest.endpoint.annotation.SuperTenantService;
+import org.apache.stratos.rest.endpoint.bean.cartridge.definition.CartridgeDefinitionBean;
+import org.apache.stratos.rest.endpoint.exception.RestAPIException;
+
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+
+@Path("/admin/")
+public class StratosTestAdmin {
+    private static Log log = LogFactory.getLog(StratosTestAdmin.class);
+
+
+
+    @POST
+    @Path("/cartridge/definition/")
+    @Produces("application/json")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public void deployCartridgeDefinition (CartridgeDefinitionBean cartridgeDefinitionBean)
+            throws RestAPIException {
+           log.info("Cartridge definition : " + cartridgeDefinitionBean.toString());
+
+    }
+
+
+    /*@GET
+    @Path("/cartridge/tenanted/list")
+    @Produces("application/json")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    public Cartridge[] getAvailableMultiTenantCartridges() throws ADCException {
+
+    }
+
+    @GET
+    @Path("/cartridge/list")
+    @Produces("application/json")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    public Cartridge[] getAvailableSingleTenantCartridges() throws ADCException {
+        List<Cartridge> cartridges = ServiceUtils.getAvailableCartridges(null, false, getConfigContext());
+        return cartridges.isEmpty() ? new Cartridge[0] : cartridges.toArray(new Cartridge[cartridges.size()]);
+    }
+
+    @GET
+    @Path("/cartridge/list/subscribed")
+    @Produces("application/json")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    public Cartridge[] getSubscribedCartridges() throws ADCException {
+
+    }
+
+    @POST
+    @Path("/cartridge/subscribe")
+    @Produces("application/json")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    public SubscriptionInfo subscribe(CartridgeInfoBean cartridgeInfoBean) {
+
+    }
+
+
+
+
+
+    @POST
+    @Path("/cartridge/unsubscribe")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    public void unsubscribe(String alias){
+
+    }
+
+    @POST
+    @Path("/tenant")
+    @Consumes("application/json")
+    @Produces("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public String addTenant(TenantInfoBean tenantInfoBean) throws Exception {
+
+    }
+
+
+    @PUT
+    @Path("/tenant")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public void updateTenant(TenantInfoBean tenantInfoBean) throws Exception {
+
+    }
+
+    @GET
+    @Path("/tenant/{tenantDomain}")
+    @Consumes("application/json")
+    @Produces("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public TenantInfoBean getTenant(@PathParam("tenantDomain") String tenantDomain) throws Exception {
+
+    }
+
+    @DELETE
+    @Path("/tenant/{tenantDomain}")
+    @Consumes("application/json")
+    @Produces("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public void deleteTenant(@PathParam("tenantDomain") String tenantDomain) throws Exception {
+
+    }
+
+
+    @GET
+    @Path("/tenant/list")
+    @Produces("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public TenantInfoBean[] retrieveTenants() throws Exception {
+
+    }
+
+    @GET
+    @Path("tenant/search/{domain}")
+    @Consumes("application/json")
+    @Produces("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public TenantInfoBean[] retrievePartialSearchTenants(@PathParam("domain")String domain) throws Exception {
+
+    }
+
+
+    @POST
+    @Path("tenant/activate/{tenantDomain}")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public void activateTenant(@PathParam("tenantDomain") String tenantDomain) throws Exception {
+
+
+    }
+
+    @POST
+    @Path("tenant/deactivate/{tenantDomain}")
+    @Consumes("application/json")
+    @AuthorizationAction("/permission/protected/manage/monitor/tenants")
+    @SuperTenantService(true)
+    public void deactivateTenant(@PathParam("tenantDomain") String tenantDomain) throws Exception {
+
+    }*/
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/META-INF/webapp-classloading.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/META-INF/webapp-classloading.xml b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/META-INF/webapp-classloading.xml
new file mode 100644
index 0000000..c62912d
--- /dev/null
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/META-INF/webapp-classloading.xml
@@ -0,0 +1,35 @@
+<?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.
+  -->
+
+<!--
+    This file defines class loading policy of the whole container. But this behaviour can be overridden by individual webapps by putting this file into the META-INF/ directory.
+-->
+<Classloading xmlns="http://wso2.org/projects/as/classloading">
+
+    <!-- Parent-first or child-first. Default behaviour is child-first.-->
+    <ParentFirst>false</ParentFirst>
+
+    <!--
+	Default environments that contains provides to all the webapps. This can be overridden by individual webapps by specifing required environments
+	Tomcat environment is the default and every webapps gets it even if they didn't specify it.
+	e.g. If a webapps requires CXF, they will get both Tomcat and CXF.
+     -->
+    <Environments>CXF,Carbon</Environments>
+</Classloading>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
new file mode 100644
index 0000000..3c80869
--- /dev/null
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
@@ -0,0 +1,36 @@
+<?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.
+  -->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:jaxrs="http://cxf.apache.org/jaxrs"
+       xsi:schemaLocation="
+         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+         http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd">
+
+    <jaxrs:server id="stratosAdmin" address="/">
+        <jaxrs:serviceBeans>
+            <ref bean="stratosRestEndpointTestBean"/>
+        </jaxrs:serviceBeans>
+    </jaxrs:server>
+
+    <bean id="stratosRestEndpointTestBean" class="org.apache.stratos.rest.endpoint.services.StratosAdmin"/>
+
+</beans>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/web.xml b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/web.xml
new file mode 100644
index 0000000..7cef351
--- /dev/null
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/web.xml
@@ -0,0 +1,40 @@
+<?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.
+  -->
+
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+    <display-name>S2 Admin Endpoint</display-name>
+
+    <servlet>
+        <servlet-name>StratosAdminEndpoint</servlet-name>
+        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>StratosAdminEndpoint</servlet-name>
+        <url-pattern>/*</url-pattern>
+    </servlet-mapping>
+
+</web-app>
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/META-INF/webapp-classloading.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/META-INF/webapp-classloading.xml b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/META-INF/webapp-classloading.xml
new file mode 100644
index 0000000..c62912d
--- /dev/null
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/META-INF/webapp-classloading.xml
@@ -0,0 +1,35 @@
+<?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.
+  -->
+
+<!--
+    This file defines class loading policy of the whole container. But this behaviour can be overridden by individual webapps by putting this file into the META-INF/ directory.
+-->
+<Classloading xmlns="http://wso2.org/projects/as/classloading">
+
+    <!-- Parent-first or child-first. Default behaviour is child-first.-->
+    <ParentFirst>false</ParentFirst>
+
+    <!--
+	Default environments that contains provides to all the webapps. This can be overridden by individual webapps by specifing required environments
+	Tomcat environment is the default and every webapps gets it even if they didn't specify it.
+	e.g. If a webapps requires CXF, they will get both Tomcat and CXF.
+     -->
+    <Environments>CXF,Carbon</Environments>
+</Classloading>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
new file mode 100644
index 0000000..dfb7263
--- /dev/null
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
@@ -0,0 +1,59 @@
+<?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.
+  -->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:jaxrs="http://cxf.apache.org/jaxrs"
+       xsi:schemaLocation="
+         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+         http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd">
+
+    <jaxrs:server id="stratosAdmin" address="/">
+        <jaxrs:serviceBeans>
+            <ref bean="stratosRestEndpointBean"/>
+        </jaxrs:serviceBeans>
+
+        <jaxrs:providers>
+            <ref bean="exceptionHandler"/>
+            <ref bean="authenticationFilter"/>
+            <ref bean="authorizationFilter"/>
+        </jaxrs:providers>
+
+        <!--The below config enables OAuth based authentication/authorization for REST API-->
+        <!--jaxrs:providers>
+            <ref bean="OAuthFilter"/>
+        </jaxrs:providers-->
+    </jaxrs:server>
+
+    <bean id="stratosRestEndpointBean" class="org.apache.stratos.rest.endpoint.services.StratosAdmin"/>
+    <bean id="authenticationFilter" class="org.apache.stratos.rest.endpoint.handlers.StratosAuthenticationHandler"/>
+    <bean id="authorizationFilter" class="org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler">
+        <property name="securedObject" ref="stratosRestEndpointBean"/>
+    </bean>
+    <bean id="exceptionHandler" class="org.apache.stratos.rest.endpoint.handlers.CustomExceptionMapper"/>
+
+    <!--The below config enables OAuth based authentication/authorization for REST API-->
+    <!--bean id="OAuthFilter" class="org.apache.stratos.rest.endpoint.handlers.OAuthHandler">
+        <property name="password" value="admin"/>
+        <property name="username" value="admin"/>
+        <property name="oauthValidationEndpoint" value="https://localhost:9443/services/"/>
+    </bean-->
+
+</beans>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0b55e2fb/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/web.xml b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/web.xml
new file mode 100644
index 0000000..7cef351
--- /dev/null
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/web.xml
@@ -0,0 +1,40 @@
+<?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.
+  -->
+
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+    <display-name>S2 Admin Endpoint</display-name>
+
+    <servlet>
+        <servlet-name>StratosAdminEndpoint</servlet-name>
+        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>StratosAdminEndpoint</servlet-name>
+        <url-pattern>/*</url-pattern>
+    </servlet-mapping>
+
+</web-app>
+


[2/2] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-stratos

Posted by pr...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-stratos


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/850f099a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/850f099a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/850f099a

Branch: refs/heads/master
Commit: 850f099aa2972a5f6e62575367e71ca3b8cb329c
Parents: 0b55e2f ee1d29c
Author: Pradeep Fernando <pr...@gmail.com>
Authored: Tue Jan 7 14:24:35 2014 +0530
Committer: Pradeep Fernando <pr...@gmail.com>
Committed: Tue Jan 7 14:24:35 2014 +0530

----------------------------------------------------------------------
 components/org.apache.stratos.adc.mgt/pom.xml   |    2 +-
 .../service/ServiceDeploymentManager.java       |  218 +++-
 .../manager/CartridgeSubscriptionManager.java   |    2 +
 .../adc/mgt/persistence/PersistenceManager.java |    7 +
 .../RegistryBasedPersistenceManager.java        |  137 ++
 .../DataInsertionAndRetrievalManager.java       |   16 +
 .../stratos/adc/mgt/utils/Serializer.java       |   21 +
 .../org.apache.stratos.autoscaler/pom.xml       |    4 +-
 .../autoscaler/monitor/ClusterMonitor.java      |    6 +-
 .../rule/AutoscalerRuleEvaluator.java           |   31 +
 .../org.apache.stratos.cartridge.agent/pom.xml  |    4 +-
 .../org.apache.stratos.cartridge.mgt.ui/pom.xml |    2 +-
 .../java/org/apache/stratos/cli/RestClient.java |    4 +-
 .../org.apache.stratos.cloud.controller/pom.xml |    6 +-
 .../internal/CloudControllerDSComponent.java    |   21 +-
 .../TopologySynchronizerTaskScheduler.java      |    7 +-
 .../controller/registry/RegistryManager.java    |   20 +-
 .../topology/TopologySynchronizerTask.java      |    6 +-
 .../controller/util/CloudControllerUtil.java    |    5 +-
 components/org.apache.stratos.common/pom.xml    |    4 +-
 .../common/util/StratosConfiguration.java       |    1 -
 .../org.apache.stratos.logging.view.ui/pom.xml  |    4 +-
 .../org.apache.stratos.register.ui/pom.xml      |    6 +-
 .../org.apache.stratos.rest.endpoint/pom.xml    |    6 +-
 .../stratos/rest/endpoint/ServiceHolder.java    |    2 +-
 .../rest/endpoint/services/ServiceUtils.java    |    4 +-
 .../rest/endpoint/services/StratosAdmin.java    |    6 +-
 .../pom.xml                                     |    4 +-
 .../pom.xml                                     |    4 +-
 .../org.apache.stratos.tenant.activity/pom.xml  |    2 +-
 .../org.apache.stratos.tenant.mgt.core/pom.xml  |    5 +
 .../tenant/mgt/core/DefaultTenantPersistor.java |  343 -----
 .../tenant/mgt/core/TenantPersistor.java        |  347 +++++
 .../internal/TenantMgtCoreServiceComponent.java |    5 -
 .../pom.xml                                     |    2 +-
 .../mgt/internal/TenantMgtServiceComponent.java |   35 +-
 .../services/GAppTenantRegistrationService.java |    4 +-
 .../mgt/services/TenantMgtAdminService.java     |   90 +-
 .../services/TenantSelfRegistrationService.java |    6 +-
 .../stratos/tenant/mgt/util/TenantMgtUtil.java  |    4 +
 .../src/main/resources/META-INF/services.xml    |    4 +
 components/org.apache.stratos.theme.mgt/pom.xml |    2 +-
 .../pom.xml                                     |    2 +-
 .../pom.xml                                     |    2 +-
 components/org.apache.stratos.usage/pom.xml     |    2 +-
 components/pom.xml                              |   13 +-
 .../src/main/resources/p2.inf                   |    6 +-
 .../src/main/resources/p2.inf                   |   14 +-
 .../pom.xml                                     |    4 +-
 .../src/main/resources/p2.inf                   |   16 +-
 .../pom.xml                                     |    2 +-
 features/manager/pom.xml                        |    4 +-
 .../src/main/resources/p2.inf                   |   10 +-
 .../pom.xml                                     |    2 +-
 features/pom.xml                                |    8 +-
 pom.xml                                         |    8 +-
 .../autoscaler/modules/distribution/pom.xml     |    4 +-
 .../distribution/src/main/assembly/bin.xml      |    5 +-
 .../distribution/src/main/conf/scaling.drl      |   89 +-
 .../distribution/src/main/license/LICENSE       |    2 +-
 products/autoscaler/modules/integration/pom.xml |    2 +-
 products/autoscaler/modules/p2-profile/pom.xml  |   20 +-
 products/autoscaler/pom.xml                     |   10 +-
 .../distribution/src/main/assembly/bin.xml      |    2 +-
 .../modules/distribution/pom.xml                |    4 +-
 .../distribution/src/main/assembly/bin.xml      |   11 +-
 .../distribution/src/main/conf/axis2.xml        | 1227 ++++++++++--------
 .../distribution/src/main/license/LICENSE       |    2 +-
 .../distribution/src/main/resources/launch.ini  |   25 +-
 .../cloud-controller/modules/p2-profile/pom.xml |   17 +-
 products/cloud-controller/pom.xml               |   12 +-
 .../load-balancer/modules/distribution/pom.xml  |   16 +-
 .../distribution/src/main/assembly/bin.xml      |   14 +-
 .../distribution/src/main/license/LICENSE       |    2 +-
 .../load-balancer/modules/p2-profile/pom.xml    |   52 +-
 products/load-balancer/pom.xml                  |   12 +-
 products/pom.xml                                |    2 +-
 products/stratos-controller/conf/README-STRATOS |   90 --
 products/stratos-controller/conf/axis2.xml      |  526 --------
 products/stratos-controller/conf/bam.xml        |   45 -
 .../stratos-controller/conf/billing-config.xml  |   68 -
 .../conf/cipher-text.properties                 |   26 -
 .../conf/cloud-services-desc.xml                |  195 ---
 .../conf/datasources.properties                 |   58 -
 .../conf/email-bill-generated.xml               |   39 -
 .../conf/email-billing-notifications.xml        |   50 -
 .../conf/email-new-tenant-activation.xml        |   47 -
 .../conf/email-new-tenant-registration.xml      |   47 -
 .../conf/email-password-reset.xml               |   43 -
 .../conf/email-payment-received-customer.xml    |   39 -
 .../conf/email-payment-received-wso2.xml        |   39 -
 .../conf/email-registration-complete.xml        |   38 -
 .../conf/email-registration-moderation.xml      |   47 -
 ...l-registration-payment-received-customer.xml |   39 -
 .../conf/email-registration.xml                 |   46 -
 .../stratos-controller/conf/email-update.xml    |   39 -
 .../stratos-controller/conf/embedded-ldap.xml   |  165 ---
 .../stratos-controller/conf/event-broker.xml    |   63 -
 .../conf/features-dashboard.xml                 |   93 --
 products/stratos-controller/conf/identity.xml   |  108 --
 products/stratos-controller/conf/jaas.conf      |   30 -
 .../stratos-controller/conf/jndi.properties     |    4 -
 .../stratos-controller/conf/loadbalancer.conf   |   49 -
 .../conf/metering-config-non-manager.xml        |  104 --
 .../conf/multitenancy-billing-rules.drl         |   53 -
 .../stratos-controller/conf/nhttp.properties    |   42 -
 .../conf/passthru-http.properties               |   34 -
 .../stratos-controller/conf/rule-component.conf |   22 -
 .../stratos-controller/conf/samples-desc.xml    |   33 -
 .../stratos-controller/conf/sso-idp-config.xml  |   27 -
 .../conf/status-monitor-config.xml              |   53 -
 .../conf/stratos-datasources.xml                |   69 -
 .../conf/synapse-configs/default/registry.xml   |   26 -
 .../default/sequences/errorHandler.xml          |   31 -
 .../synapse-configs/default/sequences/fault.xml |   76 --
 .../synapse-configs/default/sequences/main.xml  |  110 --
 .../conf/synapse-configs/default/synapse.xml    |   25 -
 .../stratos-controller/conf/synapse.properties  |   38 -
 .../conf/tenant-reg-agent.xml                   |   25 -
 .../conf/throttling-rules.drl                   |  270 ----
 products/stratos-controller/conf/user-mgt.xml   |  241 ----
 products/stratos-controller/conf/zoo.cfg        |   24 -
 .../stratos-controller/dbscripts/billing-h2.sql |  128 --
 .../dbscripts/billing-mysql.sql                 |  139 --
 .../dbscripts/metering_h2.sql                   |  133 --
 .../dbscripts/metering_mysql.sql                |  168 ---
 .../stratos-controller/dbscripts/migration.sql  |   26 -
 products/stratos-controller/dbscripts/s2_h2.sql |  115 --
 .../dbscripts/stratos_mysql.sql                 |  159 ---
 .../stratos-controller/dbscripts/wso2_rss.sql   |   99 --
 .../modules/cloud-service-mgt/pom.xml           |   98 --
 .../services/mgt/beans/CloudService.java        |   85 --
 .../CloudServiceMgtServiceComponent.java        |   74 --
 .../mgt/services/CloudManagerService.java       |  122 --
 .../manager/services/mgt/util/Constants.java    |   29 -
 .../stratos/manager/services/mgt/util/Util.java |  264 ----
 .../src/main/resources/META-INF/component.xml   |   32 -
 .../src/main/resources/META-INF/services.xml    |   43 -
 .../modules/dashboard/pom.xml                   |  144 --
 .../ui/clients/CloudManagerServiceClient.java   |  124 --
 .../manager/dashboard/ui/utils/Util.java        |   48 -
 .../src/main/resources/CloudManagerService.wsdl |  331 -----
 .../src/main/resources/META-INF/component.xml   |   36 -
 .../dashboard/ui/i18n/JSResources.properties    |   24 -
 .../dashboard/ui/i18n/Resources.properties      |   24 -
 .../cloud_services_configuration.jsp            |  204 ---
 .../cloud_services_save_ajaxprocessor.jsp       |   35 -
 .../web/tenant-dashboard/css/dashboard.css      |  252 ----
 .../tenant-dashboard/docs/images/dashboard.png  |  Bin 139674 -> 0 bytes
 .../tenant-dashboard/docs/userguide-old.html    |  101 --
 .../web/tenant-dashboard/docs/userguide.html    |   37 -
 .../images/WSO2-Cloud-Gateway-logo.gif          |  Bin 2506 -> 0 bytes
 .../images/WSO2-Storage-Server-logo.gif         |  Bin 2490 -> 0 bytes
 .../WSO2-Stratos-Application-Server-logo.gif    |  Bin 1473 -> 0 bytes
 ...2-Stratos-Business-Activity-Monitor-logo.gif |  Bin 1690 -> 0 bytes
 ...SO2-Stratos-Business-Process-Server-logo.gif |  Bin 1606 -> 0 bytes
 .../WSO2-Stratos-Business-Rules-Server-logo.gif |  Bin 1596 -> 0 bytes
 ...WSO2-Stratos-Cloud-Services-Gateway-logo.gif |  Bin 2030 -> 0 bytes
 ...tos-Complex-Event-Processing-Server-logo.gif |  Bin 1998 -> 0 bytes
 .../WSO2-Stratos-Data-Services-Server-logo.gif  |  Bin 1528 -> 0 bytes
 ...WSO2-Stratos-Enterprise-Service-Bus-logo.gif |  Bin 1598 -> 0 bytes
 .../images/WSO2-Stratos-Gadget-Server-logo.gif  |  Bin 1368 -> 0 bytes
 .../images/WSO2-Stratos-Governance-logo.gif     |  Bin 1525 -> 0 bytes
 .../images/WSO2-Stratos-Identity-logo.gif       |  Bin 1398 -> 0 bytes
 .../images/WSO2-Stratos-Mashup-Server-logo.gif  |  Bin 1440 -> 0 bytes
 .../images/WSO2-Stratos-Message-Broker-logo.gif |  Bin 1603 -> 0 bytes
 .../images/WSO2-Tasks-Server-logo.gif           |  Bin 2350 -> 0 bytes
 .../web/tenant-dashboard/images/aas-top.gif     |  Bin 4659 -> 0 bytes
 .../tenant-dashboard/images/activate-button.gif |  Bin 2601 -> 0 bytes
 .../tenant-dashboard/images/appserver-logo.gif  |  Bin 1473 -> 0 bytes
 .../web/tenant-dashboard/images/bam-logo.gif    |  Bin 1690 -> 0 bytes
 .../web/tenant-dashboard/images/bps-logo.gif    |  Bin 1606 -> 0 bytes
 .../web/tenant-dashboard/images/brs-logo.gif    |  Bin 1596 -> 0 bytes
 .../web/tenant-dashboard/images/cep_logo.gif    |  Bin 1998 -> 0 bytes
 .../web/tenant-dashboard/images/csg-logo.gif    |  Bin 2030 -> 0 bytes
 .../images/deactivate-button.gif                |  Bin 2448 -> 0 bytes
 .../web/tenant-dashboard/images/ds-logo.gif     |  Bin 1528 -> 0 bytes
 .../web/tenant-dashboard/images/esb-logo.gif    |  Bin 1598 -> 0 bytes
 .../web/tenant-dashboard/images/gadget-logo.gif |  Bin 1368 -> 0 bytes
 .../web/tenant-dashboard/images/go-button.gif   |  Bin 2165 -> 0 bytes
 .../tenant-dashboard/images/governance-logo.gif |  Bin 1525 -> 0 bytes
 .../tenant-dashboard/images/identity-logo.gif   |  Bin 1398 -> 0 bytes
 .../images/inactive-go-button.gif               |  Bin 2135 -> 0 bytes
 .../web/tenant-dashboard/images/mashup-logo.gif |  Bin 1440 -> 0 bytes
 .../web/tenant-dashboard/images/mb_logo.gif     |  Bin 1603 -> 0 bytes
 .../images/service-configuration.gif            |  Bin 389 -> 0 bytes
 .../resources/web/tenant-dashboard/index.jsp    |  243 ----
 .../web/tenant-dashboard/js/configurations.js   |  402 ------
 .../web/tenant-dashboard/js/dashboard.js        |   33 -
 .../modules/distribution/INSTALL.txt            |   61 -
 .../modules/distribution/LICENSE.txt            |  488 -------
 .../modules/distribution/README.txt             |   42 -
 .../modules/distribution/lib/home/faq.html      |  413 ------
 .../distribution/lib/home/images/bottom.gif     |  Bin 523 -> 0 bytes
 .../distribution/lib/home/images/bullet-01.gif  |  Bin 159 -> 0 bytes
 .../distribution/lib/home/images/content-bg.gif |  Bin 233 -> 0 bytes
 .../distribution/lib/home/images/favicon.ico    |  Bin 17542 -> 0 bytes
 .../lib/home/images/feature-01-icon.gif         |  Bin 2825 -> 0 bytes
 .../lib/home/images/feature-02-icon.gif         |  Bin 3361 -> 0 bytes
 .../lib/home/images/feature-03-icon.gif         |  Bin 3285 -> 0 bytes
 .../lib/home/images/feature-middle-bg.gif       |  Bin 1139 -> 0 bytes
 .../distribution/lib/home/images/intro-bg.gif   |  Bin 3964 -> 0 bytes
 .../distribution/lib/home/images/intro-text.gif |  Bin 4082 -> 0 bytes
 .../distribution/lib/home/images/left-bg.gif    |  Bin 1135 -> 0 bytes
 .../distribution/lib/home/images/logo.gif       |  Bin 11127 -> 0 bytes
 .../lib/home/images/powered-logo.gif            |  Bin 1280 -> 0 bytes
 .../distribution/lib/home/images/register.gif   |  Bin 6946 -> 0 bytes
 .../distribution/lib/home/images/sign-in.gif    |  Bin 3150 -> 0 bytes
 .../lib/home/images/stratos-products-new.jpg    |  Bin 25720 -> 0 bytes
 .../distribution/lib/home/images/title-bg.gif   |  Bin 1182 -> 0 bytes
 .../distribution/lib/home/images/top.gif        |  Bin 16149 -> 0 bytes
 .../distribution/lib/home/images/webinar.png    |  Bin 12318 -> 0 bytes
 .../lib/home/images/white-paper.png             |  Bin 15148 -> 0 bytes
 .../modules/distribution/lib/home/index.html    |  140 --
 .../lib/home/js/jquery-1.5.1.min.js             |   16 -
 .../lib/home/js/jquery.orbit-1.2.3.min.js       |   17 -
 .../distribution/lib/home/js/orbit-1.2.3.css    |  223 ----
 .../lib/home/js/orbit/left-arrow.png            |  Bin 860 -> 0 bytes
 .../distribution/lib/home/js/orbit/loading.gif  |  Bin 2608 -> 0 bytes
 .../lib/home/js/orbit/mask-black.png            |  Bin 705 -> 0 bytes
 .../lib/home/js/orbit/right-arrow.png           |  Bin 825 -> 0 bytes
 .../lib/home/js/orbit/rotator-black.png         |  Bin 733 -> 0 bytes
 .../lib/home/js/orbit/timer-black.png           |  Bin 705 -> 0 bytes
 .../modules/distribution/lib/home/style.css     |  181 ---
 .../modules/distribution/pom.xml                |  683 ----------
 .../distribution/qpid-resources/etc/config.xml  |  101 --
 .../qpid-resources/etc/jmxremote.access         |   23 -
 .../qpid-resources/etc/virtualhosts.xml         |   62 -
 .../distribution/qpid-resources/qpid.xml        |   25 -
 .../modules/distribution/release-notes.html     |  134 --
 .../modules/distribution/src/assembly/bin.xml   |  640 ---------
 .../distribution/src/assembly/filter.properties |   26 -
 .../distribution/src/bin/add_entry_zone_file.sh |   70 -
 .../src/bin/git-folder-structure.sh             |   67 -
 .../distribution/src/bin/manage-git-repo.sh     |  138 --
 .../src/bin/remove_entry_zone_file.sh           |   75 --
 .../distribution/src/bin/set-mysql-password.sh  |   65 -
 .../modules/distribution/src/bin/stratos.bat    |  170 ---
 .../modules/distribution/src/bin/stratos.sh     |  299 -----
 .../distribution/src/bin/update-instance.sh     |   54 -
 .../src/main/conf/cartridge-config.properties   |   64 -
 .../distribution/src/main/license/LICENSE       | 1152 ----------------
 .../modules/distribution/src/main/notice/NOTICE |  702 ----------
 .../WebContent/META-INF/MANIFEST.MF             |    3 -
 .../WebContent/WEB-INF/web.xml                  |   28 -
 .../WebContent/dashboards/as.html               |   90 --
 .../WebContent/dashboards/bam.html              |  109 --
 .../WebContent/dashboards/bps.html              |   72 -
 .../WebContent/dashboards/brs.html              |   43 -
 .../WebContent/dashboards/cep.html              |  103 --
 .../WebContent/dashboards/csg.html              |   32 -
 .../dashboards/css/features-dashboard.css       |   76 --
 .../WebContent/dashboards/dss.html              |   96 --
 .../WebContent/dashboards/esb.html              |   91 --
 .../WebContent/dashboards/greg.html             |  115 --
 .../WebContent/dashboards/gs.html               |  111 --
 .../WebContent/dashboards/images/black.png      |  Bin 7338 -> 0 bytes
 .../dashboards/images/configure_db.png          |  Bin 43279 -> 0 bytes
 .../dashboards/images/tenant_isolation.png      |  Bin 67219 -> 0 bytes
 .../images/usage_metering_and_throttling.jpg    |  Bin 44100 -> 0 bytes
 .../WebContent/dashboards/is.html               |  119 --
 .../WebContent/dashboards/manager.html          |   89 --
 .../WebContent/dashboards/mb.html               |  102 --
 .../WebContent/dashboards/ms.html               |  102 --
 .../WebContent/dashboards/server.jsp            |  152 ---
 .../css/features-dashboard-new.css              |  176 ---
 .../WebContent/tenant-dashboard/css/ie7.css     |   29 -
 .../tenant-dashboard/images/arrow-blue.png      |  Bin 815 -> 0 bytes
 .../tenant-dashboard/images/arrow-white.png     |  Bin 846 -> 0 bytes
 .../WebContent/tenant-dashboard/images/back.jpg |  Bin 1496 -> 0 bytes
 .../tenant-dashboard/images/boxes.png           |  Bin 645 -> 0 bytes
 .../images/dashboard-back-repeat.png            |  Bin 696 -> 0 bytes
 .../tenant-dashboard/images/workAreaBack.png    |  Bin 760 -> 0 bytes
 .../WebContent/tenant-dashboard/index.html      |  194 ---
 .../WebContent/tenant-dashboard/index.jsp       |  205 ---
 .../tenant-dashboard/js/jquery-1.7.1.min.js     |    4 -
 .../tenant-dashboard/js/jquery.masonry.min.js   |   10 -
 .../js/jquery/jquery-1.5.1.min.js               |   16 -
 .../js/jquery/jquery.ui.core.js                 |    1 -
 .../js/jquery/jquery.ui.core.min.js             |   17 -
 .../js/jquery/jquery.ui.tabs.min.js             |   35 -
 .../js/jquery/jquery.ui.widget.min.js           |   15 -
 .../js/jquery/jquery.validate.js                | 1166 -----------------
 .../ui-bg_diagonals-thick_18_b81900_40x40.png   |  Bin 260 -> 0 bytes
 .../ui-bg_diagonals-thick_20_666666_40x40.png   |  Bin 251 -> 0 bytes
 .../images/ui-bg_flat_10_000000_40x100.png      |  Bin 178 -> 0 bytes
 .../images/ui-bg_glass_100_f6f6f6_1x400.png     |  Bin 104 -> 0 bytes
 .../images/ui-bg_glass_100_fdf5ce_1x400.png     |  Bin 125 -> 0 bytes
 .../images/ui-bg_glass_65_ffffff_1x400.png      |  Bin 105 -> 0 bytes
 .../ui-bg_gloss-wave_35_f6a828_500x100.png      |  Bin 3762 -> 0 bytes
 .../ui-bg_highlight-soft_100_eeeeee_1x100.png   |  Bin 90 -> 0 bytes
 .../ui-bg_highlight-soft_75_ffe45c_1x100.png    |  Bin 129 -> 0 bytes
 .../images/ui-icons_222222_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_228ef1_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_ef8c08_256x240.png          |  Bin 5355 -> 0 bytes
 .../images/ui-icons_ffd27a_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_ffffff_256x240.png          |  Bin 4369 -> 0 bytes
 .../ui-lightness/jquery-ui-1.8.14.custom.css    |  568 --------
 .../themes/ui-lightness/jquery.ui.accordion.css |   19 -
 .../themes/ui-lightness/jquery.ui.all.css       |   11 -
 .../ui-lightness/jquery.ui.autocomplete.css     |   53 -
 .../themes/ui-lightness/jquery.ui.base.css      |   11 -
 .../themes/ui-lightness/jquery.ui.button.css    |   38 -
 .../themes/ui-lightness/jquery.ui.core.css      |   41 -
 .../ui-lightness/jquery.ui.datepicker.css       |   68 -
 .../themes/ui-lightness/jquery.ui.dialog.css    |   21 -
 .../ui-lightness/jquery.ui.progressbar.css      |   11 -
 .../themes/ui-lightness/jquery.ui.resizable.css |   20 -
 .../ui-lightness/jquery.ui.selectable.css       |   10 -
 .../themes/ui-lightness/jquery.ui.slider.css    |   24 -
 .../themes/ui-lightness/jquery.ui.tabs.css      |   18 -
 .../themes/ui-lightness/jquery.ui.theme.css     |  249 ----
 .../features-dashboard/features-dashboard.xml   |  783 -----------
 .../modules/features-dashboard/pom.xml          |  132 --
 .../manager/feature/dashbord/ui/beans/Data.java |   61 -
 .../manager/feature/dashbord/ui/beans/Link.java |   41 -
 .../feature/dashbord/ui/beans/Service.java      |   72 -
 .../feature/dashbord/ui/beans/Story.java        |   62 -
 .../feature/dashbord/ui/utils/Utils.java        |  177 ---
 .../stratos-controller/modules/features/pom.xml |   40 -
 .../features/service/etc/feature.properties     |  245 ----
 .../service/org.apache.stratos.feature/pom.xml  |   85 --
 .../org.apache.stratos.server.feature/pom.xml   |  236 ----
 .../org.apache.stratos.ui.feature/pom.xml       |  207 ---
 .../modules/features/service/pom.xml            |   50 -
 .../modules/integration/pom.xml                 |  163 ---
 .../integration/tests/LoginLogoutTestCase.java  |   49 -
 .../tests/SecurityVerificationTestCase.java     |   27 -
 .../tests/StratosManagerTestServerManager.java  |   54 -
 .../integration/tests/TenantMgtTestCase.java    |   92 --
 .../src/test/resources/instrumentation.txt      |    2 -
 .../src/test/resources/keys/wso2carbon.jks      |  Bin 33260 -> 0 bytes
 .../integration/src/test/resources/testng.xml   |   39 -
 .../stratos-controller/modules/login/pom.xml    |  131 --
 .../src/main/resources/META-INF/component.xml   |   21 -
 .../login/src/main/resources/TenantService.wsdl |  577 --------
 .../web/tenant-login/css/loginpage.css          |  289 -----
 .../resources/web/tenant-login/css/tenant.css   |   83 --
 .../docs/images/sign-in-no-domain.png           |  Bin 10682 -> 0 bytes
 .../docs/images/sign-in-with-domain.png         |  Bin 8233 -> 0 bytes
 .../web/tenant-login/docs/userguide.html        |  114 --
 .../domain_rename_checker_ajaxprocessor.jsp     |   47 -
 .../web/tenant-login/images/body-bg.gif         |  Bin 923 -> 0 bytes
 .../web/tenant-login/images/feature-01-icon.gif |  Bin 2825 -> 0 bytes
 .../web/tenant-login/images/feature-02-icon.gif |  Bin 3361 -> 0 bytes
 .../web/tenant-login/images/feature-03-icon.gif |  Bin 3285 -> 0 bytes
 .../tenant-login/images/google-apps-login.gif   |  Bin 4189 -> 0 bytes
 .../web/tenant-login/images/link-icon.gif       |  Bin 118 -> 0 bytes
 .../web/tenant-login/images/login-bg.gif        |  Bin 56670 -> 0 bytes
 .../resources/web/tenant-login/images/logo.gif  |  Bin 17603 -> 0 bytes
 .../tenant-login/images/paas-login-1pix-1.gif   |  Bin 43 -> 0 bytes
 .../web/tenant-login/images/paas-login-1pix.gif |  Bin 43 -> 0 bytes
 .../web/tenant-login/images/powered.gif         |  Bin 1280 -> 0 bytes
 .../tenant-login/images/reg-button-hover.gif    |  Bin 3824 -> 0 bytes
 .../web/tenant-login/images/reg-button.gif      |  Bin 3852 -> 0 bytes
 .../web/tenant-login/images/register.gif        |  Bin 4099 -> 0 bytes
 .../tenant-login/images/st-login-body-bg.gif    |  Bin 2215 -> 0 bytes
 .../tenant-login/images/st-login-content-bg.gif |  Bin 1060 -> 0 bytes
 .../tenant-login/images/st-login-footer-bg.gif  |  Bin 749 -> 0 bytes
 .../tenant-login/images/st-login-header-bg.gif  |  Bin 64503 -> 0 bytes
 .../web/tenant-login/images/t-right-logo.gif    |  Bin 2445 -> 0 bytes
 .../main/resources/web/tenant-login/js/login.js |   48 -
 .../web/tenant-login/login_ajaxprocessor.jsp    |  331 -----
 .../web/tenant-login/terms/policy.html          |   72 -
 .../web/tenant-login/terms/support.html         |   39 -
 .../resources/web/tenant-login/terms/terms.html |   74 --
 .../modules/p2-profile-gen/pom.xml              |  417 ------
 .../stratos-controller/modules/styles/pom.xml   |  130 --
 .../src/main/resources/META-INF/product.xml     |   27 -
 .../styles/src/main/resources/web/favicon.ico   |  Bin 17542 -> 0 bytes
 .../src/main/resources/web/styles/css/main.css  |  261 ----
 .../resources/web/styles/images/def-body-bg.gif |  Bin 419 -> 0 bytes
 .../web/styles/images/def-header-bg.gif         |  Bin 17875 -> 0 bytes
 .../web/styles/images/def-header-region-bg.gif  |  Bin 22784 -> 0 bytes
 .../main/resources/web/styles/images/logo.gif   |  Bin 3476 -> 0 bytes
 .../resources/web/styles/images/powered.gif     |  Bin 1773 -> 0 bytes
 .../resources/web/styles/images/right-logo.gif  |  Bin 6102 -> 0 bytes
 .../web/styles/images/t-right-logo.gif          |  Bin 3629 -> 0 bytes
 .../payload/user-data/ssl-cert-snakeoil.key     |   16 -
 .../payload/user-data/ssl-cert-snakeoil.pem     |   14 -
 products/stratos-controller/pom.xml             |  338 -----
 .../resources/allthemes/Dark/admin/logo.gif     |  Bin 3476 -> 0 bytes
 .../resources/allthemes/Dark/admin/main.css     |  253 ----
 .../allthemes/Dark/admin/powered-stratos.gif    |  Bin 1515 -> 0 bytes
 .../allthemes/Dark/admin/right-logo.gif         |  Bin 2325 -> 0 bytes
 .../allthemes/Dark/admin/theme-header-bg.gif    |  Bin 4245 -> 0 bytes
 .../Dark/admin/theme-header-region-bg.gif       |  Bin 793 -> 0 bytes
 .../allthemes/Dark/admin/theme-menu-header.gif  |  Bin 261 -> 0 bytes
 .../Dark/admin/theme-menu-panel-l-bg.gif        |  Bin 312 -> 0 bytes
 .../Dark/admin/theme-menu-table-bg.gif          |  Bin 5671 -> 0 bytes
 .../Dark/admin/theme-right-links-bg.gif         |  Bin 1005 -> 0 bytes
 .../resources/allthemes/Dark/thumb.png          |  Bin 19546 -> 0 bytes
 .../allthemes/Default/admin/def-body-bg.gif     |  Bin 419 -> 0 bytes
 .../allthemes/Default/admin/def-header-bg.gif   |  Bin 17875 -> 0 bytes
 .../Default/admin/def-header-region-bg.gif      |  Bin 22784 -> 0 bytes
 .../resources/allthemes/Default/admin/logo.gif  |  Bin 3476 -> 0 bytes
 .../resources/allthemes/Default/admin/main.css  |  250 ----
 .../allthemes/Default/admin/powered-stratos.gif |  Bin 1515 -> 0 bytes
 .../allthemes/Default/admin/right-logo.gif      |  Bin 3629 -> 0 bytes
 .../resources/allthemes/Default/thumb.png       |  Bin 24432 -> 0 bytes
 .../resources/allthemes/Light/admin/logo.gif    |  Bin 3476 -> 0 bytes
 .../resources/allthemes/Light/admin/main.css    |  250 ----
 .../allthemes/Light/admin/menu_header.gif       |  Bin 243 -> 0 bytes
 .../allthemes/Light/admin/powered-stratos.gif   |  Bin 1515 -> 0 bytes
 .../allthemes/Light/admin/right-links-bg.gif    |  Bin 1191 -> 0 bytes
 .../allthemes/Light/admin/right-logo.gif        |  Bin 2325 -> 0 bytes
 .../allthemes/Light/admin/theme-header-bg.gif   |  Bin 3792 -> 0 bytes
 .../Light/admin/theme-header-region-b-bg.gif    |  Bin 121 -> 0 bytes
 .../Light/admin/theme-header-region-bg.gif      |  Bin 534 -> 0 bytes
 .../Light/admin/theme-menu-panel-l-bg.gif       |  Bin 772 -> 0 bytes
 .../Light/admin/theme-menu-table-bg.gif         |  Bin 5991 -> 0 bytes
 .../resources/allthemes/Light/thumb.png         |  Bin 18102 -> 0 bytes
 .../cloud-services-icons/appserver.gif          |  Bin 2086 -> 0 bytes
 .../resources/cloud-services-icons/bam.gif      |  Bin 1773 -> 0 bytes
 .../resources/cloud-services-icons/bps.gif      |  Bin 1531 -> 0 bytes
 .../resources/cloud-services-icons/brs-old.gif  |  Bin 1772 -> 0 bytes
 .../resources/cloud-services-icons/brs.gif      |  Bin 2170 -> 0 bytes
 .../resources/cloud-services-icons/cep.png      |  Bin 3218 -> 0 bytes
 .../resources/cloud-services-icons/cg.gif       |  Bin 2385 -> 0 bytes
 .../cloud-services-icons/csg-inactive.gif       |  Bin 3188 -> 0 bytes
 .../resources/cloud-services-icons/csg.gif      |  Bin 3176 -> 0 bytes
 .../resources/cloud-services-icons/ds.gif       |  Bin 2012 -> 0 bytes
 .../resources/cloud-services-icons/esb.gif      |  Bin 1787 -> 0 bytes
 .../resources/cloud-services-icons/gadget.gif   |  Bin 2242 -> 0 bytes
 .../cloud-services-icons/governance.gif         |  Bin 1977 -> 0 bytes
 .../resources/cloud-services-icons/identity.gif |  Bin 1936 -> 0 bytes
 .../cloud-services-icons/inactive-appserver.gif |  Bin 1957 -> 0 bytes
 .../cloud-services-icons/inactive-bam.gif       |  Bin 1647 -> 0 bytes
 .../cloud-services-icons/inactive-brs.gif       |  Bin 1874 -> 0 bytes
 .../cloud-services-icons/inactive-cep.png       |  Bin 2959 -> 0 bytes
 .../cloud-services-icons/inactive-esb.gif       |  Bin 1656 -> 0 bytes
 .../cloud-services-icons/inactive-gadget.gif    |  Bin 2087 -> 0 bytes
 .../inactive-governance.gif                     |  Bin 1850 -> 0 bytes
 .../cloud-services-icons/inactive-identity.gif  |  Bin 1794 -> 0 bytes
 .../cloud-services-icons/inactive-mashup.gif    |  Bin 1772 -> 0 bytes
 .../cloud-services-icons/inactive-mb.png        |  Bin 2746 -> 0 bytes
 .../resources/cloud-services-icons/mashup.gif   |  Bin 1850 -> 0 bytes
 .../resources/cloud-services-icons/mb.png       |  Bin 3139 -> 0 bytes
 .../resources/cloud-services-icons/pom.xml      |   58 -
 .../resources/cloud-services-icons/ss.gif       |  Bin 2432 -> 0 bytes
 .../resources/cloud-services-icons/ts.gif       |  Bin 2475 -> 0 bytes
 .../powerded-by-logos/appserver-logo.gif        |  Bin 1473 -> 0 bytes
 .../resources/powerded-by-logos/bam-logo.gif    |  Bin 1690 -> 0 bytes
 .../resources/powerded-by-logos/bps-logo.gif    |  Bin 1606 -> 0 bytes
 .../resources/powerded-by-logos/brs-logo.gif    |  Bin 1596 -> 0 bytes
 .../resources/powerded-by-logos/csg-logo.gif    |  Bin 2030 -> 0 bytes
 .../resources/powerded-by-logos/ds-logo.gif     |  Bin 1528 -> 0 bytes
 .../resources/powerded-by-logos/esb-logo.gif    |  Bin 1598 -> 0 bytes
 .../resources/powerded-by-logos/gadget-logo.gif |  Bin 1368 -> 0 bytes
 .../powerded-by-logos/governance-logo.gif       |  Bin 1525 -> 0 bytes
 .../powerded-by-logos/identity-logo.gif         |  Bin 1398 -> 0 bytes
 .../resources/powerded-by-logos/mashup-logo.gif |  Bin 1440 -> 0 bytes
 products/stratos-manager/conf/README-STRATOS    |   90 ++
 products/stratos-manager/conf/axis2.xml         |  526 ++++++++
 products/stratos-manager/conf/bam.xml           |   45 +
 .../stratos-manager/conf/billing-config.xml     |   68 +
 .../stratos-manager/conf/cipher-text.properties |   26 +
 .../conf/cloud-services-desc.xml                |  195 +++
 .../stratos-manager/conf/datasources.properties |   58 +
 .../conf/email-bill-generated.xml               |   39 +
 .../conf/email-billing-notifications.xml        |   50 +
 .../conf/email-new-tenant-activation.xml        |   47 +
 .../conf/email-new-tenant-registration.xml      |   47 +
 .../conf/email-password-reset.xml               |   43 +
 .../conf/email-payment-received-customer.xml    |   39 +
 .../conf/email-payment-received-wso2.xml        |   39 +
 .../conf/email-registration-complete.xml        |   38 +
 .../conf/email-registration-moderation.xml      |   47 +
 ...l-registration-payment-received-customer.xml |   39 +
 .../stratos-manager/conf/email-registration.xml |   46 +
 products/stratos-manager/conf/email-update.xml  |   39 +
 products/stratos-manager/conf/embedded-ldap.xml |  165 +++
 products/stratos-manager/conf/event-broker.xml  |   63 +
 .../stratos-manager/conf/features-dashboard.xml |   93 ++
 products/stratos-manager/conf/identity.xml      |  108 ++
 products/stratos-manager/conf/jaas.conf         |   30 +
 products/stratos-manager/conf/jndi.properties   |    4 +
 products/stratos-manager/conf/loadbalancer.conf |   49 +
 .../conf/metering-config-non-manager.xml        |  104 ++
 .../conf/multitenancy-billing-rules.drl         |   53 +
 products/stratos-manager/conf/nhttp.properties  |   42 +
 .../conf/passthru-http.properties               |   34 +
 .../stratos-manager/conf/rule-component.conf    |   22 +
 products/stratos-manager/conf/samples-desc.xml  |   33 +
 .../stratos-manager/conf/sso-idp-config.xml     |   27 +
 .../conf/status-monitor-config.xml              |   53 +
 .../conf/stratos-datasources.xml                |   69 +
 .../conf/synapse-configs/default/registry.xml   |   26 +
 .../default/sequences/errorHandler.xml          |   31 +
 .../synapse-configs/default/sequences/fault.xml |   76 ++
 .../synapse-configs/default/sequences/main.xml  |  110 ++
 .../conf/synapse-configs/default/synapse.xml    |   25 +
 .../stratos-manager/conf/synapse.properties     |   38 +
 .../stratos-manager/conf/tenant-reg-agent.xml   |   25 +
 .../stratos-manager/conf/throttling-rules.drl   |  270 ++++
 products/stratos-manager/conf/user-mgt.xml      |  241 ++++
 products/stratos-manager/conf/zoo.cfg           |   24 +
 .../stratos-manager/dbscripts/billing-h2.sql    |  128 ++
 .../stratos-manager/dbscripts/billing-mysql.sql |  139 ++
 .../stratos-manager/dbscripts/metering_h2.sql   |  133 ++
 .../dbscripts/metering_mysql.sql                |  168 +++
 .../stratos-manager/dbscripts/migration.sql     |   26 +
 products/stratos-manager/dbscripts/s2_h2.sql    |  115 ++
 .../stratos-manager/dbscripts/stratos_mysql.sql |  159 +++
 products/stratos-manager/dbscripts/wso2_rss.sql |   99 ++
 .../modules/cloud-service-mgt/pom.xml           |   98 ++
 .../services/mgt/beans/CloudService.java        |   85 ++
 .../CloudServiceMgtServiceComponent.java        |   74 ++
 .../mgt/services/CloudManagerService.java       |  122 ++
 .../manager/services/mgt/util/Constants.java    |   29 +
 .../stratos/manager/services/mgt/util/Util.java |  264 ++++
 .../src/main/resources/META-INF/component.xml   |   32 +
 .../src/main/resources/META-INF/services.xml    |   43 +
 .../stratos-manager/modules/dashboard/pom.xml   |  144 ++
 .../ui/clients/CloudManagerServiceClient.java   |  125 ++
 .../manager/dashboard/ui/utils/Util.java        |   48 +
 .../src/main/resources/CloudManagerService.wsdl |  331 +++++
 .../src/main/resources/META-INF/component.xml   |   36 +
 .../dashboard/ui/i18n/JSResources.properties    |   24 +
 .../dashboard/ui/i18n/Resources.properties      |   24 +
 .../cloud_services_configuration.jsp            |  204 +++
 .../cloud_services_save_ajaxprocessor.jsp       |   35 +
 .../web/tenant-dashboard/css/dashboard.css      |  252 ++++
 .../tenant-dashboard/docs/images/dashboard.png  |  Bin 0 -> 139674 bytes
 .../tenant-dashboard/docs/userguide-old.html    |  101 ++
 .../web/tenant-dashboard/docs/userguide.html    |   37 +
 .../images/WSO2-Cloud-Gateway-logo.gif          |  Bin 0 -> 2506 bytes
 .../images/WSO2-Storage-Server-logo.gif         |  Bin 0 -> 2490 bytes
 .../WSO2-Stratos-Application-Server-logo.gif    |  Bin 0 -> 1473 bytes
 ...2-Stratos-Business-Activity-Monitor-logo.gif |  Bin 0 -> 1690 bytes
 ...SO2-Stratos-Business-Process-Server-logo.gif |  Bin 0 -> 1606 bytes
 .../WSO2-Stratos-Business-Rules-Server-logo.gif |  Bin 0 -> 1596 bytes
 ...WSO2-Stratos-Cloud-Services-Gateway-logo.gif |  Bin 0 -> 2030 bytes
 ...tos-Complex-Event-Processing-Server-logo.gif |  Bin 0 -> 1998 bytes
 .../WSO2-Stratos-Data-Services-Server-logo.gif  |  Bin 0 -> 1528 bytes
 ...WSO2-Stratos-Enterprise-Service-Bus-logo.gif |  Bin 0 -> 1598 bytes
 .../images/WSO2-Stratos-Gadget-Server-logo.gif  |  Bin 0 -> 1368 bytes
 .../images/WSO2-Stratos-Governance-logo.gif     |  Bin 0 -> 1525 bytes
 .../images/WSO2-Stratos-Identity-logo.gif       |  Bin 0 -> 1398 bytes
 .../images/WSO2-Stratos-Mashup-Server-logo.gif  |  Bin 0 -> 1440 bytes
 .../images/WSO2-Stratos-Message-Broker-logo.gif |  Bin 0 -> 1603 bytes
 .../images/WSO2-Tasks-Server-logo.gif           |  Bin 0 -> 2350 bytes
 .../web/tenant-dashboard/images/aas-top.gif     |  Bin 0 -> 4659 bytes
 .../tenant-dashboard/images/activate-button.gif |  Bin 0 -> 2601 bytes
 .../tenant-dashboard/images/appserver-logo.gif  |  Bin 0 -> 1473 bytes
 .../web/tenant-dashboard/images/bam-logo.gif    |  Bin 0 -> 1690 bytes
 .../web/tenant-dashboard/images/bps-logo.gif    |  Bin 0 -> 1606 bytes
 .../web/tenant-dashboard/images/brs-logo.gif    |  Bin 0 -> 1596 bytes
 .../web/tenant-dashboard/images/cep_logo.gif    |  Bin 0 -> 1998 bytes
 .../web/tenant-dashboard/images/csg-logo.gif    |  Bin 0 -> 2030 bytes
 .../images/deactivate-button.gif                |  Bin 0 -> 2448 bytes
 .../web/tenant-dashboard/images/ds-logo.gif     |  Bin 0 -> 1528 bytes
 .../web/tenant-dashboard/images/esb-logo.gif    |  Bin 0 -> 1598 bytes
 .../web/tenant-dashboard/images/gadget-logo.gif |  Bin 0 -> 1368 bytes
 .../web/tenant-dashboard/images/go-button.gif   |  Bin 0 -> 2165 bytes
 .../tenant-dashboard/images/governance-logo.gif |  Bin 0 -> 1525 bytes
 .../tenant-dashboard/images/identity-logo.gif   |  Bin 0 -> 1398 bytes
 .../images/inactive-go-button.gif               |  Bin 0 -> 2135 bytes
 .../web/tenant-dashboard/images/mashup-logo.gif |  Bin 0 -> 1440 bytes
 .../web/tenant-dashboard/images/mb_logo.gif     |  Bin 0 -> 1603 bytes
 .../images/service-configuration.gif            |  Bin 0 -> 389 bytes
 .../resources/web/tenant-dashboard/index.jsp    |  243 ++++
 .../web/tenant-dashboard/js/configurations.js   |  402 ++++++
 .../web/tenant-dashboard/js/dashboard.js        |   33 +
 .../modules/distribution/INSTALL.txt            |   61 +
 .../modules/distribution/LICENSE.txt            |  488 +++++++
 .../modules/distribution/README.txt             |   42 +
 .../modules/distribution/lib/home/faq.html      |  413 ++++++
 .../distribution/lib/home/images/bottom.gif     |  Bin 0 -> 523 bytes
 .../distribution/lib/home/images/bullet-01.gif  |  Bin 0 -> 159 bytes
 .../distribution/lib/home/images/content-bg.gif |  Bin 0 -> 233 bytes
 .../distribution/lib/home/images/favicon.ico    |  Bin 0 -> 17542 bytes
 .../lib/home/images/feature-01-icon.gif         |  Bin 0 -> 2825 bytes
 .../lib/home/images/feature-02-icon.gif         |  Bin 0 -> 3361 bytes
 .../lib/home/images/feature-03-icon.gif         |  Bin 0 -> 3285 bytes
 .../lib/home/images/feature-middle-bg.gif       |  Bin 0 -> 1139 bytes
 .../distribution/lib/home/images/intro-bg.gif   |  Bin 0 -> 3964 bytes
 .../distribution/lib/home/images/intro-text.gif |  Bin 0 -> 4082 bytes
 .../distribution/lib/home/images/left-bg.gif    |  Bin 0 -> 1135 bytes
 .../distribution/lib/home/images/logo.gif       |  Bin 0 -> 11127 bytes
 .../lib/home/images/powered-logo.gif            |  Bin 0 -> 1280 bytes
 .../distribution/lib/home/images/register.gif   |  Bin 0 -> 6946 bytes
 .../distribution/lib/home/images/sign-in.gif    |  Bin 0 -> 3150 bytes
 .../lib/home/images/stratos-products-new.jpg    |  Bin 0 -> 25720 bytes
 .../distribution/lib/home/images/title-bg.gif   |  Bin 0 -> 1182 bytes
 .../distribution/lib/home/images/top.gif        |  Bin 0 -> 16149 bytes
 .../distribution/lib/home/images/webinar.png    |  Bin 0 -> 12318 bytes
 .../lib/home/images/white-paper.png             |  Bin 0 -> 15148 bytes
 .../modules/distribution/lib/home/index.html    |  140 ++
 .../lib/home/js/jquery-1.5.1.min.js             |   16 +
 .../lib/home/js/jquery.orbit-1.2.3.min.js       |   17 +
 .../distribution/lib/home/js/orbit-1.2.3.css    |  223 ++++
 .../lib/home/js/orbit/left-arrow.png            |  Bin 0 -> 860 bytes
 .../distribution/lib/home/js/orbit/loading.gif  |  Bin 0 -> 2608 bytes
 .../lib/home/js/orbit/mask-black.png            |  Bin 0 -> 705 bytes
 .../lib/home/js/orbit/right-arrow.png           |  Bin 0 -> 825 bytes
 .../lib/home/js/orbit/rotator-black.png         |  Bin 0 -> 733 bytes
 .../lib/home/js/orbit/timer-black.png           |  Bin 0 -> 705 bytes
 .../modules/distribution/lib/home/style.css     |  181 +++
 .../modules/distribution/pom.xml                |  683 ++++++++++
 .../distribution/qpid-resources/etc/config.xml  |  101 ++
 .../qpid-resources/etc/jmxremote.access         |   23 +
 .../qpid-resources/etc/virtualhosts.xml         |   62 +
 .../distribution/qpid-resources/qpid.xml        |   25 +
 .../modules/distribution/release-notes.html     |  134 ++
 .../modules/distribution/src/assembly/bin.xml   |  640 +++++++++
 .../distribution/src/assembly/filter.properties |   26 +
 .../distribution/src/bin/add_entry_zone_file.sh |   70 +
 .../src/bin/git-folder-structure.sh             |   67 +
 .../distribution/src/bin/manage-git-repo.sh     |  138 ++
 .../src/bin/remove_entry_zone_file.sh           |   75 ++
 .../distribution/src/bin/set-mysql-password.sh  |   65 +
 .../modules/distribution/src/bin/stratos.bat    |  170 +++
 .../modules/distribution/src/bin/stratos.sh     |  299 +++++
 .../distribution/src/bin/update-instance.sh     |   54 +
 .../src/main/conf/cartridge-config.properties   |   64 +
 .../distribution/src/main/license/LICENSE       | 1152 ++++++++++++++++
 .../modules/distribution/src/main/notice/NOTICE |  702 ++++++++++
 .../WebContent/META-INF/MANIFEST.MF             |    3 +
 .../WebContent/WEB-INF/web.xml                  |   28 +
 .../WebContent/dashboards/as.html               |   90 ++
 .../WebContent/dashboards/bam.html              |  109 ++
 .../WebContent/dashboards/bps.html              |   72 +
 .../WebContent/dashboards/brs.html              |   43 +
 .../WebContent/dashboards/cep.html              |  103 ++
 .../WebContent/dashboards/csg.html              |   32 +
 .../dashboards/css/features-dashboard.css       |   76 ++
 .../WebContent/dashboards/dss.html              |   96 ++
 .../WebContent/dashboards/esb.html              |   91 ++
 .../WebContent/dashboards/greg.html             |  115 ++
 .../WebContent/dashboards/gs.html               |  111 ++
 .../WebContent/dashboards/images/black.png      |  Bin 0 -> 7338 bytes
 .../dashboards/images/configure_db.png          |  Bin 0 -> 43279 bytes
 .../dashboards/images/tenant_isolation.png      |  Bin 0 -> 67219 bytes
 .../images/usage_metering_and_throttling.jpg    |  Bin 0 -> 44100 bytes
 .../WebContent/dashboards/is.html               |  119 ++
 .../WebContent/dashboards/manager.html          |   89 ++
 .../WebContent/dashboards/mb.html               |  102 ++
 .../WebContent/dashboards/ms.html               |  102 ++
 .../WebContent/dashboards/server.jsp            |  152 +++
 .../css/features-dashboard-new.css              |  176 +++
 .../WebContent/tenant-dashboard/css/ie7.css     |   29 +
 .../tenant-dashboard/images/arrow-blue.png      |  Bin 0 -> 815 bytes
 .../tenant-dashboard/images/arrow-white.png     |  Bin 0 -> 846 bytes
 .../WebContent/tenant-dashboard/images/back.jpg |  Bin 0 -> 1496 bytes
 .../tenant-dashboard/images/boxes.png           |  Bin 0 -> 645 bytes
 .../images/dashboard-back-repeat.png            |  Bin 0 -> 696 bytes
 .../tenant-dashboard/images/workAreaBack.png    |  Bin 0 -> 760 bytes
 .../WebContent/tenant-dashboard/index.html      |  194 +++
 .../WebContent/tenant-dashboard/index.jsp       |  205 +++
 .../tenant-dashboard/js/jquery-1.7.1.min.js     |    4 +
 .../tenant-dashboard/js/jquery.masonry.min.js   |   10 +
 .../js/jquery/jquery-1.5.1.min.js               |   16 +
 .../js/jquery/jquery.ui.core.js                 |    1 +
 .../js/jquery/jquery.ui.core.min.js             |   17 +
 .../js/jquery/jquery.ui.tabs.min.js             |   35 +
 .../js/jquery/jquery.ui.widget.min.js           |   15 +
 .../js/jquery/jquery.validate.js                | 1166 +++++++++++++++++
 .../ui-bg_diagonals-thick_18_b81900_40x40.png   |  Bin 0 -> 260 bytes
 .../ui-bg_diagonals-thick_20_666666_40x40.png   |  Bin 0 -> 251 bytes
 .../images/ui-bg_flat_10_000000_40x100.png      |  Bin 0 -> 178 bytes
 .../images/ui-bg_glass_100_f6f6f6_1x400.png     |  Bin 0 -> 104 bytes
 .../images/ui-bg_glass_100_fdf5ce_1x400.png     |  Bin 0 -> 125 bytes
 .../images/ui-bg_glass_65_ffffff_1x400.png      |  Bin 0 -> 105 bytes
 .../ui-bg_gloss-wave_35_f6a828_500x100.png      |  Bin 0 -> 3762 bytes
 .../ui-bg_highlight-soft_100_eeeeee_1x100.png   |  Bin 0 -> 90 bytes
 .../ui-bg_highlight-soft_75_ffe45c_1x100.png    |  Bin 0 -> 129 bytes
 .../images/ui-icons_222222_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_228ef1_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_ef8c08_256x240.png          |  Bin 0 -> 5355 bytes
 .../images/ui-icons_ffd27a_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_ffffff_256x240.png          |  Bin 0 -> 4369 bytes
 .../ui-lightness/jquery-ui-1.8.14.custom.css    |  568 ++++++++
 .../themes/ui-lightness/jquery.ui.accordion.css |   19 +
 .../themes/ui-lightness/jquery.ui.all.css       |   11 +
 .../ui-lightness/jquery.ui.autocomplete.css     |   53 +
 .../themes/ui-lightness/jquery.ui.base.css      |   11 +
 .../themes/ui-lightness/jquery.ui.button.css    |   38 +
 .../themes/ui-lightness/jquery.ui.core.css      |   41 +
 .../ui-lightness/jquery.ui.datepicker.css       |   68 +
 .../themes/ui-lightness/jquery.ui.dialog.css    |   21 +
 .../ui-lightness/jquery.ui.progressbar.css      |   11 +
 .../themes/ui-lightness/jquery.ui.resizable.css |   20 +
 .../ui-lightness/jquery.ui.selectable.css       |   10 +
 .../themes/ui-lightness/jquery.ui.slider.css    |   24 +
 .../themes/ui-lightness/jquery.ui.tabs.css      |   18 +
 .../themes/ui-lightness/jquery.ui.theme.css     |  249 ++++
 .../features-dashboard/features-dashboard.xml   |  783 +++++++++++
 .../modules/features-dashboard/pom.xml          |  132 ++
 .../manager/feature/dashbord/ui/beans/Data.java |   61 +
 .../manager/feature/dashbord/ui/beans/Link.java |   41 +
 .../feature/dashbord/ui/beans/Service.java      |   72 +
 .../feature/dashbord/ui/beans/Story.java        |   62 +
 .../feature/dashbord/ui/utils/Utils.java        |  177 +++
 .../stratos-manager/modules/features/pom.xml    |   40 +
 .../features/service/etc/feature.properties     |  245 ++++
 .../service/org.apache.stratos.feature/pom.xml  |   85 ++
 .../org.apache.stratos.server.feature/pom.xml   |  236 ++++
 .../org.apache.stratos.ui.feature/pom.xml       |  207 +++
 .../modules/features/service/pom.xml            |   50 +
 .../stratos-manager/modules/integration/pom.xml |  163 +++
 .../integration/tests/LoginLogoutTestCase.java  |   49 +
 .../tests/SecurityVerificationTestCase.java     |   27 +
 .../tests/StratosManagerTestServerManager.java  |   54 +
 .../integration/tests/TenantMgtTestCase.java    |   92 ++
 .../src/test/resources/instrumentation.txt      |    2 +
 .../src/test/resources/keys/wso2carbon.jks      |  Bin 0 -> 33260 bytes
 .../integration/src/test/resources/testng.xml   |   39 +
 products/stratos-manager/modules/login/pom.xml  |  131 ++
 .../src/main/resources/META-INF/component.xml   |   21 +
 .../login/src/main/resources/TenantService.wsdl |  577 ++++++++
 .../web/tenant-login/css/loginpage.css          |  289 +++++
 .../resources/web/tenant-login/css/tenant.css   |   83 ++
 .../docs/images/sign-in-no-domain.png           |  Bin 0 -> 10682 bytes
 .../docs/images/sign-in-with-domain.png         |  Bin 0 -> 8233 bytes
 .../web/tenant-login/docs/userguide.html        |  114 ++
 .../domain_rename_checker_ajaxprocessor.jsp     |   47 +
 .../web/tenant-login/images/body-bg.gif         |  Bin 0 -> 923 bytes
 .../web/tenant-login/images/feature-01-icon.gif |  Bin 0 -> 2825 bytes
 .../web/tenant-login/images/feature-02-icon.gif |  Bin 0 -> 3361 bytes
 .../web/tenant-login/images/feature-03-icon.gif |  Bin 0 -> 3285 bytes
 .../tenant-login/images/google-apps-login.gif   |  Bin 0 -> 4189 bytes
 .../web/tenant-login/images/link-icon.gif       |  Bin 0 -> 118 bytes
 .../web/tenant-login/images/login-bg.gif        |  Bin 0 -> 56670 bytes
 .../resources/web/tenant-login/images/logo.gif  |  Bin 0 -> 17603 bytes
 .../tenant-login/images/paas-login-1pix-1.gif   |  Bin 0 -> 43 bytes
 .../web/tenant-login/images/paas-login-1pix.gif |  Bin 0 -> 43 bytes
 .../web/tenant-login/images/powered.gif         |  Bin 0 -> 1280 bytes
 .../tenant-login/images/reg-button-hover.gif    |  Bin 0 -> 3824 bytes
 .../web/tenant-login/images/reg-button.gif      |  Bin 0 -> 3852 bytes
 .../web/tenant-login/images/register.gif        |  Bin 0 -> 4099 bytes
 .../tenant-login/images/st-login-body-bg.gif    |  Bin 0 -> 2215 bytes
 .../tenant-login/images/st-login-content-bg.gif |  Bin 0 -> 1060 bytes
 .../tenant-login/images/st-login-footer-bg.gif  |  Bin 0 -> 749 bytes
 .../tenant-login/images/st-login-header-bg.gif  |  Bin 0 -> 64503 bytes
 .../web/tenant-login/images/t-right-logo.gif    |  Bin 0 -> 2445 bytes
 .../main/resources/web/tenant-login/js/login.js |   48 +
 .../web/tenant-login/login_ajaxprocessor.jsp    |  331 +++++
 .../web/tenant-login/terms/policy.html          |   72 +
 .../web/tenant-login/terms/support.html         |   39 +
 .../resources/web/tenant-login/terms/terms.html |   74 ++
 .../modules/p2-profile-gen/pom.xml              |  421 ++++++
 products/stratos-manager/modules/styles/pom.xml |  130 ++
 .../src/main/resources/META-INF/product.xml     |   27 +
 .../styles/src/main/resources/web/favicon.ico   |  Bin 0 -> 17542 bytes
 .../src/main/resources/web/styles/css/main.css  |  261 ++++
 .../resources/web/styles/images/def-body-bg.gif |  Bin 0 -> 419 bytes
 .../web/styles/images/def-header-bg.gif         |  Bin 0 -> 17875 bytes
 .../web/styles/images/def-header-region-bg.gif  |  Bin 0 -> 22784 bytes
 .../main/resources/web/styles/images/logo.gif   |  Bin 0 -> 3476 bytes
 .../resources/web/styles/images/powered.gif     |  Bin 0 -> 1773 bytes
 .../resources/web/styles/images/right-logo.gif  |  Bin 0 -> 6102 bytes
 .../web/styles/images/t-right-logo.gif          |  Bin 0 -> 3629 bytes
 .../payload/user-data/ssl-cert-snakeoil.key     |   16 +
 .../payload/user-data/ssl-cert-snakeoil.pem     |   14 +
 products/stratos-manager/pom.xml                |  338 +++++
 .../resources/allthemes/Dark/admin/logo.gif     |  Bin 0 -> 3476 bytes
 .../resources/allthemes/Dark/admin/main.css     |  253 ++++
 .../allthemes/Dark/admin/powered-stratos.gif    |  Bin 0 -> 1515 bytes
 .../allthemes/Dark/admin/right-logo.gif         |  Bin 0 -> 2325 bytes
 .../allthemes/Dark/admin/theme-header-bg.gif    |  Bin 0 -> 4245 bytes
 .../Dark/admin/theme-header-region-bg.gif       |  Bin 0 -> 793 bytes
 .../allthemes/Dark/admin/theme-menu-header.gif  |  Bin 0 -> 261 bytes
 .../Dark/admin/theme-menu-panel-l-bg.gif        |  Bin 0 -> 312 bytes
 .../Dark/admin/theme-menu-table-bg.gif          |  Bin 0 -> 5671 bytes
 .../Dark/admin/theme-right-links-bg.gif         |  Bin 0 -> 1005 bytes
 .../resources/allthemes/Dark/thumb.png          |  Bin 0 -> 19546 bytes
 .../allthemes/Default/admin/def-body-bg.gif     |  Bin 0 -> 419 bytes
 .../allthemes/Default/admin/def-header-bg.gif   |  Bin 0 -> 17875 bytes
 .../Default/admin/def-header-region-bg.gif      |  Bin 0 -> 22784 bytes
 .../resources/allthemes/Default/admin/logo.gif  |  Bin 0 -> 3476 bytes
 .../resources/allthemes/Default/admin/main.css  |  250 ++++
 .../allthemes/Default/admin/powered-stratos.gif |  Bin 0 -> 1515 bytes
 .../allthemes/Default/admin/right-logo.gif      |  Bin 0 -> 3629 bytes
 .../resources/allthemes/Default/thumb.png       |  Bin 0 -> 24432 bytes
 .../resources/allthemes/Light/admin/logo.gif    |  Bin 0 -> 3476 bytes
 .../resources/allthemes/Light/admin/main.css    |  250 ++++
 .../allthemes/Light/admin/menu_header.gif       |  Bin 0 -> 243 bytes
 .../allthemes/Light/admin/powered-stratos.gif   |  Bin 0 -> 1515 bytes
 .../allthemes/Light/admin/right-links-bg.gif    |  Bin 0 -> 1191 bytes
 .../allthemes/Light/admin/right-logo.gif        |  Bin 0 -> 2325 bytes
 .../allthemes/Light/admin/theme-header-bg.gif   |  Bin 0 -> 3792 bytes
 .../Light/admin/theme-header-region-b-bg.gif    |  Bin 0 -> 121 bytes
 .../Light/admin/theme-header-region-bg.gif      |  Bin 0 -> 534 bytes
 .../Light/admin/theme-menu-panel-l-bg.gif       |  Bin 0 -> 772 bytes
 .../Light/admin/theme-menu-table-bg.gif         |  Bin 0 -> 5991 bytes
 .../resources/allthemes/Light/thumb.png         |  Bin 0 -> 18102 bytes
 .../cloud-services-icons/appserver.gif          |  Bin 0 -> 2086 bytes
 .../resources/cloud-services-icons/bam.gif      |  Bin 0 -> 1773 bytes
 .../resources/cloud-services-icons/bps.gif      |  Bin 0 -> 1531 bytes
 .../resources/cloud-services-icons/brs-old.gif  |  Bin 0 -> 1772 bytes
 .../resources/cloud-services-icons/brs.gif      |  Bin 0 -> 2170 bytes
 .../resources/cloud-services-icons/cep.png      |  Bin 0 -> 3218 bytes
 .../resources/cloud-services-icons/cg.gif       |  Bin 0 -> 2385 bytes
 .../cloud-services-icons/csg-inactive.gif       |  Bin 0 -> 3188 bytes
 .../resources/cloud-services-icons/csg.gif      |  Bin 0 -> 3176 bytes
 .../resources/cloud-services-icons/ds.gif       |  Bin 0 -> 2012 bytes
 .../resources/cloud-services-icons/esb.gif      |  Bin 0 -> 1787 bytes
 .../resources/cloud-services-icons/gadget.gif   |  Bin 0 -> 2242 bytes
 .../cloud-services-icons/governance.gif         |  Bin 0 -> 1977 bytes
 .../resources/cloud-services-icons/identity.gif |  Bin 0 -> 1936 bytes
 .../cloud-services-icons/inactive-appserver.gif |  Bin 0 -> 1957 bytes
 .../cloud-services-icons/inactive-bam.gif       |  Bin 0 -> 1647 bytes
 .../cloud-services-icons/inactive-brs.gif       |  Bin 0 -> 1874 bytes
 .../cloud-services-icons/inactive-cep.png       |  Bin 0 -> 2959 bytes
 .../cloud-services-icons/inactive-esb.gif       |  Bin 0 -> 1656 bytes
 .../cloud-services-icons/inactive-gadget.gif    |  Bin 0 -> 2087 bytes
 .../inactive-governance.gif                     |  Bin 0 -> 1850 bytes
 .../cloud-services-icons/inactive-identity.gif  |  Bin 0 -> 1794 bytes
 .../cloud-services-icons/inactive-mashup.gif    |  Bin 0 -> 1772 bytes
 .../cloud-services-icons/inactive-mb.png        |  Bin 0 -> 2746 bytes
 .../resources/cloud-services-icons/mashup.gif   |  Bin 0 -> 1850 bytes
 .../resources/cloud-services-icons/mb.png       |  Bin 0 -> 3139 bytes
 .../resources/cloud-services-icons/pom.xml      |   58 +
 .../resources/cloud-services-icons/ss.gif       |  Bin 0 -> 2432 bytes
 .../resources/cloud-services-icons/ts.gif       |  Bin 0 -> 2475 bytes
 .../powerded-by-logos/appserver-logo.gif        |  Bin 0 -> 1473 bytes
 .../resources/powerded-by-logos/bam-logo.gif    |  Bin 0 -> 1690 bytes
 .../resources/powerded-by-logos/bps-logo.gif    |  Bin 0 -> 1606 bytes
 .../resources/powerded-by-logos/brs-logo.gif    |  Bin 0 -> 1596 bytes
 .../resources/powerded-by-logos/csg-logo.gif    |  Bin 0 -> 2030 bytes
 .../resources/powerded-by-logos/ds-logo.gif     |  Bin 0 -> 1528 bytes
 .../resources/powerded-by-logos/esb-logo.gif    |  Bin 0 -> 1598 bytes
 .../resources/powerded-by-logos/gadget-logo.gif |  Bin 0 -> 1368 bytes
 .../powerded-by-logos/governance-logo.gif       |  Bin 0 -> 1525 bytes
 .../powerded-by-logos/identity-logo.gif         |  Bin 0 -> 1398 bytes
 .../resources/powerded-by-logos/mashup-logo.gif |  Bin 0 -> 1440 bytes
 service-stubs/pom.xml                           |    2 +-
 828 files changed, 26111 insertions(+), 25406 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/850f099a/components/org.apache.stratos.rest.endpoint/pom.xml
----------------------------------------------------------------------