summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite12
1 files changed, 12 insertions, 0 deletions
diff --git a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
index 90665e86e0..00ea330e79 100644
--- a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
+++ b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/test/resources/payment.composite
@@ -25,10 +25,22 @@
<component name="PaymentComponent">
<implementation.java class="payment.PaymentImpl" />
+ <reference name="customerRegistry" target="CustomerRegistryComponent"/>
<reference name="creditCardPayment" target="CreditCardPaymentComponent"/>
+ <reference name="emailGateway" target="EmailGatewayComponent"/>
+ <property name="transactionFeeRate">0.02</property>
</component>
+ <component name="CustomerRegistryComponent">
+ <implementation.java class="scatours.customer.CustomerRegistryImpl" />
+ </component>
+
+ <component name="EmailGatewayComponent">
+ <implementation.java class="scatours.emailgateway.EmailGatewayImpl" />
+ </component>
+
<component name="CreditCardPaymentComponent">
<implementation.java class="payment.creditcard.CreditCardPaymentImpl" />
</component>
+
</composite> \ No newline at end of file