diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-12-19 03:27:11 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-12-19 03:27:11 +0000 |
| commit | 7500e152d2a2b4eb04146b5c81fbb3d90d49ac55 (patch) | |
| tree | 70393c0bbac79350c95f3584f69d8baa1ad0cedd /dotnet | |
| parent | 5842b3c09b90eb8c5fd9f1db0642f997657e5f29 (diff) | |
| download | qpid-python-7500e152d2a2b4eb04146b5c81fbb3d90d49ac55.tar.gz | |
Fixed the licensing headers for the following files.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet')
| -rw-r--r-- | dotnet/Qpid.Client.Tests/App.config | 47 | ||||
| -rw-r--r-- | dotnet/Qpid.Client.Tests/log4net.config | 22 | ||||
| -rw-r--r-- | dotnet/Qpid.Integration.Tests/log4net.config | 117 | ||||
| -rw-r--r-- | dotnet/Qpid.Sasl.Tests/App.config | 45 | ||||
| -rw-r--r-- | dotnet/client-010/test/test.config | 41 | ||||
| -rw-r--r-- | dotnet/client-010/wcf/demo/wcfHelloClient/App.config | 91 | ||||
| -rw-r--r-- | dotnet/client-010/wcf/demo/wcfHelloServer/App.config | 107 |
7 files changed, 308 insertions, 162 deletions
diff --git a/dotnet/Qpid.Client.Tests/App.config b/dotnet/Qpid.Client.Tests/App.config index fd7c412a57..e71a468a3a 100644 --- a/dotnet/Qpid.Client.Tests/App.config +++ b/dotnet/Qpid.Client.Tests/App.config @@ -1,13 +1,34 @@ -<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <configSections>
- <sectionGroup name="qpid.client">
- <section name="authentication" type="Apache.Qpid.Client.Configuration.AuthenticationConfigurationSectionHandler, Apache.Qpid.Client"/>
- </sectionGroup>
- </configSections>
- <qpid.client>
- <authentication>
- <add key="TEST" value="Apache.Qpid.Client.Tests.Security.TestCallbackHandler, Apache.Qpid.Client.Tests"/>
- </authentication>
- </qpid.client>
-</configuration>
+<?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. + +--> + +<configuration> + <configSections> + <sectionGroup name="qpid.client"> + <section name="authentication" type="Apache.Qpid.Client.Configuration.AuthenticationConfigurationSectionHandler, Apache.Qpid.Client"/> + </sectionGroup> + </configSections> + <qpid.client> + <authentication> + <add key="TEST" value="Apache.Qpid.Client.Tests.Security.TestCallbackHandler, Apache.Qpid.Client.Tests"/> + </authentication> + </qpid.client> +</configuration> diff --git a/dotnet/Qpid.Client.Tests/log4net.config b/dotnet/Qpid.Client.Tests/log4net.config index 8753c9c431..0ad25c4185 100644 --- a/dotnet/Qpid.Client.Tests/log4net.config +++ b/dotnet/Qpid.Client.Tests/log4net.config @@ -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. + +--> <log4net> <!-- ============================== --> @@ -45,4 +65,4 @@ <appender-ref ref="UdpAppender"/> </root> -</log4net>
\ No newline at end of file +</log4net> diff --git a/dotnet/Qpid.Integration.Tests/log4net.config b/dotnet/Qpid.Integration.Tests/log4net.config index 974f51c80d..73bfc77a3e 100644 --- a/dotnet/Qpid.Integration.Tests/log4net.config +++ b/dotnet/Qpid.Integration.Tests/log4net.config @@ -1,48 +1,69 @@ -<log4net>
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="console" type="log4net.Appender.ConsoleAppender" >
- <layout type="log4net.Layout.PatternLayout">
- <conversionPattern value="%m%n"/>
- </layout>
- <threshold value="info"/>
- </appender>
-
- <!-- ====================================== -->
- <!-- Append messages to the socket appender -->
- <!-- ====================================== -->
-
- <appender name="UdpAppender" type="log4net.Appender.UdpAppender">
- <remoteAddress value="127.0.0.1"/>
- <remotePort value="4445"/>
- <layout type="log4net.Layout.XmlLayoutSchemaLog4j">
- <locationInfo value="true"/>
- </layout>
- <threshold value="debug"/>
- </appender>
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <logger name="Qpid">
- <level value="debug"/>
- </logger>
-
- <logger name="CONSOLE">
- <level value="info"/>
- <appender-ref ref="console"/>
- </logger>
-
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <appender-ref ref="UdpAppender"/>
- </root>
-
-</log4net>
\ No newline at end of file +<!-- + + 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. + +--> + +<log4net> + + <!-- ============================== --> + <!-- Append messages to the console --> + <!-- ============================== --> + + <appender name="console" type="log4net.Appender.ConsoleAppender" > + <layout type="log4net.Layout.PatternLayout"> + <conversionPattern value="%m%n"/> + </layout> + <threshold value="info"/> + </appender> + + <!-- ====================================== --> + <!-- Append messages to the socket appender --> + <!-- ====================================== --> + + <appender name="UdpAppender" type="log4net.Appender.UdpAppender"> + <remoteAddress value="127.0.0.1"/> + <remotePort value="4445"/> + <layout type="log4net.Layout.XmlLayoutSchemaLog4j"> + <locationInfo value="true"/> + </layout> + <threshold value="debug"/> + </appender> + + <!-- ================ --> + <!-- Limit categories --> + <!-- ================ --> + + <logger name="Qpid"> + <level value="debug"/> + </logger> + + <logger name="CONSOLE"> + <level value="info"/> + <appender-ref ref="console"/> + </logger> + + <!-- ======================= --> + <!-- Setup the Root category --> + <!-- ======================= --> + + <root> + <appender-ref ref="UdpAppender"/> + </root> + +</log4net> diff --git a/dotnet/Qpid.Sasl.Tests/App.config b/dotnet/Qpid.Sasl.Tests/App.config index 539f341e7c..021399939e 100644 --- a/dotnet/Qpid.Sasl.Tests/App.config +++ b/dotnet/Qpid.Sasl.Tests/App.config @@ -1,12 +1,33 @@ -<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <configSections>
- <section name="qpid.sasl" type="Apache.Qpid.Sasl.Configuration.SaslConfigurationSectionHandler, Apache.Qpid.Sasl"/>
- </configSections>
-
- <qpid.sasl>
- <clientFactories>
- <add type="Apache.Qpid.Sasl.Tests.TestClientFactory, Apache.Qpid.Sasl.Tests"/>
- </clientFactories>
- </qpid.sasl>
-</configuration>
+<?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. + +--> + +<configuration> + <configSections> + <section name="qpid.sasl" type="Apache.Qpid.Sasl.Configuration.SaslConfigurationSectionHandler, Apache.Qpid.Sasl"/> + </configSections> + + <qpid.sasl> + <clientFactories> + <add type="Apache.Qpid.Sasl.Tests.TestClientFactory, Apache.Qpid.Sasl.Tests"/> + </clientFactories> + </qpid.sasl> +</configuration> diff --git a/dotnet/client-010/test/test.config b/dotnet/client-010/test/test.config index 0499eddfbc..e62da47bb3 100644 --- a/dotnet/client-010/test/test.config +++ b/dotnet/client-010/test/test.config @@ -1,10 +1,31 @@ -<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <appSettings>
- <add key="UserMame" value="guest"/>
- <add key="Password" value="guest"/>
- <add key="Host" value="192.168.1.14"/>
- <add key="Port" value="5673"/>
- <add key="VirtualHost" value="test"/>
- </appSettings>
-</configuration>
\ No newline at end of file +<?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. + +--> + +<configuration> + <appSettings> + <add key="UserMame" value="guest"/> + <add key="Password" value="guest"/> + <add key="Host" value="192.168.1.14"/> + <add key="Port" value="5673"/> + <add key="VirtualHost" value="test"/> + </appSettings> +</configuration> diff --git a/dotnet/client-010/wcf/demo/wcfHelloClient/App.config b/dotnet/client-010/wcf/demo/wcfHelloClient/App.config index 3237fb8cc0..f78756dd1c 100644 --- a/dotnet/client-010/wcf/demo/wcfHelloClient/App.config +++ b/dotnet/client-010/wcf/demo/wcfHelloClient/App.config @@ -1,35 +1,56 @@ -<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <system.serviceModel>
-
- <client>
- <endpoint address="soap.amqp:///Hello"
- binding="customBinding"
- bindingConfiguration="QpidBinding"
- contract="org.apache.qpid.wcf.demo.IHelloContract"
- name="HelloService" />
- </client>
-
-
- <bindings>
- <customBinding>
- <binding name="QpidBinding">
- <textMessageEncoding />
- <QpidTransport
- host="192.168.1.14"
- port="5673" />
- </binding>
- </customBinding>
- </bindings>
-
- <extensions>
- <bindingElementExtensions>
- <add
- name="QpidTransport"
- type="org.apache.qpid.wcf.model.QpidTransportElement, qpidWCFModel"/>
- </bindingElementExtensions>
- </extensions>
-
-
- </system.serviceModel>
-</configuration>
\ No newline at end of file +<?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. + +--> + +<configuration> + <system.serviceModel> + + <client> + <endpoint address="soap.amqp:///Hello" + binding="customBinding" + bindingConfiguration="QpidBinding" + contract="org.apache.qpid.wcf.demo.IHelloContract" + name="HelloService" /> + </client> + + + <bindings> + <customBinding> + <binding name="QpidBinding"> + <textMessageEncoding /> + <QpidTransport + host="192.168.1.14" + port="5673" /> + </binding> + </customBinding> + </bindings> + + <extensions> + <bindingElementExtensions> + <add + name="QpidTransport" + type="org.apache.qpid.wcf.model.QpidTransportElement, qpidWCFModel"/> + </bindingElementExtensions> + </extensions> + + + </system.serviceModel> +</configuration> diff --git a/dotnet/client-010/wcf/demo/wcfHelloServer/App.config b/dotnet/client-010/wcf/demo/wcfHelloServer/App.config index 96b6c90ad8..de71f890b5 100644 --- a/dotnet/client-010/wcf/demo/wcfHelloServer/App.config +++ b/dotnet/client-010/wcf/demo/wcfHelloServer/App.config @@ -1,43 +1,64 @@ -<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <system.serviceModel>
-
-
- <services>
- <service name="org.apache.qpid.wcf.demo.HelloService">
- <host>
- <baseAddresses>
- <add baseAddress="soap.amqp:///" />
- </baseAddresses>
- </host>
- <endpoint
- address="Hello"
- binding="customBinding"
- bindingConfiguration="QpidBinding"
- contract="org.apache.qpid.wcf.demo.IHelloContract"/>
- </service>
- </services>
-
-
- <bindings>
- <customBinding>
- <binding name="QpidBinding">
- <textMessageEncoding />
- <QpidTransport
- host="192.168.1.14"
- port="5673" />
- </binding>
- </customBinding>
- </bindings>
-
- <extensions>
- <bindingElementExtensions>
- <add
- name="QpidTransport"
- type="org.apache.qpid.wcf.model.QpidTransportElement, qpidWCFModel"/>
- </bindingElementExtensions>
- </extensions>
-
-
- </system.serviceModel>
-</configuration>
+<?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. + +--> + +<configuration> + <system.serviceModel> + + + <services> + <service name="org.apache.qpid.wcf.demo.HelloService"> + <host> + <baseAddresses> + <add baseAddress="soap.amqp:///" /> + </baseAddresses> + </host> + <endpoint + address="Hello" + binding="customBinding" + bindingConfiguration="QpidBinding" + contract="org.apache.qpid.wcf.demo.IHelloContract"/> + </service> + </services> + + + <bindings> + <customBinding> + <binding name="QpidBinding"> + <textMessageEncoding /> + <QpidTransport + host="192.168.1.14" + port="5673" /> + </binding> + </customBinding> + </bindings> + + <extensions> + <bindingElementExtensions> + <add + name="QpidTransport" + type="org.apache.qpid.wcf.model.QpidTransportElement, qpidWCFModel"/> + </bindingElementExtensions> + </extensions> + + + </system.serviceModel> +</configuration> |
