From 875e50908c2630d263661af492654cd44bef2d65 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Tue, 25 Jan 2011 23:30:28 +0000 Subject: Sandbox to experiment with dynamic mass virtual hosting and running a different composite per vhost. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1063520 13f79535-47bb-0310-9956-ffa450edef68 --- .../implementation/policies/CalculatorJass.config | 3 ++ .../policies/CalculatorLogMessages.properties | 18 +++++++ .../policies/ImplementationPolicies.composite | 58 ++++++++++++++++++++++ .../policies/META-INF/definitions.xml | 54 ++++++++++++++++++++ .../META-INF/spring/CalculatorService-context.xml | 39 +++++++++++++++ 5 files changed, 172 insertions(+) create mode 100644 sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorJass.config create mode 100644 sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorLogMessages.properties create mode 100644 sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/ImplementationPolicies.composite create mode 100644 sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml create mode 100644 sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/spring/CalculatorService-context.xml (limited to 'sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies') diff --git a/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorJass.config b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorJass.config new file mode 100644 index 0000000000..0e7cb86633 --- /dev/null +++ b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorJass.config @@ -0,0 +1,3 @@ +Calculator { + calculator.security.JaasLoginModule required debug=true; +}; diff --git a/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorLogMessages.properties b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorLogMessages.properties new file mode 100644 index 0000000000..0238f0b013 --- /dev/null +++ b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorLogMessages.properties @@ -0,0 +1,18 @@ +# 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. +CALLING_OPERATION=Inovoking operation {0} with arguments {1} +OPERATION_RETURNED=Returning from operation {0} with return value {1} \ No newline at end of file diff --git a/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/ImplementationPolicies.composite b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/ImplementationPolicies.composite new file mode 100644 index 0000000000..5ffeda11df --- /dev/null +++ b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/ImplementationPolicies.composite @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml new file mode 100644 index 0000000000..efc2464425 --- /dev/null +++ b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/spring/CalculatorService-context.xml b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/spring/CalculatorService-context.xml new file mode 100644 index 0000000000..c50f0ef4d9 --- /dev/null +++ b/sandbox/sebastien/java/vhost/testing/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/spring/CalculatorService-context.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + -- cgit v1.2.3