Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed packages for tradeengine

  • Loading branch information...
commit f39da72ac176f334692460628116906de797afd7 1 parent ce8e930
@jettro jettro authored
View
2  ...ork/samples/trader/app/command/trading/Order.java → ...ork/samples/trader/tradeengine/command/Order.java
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.domain.AggregateIdentifier;
View
2  ...samples/trader/app/command/trading/OrderBook.java → ...samples/trader/tradeengine/command/OrderBook.java
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.domain.AggregateIdentifier;
import org.axonframework.eventhandling.annotation.EventHandler;
View
2  .../app/command/trading/OrderBookCommandHandler.java → .../tradeengine/command/OrderBookCommandHandler.java
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.commandhandling.annotation.CommandHandler;
import org.axonframework.domain.UUIDAggregateIdentifier;
View
4 trade-engine/src/main/resources/META-INF/spring/trade-engine-context.xml
@@ -5,12 +5,12 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.axonframework.org/schema/core http://www.axonframework.org/schema/axon-core-1.2.xsd">
- <bean class="org.axonframework.samples.trader.app.command.trading.OrderBookCommandHandler">
+ <bean class="org.axonframework.samples.trader.tradeengine.command.OrderBookCommandHandler">
<property name="repository" ref="orderBookRepository"/>
</bean>
<axon:event-sourcing-repository id="orderBookRepository"
- aggregate-type="org.axonframework.samples.trader.app.command.trading.OrderBook"
+ aggregate-type="org.axonframework.samples.trader.tradeengine.command.OrderBook"
cache-ref="ehcache"
event-bus="eventBus"
event-store="eventStore">
View
12 .../command/trading/OrderBookCommandHandlerTest.java → ...deengine/command/OrderBookCommandHandlerTest.java
@@ -13,19 +13,15 @@
* limitations under the License.
*/
-package org.axonframework.samples.trader.app.command.trading;
+package org.axonframework.samples.trader.tradeengine.command;
import org.axonframework.domain.AggregateIdentifier;
import org.axonframework.domain.UUIDAggregateIdentifier;
-import org.axonframework.samples.trader.tradeengine.api.order.BuyOrderPlacedEvent;
-import org.axonframework.samples.trader.tradeengine.api.order.CreateOrderBookCommand;
-import org.axonframework.samples.trader.tradeengine.api.order.CreateSellOrderCommand;
-import org.axonframework.samples.trader.tradeengine.api.order.OrderBookCreatedEvent;
-import org.axonframework.samples.trader.tradeengine.api.order.SellOrderPlacedEvent;
-import org.axonframework.samples.trader.tradeengine.api.order.TradeExecutedEvent;
+import org.axonframework.samples.trader.tradeengine.api.order.*;
import org.axonframework.test.FixtureConfiguration;
import org.axonframework.test.Fixtures;
-import org.junit.*;
+import org.junit.Before;
+import org.junit.Test;
/**
* @author Allard Buijze
Please sign in to comment.
Something went wrong with that request. Please try again.