diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 19:14:55 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 19:14:55 +0000 |
commit | 74fd56e437d7770c6165671e8efa33d49643fdc6 (patch) | |
tree | 8bf197ae9ebadd1f8afd9a205843690294aa86a2 /sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment | |
parent | fc9368f667973e038383e34ab73a6879c6cf55d6 (diff) |
Apply new naming convention to the payment-bpel, payment-groovy and emailgateway contributions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment.composite (renamed from sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment.composite) | 9 | ||||
-rw-r--r-- | sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment/PaymentImpl.groovy (renamed from sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment/PaymentImpl.groovy) | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment.composite b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment.composite index c9b6ac6ca6..3f8e741430 100644 --- a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment.composite +++ b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment.composite @@ -18,22 +18,21 @@ * under the License. --> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" - targetNamespace="http://scatours" + targetNamespace="http://tuscanyscatours.com/" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" - xmlns:c="http://scatours" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="payment"> <component name="PaymentComponent"> <t:implementation.script script="payment/PaymentImpl.groovy"/> <service name="Payment"> - <interface.java interface="payment.Payment" /> + <interface.java interface="com.tuscanyscatours.payment.Payment" /> <binding.ws uri="http://localhost:8081/Payment"/> </service> <reference name="emailGateway"> - <interface.java interface="scatours.emailgateway.EmailGateway" /> + <interface.java interface="com.tuscanyscatours.emailgateway.EmailGateway" /> <binding.ws uri="http://localhost:8088/EmailGateway"/> </reference> <property name="transactionFee" type="xsd:float">0.02</property> </component> -</composite>
\ No newline at end of file +</composite> diff --git a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment/PaymentImpl.groovy b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment/PaymentImpl.groovy index f061e5145d..854fbd2f4a 100644 --- a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment/PaymentImpl.groovy +++ b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment/PaymentImpl.groovy @@ -21,7 +21,7 @@ def makePaymentMember(customerId, amount) { def finalAmount = amount + transactionFee;
- scatours.emailgateway.EmailType email = new scatours.emailgateway.EmailType();
+ com.tuscanyscatours.emailgateway.EmailType email = new com.tuscanyscatours.emailgateway.EmailType();
email.setTo(customerId);
email.setTitle("Payment " + finalAmount + " Received");
|