You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ma...@apache.org on 2013/08/13 06:56:50 UTC

git commit: Remove org.apache.stratos.adc.mgt.repository.synchronizer component.

Updated Branches:
  refs/heads/master 84dc901f9 -> c905e7dc1


Remove org.apache.stratos.adc.mgt.repository.synchronizer component.

This component is not needed and didn't use in products and features.


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

Branch: refs/heads/master
Commit: c905e7dc1fdb0e0125aa14f375275beae9de5c96
Parents: 84dc901
Author: Manula Thantriwatte <ma...@wso2.com>
Authored: Tue Aug 13 10:24:55 2013 +0530
Committer: Manula Thantriwatte <ma...@wso2.com>
Committed: Tue Aug 13 10:24:55 2013 +0530

----------------------------------------------------------------------
 .../pom.xml                                     |  87 --------------
 .../service/RepositorySynchronizer.java         |  37 ------
 .../src/main/webapp/WEB-INF/cxf-servlet.xml     |  35 ------
 .../src/main/webapp/WEB-INF/web.xml             |  51 --------
 .../src/main/webapp/servicelist.css             | 117 -------------------
 components/pom.xml                              |   1 -
 6 files changed, 328 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c905e7dc/components/org.apache.stratos.adc.mgt.repository.synchronizer/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt.repository.synchronizer/pom.xml b/components/org.apache.stratos.adc.mgt.repository.synchronizer/pom.xml
deleted file mode 100644
index 34d7fc1..0000000
--- a/components/org.apache.stratos.adc.mgt.repository.synchronizer/pom.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-<!-- 
-  #  Licensed to the Apache Software Foundation (ASF) under one
-  #  or more contributor license agreements.  See the NOTICE file
-  #  distributed with this work for additional information
-  #  regarding copyright ownership.  The ASF licenses this file
-  #  to you under the Apache License, Version 2.0 (the
-  #  "License"); you may not use this file except in compliance
-  #  with the License.  You may obtain a copy of the License at
-  #  
-  #  http://www.apache.org/licenses/LICENSE-2.0
-  #  
-  #  Unless required by applicable law or agreed to in writing,
-  #  software distributed under the License is distributed on an
-  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  #  KIND, either express or implied.  See the License for the
-  #  specific language governing permissions and limitations
-  #  under the License.
-  -->
-<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</groupId>
-        <artifactId>stratos-components-parent</artifactId>
-        <version>3.0.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.adc.mgt.repository.synchronizer</artifactId>
-    <name>Apache Stratos - Repository Synchronizer</name>
-    <description>Repository Synchronizer</description>
-    <packaging>war</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-                <version>2.3.2</version>
-            </plugin>
-            <plugin>
-                <artifactId>maven-war-plugin</artifactId>
-                <version>2.2</version>
-                <configuration>                     
-                    <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
-                    <warName>${project.artifactId}</warName>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-transports-http</artifactId>
-            <version>2.6.2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.cxf</groupId>
-            <artifactId>cxf-rt-frontend-jaxrs</artifactId>
-            <version>2.6.2</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-httpclient</groupId>
-            <artifactId>commons-httpclient</artifactId>
-            <version>3.1</version>
-        </dependency>
-        <dependency>
-            <groupId>javax.ws.rs</groupId>
-            <artifactId>jsr311-api</artifactId>
-            <version>1.1.1</version>
-        </dependency>
-        <dependency>
-        <groupId>net.sf.json-lib</groupId>
-        <artifactId>json-lib</artifactId>
-        <version>2.4</version>
-        <classifier>jdk15</classifier>
-    </dependency>
-            
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c905e7dc/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/java/org/apache/stratos/adc/mgt/reposync/service/RepositorySynchronizer.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/java/org/apache/stratos/adc/mgt/reposync/service/RepositorySynchronizer.java b/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/java/org/apache/stratos/adc/mgt/reposync/service/RepositorySynchronizer.java
deleted file mode 100644
index 937baab..0000000
--- a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/java/org/apache/stratos/adc/mgt/reposync/service/RepositorySynchronizer.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * 
- */
-package org.apache.stratos.adc.mgt.reposync.service;
-
-import java.util.Map;
-
-import javax.ws.rs.Consumes;
-import javax.ws.rs.FormParam;
-import javax.ws.rs.POST;
-import javax.ws.rs.Path;
-import javax.ws.rs.core.MediaType;
-
-import net.sf.json.JSONObject;
-
-/**
- * @author wso2
- * 
- */
-@Path("/reposyncservice/")
-public class RepositorySynchronizer {
-
-	@POST
-	@Path("/notify/")
-	@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
-	public void execute(@FormParam("payload") String payload) {
-		Map jsonObject = JSONObject.fromObject(payload);
-		System.out.println("Printing......");
-		Map repoMap = (Map) jsonObject.get("repository");
-		System.out.println("-------------");
-		System.out.println("Repo URL : " + repoMap.get("url"));
-		System.out.println("-------------");
-		System.out.println("-------------");
-		System.out.println("-------------");
-		System.out.println("---JSON customer : " + payload);
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c905e7dc/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/cxf-servlet.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/cxf-servlet.xml b/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/cxf-servlet.xml
deleted file mode 100644
index e86e79f..0000000
--- a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/cxf-servlet.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
-  #  Licensed to the Apache Software Foundation (ASF) under one
-  #  or more contributor license agreements.  See the NOTICE file
-  #  distributed with this work for additional information
-  #  regarding copyright ownership.  The ASF licenses this file
-  #  to you under the Apache License, Version 2.0 (the
-  #  "License"); you may not use this file except in compliance
-  #  with the License.  You may obtain a copy of the License at
-  #  
-  #  http://www.apache.org/licenses/LICENSE-2.0
-  #  
-  #  Unless required by applicable law or agreed to in writing,
-  #  software distributed under the License is distributed on an
-  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  #  KIND, either express or implied.  See the License for the
-  #  specific language governing permissions and limitations
-  #  under the License.
-  -->
-<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="repoSynchronizer" address="/notify">
-        <jaxrs:serviceBeans>
-            <ref bean="serviceBean"/>
-        </jaxrs:serviceBeans>
-    </jaxrs:server>
-
-    <bean id="serviceBean" class="org.apache.stratos.adc.mgt.reposync.service.RepositorySynchronizer"/>
-</beans>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c905e7dc/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/web.xml b/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 28933ba..0000000
--- a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
-  #  Licensed to the Apache Software Foundation (ASF) under one
-  #  or more contributor license agreements.  See the NOTICE file
-  #  distributed with this work for additional information
-  #  regarding copyright ownership.  The ASF licenses this file
-  #  to you under the Apache License, Version 2.0 (the
-  #  "License"); you may not use this file except in compliance
-  #  with the License.  You may obtain a copy of the License at
-  #  
-  #  http://www.apache.org/licenses/LICENSE-2.0
-  #  
-  #  Unless required by applicable law or agreed to in writing,
-  #  software distributed under the License is distributed on an
-  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  #  KIND, either express or implied.  See the License for the
-  #  specific language governing permissions and limitations
-  #  under the License.
-  -->
-<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>JAX-WS/JAX-RS Webapp</display-name>
-
-    <servlet>
-        <servlet-name>JAXServlet</servlet-name>
-        <display-name>JAX-WS/JAX-RS Servlet</display-name>
-        <description>JAX-WS/JAX-RS Endpoint</description>
-        <servlet-class>
-            org.apache.cxf.transport.servlet.CXFServlet
-        </servlet-class>
-        <init-param>
-            <param-name>service-list-stylesheet</param-name>
-            <param-value>servicelist.css</param-value>
-        </init-param>
-        <load-on-startup>1</load-on-startup>
-    </servlet>
-
-    <servlet-mapping>
-        <servlet-name>JAXServlet</servlet-name>
-        <url-pattern>/services/*</url-pattern>
-    </servlet-mapping>
-
-    <session-config>
-        <session-timeout>60</session-timeout>
-    </session-config>
-
-</web-app>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c905e7dc/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/servicelist.css
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/servicelist.css b/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/servicelist.css
deleted file mode 100644
index bbc4987..0000000
--- a/components/org.apache.stratos.adc.mgt.repository.synchronizer/src/main/webapp/servicelist.css
+++ /dev/null
@@ -1,117 +0,0 @@
-@CHARSET "ISO-8859-1";
-
-/* http://meyerweb.com/eric/tools/css/reset/ 
-   v2.0 | 20110126
-   License: none (public domain)
-*/
-
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, embed, 
-figure, figcaption, footer, header, hgroup, 
-menu, nav, output, ruby, section, summary,
-time, mark, audio, video {
-	margin: 0;
-	padding: 0;
-	border: 0;
-	font-size: 100%;
-	font: inherit;
-	vertical-align: baseline;
-}
-/* HTML5 display-role reset for older browsers */
-article, aside, details, figcaption, figure, 
-footer, header, hgroup, menu, nav, section {
-	display: block;
-}
-
-html {
-	background: #efefef;
-}
-
-body {
-	line-height: 1;
-	width:960px;
-	margin:auto;
-	background:white;
-	padding:10px;
-	box-shadow:0px 0px 5px #CCC;
-	font-family:"Lucida Grande","Lucida Sans","Microsoft Sans Serif", "Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms" !important;
-	
-}
-ol, ul {
-	list-style: none;
-}
-blockquote, q {
-	quotes: none;
-}
-blockquote:before, blockquote:after,
-q:before, q:after {
-	content: '';
-	content: none;
-}
-table {
-	border-collapse: collapse;
-	border-spacing: 0;
-	width:960px;
-	border:solid 1px #ccc;
-}
-
-table a {
-	font-size:12px;
-	color:#1e90ff;
-	padding:7px;
-float:left;	
-;
-}
-
-.heading {
-	font-size: 18px;
-	margin-top: 20px;
-	float:left;
-	color:#0067B1;
-	margin-bottom:20px;
-	padding-top:20px;
-}
-
-.field {
-	font-weight: normal;
-	width:120px;
-	font-size:12px;
-	float:left;
-	padding:7px;
-	clear:left;
-}
-.value {
-	font-weight: bold;
-	font-size:12px;
-	float:left;
-	padding:7px;
-	clear:right;
-}
-.porttypename {
-	font-weight: bold;
-	font-size:14px;
-}
-UL {
-	margin-top: 0;
-}
-LI {
-	font-weight: normal;
-	font-size:12px;
-	margin-top:10px;
-}
-
-TD {
-	border:1px solid #ccc;
-	vertical-align: text-top;
-	padding: 5px;
-}
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c905e7dc/components/pom.xml
----------------------------------------------------------------------
diff --git a/components/pom.xml b/components/pom.xml
index 8b95db4..66cae0c 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -45,7 +45,6 @@
 		<!-- ADC -->
 		<module>org.apache.stratos.adc.topology.mgt</module>
 		<module>org.apache.stratos.adc.mgt</module>
-		<module>org.apache.stratos.adc.mgt.repository.synchronizer</module>
 		<module>org.apache.stratos.deployment</module>
 		<!-- CLI -->
 		<module>org.apache.stratos.cli</module>