You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2015/05/21 16:13:49 UTC
[22/23] stratos git commit: Removing commons stub
Removing commons stub
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6a72e526
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6a72e526
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6a72e526
Branch: refs/heads/master
Commit: 6a72e526797e22cae872d538eb0d2a0db5d054e9
Parents: dbeb34d
Author: Dinithi <di...@wso2.com>
Authored: Thu May 21 15:35:46 2015 +0530
Committer: Dinithi <di...@wso2.com>
Committed: Thu May 21 15:35:46 2015 +0530
----------------------------------------------------------------------
.../org.apache.stratos.common.stub/pom.xml | 116 ----------------
.../src/main/resources/PackageInfoServce.wsdl | 133 -------------------
service-stubs/pom.xml | 1 -
3 files changed, 250 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/6a72e526/service-stubs/org.apache.stratos.common.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.common.stub/pom.xml b/service-stubs/org.apache.stratos.common.stub/pom.xml
deleted file mode 100644
index 4b2e5c8..0000000
--- a/service-stubs/org.apache.stratos.common.stub/pom.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>org.apache.stratos</groupId>
- <artifactId>stratos-service-stubs-parent</artifactId>
- <version>4.1.0-SNAPSHOT</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>org.apache.stratos.common.stub</artifactId>
- <packaging>bundle</packaging>
- <name>Apache Stratos - Common Stubs</name>
- <url>http://apache.org</url>
-
- <build>
- <plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>source-code-generation</id>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <path id="wsdl2java.classpath">
- <pathelement location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/${axis2.wso2.version}/axiom-${axis2.wso2.version}.jar" />
- <pathelement location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/${axis2.wso2.client.version}/axis2-client-${axis2.wso2.client.version}.jar" />
- <pathelement location="${settings.localRepository}/org/apache/axis2/wso2/axis2/${axis2.wso2.version}/axis2-${axis2.wso2.version}.jar" />
- <pathelement location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/${axiom.wso2.version}/axiom-${axiom.wso2.version}.jar" />
- </path>
- <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
- <arg line="-uri src/main/resources/PackageInfoServce.wsdl -u -uw -p org.apache.stratos.common.packages.stub -o target/generated-code -ns2p http://packages.common.stratos.apache.org/xsd=org.apache.stratos.common.packages.stub,http://services.common.stratos.apache.org=org.apache.stratos.common.packages.stub" />
- <classpath refid="wsdl2java.classpath" />
- </java>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>
- target/generated-code/src
- </source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
- <Bundle-Name>${project.artifactId}</Bundle-Name>
- <Export-Package>
- org.apache.stratos.common.packages.stub.*;version="${project.version}",
- </Export-Package>
- <Import-Package>
- !org.apache.stratos.common.packages.stub.*,
- *;resolution:=optional
- </Import-Package>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.axis2.wso2</groupId>
- <artifactId>axis2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.axis2.wso2</groupId>
- <artifactId>axis2-client</artifactId>
- </dependency>
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/stratos/blob/6a72e526/service-stubs/org.apache.stratos.common.stub/src/main/resources/PackageInfoServce.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.common.stub/src/main/resources/PackageInfoServce.wsdl b/service-stubs/org.apache.stratos.common.stub/src/main/resources/PackageInfoServce.wsdl
deleted file mode 100644
index 018009a..0000000
--- a/service-stubs/org.apache.stratos.common.stub/src/main/resources/PackageInfoServce.wsdl
+++ /dev/null
@@ -1,133 +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.
- -->
-
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax2375="http://packages.common.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.common.stratos.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.common.stratos.apache.org">
- <wsdl:documentation>PackageInfoService</wsdl:documentation>
- <wsdl:types>
- <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://packages.common.stratos.apache.org/xsd">
- <xs:complexType name="PackageInfo">
- <xs:sequence>
- <xs:element minOccurs="0" name="bandwidthLimit" type="xs:int" />
- <xs:element minOccurs="0" name="bandwidthOveruseCharge" type="xs:int" />
- <xs:element minOccurs="0" name="chargePerUser" type="xs:int" />
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
- <xs:element minOccurs="0" name="resourceVolumeLimit" type="xs:int" />
- <xs:element minOccurs="0" name="subscriptionCharge" type="xs:int" />
- <xs:element minOccurs="0" name="usersLimit" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:schema>
- <xs:schema xmlns:ax2376="http://packages.common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.common.stratos.apache.org">
- <xs:import namespace="http://packages.common.stratos.apache.org/xsd" />
- <xs:element name="PackageInfoServiceException">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="PackageInfoServiceException" nillable="true" type="ns:Exception" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="Exception">
- <xs:sequence>
- <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- <xs:element name="getPackageInfos">
- <xs:complexType>
- <xs:sequence />
- </xs:complexType>
- </xs:element>
- <xs:element name="getPackageInfosResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax2375:PackageInfo" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="getPackageInfosRequest">
- <wsdl:part name="parameters" element="ns:getPackageInfos" />
- </wsdl:message>
- <wsdl:message name="getPackageInfosResponse">
- <wsdl:part name="parameters" element="ns:getPackageInfosResponse" />
- </wsdl:message>
- <wsdl:message name="PackageInfoServiceException">
- <wsdl:part name="parameters" element="ns:PackageInfoServiceException" />
- </wsdl:message>
- <wsdl:portType name="PackageInfoServicePortType">
- <wsdl:operation name="getPackageInfos">
- <wsdl:input message="ns:getPackageInfosRequest" wsaw:Action="urn:getPackageInfos" />
- <wsdl:output message="ns:getPackageInfosResponse" wsaw:Action="urn:getPackageInfosResponse" />
- <wsdl:fault message="ns:PackageInfoServiceException" name="PackageInfoServiceException" wsaw:Action="urn:getPackageInfosPackageInfoServiceException" />
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="PackageInfoServiceSoap11Binding" type="ns:PackageInfoServicePortType">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <wsdl:operation name="getPackageInfos">
- <soap:operation soapAction="urn:getPackageInfos" style="document" />
- <wsdl:input>
- <soap:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- </wsdl:output>
- <wsdl:fault name="PackageInfoServiceException">
- <soap:fault use="literal" name="PackageInfoServiceException" />
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="PackageInfoServiceSoap12Binding" type="ns:PackageInfoServicePortType">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <wsdl:operation name="getPackageInfos">
- <soap12:operation soapAction="urn:getPackageInfos" style="document" />
- <wsdl:input>
- <soap12:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal" />
- </wsdl:output>
- <wsdl:fault name="PackageInfoServiceException">
- <soap12:fault use="literal" name="PackageInfoServiceException" />
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="PackageInfoServiceHttpBinding" type="ns:PackageInfoServicePortType">
- <http:binding verb="POST" />
- <wsdl:operation name="getPackageInfos">
- <http:operation location="getPackageInfos" />
- <wsdl:input>
- <mime:content type="text/xml" part="parameters" />
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="parameters" />
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="PackageInfoService">
- <wsdl:port name="PackageInfoServiceHttpsSoap11Endpoint" binding="ns:PackageInfoServiceSoap11Binding">
- <soap:address location="https://10.100.2.91:9443/services/PackageInfoService.PackageInfoServiceHttpsSoap11Endpoint/" />
- </wsdl:port>
- <wsdl:port name="PackageInfoServiceHttpsSoap12Endpoint" binding="ns:PackageInfoServiceSoap12Binding">
- <soap12:address location="https://10.100.2.91:9443/services/PackageInfoService.PackageInfoServiceHttpsSoap12Endpoint/" />
- </wsdl:port>
- <wsdl:port name="PackageInfoServiceHttpsEndpoint" binding="ns:PackageInfoServiceHttpBinding">
- <http:address location="https://10.100.2.91:9443/services/PackageInfoService.PackageInfoServiceHttpsEndpoint/" />
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
http://git-wip-us.apache.org/repos/asf/stratos/blob/6a72e526/service-stubs/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/pom.xml b/service-stubs/pom.xml
index ee04ef4..ac5cc93 100644
--- a/service-stubs/pom.xml
+++ b/service-stubs/pom.xml
@@ -36,7 +36,6 @@
<modules>
<module>org.apache.stratos.cloud.controller.service.stub</module>
<module>org.apache.stratos.manager.service.stub</module>
- <module>org.apache.stratos.common.stub</module>
<module>org.apache.stratos.autoscaler.service.stub</module>
</modules>