I was just trying to run up the java implementation of the payment component [1] in the evolving travel sample. The latest code in svn in failing due to some missing policy definitions. I've added the following to get it going but clearly this is not a complete solution.
<definitions xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://www.osoa.org/xmlns/sca/1.0" xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"> <!-- Policy Intents Defined by the SCA Runtime --> <intent name="authorization" constrains="sca:implementation"/> <!-- Policy intents --> <policySet name="ps1" provides="sca:authorization" appliesTo="sca:implementation.java"/> <policySet name="ps2" provides="sca:managedTransaction.global" appliesTo="sca:implementation.java"/> </definitions> Was something missed from a recent commit? Simon [1] http://svn.apache.org/repos/asf/tuscany/sandbox/travelsample/shared-contributions/payment-java-contribution/
