You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@esme.apache.org by rh...@apache.org on 2010/02/12 15:09:52 UTC
svn commit: r909416 - in /incubator/esme/trunk: ./ esme-java-client/
esme-java-client/src/main/java/org/apache/esme/api/
esme-java-client/src/main/java/org/apache/esme/model/
esme-java-client/src/test/java/org/apache/esme/api/
esme-java-client/src/test...
Author: rhirsch
Date: Fri Feb 12 14:09:52 2010
New Revision: 909416
URL: http://svn.apache.org/viewvc?rev=909416&view=rev
Log:
For release 1.0
added correct licenses to esme-java-client directory
Removed:
incubator/esme/trunk/.gitignore
Modified:
incubator/esme/trunk/README.txt
incubator/esme/trunk/esme-java-client/.classpath
incubator/esme/trunk/esme-java-client/.project
incubator/esme/trunk/esme-java-client/pom.xml
incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeException.java
incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeRestApi.java
incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Message.java
incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Status.java
incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/RestTest.java
incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/TestProperties.java
incubator/esme/trunk/esme-java-client/src/test/resources/props/test.properties
incubator/esme/trunk/server/pom.xml
Modified: incubator/esme/trunk/README.txt
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/README.txt?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/README.txt (original)
+++ incubator/esme/trunk/README.txt Fri Feb 12 14:09:52 2010
@@ -43,6 +43,11 @@
Building ESME
=============
+There are two directories in this release. The first directory "server"
+contains the main "ESME" server. the second directory "esme-java-client"
+contains an example of a java client that is using the our original REST
+API.
+
You can build the ESME sources using the Maven 2 build system. Execute the
following command in the ESME source directory to build the sources and
to start the application via jetty:
Modified: incubator/esme/trunk/esme-java-client/.classpath
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/.classpath?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/.classpath (original)
+++ incubator/esme/trunk/esme-java-client/.classpath Fri Feb 12 14:09:52 2010
@@ -1,3 +1,22 @@
+ <!--
+ 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. *
+-->
+
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src/test/java"/>
Modified: incubator/esme/trunk/esme-java-client/.project
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/.project?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/.project (original)
+++ incubator/esme/trunk/esme-java-client/.project Fri Feb 12 14:09:52 2010
@@ -1,3 +1,22 @@
+ <!--
+ 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. *
+-->
+
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>EsmeRestApi</name>
Modified: incubator/esme/trunk/esme-java-client/pom.xml
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/pom.xml?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/pom.xml (original)
+++ incubator/esme/trunk/esme-java-client/pom.xml Fri Feb 12 14:09:52 2010
@@ -1,3 +1,21 @@
+ <!--
+ 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. *
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
Modified: incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeException.java
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeException.java?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeException.java (original)
+++ incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeException.java Fri Feb 12 14:09:52 2010
@@ -1,3 +1,21 @@
+/*
+ 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. *
+*/
package org.apache.esme.api;
public class EsmeException extends RuntimeException {
Modified: incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeRestApi.java
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeRestApi.java?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeRestApi.java (original)
+++ incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/api/EsmeRestApi.java Fri Feb 12 14:09:52 2010
@@ -1,9 +1,22 @@
/*
- * Created on 02-Oct-2008
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
+ 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. *
+*/
+
package org.apache.esme.api;
import java.io.ByteArrayInputStream;
Modified: incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Message.java
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Message.java?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Message.java (original)
+++ incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Message.java Fri Feb 12 14:09:52 2010
@@ -1,13 +1,25 @@
/*
- * Created on 05-Oct-2008
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
+ 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. *
+*/
+
package org.apache.esme.model;
/**
- * @author I056593
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
Modified: incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Status.java
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Status.java?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Status.java (original)
+++ incubator/esme/trunk/esme-java-client/src/main/java/org/apache/esme/model/Status.java Fri Feb 12 14:09:52 2010
@@ -1,7 +1,22 @@
/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
+ 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. *
+*/
+
package org.apache.esme.model;
/**
Modified: incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/RestTest.java
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/RestTest.java?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/RestTest.java (original)
+++ incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/RestTest.java Fri Feb 12 14:09:52 2010
@@ -1,3 +1,22 @@
+/*
+ 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. *
+*/
+
package org.apache.esme.api;
import java.io.IOException;
Modified: incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/TestProperties.java
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/TestProperties.java?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/TestProperties.java (original)
+++ incubator/esme/trunk/esme-java-client/src/test/java/org/apache/esme/api/TestProperties.java Fri Feb 12 14:09:52 2010
@@ -1,6 +1,22 @@
/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
+ <!--
+ 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. *
+-->
*/
package org.apache.esme.api;
Modified: incubator/esme/trunk/esme-java-client/src/test/resources/props/test.properties
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/esme-java-client/src/test/resources/props/test.properties?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/esme-java-client/src/test/resources/props/test.properties (original)
+++ incubator/esme/trunk/esme-java-client/src/test/resources/props/test.properties Fri Feb 12 14:09:52 2010
@@ -1,3 +1,21 @@
+ <!--
+ 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. *
+-->
# Substitute the values below with your own token and ESME test server details
esme-token=XNVNYBSLXIASO2T4IVO0N0ZN4MGZPJOI
esme-server=http://localhost:8080/api
Modified: incubator/esme/trunk/server/pom.xml
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/pom.xml?rev=909416&r1=909415&r2=909416&view=diff
==============================================================================
--- incubator/esme/trunk/server/pom.xml (original)
+++ incubator/esme/trunk/server/pom.xml Fri Feb 12 14:09:52 2010
@@ -1,4 +1,22 @@
<?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. *
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>