Repository: qpid-proton Updated Branches: refs/heads/master 64fa59ce2 -> 2e38d661a
NO-JIRA: add missing licence headers to various files Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/2e38d661 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/2e38d661 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/2e38d661 Branch: refs/heads/master Commit: 2e38d661a8c93cb7c38cdd9c03e5329a741aae4c Parents: 64fa59c Author: Robert Gemmell <[email protected]> Authored: Wed Aug 5 10:37:20 2015 +0100 Committer: Robert Gemmell <[email protected]> Committed: Wed Aug 5 10:37:20 2015 +0100 ---------------------------------------------------------------------- bin/jenkins-proton-c-build.sh | 18 +++++++++++++++++ .../proton/hawtdispatch/api/SampleTest.java | 16 +++++++++++++++ .../hawtdispatch/test/MessengerServer.java | 16 +++++++++++++++ .../org/apache/qpid/proton/jms/JMSVendor.java | 16 +++++++++++++++ design/build.xml | 16 +++++++++++++++ examples/engine/java/drain | 18 +++++++++++++++++ examples/engine/java/server | 18 +++++++++++++++++ examples/engine/java/spout | 18 +++++++++++++++++ examples/java/messenger/recv | 19 ++++++++++++++++++ examples/java/messenger/send | 19 ++++++++++++++++++ examples/java/reactor/run | 19 ++++++++++++++++++ proton-c/src/events/event.c | 21 ++++++++++++++++++++ proton-j/src/main/resources/compat.py | 18 +++++++++++++++++ .../qpid/proton/messenger/impl/AddressTest.java | 16 +++++++++++++++ 14 files changed, 248 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/bin/jenkins-proton-c-build.sh ---------------------------------------------------------------------- diff --git a/bin/jenkins-proton-c-build.sh b/bin/jenkins-proton-c-build.sh index 51db562..582a52f 100755 --- a/bin/jenkins-proton-c-build.sh +++ b/bin/jenkins-proton-c-build.sh @@ -1,5 +1,23 @@ #!/bin/bash -e # +# 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. +# + # This is the continuous delivery build script executed after a git # extract by the Jenkins build process located at the following URL: # https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-proton-c/ http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/api/SampleTest.java ---------------------------------------------------------------------- diff --git a/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/api/SampleTest.java b/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/api/SampleTest.java index 7cbed14..d4bc733 100644 --- a/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/api/SampleTest.java +++ b/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/api/SampleTest.java @@ -1,3 +1,19 @@ +/* + * 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.qpid.proton.hawtdispatch.api; import static junit.framework.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/test/MessengerServer.java ---------------------------------------------------------------------- diff --git a/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/test/MessengerServer.java b/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/test/MessengerServer.java index dae68b6..96c772b 100644 --- a/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/test/MessengerServer.java +++ b/contrib/proton-hawtdispatch/src/test/java/org/apache/qpid/proton/hawtdispatch/test/MessengerServer.java @@ -1,3 +1,19 @@ +/* + * 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.qpid.proton.hawtdispatch.test; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/contrib/proton-jms/src/main/java/org/apache/qpid/proton/jms/JMSVendor.java ---------------------------------------------------------------------- diff --git a/contrib/proton-jms/src/main/java/org/apache/qpid/proton/jms/JMSVendor.java b/contrib/proton-jms/src/main/java/org/apache/qpid/proton/jms/JMSVendor.java index 5d02069..60275bd 100644 --- a/contrib/proton-jms/src/main/java/org/apache/qpid/proton/jms/JMSVendor.java +++ b/contrib/proton-jms/src/main/java/org/apache/qpid/proton/jms/JMSVendor.java @@ -1,3 +1,19 @@ +/* + * 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.qpid.proton.jms; import javax.jms.*; http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/design/build.xml ---------------------------------------------------------------------- diff --git a/design/build.xml b/design/build.xml index 0b23a6e..e884b68 100644 --- a/design/build.xml +++ b/design/build.xml @@ -1,3 +1,19 @@ +<!-- + 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 name="Qpid Proton Design" default="dist" basedir="."> <description> simple example build file http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/examples/engine/java/drain ---------------------------------------------------------------------- diff --git a/examples/engine/java/drain b/examples/engine/java/drain index 1f8095e..a277ced 100755 --- a/examples/engine/java/drain +++ b/examples/engine/java/drain @@ -1,2 +1,20 @@ #!/bin/bash +# +# 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. +# mvn -q -e exec:java -Dexec.mainClass=org.apache.qpid.proton.examples.Drain -Dexec.args="$*" http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/examples/engine/java/server ---------------------------------------------------------------------- diff --git a/examples/engine/java/server b/examples/engine/java/server index 8421d79..84a167c 100755 --- a/examples/engine/java/server +++ b/examples/engine/java/server @@ -1,2 +1,20 @@ #!/bin/bash +# +# 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. +# mvn -q -e exec:java -Dexec.mainClass=org.apache.qpid.proton.examples.Server -Dexec.args="$*" http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/examples/engine/java/spout ---------------------------------------------------------------------- diff --git a/examples/engine/java/spout b/examples/engine/java/spout index c473cac..42cd0c7 100755 --- a/examples/engine/java/spout +++ b/examples/engine/java/spout @@ -1,2 +1,20 @@ #!/bin/bash +# +# 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. +# mvn -q -e exec:java -Dexec.mainClass=org.apache.qpid.proton.examples.Spout -Dexec.args="$*" http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/examples/java/messenger/recv ---------------------------------------------------------------------- diff --git a/examples/java/messenger/recv b/examples/java/messenger/recv index 9c6409d..862700c 100755 --- a/examples/java/messenger/recv +++ b/examples/java/messenger/recv @@ -1,4 +1,23 @@ #! /bin/bash +# +# 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. +# + # Usage: recv [-v] [-n MAXMESSAGES] [-a ADDRESS]*" # Subscribes to the given amqp addresses (by default, to amqp://localhost/test), # and prints messages received, upt to MAXMESSAGES. http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/examples/java/messenger/send ---------------------------------------------------------------------- diff --git a/examples/java/messenger/send b/examples/java/messenger/send index d304f20..e7b4b67 100755 --- a/examples/java/messenger/send +++ b/examples/java/messenger/send @@ -1,4 +1,23 @@ #! /bin/bash +# +# 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. +# + # Usage: send [-a ADDRESS] [-s SUBJECT] MESSAGE ... MESSAGE # sends each arg as a text-message to the given adress (by default, to amqp://localhost/test) http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/examples/java/reactor/run ---------------------------------------------------------------------- diff --git a/examples/java/reactor/run b/examples/java/reactor/run index b6e5e4a..51bd155 100755 --- a/examples/java/reactor/run +++ b/examples/java/reactor/run @@ -1,4 +1,23 @@ #!/bin/bash +# +# 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. +# + CLASS=$1 shift mvn -q -e exec:java -Dexec.mainClass=org.apache.qpid.proton.example.reactor.${CLASS} -Dexec.args="$*" http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/proton-c/src/events/event.c ---------------------------------------------------------------------- diff --git a/proton-c/src/events/event.c b/proton-c/src/events/event.c index 611c61b..42d4e31 100644 --- a/proton-c/src/events/event.c +++ b/proton-c/src/events/event.c @@ -1,3 +1,24 @@ +/* + * + * 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. + * + */ + #include <proton/object.h> #include <proton/event.h> #include <assert.h> http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/proton-j/src/main/resources/compat.py ---------------------------------------------------------------------- diff --git a/proton-j/src/main/resources/compat.py b/proton-j/src/main/resources/compat.py index bdff669..7bff3ba 100644 --- a/proton-j/src/main/resources/compat.py +++ b/proton-j/src/main/resources/compat.py @@ -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. +# import sys from jarray import zeros, array as _array http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2e38d661/proton-j/src/test/java/org/apache/qpid/proton/messenger/impl/AddressTest.java ---------------------------------------------------------------------- diff --git a/proton-j/src/test/java/org/apache/qpid/proton/messenger/impl/AddressTest.java b/proton-j/src/test/java/org/apache/qpid/proton/messenger/impl/AddressTest.java index 4b233d5..f741519 100644 --- a/proton-j/src/test/java/org/apache/qpid/proton/messenger/impl/AddressTest.java +++ b/proton-j/src/test/java/org/apache/qpid/proton/messenger/impl/AddressTest.java @@ -1,3 +1,19 @@ +/* + * 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.qpid.proton.messenger.impl; import static org.junit.Assert.*; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
