juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r1102008 - in /juddi/trunk/uddi-tck-base/src/main: java/org/apache/juddi/v3/tck/ resources/ resources/uddi_data/bpel/ resources/uddi_data/bpel/riftsaw/
Date Wed, 11 May 2011 18:24:34 GMT
Author: kstam
Date: Wed May 11 18:24:33 2011
New Revision: 1102008

URL: http://svn.apache.org/viewvc?rev=1102008&view=rev
Log:
JUDDI-473, adding test data to test registering a BPEL process.

Added:
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.bpel
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.wsdl
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/WSDLPort.xml
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.bpel
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.wsdl
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/businessEntity.xml
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelAgentPortType.xml
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelCustomerPortType.xml
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelKeyGen.xml
    juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelProcess.xml
Modified:
    juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/Property.java
    juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java
    juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusinessService.java
    juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckPublisher.java
    juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckTModel.java
    juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckValidator.java
    juddi/trunk/uddi-tck-base/src/main/resources/tck.properties

Modified: juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/Property.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/Property.java?rev=1102008&r1=1102007&r2=1102008&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/Property.java (original)
+++ juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/Property.java Wed May
11 18:24:33 2011
@@ -10,5 +10,7 @@ public class Property {
 	public static String SAM_PASSWORD   = "sam.password";
 	public static String MARY_PUBLISHER = "mary.publisher";
 	public static String MARY_PASSWORD  = "mary.password";
+	public static String RIFTSAW_PUBLISHER = "riftsaw.publisher";
+	public static String RIFTSAW_PASSWORD  = "riftsaw.password";
 	
 }

Modified: juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java?rev=1102008&r1=1102007&r2=1102008&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java (original)
+++ juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java Wed May
11 18:24:33 2011
@@ -50,6 +50,9 @@ public class TckBusiness 
     final static String SAM_BUSINESS_KEY        = "uddi:www.samco.com:samco";
     final static String COMBINE_CATBAGS_BIZ_XML = "uddi_data/joepublisher/combineCatBagsBusinessServices.xml";
     final static String COMBINE_CATBAGS_BIZ_KEY = "uddi:uddi.joepublisher.com:business01";
+    public final static String RIFTSAW_BUSINESS_KEY    = "uddi:riftsaw.jboss.org:redhat-jboss";
+    public final static String RIFTSAW_BUSINESS_XML    = "uddi_data/bpel/riftsaw/businessEntity.xml";
+
     
     private Log logger = LogFactory.getLog(this.getClass());
 	private UDDIPublicationPortType publication = null;

Modified: juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusinessService.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusinessService.java?rev=1102008&r1=1102007&r2=1102008&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusinessService.java
(original)
+++ juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusinessService.java
Wed May 11 18:24:33 2011
@@ -49,6 +49,9 @@ public class TckBusinessService 
     final static String JOE_SERVICE_KEY_2              = "uddi:uddi.joepublisher.com:servicetwo";
     final static String SAM_SERVICE_XML              = "uddi_data/samsyndicator/businessService.xml";
     final static String SAM_SERVICE_KEY              = "uddi:www.samco.com:listingservice";
+    
+    public final static String RIFTSAW_PROCESS_XML          = "uddi_data/bpel/riftsaw/WSDLPort.xml";
+    public final static String RIFTSAW_PROCESS_KEY          = "uddi:riftsaw.jboss.org:ticket-service";
    
     private Log logger = LogFactory.getLog(this.getClass());
 	private UDDIPublicationPortType publication = null;
@@ -161,7 +164,7 @@ public class TckBusinessService 
 			List<BusinessService> bsOutList = sd.getBusinessService();
 			BusinessService bsOut = bsOutList.get(0);
 
-			assertEquals(bsIn.getServiceKey(), bsOut.getServiceKey());
+			assertEquals(bsIn.getServiceKey().toLowerCase(), bsOut.getServiceKey());
 			
 			TckValidator.checkNames(bsIn.getName(), bsOut.getName());
 			TckValidator.checkDescriptions(bsIn.getDescription(), bsOut.getDescription());

Modified: juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckPublisher.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckPublisher.java?rev=1102008&r1=1102007&r2=1102008&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckPublisher.java (original)
+++ juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckPublisher.java Wed
May 11 18:24:33 2011
@@ -70,4 +70,12 @@ public class TckPublisher 
     public final static String getMaryPassword() {
     	return tckProperties.getProperty(Property.MARY_PASSWORD);
     }
+    
+    public final static String getRiftSawPublisherId() {
+    	return tckProperties.getProperty(Property.RIFTSAW_PUBLISHER);
+    }
+    
+    public final static String getRiftSawPassword() {
+    	return tckProperties.getProperty(Property.RIFTSAW_PASSWORD);
+    }
 }
\ No newline at end of file

Modified: juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckTModel.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckTModel.java?rev=1102008&r1=1102007&r2=1102008&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckTModel.java (original)
+++ juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckTModel.java Wed May
11 18:24:33 2011
@@ -45,6 +45,17 @@ public class TckTModel 
     final static String SAM_SYNDICATOR_TMODEL_KEY     = "uddi:www.samco.com:keygenerator";
     final static String FIND_TMODEL_XML               = "uddi_data/find/findTModel1.xml";
     final static String FIND_TMODEL_XML_BY_CAT        = "uddi_data/find/findTModelByCategoryBag.xml";
+    
+    public final static String RIFTSAW_PUBLISHER_TMODEL_XML  = "uddi_data/bpel/riftsaw/tModelKeyGen.xml";
+    public final static String RIFTSAW_PUBLISHER_TMODEL_KEY  = "uddi:riftsaw.jboss.org:keygenerator";
+    public final static String RIFTSAW_CUST_PORTTYPE_TMODEL_XML  = "uddi_data/bpel/riftsaw/tModelCustomerPortType.xml";
+    public final static String RIFTSAW_CUST_PORTTYPE_TMODEL_KEY  = "uddi:riftsaw.jboss.org:CustomerInterface_portType";
+    public final static String RIFTSAW_AGENT_PORTTYPE_TMODEL_XML  = "uddi_data/bpel/riftsaw/tModelAgentPortType.xml";
+    public final static String RIFTSAW_AGENT_PORTTYPE_TMODEL_KEY  = "uddi:riftsaw.jboss.org:TravelAgentInterface_portType";
+    public final static String RIFTSAW_PROCESS_TMODEL_XML  = "uddi_data/bpel/riftsaw/tModelProcess.xml";
+    public final static String RIFTSAW_PROCESS_TMODEL_KEY  = "uddi:riftsaw.jboss.org:ReservationAndBookingTicketsProcess";
+  
+   
  
     private Log logger = LogFactory.getLog(this.getClass());
 	private UDDIPublicationPortType publication = null;
@@ -75,7 +86,7 @@ public class TckTModel 
 			List<org.uddi.api_v3.TModel> tmOutList = td.getTModel();
 			org.uddi.api_v3.TModel tmOut = tmOutList.get(0);
 
-			assertEquals(tmIn.getTModelKey(), tmOut.getTModelKey());
+			assertEquals(tmIn.getTModelKey().toLowerCase(), tmOut.getTModelKey());
 			assertEquals(tmIn.getName().getLang(), tmOut.getName().getLang());
 			assertEquals(tmIn.getName().getValue(), tmOut.getName().getValue());
 			TckValidator.checkDescriptions(tmIn.getDescription(), tmOut.getDescription());

Modified: juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckValidator.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckValidator.java?rev=1102008&r1=1102007&r2=1102008&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckValidator.java (original)
+++ juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckValidator.java Wed
May 11 18:24:33 2011
@@ -184,7 +184,7 @@ public class TckValidator {
 			BindingTemplate bt2 = bt2Iter.next();
 			assertEquals(bt1.getAccessPoint().getValue(),bt2.getAccessPoint().getValue());
 			assertEquals(bt1.getAccessPoint().getUseType(),bt2.getAccessPoint().getUseType());
-			assertEquals(bt1.getBindingKey(),bt2.getBindingKey());
+			assertEquals(bt1.getBindingKey().toLowerCase(),bt2.getBindingKey());
 			checkCategories(bt1.getCategoryBag(), bt2.getCategoryBag());
 			checkDescriptions(bt1.getDescription(),bt2.getDescription());
 			checkHostingRedirector(bt1.getHostingRedirector(),bt2.getHostingRedirector());
@@ -209,7 +209,7 @@ public class TckValidator {
 			TModelInstanceInfo tmI2 = tmIter2.next();
 			checkDescriptions(tmI1.getDescription(), tmI2.getDescription());
 			checkInstanceDetails(tmI1.getInstanceDetails(), tmI2.getInstanceDetails());
-			assertEquals(tmI1.getTModelKey(),tmI2.getTModelKey());
+			assertEquals(tmI1.getTModelKey().toLowerCase(),tmI2.getTModelKey());
 		}
 	}
 	

Modified: juddi/trunk/uddi-tck-base/src/main/resources/tck.properties
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/tck.properties?rev=1102008&r1=1102007&r2=1102008&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/tck.properties (original)
+++ juddi/trunk/uddi-tck-base/src/main/resources/tck.properties Wed May 11 18:24:33 2011
@@ -5,4 +5,6 @@ joe.password   = joepublisher
 sam.publisher  = ssyndicator
 sam.password   = ssyndicator
 mary.publisher = marypublisher
-mary.password  = marypublisher
\ No newline at end of file
+mary.password  = marypublisher
+riftsaw.publisher = riftsaw
+riftsaw.password  = riftsaw
\ No newline at end of file

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.bpel
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.bpel?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.bpel (added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.bpel Wed
May 11 18:24:33 2011
@@ -0,0 +1,68 @@
+<!--
+  ~ 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.
+  -->
+<process name="HelloWorld"
+    targetNamespace="http://www.jboss.org/bpel/examples" 
+    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+    xmlns:tns="http://www.jboss.org/bpel/examples"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:intf="http://www.jboss.org/bpel/examples/wsdl"
+    queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+    expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+  <import location="HelloWorld.wsdl"
+     namespace="http://www.jboss.org/bpel/examples/wsdl"
+     importType="http://schemas.xmlsoap.org/wsdl/" />
+
+   <partnerLinks>
+      <partnerLink name="helloPartnerLink" 
+         partnerLinkType="intf:HelloPartnerLinkType" 
+         myRole="me" />
+   </partnerLinks>
+    
+   <variables>
+     <variable name="myVar" messageType="intf:HelloMessage"/>
+     <variable name="mesgVar" type="xsd:string"/>
+   </variables>
+
+   <sequence>
+       <receive
+          name="start"
+          partnerLink="helloPartnerLink"
+          portType="intf:HelloPortType"
+          operation="hello"
+          variable="myVar"
+          createInstance="yes"/>
+
+      <assign name="assignHelloMesg">
+          <copy>
+              <from variable="myVar" part="TestPart"/>
+              <to variable="mesgVar"/>
+          </copy>
+          <copy>
+              <from>concat($mesgVar,' World')</from>
+              <to variable="myVar" part="TestPart"/>
+          </copy>
+      </assign>
+       <reply name="end"  
+              partnerLink="helloPartnerLink"
+              portType="intf:HelloPortType" 
+              operation="hello"
+              variable="myVar"/>
+   </sequence>
+</process>

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.wsdl
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.wsdl?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.wsdl (added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/HelloWorld.wsdl Wed
May 11 18:24:33 2011
@@ -0,0 +1,67 @@
+<?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.
+  -->
+<wsdl:definitions
+        targetNamespace="http://www.jboss.org/bpel/examples/wsdl"
+        xmlns="http://schemas.xmlsoap.org/wsdl/"
+        xmlns:tns="http://www.jboss.org/bpel/examples/wsdl"
+        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+        xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype">
+
+    <wsdl:message name="HelloMessage">
+        <wsdl:part name="TestPart" type="xsd:string"/>
+    </wsdl:message>
+
+    <wsdl:portType name="HelloPortType">
+        <wsdl:operation name="hello">
+            <wsdl:input message="tns:HelloMessage" name="TestIn"/>
+            <wsdl:output message="tns:HelloMessage" name="TestOut"/>
+        </wsdl:operation>
+    </wsdl:portType>
+
+    <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType">
+        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="hello">
+            <soap:operation soapAction="" style="rpc"/>
+            <wsdl:input>
+                <soap:body
+                        namespace="http://www.jboss.org/bpel/examples/wsdl"
+                        use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body
+                        namespace="http://www.jboss.org/bpel/examples/wsdl"
+                        use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="HelloService">
+        <wsdl:port name="HelloPort" binding="tns:HelloSoapBinding">
+            <soap:address location="http://localhost:8080/Quickstart_bpel_hello_worldWS"/>
+        </wsdl:port>
+    </wsdl:service>
+
+    <plnk:partnerLinkType name="HelloPartnerLinkType">
+        <plnk:role name="me" portType="tns:HelloPortType"/>
+        <plnk:role name="you" portType="tns:HelloPortType"/>
+    </plnk:partnerLinkType>
+</wsdl:definitions>
+

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/WSDLPort.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/WSDLPort.xml?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/WSDLPort.xml (added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/WSDLPort.xml Wed May
11 18:24:33 2011
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2001-2009 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ */ -->  
+<businessService xmlns="urn:uddi-org:api_v3"
+	serviceKey="uddi:riftsaw.jboss.org:ticket-service"
+	businessKey="uddi:riftsaw.jboss.org:redhat-jboss" >
+	<name xml:lang="en">Ticket Service</name>
+  	<description xml:lang="en">This is the description of the Ticket Service.</description>
+	 
+	<bindingTemplates>
+		<bindingTemplate
+			bindingKey="uddi:riftsaw.jboss.org:TravelAgentPort"
+			serviceKey="uddi:riftsaw.jboss.org:ticket-service">
+			<accessPoint useType="endPoint">http://location/sample</accessPoint>
+			<description xml:lang="en">This is the access point for ticket-service.</description>

+			<tModelInstanceDetails>
+			<!--  Uncomment this once we register the WSDL tModel
+				<tModelInstanceInfo
+					tModelKey="uddi:riftsaw.jboss.org:...">
+					<description xml:lang="en">The wsdl:binding that this wsdl:port implements. The
instanceParms specifies the port local name.</description>
+					<instanceDetails>
+						<instanceParms>TravelAgentPort</instanceParms>
+					</instanceDetails>
+				</tModelInstanceInfo>
+				-->
+				<tModelInstanceInfo
+					tModelKey="uddi:riftsaw.jboss.org:TravelAgentInterface_portType">
+					<description xml:lang="en">The wsdl:portType that this wsdl:port implements.</description>
+				</tModelInstanceInfo>			
+				<tModelInstanceInfo
+					tModelKey="uddi:riftsaw.jboss.org:ReservationAndBookingTicketsProcess">
+					<description xml:lang="en">The bpel:process this wsdl:port supports.</description>
+				</tModelInstanceInfo>
+				
+			</tModelInstanceDetails>
+		</bindingTemplate>
+	</bindingTemplates>
+	
+</businessService>
+	
+

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.bpel
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.bpel?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.bpel
(added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.bpel
Wed May 11 18:24:33 2011
@@ -0,0 +1,69 @@
+<process name="ReservationAndBookingTickets"
+   targetNamespace="http://example.com/travelagent"
+   xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
+   xmlns:taw="http://example.com/travelagent/wsdl"
+   abstractProcess="yes">
+   <partnerLinks>
+      <partnerLink name="TravelAgency"
+         partnerLinkType="taw:TravelAgencyService"
+         partnerRole="Customer"
+         myRole="TravelAgent"/>
+   </partnerLinks>
+   <correlationSets>
+      <correlationSet name="reservationCorrelation"
+            properties=Ă“taw:reservationIDĂ“/>
+   </correlationSets>
+   <sequence>
+      <receive partnerLink="TravelAgency"
+         portType="taw:InterfaceOfTravelAgent"
+         operation="OrderTrip"
+         createInstance="yes">
+         <correlations>
+            <correlation set="reservationCorrelation"
+                  initiate="yes"/>
+         </correlations>
+      </receive>
+      <pick>
+         <onAlarm duration="P0Y0M1D">
+            <invoke partnerLink="TravelAgency"
+                  portType="taw:InterfaceOfCustomer"
+                  operation="NotificationOfTimeout">
+              <correlations>
+                 <correlation set="reservationCorrelation"
+                          pattern="out"/>
+              </correlations>
+            </invoke>
+         </onAlarm>
+         <onMessage partnerLink="TravelAgency"
+                  portType="taw:InterfaceOfTravelAgent"
+                  operation="CancelReservation">
+            <correlations>
+               <correlation set="reservationCorrelation"/>
+            </correlations>
+            <invoke partnerLink="TravelAgency"
+                  portType="taw:InterfaceOfCustomer"
+                  operation="NotificationOfCancellation">
+               <correlations>
+                 <correlation set="reservationCorrelation"
+                    pattern="out"/>
+               </correlations>
+            </invoke>
+         </onMessage>
+         <onMessage partnerLink="TravelAgency"
+                  portType="taw:InterfaceOfTravelAgent"
+                  operation="PerformBooking">
+             <correlations>
+                <correlation set="reservationCorrelation"/>
+             </correlations>
+             <invoke partnerLink="TravelAgency"
+                    portType="taw:InterfaceOfCustomer"
+                    operation="ReceiveStatement">
+                 <correlations>
+                     <correlation set="reservationCorrelation"
+                          pattern="out"/>
+                 </correlations>
+            </invoke>
+         </onMessage>
+      </pick>
+   </sequence>
+</process>

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.wsdl
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.wsdl?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.wsdl
(added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/bpel-technote.wsdl
Wed May 11 18:24:33 2011
@@ -0,0 +1,43 @@
+<?xml version="1.0" ?>
+<definitions name="TravelAgent" targetNamespace="http://example.com/travelagent/wsdl"
+	xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
+	xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
+	<!-- data type definitions and message definitions are omitted -->
+	<!-- port type definitions -->
+	<portType name="InterfaceOfTravelAgent">
+		<operation name="OrderTrip">
+			<input message="orderRequest" />
+			<output message="orderAcknowledgement" />
+		</operation>
+		<operation name="CancelReservation">
+			<input message="cancellationRequest" />
+		</operation>
+		<operation name="PerformBooking">
+			<input message="bookingRequest" />
+			<output message="bookingConfirmation" />
+		</operation>
+	</portType>
+	<portType name="InterfaceOfCustomer">
+		<operation name="NotificationOfCancellation">
+			<input message="cancellationResponse" />
+		</operation>
+		<operation name="NotificationOfTimeout">
+			<input message="timeoutMsg" />
+		</operation>
+		<operation name="ReceiveStatement">
+			<input message="statement" />
+		</operation>
+	</portType>
+	<!-- partner link type definitions -->
+	<plnk:partnerLinkType name="TravelAgentService">
+		<plnk:role name="TravelAgent">
+			<plnk:portType name="InterfaceOfTravelAgent" />
+		</plnk:role>
+		<plnk:role name="Customer">
+			<plnk:portTYpe name="InterfaceOfCustomer" />
+		</plnk:role>
+	</plnk:partnerLinkType>
+	<!-- definition of properties -->
+	<bpws:property name="reservationID" type="xsd:string" />
+	<!-- property aliases are omitted -->
+</definitions>

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/businessEntity.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/businessEntity.xml?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/businessEntity.xml
(added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/businessEntity.xml
Wed May 11 18:24:33 2011
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2001-2009 The Apache Software Foundation.
+ *
+ * Licensed 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 contains the root business entity structure that represents your registry.  The
key chosen (or generated) for this entity will serve
+  as the node id for all entities published within the registry.  The services contained
within this business entity reflect the UDDI APIs that
+  you wish to support (adding or subtracting the services here will not enable/disable them,
simply add/omit them from being discovered via UDDI).
+  
+  The top-level business entity and sub-entities all use keys as unique identifiers.  They
are left blank by default which means the system will
+  generate a key (generated as root partition with GUID appended).  You can choose to create
your own, human-readable keys but they must match
+  the root key generator created in the root_tModelKeyGen.xml file.  Matching means they
must equal the root key generator with the keyword
+  "keygenerator" replaced by your own string.
+  
+  Example:
+  
+  root_tModelKeyGen.xml key is uddi:www.mycompany.com:registry:keygenerator
+  
+  Legal user-defined keys are:
+  
+  uddi:www.mycompany.com:registry:ubr-node (for the businessKey)
+  uddi:www.mycompany.com:registry:inquiry-service (for the inquiry service service key)
+  uddi:www.mycompany.com:registry:inquiry-service-wsdlDeployment (for the inquiry service
binding template that represents the WSDL)
+  
+  
+  See below for other fields that you may want to edit...
+  -->
+<businessEntity xmlns="urn:uddi-org:api_v3" xmlns:xml="http://www.w3.org/XML/1998/namespace"

+  businessKey="uddi:riftsaw.jboss.org:redhat-jboss">
+ <name xml:lang="en">Riftsaw Business</name>
+  <!-- Change the description field to provided a brief description of your registry -->
+  <description xml:lang="en">The business that owns all the services deployed by Riftsaw</description>
+</businessEntity>
+
+
+
+

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelAgentPortType.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelAgentPortType.xml?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelAgentPortType.xml
(added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelAgentPortType.xml
Wed May 11 18:24:33 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2001-2009 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ */ -->
+<tModel tModelKey="uddi:riftsaw.jboss.org:TravelAgentInterface_portType"
+	xmlns="urn:uddi-org:api_v3">
+	<name>InterfaceOfTravelAgent</name> 
+	<overviewDoc>
+		<overviewURL>http://location/travelagent.wsdl</overviewURL>
+	</overviewDoc>
+	<categoryBag>
+		<keyedReference tModelKey="uddi:uddi.org:xml:namespace"
+			keyName="uddi-org:xml:namespace" keyValue="http://example.com/travelagent/wsdl" />
+		<keyedReference tModelKey="uddi:uddi.org:wsdl:types"
+			keyName="uddi-org:wsdl:types" keyValue="portType" />
+	</categoryBag>
+</tModel>
+

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelCustomerPortType.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelCustomerPortType.xml?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelCustomerPortType.xml
(added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelCustomerPortType.xml
Wed May 11 18:24:33 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2001-2009 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ */ -->
+<tModel tModelKey="uddi:riftsaw.jboss.org:CustomerInterface_portType"
+	xmlns="urn:uddi-org:api_v3">
+	<name>InterfaceOfCustomer</name> 
+	<overviewDoc>
+		<overviewURL>http://location/customer.wsdl</overviewURL>
+	</overviewDoc>
+	<categoryBag>
+		<keyedReference tModelKey="uddi:uddi.org:xml:namespace"
+			keyName="uddi-org:xml:namespace" keyValue="http://example.com/travelagent/wsdl" />
+		<keyedReference tModelKey="uddi:uddi.org:wsdl:types"
+			keyName="uddi-org:wsdl:types" keyValue="portType" />
+	</categoryBag>
+</tModel>
+

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelKeyGen.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelKeyGen.xml?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelKeyGen.xml (added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelKeyGen.xml Wed
May 11 18:24:33 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2001-2009 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ */ -->
+
+<tModel tModelKey="uddi:riftsaw.jboss.org:keygenerator" xmlns="urn:uddi-org:api_v3">
+    <name>riftsaw-jboss-org:keyGenerator</name>
+    <description>Riftsaw domain key generator</description>
+    <overviewDoc>
+    <overviewURL useType="text">
+        http://uddi.org/pubs/uddi_v3.htm#keyGen</overviewURL>
+    </overviewDoc>
+    <categoryBag>
+      <keyedReference tModelKey="uddi:uddi.org:categorization:types" keyName="uddi-org:types:keyGenerator"
+        keyValue="keyGenerator" />
+    </categoryBag>
+</tModel>
+

Added: juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelProcess.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelProcess.xml?rev=1102008&view=auto
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelProcess.xml
(added)
+++ juddi/trunk/uddi-tck-base/src/main/resources/uddi_data/bpel/riftsaw/tModelProcess.xml
Wed May 11 18:24:33 2011
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2001-2009 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ */ -->
+<tModel tModelKey="uddi:riftsaw.jboss.org:ReservationAndBookingTicketsProcess" xmlns="urn:uddi-org:api_v3">
+	<name>ReservationAndBookingTickets</name>
+	<overviewDoc>
+		<overviewURL>http://location/reservation.bpel</overviewURL>
+	</overviewDoc>
+	<categoryBag>
+		<keyedReference
+			tModelKey="uddi:uddi.org:xml:namespace"
+			keyName="uddi-org:xml:namespace"
+			keyValue="http://example.com/travelagent" />
+		<keyedReference
+			tModelKey="uddi:uddi.org:bpel:types"
+			keyName="uddi-org:bpel:types"
+			keyValue="process" />
+		<keyedReference
+			tModelKey="uddi:uddi.org:wsdl:porttypereference"
+			keyName="uddi-org:wsdl:portTypeReference"
+			keyValue="uddi:riftsaw.jboss.org:TravelAgentInterface_portType" />
+		<keyedReference
+			tModelKey="uddi:uddi.org:wsdl:porttypereference"
+			keyName="uddi-org:wsdl:portTypeReference"
+			keyValue="uddi:riftsaw.jboss.org:CustomerInterface_portType" />
+	</categoryBag>
+</tModel>
+	
+



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message