juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject juddi git commit: JUDDI-939 fixed, test cases will be added to the tck
Date Wed, 28 Oct 2015 23:55:21 GMT
Repository: juddi
Updated Branches:
  refs/heads/master 17df28197 -> 3fb9382b3


JUDDI-939 fixed, test cases will be added to the tck


Project: http://git-wip-us.apache.org/repos/asf/juddi/repo
Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/3fb9382b
Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/3fb9382b
Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/3fb9382b

Branch: refs/heads/master
Commit: 3fb9382b3872a5a375fc9fa0610ba32b1cdafb00
Parents: 17df281
Author: Alex <alexoree@apache.org>
Authored: Wed Oct 28 19:55:16 2015 -0400
Committer: Alex <alexoree@apache.org>
Committed: Wed Oct 28 19:55:16 2015 -0400

----------------------------------------------------------------------
 .../juddi/v3/client/mapping/ServiceLocator.java |  1 +
 .../src/test/resources/META-INF/uddi.xml        | 30 ++++++++++++++++++++
 2 files changed, 31 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/3fb9382b/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java
----------------------------------------------------------------------
diff --git a/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java
b/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java
index b8a6ac1..2ee15a8 100644
--- a/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java
+++ b/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/ServiceLocator.java
@@ -165,6 +165,7 @@ public class ServiceLocator {
 	private UDDIServiceCache initCache(URL baseCallbackURL) throws ConfigurationException {
 		if (clerk==null) throw new ConfigurationException("The UDDIClerk is needed to use the UDDIServiceCache
and is null");
 		if (urlLocalizer==null) urlLocalizer = new URLLocalizerDefaultImpl(baseCallbackURL);
+                if (properties==null) properties = new Properties();
 		try {
 			log.info("Creating a UDDICLientCache");
 			return new UDDIServiceCache(clerk, urlLocalizer, properties);

http://git-wip-us.apache.org/repos/asf/juddi/blob/3fb9382b/juddi-client/src/test/resources/META-INF/uddi.xml
----------------------------------------------------------------------
diff --git a/juddi-client/src/test/resources/META-INF/uddi.xml b/juddi-client/src/test/resources/META-INF/uddi.xml
index d3adccb..d7c3f13 100644
--- a/juddi-client/src/test/resources/META-INF/uddi.xml
+++ b/juddi-client/src/test/resources/META-INF/uddi.xml
@@ -66,6 +66,30 @@
                 <javaNamingProviderUrl>jnp://localhost:1099</javaNamingProviderUrl>
                 -->
             </node>
+            
+            <node isHomeJUDDI="false" >
+                <!-- required 'default' node -->
+                <name>default8080</name> 
+                <description>Main jUDDI node</description>
+                <properties>
+                    <property name="serverName" value="localhost" />
+                    <property name="serverPort" value="8080" />
+                  
+                </properties>
+                <!-- JAX-WS Transport -->
+                <proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>
+                <custodyTransferUrl>http://${serverName}:${serverPort}/juddiv3/services/custody-transfer?wsdl</custodyTransferUrl>
+                <inquiryUrl>http://${serverName}:${serverPort}/juddiv3/services/inquiry?wsdl</inquiryUrl>
+				<inquiryRESTUrl>http://${serverName}:${serverPort}/juddiv3/services/inquiryRest</inquiryRESTUrl>
+                <publishUrl>http://${serverName}:${serverPort}/juddiv3/services/publish?wsdl</publishUrl>
+                <securityUrl>http://${serverName}:${serverPort}/juddiv3/services/security?wsdl</securityUrl>
+                <subscriptionUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription?wsdl</subscriptionUrl>
+                <subscriptionListenerUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription-listener?wsdl</subscriptionListenerUrl>
+                <juddiApiUrl>http://${serverName}:${serverPort}/juddiv3/services/juddi-api?wsdl</juddiApiUrl>
+               
+            </node>
+            
+            
             <node>
                 <name>med</name>
                 <description>jUDDI node in other Department</description>
@@ -85,6 +109,12 @@
                 <wsdl businessKey="uddi:org.apache.juddi:test" businessName="test" keyDomain="uddi:org.apache.juddi">some.wsdl</wsdl>
                 <class></class>
             </clerk>
+            
+             <clerk name="default8080" node="default8080" publisher="userjoe" password="******"
>
+                <wsdl businessKey="uddi:org.apache.juddi:test" businessName="test" keyDomain="uddi:org.apache.juddi">some.wsdl</wsdl>
+                <class></class>
+             </clerk>
+       
             <clerk name="medroot" node="med"     publisher="root" password="root"/>

             <xregister>
                 <service entityKey="uddi:juddi.apache.org:servicebindings-subscriptionlistener-ws"
fromClerk="default" toClerk="medroot"/>


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


Mime
View raw message