summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample')
-rw-r--r--sandbox/travelsample/contributions/buildingblocks/src/main/java/scatours/impl/TripProviderImpl.java (renamed from sandbox/travelsample/contributions/buildingblocks/src/main/java/com/goodvaluetrips/impl/TripProviderImpl.java)6
-rw-r--r--sandbox/travelsample/contributions/buildingblocks/src/main/resources/tours-impl.composite3
2 files changed, 4 insertions, 5 deletions
diff --git a/sandbox/travelsample/contributions/buildingblocks/src/main/java/com/goodvaluetrips/impl/TripProviderImpl.java b/sandbox/travelsample/contributions/buildingblocks/src/main/java/scatours/impl/TripProviderImpl.java
index 06f93f2637..a95f01c519 100644
--- a/sandbox/travelsample/contributions/buildingblocks/src/main/java/com/goodvaluetrips/impl/TripProviderImpl.java
+++ b/sandbox/travelsample/contributions/buildingblocks/src/main/java/scatours/impl/TripProviderImpl.java
@@ -16,13 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
-package com.goodvaluetrips.impl;
+package scatours.impl;
import com.goodvaluetrips.Trips;
public class TripProviderImpl implements Trips {
public String checkAvailability(String trip, int people) {
- // call non-SCA code to reserve trip and return booking code
- return "6R98Y";
+ // scaffolded test code to return an arbitrary booking code
+ return "7S09Z";
}
}
diff --git a/sandbox/travelsample/contributions/buildingblocks/src/main/resources/tours-impl.composite b/sandbox/travelsample/contributions/buildingblocks/src/main/resources/tours-impl.composite
index 31dd7d474e..1d82858f22 100644
--- a/sandbox/travelsample/contributions/buildingblocks/src/main/resources/tours-impl.composite
+++ b/sandbox/travelsample/contributions/buildingblocks/src/main/resources/tours-impl.composite
@@ -29,7 +29,6 @@
</component>
<component name="TripProvider">
- <implementation.java class="com.goodvaluetrips.impl.TripProviderImpl" />
- <service name="Trips" />
+ <implementation.java class="scatours.impl.TripProviderImpl" />
</component>
</composite>