Author: alexoree
Date: Sun Jun 2 22:44:33 2013
New Revision: 1488805
URL: http://svn.apache.org/r1488805
Log:
JUDDI-577 Refactoring, forgot to rename the project
Added:
juddi/trunk/juddi-examples/uddi-samples/
- copied from r1488803, juddi/trunk/juddi-examples/uddi-createbulk/
juddi/trunk/juddi-examples/uddi-samples/src/uddi/examples/
- copied from r1488804,
juddi/trunk/juddi-examples/uddi-createbulk/src/uddi/examples/
Removed:
juddi/trunk/juddi-examples/uddi-createbulk/
juddi/trunk/juddi-examples/uddi-samples/src/uddi/createbulk/
Modified:
juddi/trunk/juddi-examples/uddi-samples/build.xml
juddi/trunk/juddi-examples/uddi-samples/nbproject/build-impl.xml
juddi/trunk/juddi-examples/uddi-samples/nbproject/genfiles.properties
juddi/trunk/juddi-examples/uddi-samples/nbproject/project.properties
juddi/trunk/juddi-examples/uddi-samples/nbproject/project.xml
juddi/trunk/juddi-examples/uddi-samples/readme.txt
Modified: juddi/trunk/juddi-examples/uddi-samples/build.xml
URL:
http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/build.xml?rev=1488805&r1=1488803&r2=1488805&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/build.xml (original)
+++ juddi/trunk/juddi-examples/uddi-samples/build.xml Sun Jun 2 22:44:33 2013
@@ -7,8 +7,8 @@
<!-- 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="uddi-createbulk" default="default" basedir=".">
- <description>Builds, tests, and runs the project
uddi-createbulk.</description>
+<project name="uddi-samples" default="default" basedir=".">
+ <description>Builds, tests, and runs the project
uddi-samples.</description>
<import file="nbproject/build-impl.xml"/>
<!--
@@ -59,7 +59,7 @@
An example of overriding the target for project execution could look like
this:
- <target name="run" depends="uddi-createbulk-impl.jar">
+ <target name="run" depends="uddi-samples-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
Modified: juddi/trunk/juddi-examples/uddi-samples/nbproject/build-impl.xml
URL:
http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/nbproject/build-impl.xml?rev=1488805&r1=1488803&r2=1488805&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/nbproject/build-impl.xml (original)
+++ juddi/trunk/juddi-examples/uddi-samples/nbproject/build-impl.xml Sun Jun 2
22:44:33 2013
@@ -19,7 +19,7 @@ is divided into following sections:
- cleanup
-->
-<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1"
xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3"
xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".."
default="default" name="uddi-createbulk-impl">
+<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1"
xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3"
xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".."
default="default" name="uddi-samples-impl">
<fail message="Please build using Ant 1.8.0 or higher.">
<condition>
<not>
@@ -370,11 +370,6 @@ is divided into following sections:
</and>
</condition>
</target>
- <target name="-init-test-properties">
- <property name="test.binaryincludes" value="<nothing>"/>
- <property name="test.binarytestincludes" value=""/>
- <property name="test.binaryexcludes" value=""/>
- </target>
<target if="${nb.junit.single}" name="-init-macrodef-junit-single"
unless="${nb.junit.batch}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
@@ -398,7 +393,7 @@ is divided into following sections:
</sequential>
</macrodef>
</target>
- <target depends="-init-test-properties" if="${nb.junit.batch}"
name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
+ <target if="${nb.junit.batch}" name="-init-macrodef-junit-batch"
unless="${nb.junit.single}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
@@ -412,9 +407,6 @@ is divided into following sections:
<fileset dir="${test.src.dir}"
excludes="@{excludes},${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
- <fileset dir="${build.test.classes.dir}"
excludes="@{excludes},${excludes},${test.binaryexcludes}"
includes="${test.binaryincludes}">
- <filename name="${test.binarytestincludes}"/>
- </fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
@@ -446,7 +438,7 @@ is divided into following sections:
</fileset>
</union>
<taskdef classname="org.testng.TestNGAntTask"
classpath="${run.test.classpath}" name="testng"/>
- <testng classfilesetref="test.set"
failureProperty="tests.failed" methods="${testng.methods.arg}"
mode="${testng.mode}" outputdir="${build.test.results.dir}"
suitename="uddi-createbulk" testname="TestNG tests" workingDir="${work.dir}">
+ <testng classfilesetref="test.set"
failureProperty="tests.failed" methods="${testng.methods.arg}"
mode="${testng.mode}" outputdir="${build.test.results.dir}"
suitename="uddi-samples" testname="TestNG tests" workingDir="${work.dir}">
<xmlfileset dir="${build.test.classes.dir}"
includes="@{testincludes}"/>
<propertyset>
<propertyref prefix="test-sys-prop."/>
@@ -542,7 +534,7 @@ is divided into following sections:
</sequential>
</macrodef>
</target>
- <target depends="-init-test-properties" if="${nb.junit.batch}"
name="-init-macrodef-junit-debug-batch">
+ <target if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
<macrodef name="junit-debug"
uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
@@ -556,9 +548,6 @@ is divided into following sections:
<fileset dir="${test.src.dir}"
excludes="@{excludes},${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
- <fileset dir="${build.test.classes.dir}"
excludes="@{excludes},${excludes},${test.binaryexcludes}"
includes="${test.binaryincludes}">
- <filename name="${test.binarytestincludes}"/>
- </fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
@@ -597,7 +586,7 @@ is divided into following sections:
<condition else="-testclass @{testClass}"
property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
<isset property="test.method"/>
</condition>
- <condition else="-suitename uddi-createbulk -testname
@{testClass} ${test.class.or.method}" property="testng.cmd.args"
value="@{testClass}">
+ <condition else="-suitename uddi-samples -testname
@{testClass} ${test.class.or.method}" property="testng.cmd.args"
value="@{testClass}">
<matches pattern=".*\.xml" string="@{testClass}"/>
</condition>
<delete dir="${build.test.results.dir}" quiet="true"/>
@@ -889,7 +878,7 @@ is divided into following sections:
<delete file="${built-jar.properties}" quiet="true"/>
</target>
<target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
- <echo level="warn" message="Cycle detected: uddi-createbulk was
already built"/>
+ <echo level="warn" message="Cycle detected: uddi-samples was already
built"/>
</target>
<target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
<mkdir dir="${build.dir}"/>
@@ -931,7 +920,7 @@ is divided into following sections:
<target if="has.persistence.xml" name="-copy-persistence-xml">
<mkdir dir="${build.classes.dir}/META-INF"/>
<copy todir="${build.classes.dir}/META-INF">
- <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
+ <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
</copy>
</target>
<target name="-post-compile">
@@ -1369,7 +1358,7 @@ is divided into following sections:
<delete file="${built-clean.properties}" quiet="true"/>
</target>
<target if="already.built.clean.${basedir}"
name="-warn-already-built-clean">
- <echo level="warn" message="Cycle detected: uddi-createbulk was
already built"/>
+ <echo level="warn" message="Cycle detected: uddi-samples was already
built"/>
</target>
<target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
<mkdir dir="${build.dir}"/>
Modified: juddi/trunk/juddi-examples/uddi-samples/nbproject/genfiles.properties
URL:
http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/nbproject/genfiles.properties?rev=1488805&r1=1488803&r2=1488805&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/nbproject/genfiles.properties
(original)
+++ juddi/trunk/juddi-examples/uddi-samples/nbproject/genfiles.properties Sun
Jun 2 22:44:33 2013
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=fdfb36ae
-build.xml.script.CRC32=936143e3
+build.xml.data.CRC32=0762664b
+build.xml.script.CRC32=d946d4ad
[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated
files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never
regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=fdfb36ae
-nbproject/build-impl.xml.script.CRC32=c19c1efd
-nbproject/[email protected]
+nbproject/build-impl.xml.data.CRC32=0762664b
+nbproject/build-impl.xml.script.CRC32=e187bf83
+nbproject/[email protected]
Modified: juddi/trunk/juddi-examples/uddi-samples/nbproject/project.properties
URL:
http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/nbproject/project.properties?rev=1488805&r1=1488803&r2=1488805&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/nbproject/project.properties
(original)
+++ juddi/trunk/juddi-examples/uddi-samples/nbproject/project.properties Sun
Jun 2 22:44:33 2013
@@ -3,7 +3,7 @@ annotation.processing.enabled.in.editor=
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-application.title=uddi-createbulk
+application.title=uddi-samples
application.vendor=ASF
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
@@ -23,7 +23,7 @@ debug.test.classpath=\
${run.test.classpath}
# This directory is removed when the project is cleaned:
dist.dir=dist
-dist.jar=${dist.dir}/uddi-createbulk.jar
+dist.jar=${dist.dir}/uddi-samples.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
@@ -118,7 +118,7 @@ jnlp.signed=false
jnlp.signing=
jnlp.signing.alias=
jnlp.signing.keystore=
-main.class=uddi.createbulk.UddiCreatebulk
+main.class=uddi.examples.UddiCreatebulk
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
Modified: juddi/trunk/juddi-examples/uddi-samples/nbproject/project.xml
URL:
http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/nbproject/project.xml?rev=1488805&r1=1488803&r2=1488805&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/nbproject/project.xml (original)
+++ juddi/trunk/juddi-examples/uddi-samples/nbproject/project.xml Sun Jun 2
22:44:33 2013
@@ -3,7 +3,7 @@
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
- <name>uddi-createbulk</name>
+ <name>uddi-samples</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
Modified: juddi/trunk/juddi-examples/uddi-samples/readme.txt
URL:
http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/readme.txt?rev=1488805&r1=1488803&r2=1488805&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/readme.txt (original)
+++ juddi/trunk/juddi-examples/uddi-samples/readme.txt Sun Jun 2 22:44:33 2013
@@ -1,18 +1,25 @@
-UDDI-Bulk Creator
+UDDI-Samples
This project has a wide variety of sample projects. Here's a rough outline of
what's available.
requires the Apache CXF Runtime, uddi-ws and juddi-client
ant jar
-java -cp dist/*;dist/lib/* uddi.createbulk.<class goes here>
+java -cp dist/*;dist/lib/* uddi.examples.<class goes here>
+AES - encryption example
+DES - encryption example
UddiCreatebulk - makes 15 businesses, 5 services each
UddiCustodyTransfer - an example of how to transfer a business intra-node
UddiDigitalSignatureBusiness - how to sign a business entity and all child
elements and validate it
UddiDigitalSignatureSearch - how to search for all signed items
-UddiDigitalSignatureService
-UddiDigitalSignatureTmodel
-UddiFindBidning
+UddiDigitalSignatureService - how to sign a service
+UddiDigitalSignatureTmodel - how to sign a tmodel
+UddiFindBinding - how to find a binding (pist, there is no find_binding API)
+UddiFindEndpoints - how to find and resolve endpoints for a specific service
+UddiGetServiceDetails - how to get the details of a service
+UddiKeyGenerator - how to make a key generator
UddiRelatedBusinesses - creates two businesses and sets up a relationship
between the two (publisher assertion)
UddiSubscribe - how to setup a Subscription Callback API service. Requires
Apache CXF + Jetty libraries
UddiSubscribeValidate - how to setup a subscription for manual pulls
+UddiSubscribeGet - how to get all of my subscriptions
+WsdlImport - how to register a service by wsdl
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]