From d7c580b31dc33e14f4a06bec256611a6b72a9e48 Mon Sep 17 00:00:00 2001 From: rfeng Date: Thu, 9 Jul 2009 18:26:35 +0000 Subject: 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 --- java/sca/itest/policies/pom.xml | 6 ++++++ .../org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java | 2 ++ java/sca/itest/policies/src/main/resources/Customer.composite | 4 ++-- java/sca/itest/policies/src/main/resources/Payment.composite | 5 +++-- 4 files changed, 13 insertions(+), 4 deletions(-) (limited to 'java/sca/itest/policies') diff --git a/java/sca/itest/policies/pom.xml b/java/sca/itest/policies/pom.xml index 919e5c057b..4d9168ba95 100644 --- a/java/sca/itest/policies/pom.xml +++ b/java/sca/itest/policies/pom.xml @@ -35,6 +35,12 @@ 2.0-SNAPSHOT + + org.apache.tuscany.sca + tuscany-policy-logging + 2.0-SNAPSHOT + + org.apache.tuscany.sca tuscany-node-impl diff --git a/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java b/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java index 1388d2ea75..4bda0d5e95 100644 --- a/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java +++ b/java/sca/itest/policies/src/main/java/org/apache/tuscany/sca/itest/policies/impl/PaymentImpl.java @@ -24,6 +24,7 @@ import org.apache.tuscany.sca.itest.policies.CreditCardPayment; import org.apache.tuscany.sca.itest.policies.Customer; import org.apache.tuscany.sca.itest.policies.CustomerRegistry; import org.apache.tuscany.sca.itest.policies.Payment; +import org.apache.tuscany.sca.policy.logging.Logging; import org.oasisopen.sca.annotation.Authentication; import org.oasisopen.sca.annotation.Confidentiality; import org.oasisopen.sca.annotation.Reference; @@ -32,6 +33,7 @@ import org.oasisopen.sca.annotation.Requires; /** * */ +@Logging public class PaymentImpl implements Payment { @Reference 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 @@ --> - + 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 @@ - + - + -- cgit v1.2.3