summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-06-23 13:06:49 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-06-23 13:06:49 +0000
commit7553afa5b55dbec08082299f199600c786eba60b (patch)
tree0e17fc9939ffca5d669c1a384b0056037b754ae3 /sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF
parente9fc3c9cf81db2869a9d2e5a0b3f08a89829508a (diff)
TUSCANY-3877 - fix up test policies to match the corrected appliesTo processing.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138865 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF')
-rw-r--r--sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF/definitions.xml19
1 files changed, 10 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF/definitions.xml b/sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF/definitions.xml
index 38ee71d76a..ffcae358b1 100644
--- a/sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF/definitions.xml
+++ b/sca-java-2.x/trunk/testing/itest/policies/src/main/resources/META-INF/definitions.xml
@@ -24,7 +24,8 @@
<policySet name="JDKLoggingPolicy"
provides="tuscany:logging"
- appliesTo="//binding | //implementation">
+ appliesTo="//sca:binding.sca"
+ attachTo="//sca:component[@name='CreditCardPayment']">
<tuscany:jdkLogger name="test.logger">
<tuscany:logLevel>FINE</tuscany:logLevel>
<tuscany:resourceBundle>LoggingMessages.properties</tuscany:resourceBundle>
@@ -34,7 +35,7 @@
<policySet name="JDKLoggingImplPolicy"
provides="tuscany:logging"
- appliesTo="//implementation.java"
+ appliesTo="//sca:implementation.java"
attachTo="//sca:component[@name='CreditCardPayment']">
<tuscany:jdkLogger name="test.logger">
<tuscany:logLevel>INFO</tuscany:logLevel>
@@ -47,36 +48,36 @@
<policySet name="SuspendsTransactionPolicy"
provides="sca:suspendsTransaction"
- appliesTo="//binding.sca | //implementation.java"
+ appliesTo="//sca:binding.sca | //sca:implementation.java"
attachTo="IntentRefs('sca:suspendsTransaction')"/>
<policySet name="AuthorizationFineGrainPolicy"
provides="sca:authorization"
- appliesTo="//binding.sca | //implementation.java"
+ appliesTo="//sca:binding.sca | //sca:implementation.java"
attachTo="IntentRefs('sca:authorization')"/>
<policySet name="ConfidentialityTransportPolicy"
provides="sca:confidentiality.transport"
- appliesTo="//binding.sca | //implementation.java"
+ appliesTo="//sca:binding.sca | //sca:implementation.java"
attachTo="IntentRefs('sca:confidentiality.transport')"/>
<policySet name="ConfidentialityMessagePolicy"
provides="sca:confidentiality.message"
- appliesTo="//binding.sca | //implementation.java"
+ appliesTo="//sca:binding.sca | //sca:implementation.java"
attachTo="IntentRefs('sca:confidentiality.message')"/>
<policySet name="ClientAuthenticationTransportPolicy"
provides="sca:clientAuthentication.transport"
- appliesTo="//binding.sca | //implementation.java"
+ appliesTo="//sca:binding.sca | //sca:implementation.java"
attachTo="IntentRefs('sca:clientAuthentication.transport') | //sca:service[@name='CreditCardPayment']"/>
<policySet name="IntegrityTransportPolicy"
provides="sca:integrity.transport"
- appliesTo="//binding.sca | //implementation.java"
+ appliesTo="//sca:binding.sca | //sca:implementation.java"
attachTo="IntentRefs('sca:integrity.transport')"/>
<policySet name="ManagedTransactionGlobalPolicy"
provides="sca:managedTransaction.global"
- appliesTo="//implementation.composite | //implementation.java"
+ appliesTo="//sca:implementation.composite | //sca:implementation.java"
attachTo="IntentRefs('sca:managedTransaction.global')"/>
</definitions> \ No newline at end of file