-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
63 changed files
with
278 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
apps/sepuling/src/main/java/smecalculus/bezmen/storage/SepulkaStateMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
package smecalculus.bezmen.storage; | ||
|
||
import org.mapstruct.Mapper; | ||
import smecalculus.bezmen.core.StateDomain; | ||
import smecalculus.bezmen.core.StateDm; | ||
import smecalculus.bezmen.mapping.EdgeMapper; | ||
|
||
@Mapper | ||
public interface SepulkaStateMapper extends EdgeMapper { | ||
StateEdge.AggregateState toEdge(StateDomain.AggregateState state); | ||
StateEm.AggregateState toEdge(StateDm.AggregateState state); | ||
|
||
StateDomain.AggregateState toDomain(StateEdge.AggregateState state); | ||
StateDm.AggregateState toDomain(StateEm.AggregateState state); | ||
|
||
StateEdge.TouchState toEdge(StateDomain.TouchState state); | ||
StateEm.TouchState toEdge(StateDm.TouchState state); | ||
|
||
StateDomain.ExistenceState toDomain(StateEdge.ExistenceState state); | ||
StateDm.ExistenceState toDomain(StateEm.ExistenceState state); | ||
|
||
StateEdge.PreviewState toEdge(StateDomain.PreviewState state); | ||
StateEm.PreviewState toEdge(StateDm.PreviewState state); | ||
|
||
StateDomain.PreviewState toDomain(StateEdge.PreviewState state); | ||
StateDm.PreviewState toDomain(StateEm.PreviewState state); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
apps/sepuling/src/test/java/smecalculus/bezmen/construction/StoragePropsBeans.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
package smecalculus.bezmen.construction; | ||
|
||
import static smecalculus.bezmen.configuration.StorageMappingMode.MY_BATIS; | ||
import static smecalculus.bezmen.configuration.StorageMappingMode.SPRING_DATA; | ||
import static smecalculus.bezmen.configuration.StorageProtocolMode.H2; | ||
import static smecalculus.bezmen.configuration.StorageProtocolMode.POSTGRES; | ||
import static smecalculus.bezmen.configuration.StorageDm.MappingMode.MY_BATIS; | ||
import static smecalculus.bezmen.configuration.StorageDm.MappingMode.SPRING_DATA; | ||
import static smecalculus.bezmen.configuration.StorageDm.ProtocolMode.H2; | ||
import static smecalculus.bezmen.configuration.StorageDm.ProtocolMode.POSTGRES; | ||
|
||
import org.springframework.context.annotation.Bean; | ||
import smecalculus.bezmen.configuration.StorageDomain.StorageProps; | ||
import smecalculus.bezmen.configuration.StorageDomainEg; | ||
import smecalculus.bezmen.configuration.StorageDm.StorageProps; | ||
import smecalculus.bezmen.configuration.StorageDmEg; | ||
|
||
public class StoragePropsBeans { | ||
|
||
public static class SpringDataPostgres { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return StorageDomainEg.storageProps(SPRING_DATA, POSTGRES).build(); | ||
return StorageDmEg.storageProps(SPRING_DATA, POSTGRES).build(); | ||
} | ||
} | ||
|
||
public static class SpringDataH2 { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return StorageDomainEg.storageProps(SPRING_DATA, H2).build(); | ||
return StorageDmEg.storageProps(SPRING_DATA, H2).build(); | ||
} | ||
} | ||
|
||
public static class MyBatisPostgres { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return StorageDomainEg.storageProps(MY_BATIS, POSTGRES).build(); | ||
return StorageDmEg.storageProps(MY_BATIS, POSTGRES).build(); | ||
} | ||
} | ||
|
||
public static class MyBatisH2 { | ||
@Bean | ||
public StorageProps storageProps() { | ||
return StorageDomainEg.storageProps(MY_BATIS, H2).build(); | ||
return StorageDmEg.storageProps(MY_BATIS, H2).build(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...culus/bezmen/messaging/MessageEdgeEg.java → ...alculus/bezmen/messaging/MessageEmEg.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
libs/abstraction-client/src/main/java/smecalculus/bezmen/messaging/SepulkaClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.