From 73435af497022a7b8dfed688dc00b35869144a83 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Sun, 12 Aug 2012 16:45:58 +0000 Subject: QPID-4111: add licence header to various files trunk equivalent of the changes made in r1372144 on the 0.18 release branch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372149 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/doc/book/src/cpp-broker/.gitignore | 19 +++++++++++++++++++ qpid/doc/book/src/java-broker/images/HA-2N-Key.svg | 20 ++++++++++++++++++++ .../src/java-broker/images/HA-2N-MasterFail.svg | 20 ++++++++++++++++++++ .../java-broker/images/HA-2N-NetworkPartition.svg | 20 ++++++++++++++++++++ .../book/src/java-broker/images/HA-2N-Normal.svg | 20 ++++++++++++++++++++ .../src/java-broker/images/HA-2N-ReplicaFail.svg | 20 ++++++++++++++++++++ .../src/java-broker/images/HA-2N-SplitBrain.svg | 20 ++++++++++++++++++++ qpid/java/.gitignore | 18 ++++++++++++++++++ .../src/main/java/resources/showBroker.html | 20 ++++++++++++++++++++ .../rest/AuthenticationProviderRestTest.java | 20 ++++++++++++++++++++ .../plugin/servlet/rest/BindingRestTest.java | 20 ++++++++++++++++++++ .../plugin/servlet/rest/ExchangeRestTest.java | 20 ++++++++++++++++++++ .../plugin/servlet/rest/PortRestTest.java | 20 ++++++++++++++++++++ .../plugin/servlet/rest/SaslRestTest.java | 20 ++++++++++++++++++++ .../plugin/servlet/rest/UserRestTest.java | 20 ++++++++++++++++++++ qpid/java/perftests/etc/testdefs/Topic-AckModes.js | 20 ++++++++++++++++++++ .../etc/testdefs/Topic-NumberOfConsumers.js | 20 ++++++++++++++++++++ .../perftests/etc/testdefs/Topic-NumberOfTopics.js | 20 ++++++++++++++++++++ .../perftests/etc/testdefs/Topic-Persistence.js | 20 ++++++++++++++++++++ qpid/java/perftests/example/perftests.js | 21 ++++++++++++++++++++- qpid/java/perftests/src/main/java/test-utils.js | 20 ++++++++++++++++++++ qpid/java/systests/etc/log.properties | 19 +++++++++++++++++++ 22 files changed, 436 insertions(+), 1 deletion(-) diff --git a/qpid/doc/book/src/cpp-broker/.gitignore b/qpid/doc/book/src/cpp-broker/.gitignore index 1f57b975cd..6d31bdba7f 100644 --- a/qpid/doc/book/src/cpp-broker/.gitignore +++ b/qpid/doc/book/src/cpp-broker/.gitignore @@ -1 +1,20 @@ +# +# 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. +# + /output diff --git a/qpid/doc/book/src/java-broker/images/HA-2N-Key.svg b/qpid/doc/book/src/java-broker/images/HA-2N-Key.svg index 9567f385d5..ed471192e2 100644 --- a/qpid/doc/book/src/java-broker/images/HA-2N-Key.svg +++ b/qpid/doc/book/src/java-broker/images/HA-2N-Key.svg @@ -1,3 +1,23 @@ + 2012-05-31 06:19ZCanvas 7Layer 1BrokerClientClusterVirtualhostReplicationstreamClientconnectionRepairFaultDesignatePrimary diff --git a/qpid/doc/book/src/java-broker/images/HA-2N-MasterFail.svg b/qpid/doc/book/src/java-broker/images/HA-2N-MasterFail.svg index 35b2c643ff..c3fc0c66f3 100644 --- a/qpid/doc/book/src/java-broker/images/HA-2N-MasterFail.svg +++ b/qpid/doc/book/src/java-broker/images/HA-2N-MasterFail.svg @@ -1,3 +1,23 @@ + 2012-05-31 06:19ZCanvas 2Layer 112453 diff --git a/qpid/doc/book/src/java-broker/images/HA-2N-NetworkPartition.svg b/qpid/doc/book/src/java-broker/images/HA-2N-NetworkPartition.svg index 375d88a7db..392489c5c8 100644 --- a/qpid/doc/book/src/java-broker/images/HA-2N-NetworkPartition.svg +++ b/qpid/doc/book/src/java-broker/images/HA-2N-NetworkPartition.svg @@ -1,3 +1,23 @@ + 2012-05-31 06:19ZCanvas 5Layer 1124133 diff --git a/qpid/doc/book/src/java-broker/images/HA-2N-Normal.svg b/qpid/doc/book/src/java-broker/images/HA-2N-Normal.svg index c4fac9d37a..68ade6acd0 100644 --- a/qpid/doc/book/src/java-broker/images/HA-2N-Normal.svg +++ b/qpid/doc/book/src/java-broker/images/HA-2N-Normal.svg @@ -1,3 +1,23 @@ + 2012-05-31 06:19ZCanvas 1Layer 1 diff --git a/qpid/doc/book/src/java-broker/images/HA-2N-ReplicaFail.svg b/qpid/doc/book/src/java-broker/images/HA-2N-ReplicaFail.svg index aa872a30e3..8caf055b98 100644 --- a/qpid/doc/book/src/java-broker/images/HA-2N-ReplicaFail.svg +++ b/qpid/doc/book/src/java-broker/images/HA-2N-ReplicaFail.svg @@ -1,3 +1,23 @@ + 2012-05-31 06:19ZCanvas 4Layer 12134 diff --git a/qpid/doc/book/src/java-broker/images/HA-2N-SplitBrain.svg b/qpid/doc/book/src/java-broker/images/HA-2N-SplitBrain.svg index c82cc5065a..7fed44ea36 100644 --- a/qpid/doc/book/src/java-broker/images/HA-2N-SplitBrain.svg +++ b/qpid/doc/book/src/java-broker/images/HA-2N-SplitBrain.svg @@ -1,3 +1,23 @@ + 2012-05-31 06:19ZCanvas 6Layer 1213 diff --git a/qpid/java/.gitignore b/qpid/java/.gitignore index 36097e3820..417b51f12d 100644 --- a/qpid/java/.gitignore +++ b/qpid/java/.gitignore @@ -1,2 +1,20 @@ +# +# 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. +# *.swp eclipse-projects/* diff --git a/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html b/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html index a39e334c40..f8d80faba8 100644 --- a/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html +++ b/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html @@ -1,3 +1,23 @@ +
Name:
diff --git a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/AuthenticationProviderRestTest.java b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/AuthenticationProviderRestTest.java index 37bc2733b0..5e6d9a998a 100644 --- a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/AuthenticationProviderRestTest.java +++ b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/AuthenticationProviderRestTest.java @@ -1,3 +1,23 @@ +/* + * + * 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.server.management.plugin.servlet.rest; import java.util.List; diff --git a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/BindingRestTest.java b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/BindingRestTest.java index 527eb16927..1ed0d97185 100644 --- a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/BindingRestTest.java +++ b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/BindingRestTest.java @@ -1,3 +1,23 @@ +/* + * + * 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.server.management.plugin.servlet.rest; import java.net.HttpURLConnection; diff --git a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/ExchangeRestTest.java b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/ExchangeRestTest.java index 59936427f9..4904d2adf3 100644 --- a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/ExchangeRestTest.java +++ b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/ExchangeRestTest.java @@ -1,3 +1,23 @@ +/* + * + * 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.server.management.plugin.servlet.rest; import java.net.URLDecoder; diff --git a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/PortRestTest.java b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/PortRestTest.java index 49f163baae..739ef5c737 100644 --- a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/PortRestTest.java +++ b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/PortRestTest.java @@ -1,3 +1,23 @@ +/* + * + * 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.server.management.plugin.servlet.rest; import java.net.URLDecoder; diff --git a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/SaslRestTest.java b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/SaslRestTest.java index 943466eda7..b504c9fa60 100644 --- a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/SaslRestTest.java +++ b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/SaslRestTest.java @@ -1,3 +1,23 @@ +/* + * + * 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.server.management.plugin.servlet.rest; import java.util.List; diff --git a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/UserRestTest.java b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/UserRestTest.java index 378b349a99..e56fa27e21 100644 --- a/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/UserRestTest.java +++ b/qpid/java/broker-plugins/management-http/src/test/java/org/apache/qpid/server/management/plugin/servlet/rest/UserRestTest.java @@ -1,3 +1,23 @@ +/* + * + * 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.server.management.plugin.servlet.rest; import java.net.HttpURLConnection; diff --git a/qpid/java/perftests/etc/testdefs/Topic-AckModes.js b/qpid/java/perftests/etc/testdefs/Topic-AckModes.js index 99c813a3a5..63c4b8646e 100644 --- a/qpid/java/perftests/etc/testdefs/Topic-AckModes.js +++ b/qpid/java/perftests/etc/testdefs/Topic-AckModes.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var duration = 30000; var topicName = "topic://amq.topic/?routingkey='testTopic'"; diff --git a/qpid/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js b/qpid/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js index 109e13073e..58ae2f5862 100644 --- a/qpid/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js +++ b/qpid/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var jsonObject = { _tests:[] }; diff --git a/qpid/java/perftests/etc/testdefs/Topic-NumberOfTopics.js b/qpid/java/perftests/etc/testdefs/Topic-NumberOfTopics.js index dd24af71e3..d31dd36c76 100644 --- a/qpid/java/perftests/etc/testdefs/Topic-NumberOfTopics.js +++ b/qpid/java/perftests/etc/testdefs/Topic-NumberOfTopics.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var jsonObject = { _tests:[] }; diff --git a/qpid/java/perftests/etc/testdefs/Topic-Persistence.js b/qpid/java/perftests/etc/testdefs/Topic-Persistence.js index fd92560fc3..bbec7ab8ed 100644 --- a/qpid/java/perftests/etc/testdefs/Topic-Persistence.js +++ b/qpid/java/perftests/etc/testdefs/Topic-Persistence.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var duration = 30000; var topicName = "topic://amq.topic/?routingkey='testTopic'"; diff --git a/qpid/java/perftests/example/perftests.js b/qpid/java/perftests/example/perftests.js index 51160e7214..be7d5e0be4 100644 --- a/qpid/java/perftests/example/perftests.js +++ b/qpid/java/perftests/example/perftests.js @@ -1,4 +1,23 @@ - +/* + * + * 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. + * + */ var jsonObject = { _tests:[] }; diff --git a/qpid/java/perftests/src/main/java/test-utils.js b/qpid/java/perftests/src/main/java/test-utils.js index 7bfe233266..cbf27786b7 100644 --- a/qpid/java/perftests/src/main/java/test-utils.js +++ b/qpid/java/perftests/src/main/java/test-utils.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var QPID; if (!QPID) { QPID = {}; diff --git a/qpid/java/systests/etc/log.properties b/qpid/java/systests/etc/log.properties index 745c5187c9..ff36b7cd0c 100644 --- a/qpid/java/systests/etc/log.properties +++ b/qpid/java/systests/etc/log.properties @@ -1,2 +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. +# + com.sleepycat.je.util.FileHandler.level=ALL com.sleepycat.je.util.ConsoleHandler.level=ALL -- cgit v1.2.1