You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2013/05/03 14:12:12 UTC

svn commit: r1478745 [1/9] - in /juddi/branches/juddi-3.2.x: juddi-core/src/main/java/org/apache/juddi/api/impl/ juddi-examples/subscription-notification-handler/ juddi-examples/subscription-notification-handler/nbproject/ juddi-examples/subscription-n...

Author: alexoree
Date: Fri May  3 12:12:10 2013
New Revision: 1478745

URL: http://svn.apache.org/r1478745
Log:
adding a number of additional examples for using UDDI, 
completion of custody transfer for the new gui
subscription is mostly complete but largely untestable due to bugs in the subscription API
added larger icons and additional documentation to Hub

Added:
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/build.xml
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/nbproject/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/nbproject/build-impl.xml
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/nbproject/genfiles.properties
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/nbproject/project.properties
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/nbproject/project.xml
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/readme.txt
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/src/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/src/org/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/src/org/apache/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/src/org/apache/juddi/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/src/org/apache/juddi/subscription/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/src/org/apache/juddi/subscription/notify/
    juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/src/org/apache/juddi/subscription/notify/AMQPNotifier.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/build.xml
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/manifest.mf
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/nbproject/
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/nbproject/build-impl.xml
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/nbproject/genfiles.properties
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/nbproject/project.properties
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/nbproject/project.xml
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/readme.txt
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/META-INF/
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/META-INF/simple-publish-uddi.xml
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/ClientSubscriptionCallback.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiCreatebulk.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiCustodyTransfer.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiDigitalSignatureBusiness.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiDigitalSignatureSearch.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiDigitalSignatureService.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiDigitalSignatureTmodel.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiFindBinding.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiRelatedBusinesses.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiSubscribe.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/UddiSubscribeValidate.java
    juddi/branches/juddi-3.2.x/juddi-examples/uddi-createbulk/src/uddi/createbulk/testStrings.java
    juddi/branches/juddi-3.2.x/juddi-gui/web/editSubscription.jsp
      - copied, changed from r1476880, juddi/branches/juddi-3.2.x/juddi-gui/web/createSubscription.jsp
Removed:
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/businessdetails.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/createSubscription.jsp
Modified:
    juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java
    juddi/branches/juddi-3.2.x/juddi-gui-dsig/src/org/apache/juddi/gui/dsig/XmlSignatureApplet.java
    juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.properties
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/CrossSiteRequestForgeryException.java
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/StartupServlet.java
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/hub/UddiHub.java
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/hub/builders/Builders.java
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/hub/builders/Printers.java
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/hub/builders/SubscriptionHelper.java
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/resources/web.properties
    juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/resources/web_es.properties
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/businessAsSelect.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/businesssearch.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/getTransferToken.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/servicesearch.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/subscription.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/subscriptionFeed.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/ajax/toXML.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/assertions.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/businessBrowse.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/businessEditor2.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/header-top.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/js/bindingChooser.js
    juddi/branches/juddi-3.2.x/juddi-gui/web/js/businessEditor.js
    juddi/branches/juddi-3.2.x/juddi-gui/web/js/businesssearch.js
    juddi/branches/juddi-3.2.x/juddi-gui/web/js/serviceBrowse.js
    juddi/branches/juddi-3.2.x/juddi-gui/web/js/serviceEditor.js
    juddi/branches/juddi-3.2.x/juddi-gui/web/js/tmodeledit.js
    juddi/branches/juddi-3.2.x/juddi-gui/web/js/tmodelsearch.js
    juddi/branches/juddi-3.2.x/juddi-gui/web/search.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/serviceBrowse.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/serviceEditor.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/settings.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/signer.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/subscriptionFeed.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/tmodelChooser.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/tmodelEditor.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/transfer.jsp
    juddi/branches/juddi-3.2.x/juddi-gui/web/viewSubscriptions.jsp

Modified: juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java?rev=1478745&r1=1478744&r2=1478745&view=diff
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java (original)
+++ juddi/branches/juddi-3.2.x/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java Fri May  3 12:12:10 2013
@@ -89,7 +89,7 @@ public abstract class AuthenticatedServi
 		}
 
 		if (modelAuthToken.getTokenState() == AUTHTOKEN_RETIRED)
-			throw new AuthTokenExpiredException(new ErrorMessage("errors.auth.AuthInvalid"));
+			throw new AuthTokenExpiredException(new ErrorMessage("errors.auth.AuthTokenExpired"));
 		
 		Authenticator authenticator = AuthenticatorFactory.getAuthenticator();
 		UddiEntityPublisher entityPublisher = authenticator.identify(authInfo, modelAuthToken.getAuthorizedName());

Added: juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/build.xml
URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/build.xml?rev=1478745&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/build.xml (added)
+++ juddi/branches/juddi-3.2.x/juddi-examples/subscription-notification-handler/build.xml Fri May  3 12:12:10 2013
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<!-- By default, only the Clean and Build commands use this build script. -->
+<!-- Commands such as Run, Debug, and Test only use this build script if -->
+<!-- the Compile on Save feature is turned off for the project. -->
+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
+<!-- in the project's Project Properties dialog box.-->
+<project name="subscription-notification-handler" default="default" basedir=".">
+    <description>Builds, tests, and runs the project subscription-notification-handler.</description>
+    <import file="nbproject/build-impl.xml"/>
+    <!--
+
+    There exist several targets which are by default empty and which can be 
+    used for execution of your tasks. These targets are usually executed 
+    before and after some main targets. They are: 
+
+      -pre-init:                 called before initialization of project properties
+      -post-init:                called after initialization of project properties
+      -pre-compile:              called before javac compilation
+      -post-compile:             called after javac compilation
+      -pre-compile-single:       called before javac compilation of single file
+      -post-compile-single:      called after javac compilation of single file
+      -pre-compile-test:         called before javac compilation of JUnit tests
+      -post-compile-test:        called after javac compilation of JUnit tests
+      -pre-compile-test-single:  called before javac compilation of single JUnit test
+      -post-compile-test-single: called after javac compilation of single JUunit test
+      -pre-jar:                  called before JAR building
+      -post-jar:                 called after JAR building
+      -post-clean:               called after cleaning build products
+
+    (Targets beginning with '-' are not intended to be called on their own.)
+
+    Example of inserting an obfuscator after compilation could look like this:
+
+        <target name="-post-compile">
+            <obfuscate>
+                <fileset dir="${build.classes.dir}"/>
+            </obfuscate>
+        </target>
+
+    For list of available properties check the imported 
+    nbproject/build-impl.xml file. 
+
+
+    Another way to customize the build is by overriding existing main targets.
+    The targets of interest are: 
+
+      -init-macrodef-javac:     defines macro for javac compilation
+      -init-macrodef-junit:     defines macro for junit execution
+      -init-macrodef-debug:     defines macro for class debugging
+      -init-macrodef-java:      defines macro for class execution
+      -do-jar-with-manifest:    JAR building (if you are using a manifest)
+      -do-jar-without-manifest: JAR building (if you are not using a manifest)
+      run:                      execution of project 
+      -javadoc-build:           Javadoc generation
+      test-report:              JUnit report generation
+
+    An example of overriding the target for project execution could look like this:
+
+        <target name="run" depends="subscription-notification-handler-impl.jar">
+            <exec dir="bin" executable="launcher.exe">
+                <arg file="${dist.jar}"/>
+            </exec>
+        </target>
+
+    Notice that the overridden target depends on the jar target and not only on 
+    the compile target as the regular run target does. Again, for a list of available 
+    properties which you can use, check the target you are overriding in the
+    nbproject/build-impl.xml file. 
+
+    -->
+</project>



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