BAEL-2435 Change command message package

Change the package of the command messages to coreapi.commands to signal
 that the commands are part of the API you'd share with the outside
This commit is contained in:
Steven van Beelen 2018-12-18 14:55:28 +01:00
parent aaf2ef2227
commit 96945027a1
4 changed files with 6 additions and 6 deletions

View File

@ -7,8 +7,8 @@ import org.axonframework.eventsourcing.EventSourcingHandler;
import org.axonframework.modelling.command.AggregateIdentifier;
import org.axonframework.spring.stereotype.Aggregate;
import com.baeldung.axon.commands.CreateMessageCommand;
import com.baeldung.axon.commands.MarkReadMessageCommand;
import com.baeldung.axon.coreapi.commands.CreateMessageCommand;
import com.baeldung.axon.coreapi.commands.MarkReadMessageCommand;
import com.baeldung.axon.events.MessageCreatedEvent;
import com.baeldung.axon.events.MessageReadEvent;

View File

@ -1,4 +1,4 @@
package com.baeldung.axon.commands;
package com.baeldung.axon.coreapi.commands;
import java.util.Objects;

View File

@ -1,4 +1,4 @@
package com.baeldung.axon.commands;
package com.baeldung.axon.coreapi.commands;
import java.util.Objects;

View File

@ -6,8 +6,8 @@ import org.axonframework.test.aggregate.AggregateTestFixture;
import org.axonframework.test.aggregate.FixtureConfiguration;
import org.junit.*;
import com.baeldung.axon.commands.CreateMessageCommand;
import com.baeldung.axon.commands.MarkReadMessageCommand;
import com.baeldung.axon.coreapi.commands.CreateMessageCommand;
import com.baeldung.axon.coreapi.commands.MarkReadMessageCommand;
import com.baeldung.axon.events.MessageCreatedEvent;
import com.baeldung.axon.events.MessageReadEvent;