You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2007/11/02 20:44:36 UTC

svn commit: r591434 - in /webservices/juddi/trunk: juddi-web-lean/ juddi-web-lean/src/main/webapp/ juddi-web-lean/src/main/webapp/WEB-INF/ juddi-web/src/main/webapp/

Author: kstam
Date: Fri Nov  2 12:44:35 2007
New Revision: 591434

URL: http://svn.apache.org/viewvc?rev=591434&view=rev
Log:
JUDDI-119, updating the happyjuddi.jsps

Added:
    webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/
    webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/juddi.properties   (with props)
Modified:
    webservices/juddi/trunk/juddi-web-lean/pom.xml
    webservices/juddi/trunk/juddi-web-lean/src/main/webapp/happyjuddi.jsp
    webservices/juddi/trunk/juddi-web/src/main/webapp/happyjuddi.jsp

Modified: webservices/juddi/trunk/juddi-web-lean/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-web-lean/pom.xml?rev=591434&r1=591433&r2=591434&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-web-lean/pom.xml (original)
+++ webservices/juddi/trunk/juddi-web-lean/pom.xml Fri Nov  2 12:44:35 2007
@@ -59,6 +59,7 @@
                 <exclude>**/lib/</exclude>
                 <exclude>**/axis2.xml</exclude>
 		        <exclude>**/happyjuddi.jsp</exclude>
+		        <exclude>**/juddi.properties</exclude>
                </excludes>
             </resource>
           </webResources>

Added: webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/juddi.properties
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/juddi.properties?rev=591434&view=auto
==============================================================================
--- webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/juddi.properties (added)
+++ webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/juddi.properties Fri Nov  2 12:44:35 2007
@@ -0,0 +1,73 @@
+# jUDDI Registry Properties (used by RegistryServer)
+# see http://www.juddi.org for more information
+
+# The UDDI Operator Name
+juddi.operatorName = jUDDI.org
+
+# The i18n locale default codes
+juddi.i18n.languageCode = en
+juddi.i18n.countryCode = US
+
+# The UDDI DiscoveryURL Prefix
+juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
+
+# The UDDI Operator Contact Email Address
+juddi.operatorEmailAddress = admin@juddi.org
+
+# The maximum name size and maximum number
+# of name elements allows in several of the
+# FindXxxx and SaveXxxx UDDI functions.
+juddi.maxNameLength=255
+juddi.maxNameElementsAllowed=5
+
+# The maximum number of UDDI artifacts allowed
+# per publisher. A value of '-1' indicates any 
+# number of artifacts is valid (These values can be
+# overridden at the individual publisher level).
+juddi.maxBusinessesPerPublisher=25
+juddi.maxServicesPerBusiness=20
+juddi.maxBindingsPerService=10
+juddi.maxTModelsPerPublisher=100
+
+# jUDDI Authentication module to use
+juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
+
+# jUDDI DataStore module currently to use
+juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
+
+# jUDDI DataSource to use
+juddi.isUseDataSource=true
+juddi.dataSource=java:/juddiDB
+
+# straight JDBC
+#juddi.jdbcDriver=com.mysql.jdbc.Driver
+#juddi.jdbcUrl=jdbc:mysql://localhost/juddi
+#juddi.jdbcUsername=juddi
+#juddi.jdbcPassword=juddi
+
+# jUDDI database creation 
+juddi.isCreateDatabase=true
+juddi.databaseExistsSql=select * from BUSINESS_ENTITY
+juddi.sqlFiles=juddi-sql/hsqldb/create_database.sql,juddi-sql/insert_publishers.sql
+
+# jUDDI UUIDGen implementation to use
+juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
+
+# jUDDI Cryptor implementation to use
+juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
+ 
+# jUDDI Validator to use
+juddi.validator=org.apache.juddi.validator.DefaultValidator
+
+# jUDDI Proxy Properties (used by RegistryProxy)
+juddi.proxy.adminURL = http://localhost:8080/juddi/admin
+juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
+juddi.proxy.publishURL = http://localhost:8080/juddi/publish
+juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
+juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
+juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
+
+# JNDI settings (used by RMITransport)
+#java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+#java.naming.provider.url=jnp://localhost:1099
+#java.naming.factory.url.pkgs=org.jboss.naming

Propchange: webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/juddi.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/juddi/trunk/juddi-web-lean/src/main/webapp/WEB-INF/juddi.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: webservices/juddi/trunk/juddi-web-lean/src/main/webapp/happyjuddi.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-web-lean/src/main/webapp/happyjuddi.jsp?rev=591434&r1=591433&r2=591434&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-web-lean/src/main/webapp/happyjuddi.jsp (original)
+++ webservices/juddi/trunk/juddi-web-lean/src/main/webapp/happyjuddi.jsp Fri Nov  2 12:44:35 2007
@@ -12,7 +12,9 @@
                  java.util.TreeSet,
                  javax.naming.Context,
                  javax.naming.InitialContext,
-                 javax.sql.DataSource"
+                 javax.sql.DataSource,
+                 org.apache.juddi.registry.RegistryServlet,
+                 org.apache.juddi.registry.RegistryEngine"
 %>
 <%
 /*
@@ -166,7 +168,10 @@
         
 <h4>jUDDI Dependencies: Class Files &amp; Libraries</h4>
 <pre>
-<%
+<%
+     //creates the schema if not there
+    RegistryEngine registry = RegistryServlet.getRegistry();
+    registry.init();
     String[] classArray = {
       "org.apache.juddi.IRegistry",
       "org.apache.commons.logging.Log",
@@ -202,7 +207,7 @@
 <pre>
 <%
     String[] resourceArray = {
-      "log4j.xml"
+      //"log4j.xml"
     };
     
     for (int i=0; i<resourceArray.length; i++)

Modified: webservices/juddi/trunk/juddi-web/src/main/webapp/happyjuddi.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-web/src/main/webapp/happyjuddi.jsp?rev=591434&r1=591433&r2=591434&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-web/src/main/webapp/happyjuddi.jsp (original)
+++ webservices/juddi/trunk/juddi-web/src/main/webapp/happyjuddi.jsp Fri Nov  2 12:44:35 2007
@@ -12,7 +12,9 @@
                  java.util.TreeSet,
                  javax.naming.Context,
                  javax.naming.InitialContext,
-                 javax.sql.DataSource"
+                 javax.sql.DataSource,
+                 org.apache.juddi.registry.RegistryServlet,
+                 org.apache.juddi.registry.RegistryEngine"
 %>
 <%
 /*
@@ -166,7 +168,11 @@
         
 <h4>jUDDI Dependencies: Class Files &amp; Libraries</h4>
 <pre>
-<%
+<%
+    //creates the schema if not there
+    RegistryEngine registry = RegistryServlet.getRegistry();
+    registry.init();
+    
     String[] classArray = {
       "org.apache.juddi.IRegistry",
       "org.apache.axis.transport.http.AxisServlet",
@@ -204,7 +210,7 @@
 <pre>
 <%
     String[] resourceArray = {
-      "log4j.xml"
+      //"log4j.xml"
     };
     
     for (int i=0; i<resourceArray.length; i++)



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