summaryrefslogtreecommitdiffstats
path: root/java/sca/itest/policies/src/main/resources
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-09 18:26:35 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-09 18:26:35 +0000
commitd7c580b31dc33e14f4a06bec256611a6b72a9e48 (patch)
tree4bf5b71df317a971dc3185e1685b6f256be504a4 /java/sca/itest/policies/src/main/resources
parent20aaa2dfe837ec9ee2800d9a8e06a5ffc65e77f5 (diff)
Add the jdk logging into the itest-policies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@792626 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/itest/policies/src/main/resources/Customer.composite4
-rw-r--r--java/sca/itest/policies/src/main/resources/Payment.composite5
2 files changed, 5 insertions, 4 deletions
diff --git a/java/sca/itest/policies/src/main/resources/Customer.composite b/java/sca/itest/policies/src/main/resources/Customer.composite
index 29458ad284..f38f5fe7f4 100644
--- a/java/sca/itest/policies/src/main/resources/Customer.composite
+++ b/java/sca/itest/policies/src/main/resources/Customer.composite
@@ -19,11 +19,11 @@
-->
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
xmlns:c="http://customer"
- xmlns:sca = "http://docs.oasis-open.org/ns/opencsa/sca/200903"
targetNamespace="http://customer"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
name="Customer">
- <service name="Registry" promote="CustomerRegistry">
+ <service name="Registry" promote="CustomerRegistry" requires="tuscany:logging">
<binding.sca/>
</service>
diff --git a/java/sca/itest/policies/src/main/resources/Payment.composite b/java/sca/itest/policies/src/main/resources/Payment.composite
index a1f9aefdac..2b50c6a32a 100644
--- a/java/sca/itest/policies/src/main/resources/Payment.composite
+++ b/java/sca/itest/policies/src/main/resources/Payment.composite
@@ -21,6 +21,7 @@
xmlns:p="http://payment"
xmlns:c="http://customer"
xmlns:sca = "http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
requires = "sca:authorization"
targetNamespace="http://payment"
name="Payment">
@@ -28,10 +29,10 @@
<component name="Payment">
<implementation.java class="org.apache.tuscany.sca.itest.policies.impl.PaymentImpl" />
<reference name="creditCardPayment" target="CreditCardPayment">
- <binding.sca requires="sca:integrity">
+ <binding.sca requires="sca:integrity tuscany:logging">
</binding.sca>
</reference>
- <reference name="customerRegistry" target="Customer/Registry" requires="sca:suspendsTransaction"/>
+ <reference name="customerRegistry" target="Customer/Registry" requires="sca:suspendsTransaction tuscany:logging"/>
</component>
<component name="CreditCardPayment">