summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tutorials/travelsample/launchers
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/launchers')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/pom.xml9
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java4
2 files changed, 11 insertions, 2 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/pom.xml
index bd11cebf24..8cb43fad80 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/pom.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/pom.xml
@@ -76,7 +76,14 @@
<artifactId>tuscany-policy-security</artifactId>
<version>${tuscany.version}</version>
<scope>runtime</scope>
- </dependency>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-policy-logging</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>junit</groupId>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java
index b48c4e88ec..115d747ede 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java
+++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java
@@ -30,8 +30,10 @@ public class PolicyLauncher {
public static void main(String[] args) throws Exception {
SCANode node1 =
SCANodeFactory.newInstance().createSCANode(null,
+ locate("common"),
locate("policy-client"),
- locate("payment-java-policy"));
+ locate("payment-java-policy"),
+ locate("trip-policy"));
node1.start();