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 2014/01/10 09:23:46 UTC
git commit: adding instance notification stub
Updated Branches:
refs/heads/master 15d0ae63c -> eecbaec8c
adding instance notification stub
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/eecbaec8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/eecbaec8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/eecbaec8
Branch: refs/heads/master
Commit: eecbaec8c58595eb4d54ee50fc05b8d053e562c6
Parents: 15d0ae6
Author: rekathiru <rt...@gmail.com>
Authored: Fri Jan 10 13:53:59 2014 +0530
Committer: rekathiru <rt...@gmail.com>
Committed: Fri Jan 10 13:53:59 2014 +0530
----------------------------------------------------------------------
.../pom.xml | 141 +++++++++++++++++++
.../InstanceCleanupNotificationService.wsdl | 91 ++++++++++++
2 files changed, 232 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/eecbaec8/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/pom.xml b/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/pom.xml
new file mode 100644
index 0000000..b8cbf6b
--- /dev/null
+++ b/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/pom.xml
@@ -0,0 +1,141 @@
+<?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.0.0-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>org.apache.stratos.manager.cleanup.notificateion.stub</artifactId>
+ <packaging>bundle</packaging>
+ <name>Apache Stratos - Cleanup Notification Stub</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/${axiom.wso2.version}/axiom-${axiom.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"/>
+ </path>
+ <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+ <arg line="-uri src/main/resources/InstanceCleanupNotificationService.wsdl -u -uw -o target/generated-code -p org.apache.stratos.manager.cleanup.notificateion.stub -ns2p http://exception.manager.stratos.apache.org/xsd=org.apache.stratos.manager.exception,http://dto.manager.stratos.apache.org/xsd=org.apache.stratos.manager.dto"/>
+ <classpath refid="wsdl2java.classpath"/>
+ <classpath refid="maven.dependency.classpath"/>
+ <classpath refid="maven.compile.classpath"/>
+ <classpath refid="maven.runtime.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>
+ <Private-Package>
+ </Private-Package>
+ <Export-Package>
+ org.apache.stratos.manager.cleanup.notificateion.stub.*; version="${project.version}",
+ org.apache.stratos.manager.service.*; version="${project.version}",
+ </Export-Package>
+ <Import-Package>
+ !org.apache.stratos.manager.cleanup.notificateion.stub.*
+ </Import-Package>
+ <DynamicImport-Package>*</DynamicImport-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>
+ <dependency>
+ <groupId>wsdl4j.wso2</groupId>
+ <artifactId>wsdl4j</artifactId>
+ </dependency>
+ <!--dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.schema.wso2</groupId>
+ <artifactId>XmlSchema</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.axiom.wso2</groupId>
+ <artifactId>axiom</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.neethi.wso2</groupId>
+ <artifactId>neethi</artifactId>
+ </dependency-->
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/eecbaec8/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/src/main/resources/InstanceCleanupNotificationService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/src/main/resources/InstanceCleanupNotificationService.wsdl b/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/src/main/resources/InstanceCleanupNotificationService.wsdl
new file mode 100644
index 0000000..e88a6f9
--- /dev/null
+++ b/service-stubs/org.apache.stratos.manager.cleanup.notificateion.stub/src/main/resources/InstanceCleanupNotificationService.wsdl
@@ -0,0 +1,91 @@
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:tns="http://service.manager.stratos.apache.org" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://service.manager.stratos.apache.org">
+ <wsdl:documentation>InstanceCleanupNotificationService</wsdl:documentation>
+ <wsdl:types>
+ <xs:schema xmlns:ns="http://org.apache.axis2/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://org.apache.axis2/xsd">
+ <xs:element name="sendInstanceCleanupNotificationForMember">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="memberId" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="sendInstanceCleanupNotificationForCluster">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="sendInstanceCleanupNotificationForClusterRequest">
+ <wsdl:part name="parameters" element="ns1:sendInstanceCleanupNotificationForCluster"></wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="sendInstanceCleanupNotificationForMemberRequest">
+ <wsdl:part name="parameters" element="ns1:sendInstanceCleanupNotificationForMember"></wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="InstanceCleanupNotificationServicePortType">
+ <wsdl:operation name="sendInstanceCleanupNotificationForCluster">
+ <wsdl:input message="tns:sendInstanceCleanupNotificationForClusterRequest" wsaw:Action="urn:sendInstanceCleanupNotificationForCluster"></wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="sendInstanceCleanupNotificationForMember">
+ <wsdl:input message="tns:sendInstanceCleanupNotificationForMemberRequest" wsaw:Action="urn:sendInstanceCleanupNotificationForMember"></wsdl:input>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="InstanceCleanupNotificationServiceSoap11Binding" type="tns:InstanceCleanupNotificationServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+ <wsdl:operation name="sendInstanceCleanupNotificationForCluster">
+ <soap:operation soapAction="urn:sendInstanceCleanupNotificationForCluster" style="document"></soap:operation>
+ <wsdl:input>
+ <soap:body use="literal"></soap:body>
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="sendInstanceCleanupNotificationForMember">
+ <soap:operation soapAction="urn:sendInstanceCleanupNotificationForMember" style="document"></soap:operation>
+ <wsdl:input>
+ <soap:body use="literal"></soap:body>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="InstanceCleanupNotificationServiceSoap12Binding" type="tns:InstanceCleanupNotificationServicePortType">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap12:binding>
+ <wsdl:operation name="sendInstanceCleanupNotificationForCluster">
+ <soap12:operation soapAction="urn:sendInstanceCleanupNotificationForCluster" style="document"></soap12:operation>
+ <wsdl:input>
+ <soap12:body use="literal"></soap12:body>
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="sendInstanceCleanupNotificationForMember">
+ <soap12:operation soapAction="urn:sendInstanceCleanupNotificationForMember" style="document"></soap12:operation>
+ <wsdl:input>
+ <soap12:body use="literal"></soap12:body>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="InstanceCleanupNotificationServiceHttpBinding" type="tns:InstanceCleanupNotificationServicePortType">
+ <http:binding verb="POST"></http:binding>
+ <wsdl:operation name="sendInstanceCleanupNotificationForCluster">
+ <http:operation location="sendInstanceCleanupNotificationForCluster"></http:operation>
+ <wsdl:input>
+ <mime:content type="text/xml" part="parameters"></mime:content>
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="sendInstanceCleanupNotificationForMember">
+ <http:operation location="sendInstanceCleanupNotificationForMember"></http:operation>
+ <wsdl:input>
+ <mime:content type="text/xml" part="parameters"></mime:content>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="InstanceCleanupNotificationService">
+ <wsdl:port name="InstanceCleanupNotificationServiceHttpsSoap11Endpoint" binding="tns:InstanceCleanupNotificationServiceSoap11Binding">
+ <soap:address location="https://10.100.1.142:9452/services/InstanceCleanupNotificationService.InstanceCleanupNotificationServiceHttpsSoap11Endpoint/"></soap:address>
+ </wsdl:port>
+ <wsdl:port name="InstanceCleanupNotificationServiceHttpsSoap12Endpoint" binding="tns:InstanceCleanupNotificationServiceSoap12Binding">
+ <soap12:address location="https://10.100.1.142:9452/services/InstanceCleanupNotificationService.InstanceCleanupNotificationServiceHttpsSoap12Endpoint/"></soap12:address>
+ </wsdl:port>
+ <wsdl:port name="InstanceCleanupNotificationServiceHttpsEndpoint" binding="tns:InstanceCleanupNotificationServiceHttpBinding">
+ <http:address location="https://10.100.1.142:9452/services/InstanceCleanupNotificationService.InstanceCleanupNotificationServiceHttpsEndpoint/"></http:address>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file